Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 – 12 of 12) sorted by relevance

/wlan-driver/platform/cnss2/
H A Dpci_qcom.c44 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_assert_perst() local
47 pci_dev->bus->number, pci_dev, NULL, in cnss_pci_assert_perst()
53 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_disable_pc() local
57 pci_dev->bus->number, pci_dev, NULL, in cnss_pci_disable_pc()
64 return msm_pcie_set_link_bandwidth(pci_priv->pci_dev, in cnss_pci_set_link_bandwidth()
87 return msm_pcie_prevent_l1(pci_priv->pci_dev); in _cnss_pci_prevent_l1()
102 msm_pcie_allow_l1(pci_priv->pci_dev); in _cnss_pci_allow_l1()
116 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_set_link_up() local
121 ret = msm_pcie_pm_control(pm_ops, pci_dev->bus->number, pci_dev, in cnss_pci_set_link_up()
141 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_set_link_down() local
[all …]
H A Dpci.c932 static void cnss_pci_suspend_pwroff(struct pci_dev *pci_dev);
933 static bool cnss_should_suspend_pwroff(struct pci_dev *pci_dev);
1128 pci_read_config_word(pci_priv->pci_dev, PCI_DEVICE_ID, &device_id); in cnss_pci_check_link_status()
1193 if (pci_priv->pci_dev->device == QCA6174_DEVICE_ID || in cnss_pci_reg_read()
1230 if (pci_priv->pci_dev->device == QCA6174_DEVICE_ID || in cnss_pci_reg_write()
1254 struct device *dev = &pci_priv->pci_dev->dev; in cnss_pci_force_wake_get()
1277 struct device *dev = &pci_priv->pci_dev->dev; in cnss_pci_force_wake_put()
1368 ret = cnss_pci_is_device_down(&pci_priv->pci_dev->dev); in cnss_pci_debug_reg_read()
1408 ret = cnss_pci_is_device_down(&pci_priv->pci_dev->dev); in cnss_pci_debug_reg_write()
1439 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_set_pci_config_space() local
[all …]
H A Dpci.h132 struct pci_dev *pci_dev; member
190 static inline void cnss_set_pci_priv(struct pci_dev *pci_dev, void *data) in cnss_set_pci_priv() argument
192 pci_set_drvdata(pci_dev, data); in cnss_set_pci_priv()
195 static inline struct cnss_pci_data *cnss_get_pci_priv(struct pci_dev *pci_dev) in cnss_get_pci_priv() argument
197 return pci_get_drvdata(pci_dev); in cnss_get_pci_priv()
H A Ddebug.c280 cnss_auto_resume(&pci_priv->pci_dev->dev); in cnss_dev_boot_debug_write()
306 ret = cnss_force_fw_assert(&pci_priv->pci_dev->dev); in cnss_dev_boot_debug_write()
/wlan-driver/platform/inc/
H A Dcnss2.h77 int (*runtime_suspend)(struct pci_dev *pdev);
78 int (*runtime_resume)(struct pci_dev *pdev);
250 int (*probe)(struct pci_dev *pdev, const struct pci_device_id *id);
251 void (*remove)(struct pci_dev *pdev);
252 int (*idle_restart)(struct pci_dev *pdev,
254 int (*idle_shutdown)(struct pci_dev *pdev);
255 int (*reinit)(struct pci_dev *pdev, const struct pci_device_id *id);
256 void (*shutdown)(struct pci_dev *pdev);
257 void (*crash_shutdown)(struct pci_dev *pdev);
258 int (*suspend)(struct pci_dev *pdev, pm_message_t state);
[all …]
/wlan-driver/qcacld-3.0/core/pld/src/
H A Dpld_pcie_fw_sim.c49 static int pld_pcie_fw_sim_probe(struct pci_dev *pdev, in pld_pcie_fw_sim_probe()
81 static void pld_pcie_fw_sim_remove(struct pci_dev *pdev) in pld_pcie_fw_sim_remove()
117 static int pld_pcie_fw_sim_idle_restart_cb(struct pci_dev *pdev, in pld_pcie_fw_sim_idle_restart_cb()
138 static int pld_pcie_fw_sim_idle_shutdown_cb(struct pci_dev *pdev) in pld_pcie_fw_sim_idle_shutdown_cb()
160 static int pld_pcie_fw_sim_reinit(struct pci_dev *pdev, in pld_pcie_fw_sim_reinit()
181 static void pld_pcie_fw_sim_shutdown(struct pci_dev *pdev) in pld_pcie_fw_sim_shutdown()
200 static void pld_pcie_fw_sim_crash_shutdown(struct pci_dev *pdev) in pld_pcie_fw_sim_crash_shutdown()
219 static void pld_pcie_fw_sim_notify_handler(struct pci_dev *pdev, int state) in pld_pcie_fw_sim_notify_handler()
239 static void pld_pcie_fw_sim_uevent(struct pci_dev *pdev, uint32_t status) in pld_pcie_fw_sim_uevent()
324 static int pld_pcie_fw_sim_probe(struct pci_dev *pdev, in pld_pcie_fw_sim_probe()
[all …]
H A Dpld_pcie.c63 static int pld_pcie_probe(struct pci_dev *pdev, in pld_pcie_probe()
95 static void pld_pcie_remove(struct pci_dev *pdev) in pld_pcie_remove()
144 static int pld_pcie_set_thermal_state(struct pci_dev *pdev, in pld_pcie_set_thermal_state()
172 static int pld_pcie_idle_restart_cb(struct pci_dev *pdev, in pld_pcie_idle_restart_cb()
193 static int pld_pcie_idle_shutdown_cb(struct pci_dev *pdev) in pld_pcie_idle_shutdown_cb()
215 static int pld_pcie_reinit(struct pci_dev *pdev, in pld_pcie_reinit()
236 static void pld_pcie_shutdown(struct pci_dev *pdev) in pld_pcie_shutdown()
254 static void pld_pcie_crash_shutdown(struct pci_dev *pdev) in pld_pcie_crash_shutdown()
272 static void pld_pcie_notify_handler(struct pci_dev *pdev, int state) in pld_pcie_notify_handler()
292 static void pld_pcie_uevent(struct pci_dev *pdev, uint32_t status) in pld_pcie_uevent()
[all …]
H A Dpld_common.c1920 int pld_pci_read_config_word(struct pci_dev *pdev, int offset, uint16_t *val) in pld_pci_read_config_word()
1947 int pld_pci_write_config_word(struct pci_dev *pdev, int offset, uint16_t val) in pld_pci_write_config_word()
1973 int pld_pci_read_config_dword(struct pci_dev *pdev, int offset, uint32_t *val) in pld_pci_read_config_dword()
1999 int pld_pci_write_config_dword(struct pci_dev *pdev, int offset, uint32_t val) in pld_pci_write_config_dword()
/wlan-driver/qcacld-3.0/core/pld/inc/
H A Dpld_common.h1823 int pld_pci_read_config_word(struct pci_dev *pdev, int offset, uint16_t *val);
1834 int pld_pci_write_config_word(struct pci_dev *pdev, int offset, uint16_t val);
1845 int pld_pci_read_config_dword(struct pci_dev *pdev, int offset, uint32_t *val);
1856 int pld_pci_write_config_dword(struct pci_dev *pdev, int offset, uint32_t val);
2058 static inline int pfrm_read_config_word(struct pci_dev *pdev, int offset, in pfrm_read_config_word()
2064 static inline int pfrm_write_config_word(struct pci_dev *pdev, int offset, in pfrm_write_config_word()
2070 static inline int pfrm_read_config_dword(struct pci_dev *pdev, int offset, in pfrm_read_config_dword()
2076 static inline int pfrm_write_config_dword(struct pci_dev *pdev, int offset, in pfrm_write_config_dword()
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
H A Dif_pci.h131 struct pci_dev *pdev;
149 int (*hif_enable_pci)(struct hif_pci_softc *sc, struct pci_dev *pdev,
H A Dif_pci.c1816 static inline int hif_pci_set_dma_mask(struct pci_dev *pci_dev, u64 mask) in hif_pci_set_dma_mask() argument
1818 return dma_set_mask(&pci_dev->dev, mask); in hif_pci_set_dma_mask()
1821 static inline int hif_pci_set_coherent_dma_mask(struct pci_dev *pci_dev, in hif_pci_set_coherent_dma_mask() argument
1824 return dma_set_coherent_mask(&pci_dev->dev, mask); in hif_pci_set_coherent_dma_mask()
1827 static inline int hif_pci_set_dma_mask(struct pci_dev *pci_dev, u64 mask) in hif_pci_set_dma_mask() argument
1829 return pci_set_dma_mask(pci_dev, mask); in hif_pci_set_dma_mask()
1832 static inline int hif_pci_set_coherent_dma_mask(struct pci_dev *pci_dev, in hif_pci_set_coherent_dma_mask() argument
1835 return pci_set_consistent_dma_mask(pci_dev, mask); in hif_pci_set_coherent_dma_mask()
1840 struct pci_dev *pdev, in hif_enable_pci_nopld()
1956 struct pci_dev *pdev, in hif_enable_pci_pld()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
H A Dif_ahb.c486 sc->pdev = (struct pci_dev *)pdev; in hif_ahb_enable_bus()