Lines Matching refs:pci_dev

44 	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
153 ret = msm_pcie_pm_control(pm_ops, pci_dev->bus->number, pci_dev, in cnss_pci_set_link_down()
164 struct pci_dev *root_port = pcie_find_root_port(pci_priv->pci_dev); in cnss_pci_update_drv_supported()
196 struct pci_dev *pci_dev; in cnss_pci_event_cb() local
205 pci_dev = notify->user; in cnss_pci_event_cb()
206 if (!pci_dev) in cnss_pci_event_cb()
209 pci_priv = cnss_get_pci_priv(pci_dev); in cnss_pci_event_cb()
212 dev = &pci_priv->pci_dev->dev; in cnss_pci_event_cb()
227 pci_dev->bus->number, pci_dev, NULL, in cnss_pci_event_cb()
276 pci_event->user = pci_priv->pci_dev; in cnss_reg_pci_event()
297 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_wlan_adsp_pc_enable() local
316 ret = msm_pcie_pm_control(MSM_PCIE_DRV_PC_CTRL, pci_dev->bus->number, in cnss_wlan_adsp_pc_enable()
317 pci_dev, NULL, pm_options); in cnss_wlan_adsp_pc_enable()
408 struct pci_dev *pci_dev = to_pci_dev(dev); in cnss_pci_prevent_l1() local
409 struct cnss_pci_data *pci_priv = cnss_get_pci_priv(pci_dev); in cnss_pci_prevent_l1()
439 struct pci_dev *pci_dev = to_pci_dev(dev); in cnss_pci_allow_l1() local
440 struct cnss_pci_data *pci_priv = cnss_get_pci_priv(pci_dev); in cnss_pci_allow_l1()
479 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_fallback_one_msi() local
488 *num_vectors = pci_alloc_irq_vectors(pci_dev, in cnss_pci_fallback_one_msi()
561 cnss_force_fw_assert(&pci_priv->pci_dev->dev); in cnss_pci_smmu_fault_handler()
569 struct pci_dev *pci_dev = pci_priv->pci_dev; in cnss_pci_init_smmu() local
577 of_node = of_parse_phandle(pci_dev->dev.of_node, "qcom,iommu-group", 0); in cnss_pci_init_smmu()
583 pci_priv->iommu_domain = iommu_get_domain_for_dev(&pci_dev->dev); in cnss_pci_init_smmu()
631 return msm_pcie_reg_dump(pci_priv->pci_dev, buf, len); in _cnss_pci_get_reg_dump()
649 struct device *dev_pci = &pci_priv->pci_dev->dev; in cnss_pci_of_reserved_mem_device_init()