Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 - 20 of 20) sorted by relevance

/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h17 bool pcie_cap_has_lnkctl(const struct pci_dev *dev);
18 bool pcie_cap_has_rtctl(const struct pci_dev *dev);
22 int pci_create_sysfs_dev_files(struct pci_dev *pdev);
23 void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
25 static inline void pci_create_firmware_label_files(struct pci_dev *pdev) in pci_create_firmware_label_files()
27 static inline void pci_remove_firmware_label_files(struct pci_dev *pdev) in pci_remove_firmware_label_files()
30 void pci_create_firmware_label_files(struct pci_dev *pdev);
31 void pci_remove_firmware_label_files(struct pci_dev *pdev);
33 void pci_cleanup_rom(struct pci_dev *dev);
39 int pci_mmap_fits(struct pci_dev *pde
119 pci_has_subordinate(struct pci_dev *pci_dev) pci_has_subordinate() argument
124 pci_power_manageable(struct pci_dev *pci_dev) pci_power_manageable() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_gpio.c50 if (adapter->pci_dev) { in dhd_wlan_set_power()
53 pci_set_power_state(adapter->pci_dev, PCI_D0); in dhd_wlan_set_power()
55 pci_load_and_free_saved_state(adapter->pci_dev, &adapter->pci_saved_state); in dhd_wlan_set_power()
56 pci_restore_state(adapter->pci_dev); in dhd_wlan_set_power()
57 err = pci_enable_device(adapter->pci_dev); in dhd_wlan_set_power()
60 pci_set_master(adapter->pci_dev); in dhd_wlan_set_power()
74 if (adapter->pci_dev) { in dhd_wlan_set_power()
76 pci_save_state(adapter->pci_dev); in dhd_wlan_set_power()
77 adapter->pci_saved_state = pci_store_saved_state(adapter->pci_dev); in dhd_wlan_set_power()
78 if (pci_is_enabled(adapter->pci_dev)) in dhd_wlan_set_power()
[all...]
H A Ddhd_pcie_linux.c96 struct pci_dev *dev; /* pci device handle */
157 dhdpcie_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
159 dhdpcie_pci_remove(struct pci_dev *pdev);
160 static int dhdpcie_init(struct pci_dev *pdev);
165 static int dhdpcie_set_suspend_resume(struct pci_dev *dev, bool state, bool byint);
171 static int dhdpcie_resume_dev(struct pci_dev *dev);
172 static int dhdpcie_suspend_dev(struct pci_dev *dev);
177 static int dhdpcie_pci_suspend(struct pci_dev *dev, pm_message_t state);
178 static int dhdpcie_pci_resume(struct pci_dev *dev);
191 dhdpcie_access_cap(struct pci_dev *pde
[all...]
H A Ddhd_pcie.h178 struct pci_dev *rc_dev; /* pci RC device handle */
179 struct pci_dev *dev; /* pci device handle */
380 volatile char *regs, volatile char *tcm, void *pci_dev, wifi_adapter_info_t *adapter);
H A Ddhd_linux.h269 struct pci_dev *pci_dev; member
H A Dlinux_osl.c672 return pci_domain_nr(((struct pci_dev *)osh->pdev)->bus); in osl_pci_bus()
674 return ((struct pci_dev *)osh->pdev)->bus->number; in osl_pci_bus()
685 return PCI_SLOT(((struct pci_dev *)osh->pdev)->devfn) + 1; in osl_pci_slot()
687 return PCI_SLOT(((struct pci_dev *)osh->pdev)->devfn); in osl_pci_slot()
697 return pci_domain_nr(((struct pci_dev *)osh->pdev)->bus); in osl_pcie_domain()
706 return ((struct pci_dev *)osh->pdev)->bus->number; in osl_pcie_bus()
710 struct pci_dev *
938 struct pci_dev *hwdev = osh->pdev; in osl_dma_alloc_consistent()
H A Ddhd_config.c4156 dhd->conf->devid = adapter->pci_dev->device; in dhd_conf_set_devid()
4157 dhd->conf->svid = adapter->pci_dev->subsystem_vendor; in dhd_conf_set_devid()
4158 dhd->conf->ssid = adapter->pci_dev->subsystem_device; in dhd_conf_set_devid()
H A Ddhd_pcie.c633 volatile char *regs, volatile char *tcm, void *pci_dev, wifi_adapter_info_t *adapter) in dhdpcie_bus_attach()
653 /* Save pci_dev into dhd_bus, as it may be needed in dhd_attach */ in dhdpcie_bus_attach()
654 bus->dev = (struct pci_dev *)pci_dev; in dhdpcie_bus_attach()
632 dhdpcie_bus_attach(osl_t *osh, dhd_bus_t **bus_ptr, volatile char *regs, volatile char *tcm, void *pci_dev, wifi_adapter_info_t *adapter) dhdpcie_bus_attach() argument
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
H A Drtltool.c185 pci_read_config_byte(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
188 pci_read_config_word(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
191 pci_read_config_dword(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
209 pci_write_config_byte(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
212 pci_write_config_word(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
215 pci_write_config_dword(tp->pci_dev, my_cmd.offset, in rtl8168_tool_ioctl()
H A Dr8168.h1472 struct pci_dev *pci_dev; /* Index of PCI device */ member
H A Dr8168_n.c594 return &tp->pci_dev->dev; in tp_to_dev()
850 pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) in pci_choose_state()
1220 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
1226 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
1229 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
1690 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
1698 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
1704 pci_read_config_dword(tp->pci_dev, n, &dword_rd); in proc_get_pci_registers()
2806 struct pci_dev *pdev = tp->pci_dev; in rtl8168_csi_fun0_read_byte()
[all...]
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
H A Dhcd.h489 struct pci_dev;
491 extern int usb_hcd_pci_probe(struct pci_dev *dev,
494 extern void usb_hcd_pci_remove(struct pci_dev *dev);
495 extern void usb_hcd_pci_shutdown(struct pci_dev *dev);
497 extern int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *dev);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dlinuxver.h235 int (*probe)(struct pci_dev *dev,
237 void (*remove)(struct pci_dev *dev); /* Device removed (NULL if not a hot-plug
240 void (*suspend)(struct pci_dev *dev); /* Device suspended */
241 void (*resume)(struct pci_dev *dev); /* Device woken up */
328 static inline void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
342 static inline void pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
495 pci_save_state(struct pci_dev *dev, u32 *buffer) in pci_save_state()
506 pci_restore_state(struct pci_dev *dev, u32 *buffer) in pci_restore_state()
H A Dlinux_osl.h139 extern struct pci_dev *osl_pci_device(osl_t *osh);
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c100 static u64 nouveau_pci_name(struct pci_dev *pdev) in nouveau_pci_name()
667 static void quirk_broken_nv_runpm(struct pci_dev *pdev) in quirk_broken_nv_runpm()
671 struct pci_dev *bridge = pci_upstream_bridge(pdev); in quirk_broken_nv_runpm()
684 static int nouveau_drm_probe(struct pci_dev *pdev, const struct pci_device_id *pent) in nouveau_drm_probe()
776 static void nouveau_drm_remove(struct pci_dev *pdev) in nouveau_drm_remove()
889 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_suspend()
912 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_resume()
939 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_freeze()
946 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_thaw()
961 struct pci_dev *pde in nouveau_pmops_runtime_suspend()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_file.c394 struct pci_dev *pci_dev; in drm_open_helper() local
396 pci_dev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 0x8, NULL); in drm_open_helper()
397 if (pci_dev) { in drm_open_helper()
398 dev->hose = pci_dev->sysdata; in drm_open_helper()
399 pci_dev_put(pci_dev); in drm_open_helper()
H A Ddrm_edid.c2077 struct pci_dev *pdev = connector->dev->pdev; in drm_get_edid_switcheroo()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dpci.h16 TP_PROTO(struct pci_dev *dev, unsigned int delay, int *err),
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Diommu.c1279 static struct iommu_group *get_pci_alias_group(struct pci_dev *pdev, unsigned long *devfns);
1297 static struct iommu_group *get_pci_function_alias_group(struct pci_dev *pdev, unsigned long *devfns) in get_pci_function_alias_group()
1299 struct pci_dev *tmp = NULL; in get_pci_function_alias_group()
1332 static struct iommu_group *get_pci_alias_group(struct pci_dev *pdev, unsigned long *devfns) in get_pci_alias_group()
1334 struct pci_dev *tmp = NULL; in get_pci_alias_group()
1372 struct pci_dev *pdev;
1380 static int get_pci_alias_or_group(struct pci_dev *pdev, u16 alias, void *opaque) in get_pci_alias_or_group()
1406 struct pci_dev *pdev = to_pci_dev(dev); in pci_device_group()
H A Ddma-iommu.c204 static int iova_reserve_pci_windows(struct pci_dev *dev, struct iova_domain *iovad) in iova_reserve_pci_windows()

Completed in 57 milliseconds