Searched refs:pci_priv (Results 1 – 6 of 6) sorted by relevance
/wlan-driver/platform/cnss2/ ! |
H A D | pci.c | 931 static int cnss_pci_update_fw_name(struct cnss_pci_data *pci_priv); 934 static void cnss_pci_update_link_event(struct cnss_pci_data *pci_priv, 939 static void cnss_mhi_debug_reg_dump(struct cnss_pci_data *pci_priv) in cnss_mhi_debug_reg_dump() argument 941 mhi_debug_reg_dump(pci_priv->mhi_ctrl); in cnss_mhi_debug_reg_dump() 944 static void cnss_mhi_dump_sfr(struct cnss_pci_data *pci_priv) in cnss_mhi_dump_sfr() argument 946 mhi_dump_sfr(pci_priv->mhi_ctrl); in cnss_mhi_dump_sfr() 949 static bool cnss_mhi_scan_rddm_cookie(struct cnss_pci_data *pci_priv, in cnss_mhi_scan_rddm_cookie() argument 952 return mhi_scan_rddm_cookie(pci_priv->mhi_ctrl, cookie); in cnss_mhi_scan_rddm_cookie() 955 static int cnss_mhi_pm_fast_suspend(struct cnss_pci_data *pci_priv, in cnss_mhi_pm_fast_suspend() argument 958 return mhi_pm_fast_suspend(pci_priv->mhi_ctrl, notify_clients); in cnss_mhi_pm_fast_suspend() [all …]
|
H A D | pci_qcom.c | 42 int cnss_pci_assert_perst(struct cnss_pci_data *pci_priv) in cnss_pci_assert_perst() argument 44 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_assert_perst() 51 int cnss_pci_disable_pc(struct cnss_pci_data *pci_priv, bool vote) in cnss_pci_disable_pc() argument 53 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_disable_pc() 61 int cnss_pci_set_link_bandwidth(struct cnss_pci_data *pci_priv, in cnss_pci_set_link_bandwidth() argument 64 return msm_pcie_set_link_bandwidth(pci_priv->pci_dev, in cnss_pci_set_link_bandwidth() 68 int cnss_pci_set_max_link_speed(struct cnss_pci_data *pci_priv, in cnss_pci_set_max_link_speed() argument 85 static int _cnss_pci_prevent_l1(struct cnss_pci_data *pci_priv) in _cnss_pci_prevent_l1() argument 87 return msm_pcie_prevent_l1(pci_priv->pci_dev); in _cnss_pci_prevent_l1() 100 static void _cnss_pci_allow_l1(struct cnss_pci_data *pci_priv) in _cnss_pci_allow_l1() argument [all …]
|
H A D | pci.h | 202 struct cnss_pci_data *pci_priv = bus_priv; in cnss_pci_priv_to_plat_priv() local 204 return pci_priv->plat_priv; in cnss_pci_priv_to_plat_priv() 209 struct cnss_pci_data *pci_priv = bus_priv; in cnss_pci_set_monitor_wake_intr() local 211 pci_priv->monitor_wake_intr = val; in cnss_pci_set_monitor_wake_intr() 216 struct cnss_pci_data *pci_priv = bus_priv; in cnss_pci_get_monitor_wake_intr() local 218 return pci_priv->monitor_wake_intr; in cnss_pci_get_monitor_wake_intr() 223 struct cnss_pci_data *pci_priv = bus_priv; in cnss_pci_set_auto_suspended() local 225 atomic_set(&pci_priv->auto_suspended, val); in cnss_pci_set_auto_suspended() 230 struct cnss_pci_data *pci_priv = bus_priv; in cnss_pci_get_auto_suspended() local 232 return atomic_read(&pci_priv->auto_suspended); in cnss_pci_get_auto_suspended() [all …]
|
H A D | pci_platform.h | 31 int cnss_pci_assert_perst(struct cnss_pci_data *pci_priv); 46 int cnss_pci_disable_pc(struct cnss_pci_data *pci_priv, bool vote); 60 int cnss_pci_set_link_bandwidth(struct cnss_pci_data *pci_priv, 74 int cnss_pci_set_max_link_speed(struct cnss_pci_data *pci_priv, 87 int cnss_reg_pci_event(struct cnss_pci_data *pci_priv); 88 void cnss_dereg_pci_event(struct cnss_pci_data *pci_priv); 102 int cnss_wlan_adsp_pc_enable(struct cnss_pci_data *pci_priv, 104 int cnss_set_pci_link(struct cnss_pci_data *pci_priv, bool link_up); 107 int cnss_pci_get_msi_assignment(struct cnss_pci_data *pci_priv); 108 int cnss_pci_get_one_msi_assignment(struct cnss_pci_data *pci_priv); [all …]
|
H A D | debug.c | 238 struct cnss_pci_data *pci_priv; in cnss_dev_boot_debug_write() local 279 pci_priv = plat_priv->bus_priv; in cnss_dev_boot_debug_write() 280 cnss_auto_resume(&pci_priv->pci_dev->dev); in cnss_dev_boot_debug_write() 293 pci_priv = plat_priv->bus_priv; in cnss_dev_boot_debug_write() 294 if (!pci_priv) in cnss_dev_boot_debug_write() 299 ret = cnss_pci_start_mhi(pci_priv); in cnss_dev_boot_debug_write() 301 ret = cnss_resume_pci_link(pci_priv); in cnss_dev_boot_debug_write() 303 ret = cnss_suspend_pci_link(pci_priv); in cnss_dev_boot_debug_write() 306 ret = cnss_force_fw_assert(&pci_priv->pci_dev->dev); in cnss_dev_boot_debug_write() 602 struct cnss_pci_data *pci_priv; in cnss_runtime_pm_debug_write() local [all …]
|
H A D | bus.c | 774 struct cnss_pci_data *pci_priv; in cnss_bus_disable_mhi_satellite_cfg() local 776 pci_priv = plat_priv->bus_priv; in cnss_bus_disable_mhi_satellite_cfg() 777 if (!pci_priv) { in cnss_bus_disable_mhi_satellite_cfg() 790 return cnss_mhi_controller_set_base(pci_priv, 0); in cnss_bus_disable_mhi_satellite_cfg() 802 void cnss_bus_disable_mhi_satellite_cfg(struct cnss_plat_data *pci_priv) in cnss_bus_disable_mhi_satellite_cfg() argument
|