/drivers/pci/ |
D | pci.h | 18 bool pcie_cap_has_lnkctl(const struct pci_dev *dev); 19 bool pcie_cap_has_rtctl(const struct pci_dev *dev); 23 int pci_create_sysfs_dev_files(struct pci_dev *pdev); 24 void pci_remove_sysfs_dev_files(struct pci_dev *pdev); 25 void pci_cleanup_rom(struct pci_dev *dev); 34 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vmai, 37 bool pci_reset_supported(struct pci_dev *dev); 38 void pci_init_reset_methods(struct pci_dev *dev); 39 int pci_bridge_secondary_bus_reset(struct pci_dev *dev); 40 int pci_bus_error_reset(struct pci_dev *dev); [all …]
|
D | pci-driver.c | 106 struct pci_dev *dev) in pci_match_id() 137 struct pci_dev *dev) in pci_match_device() 206 struct pci_dev *pdev = kzalloc(sizeof(*pdev), GFP_KERNEL); in new_id_store() 301 struct pci_dev *dev; 308 struct pci_dev *pci_dev = ddi->dev; in local_pci_probe() local 310 struct device *dev = &pci_dev->dev; in local_pci_probe() 323 pci_dev->driver = pci_drv; in local_pci_probe() 324 rc = pci_drv->probe(pci_dev, ddi->id); in local_pci_probe() 328 pci_dev->driver = NULL; in local_pci_probe() 336 pci_warn(pci_dev, "Driver probe function unexpectedly returned %d\n", in local_pci_probe() [all …]
|
D | pci.c | 62 struct pci_dev *dev; 67 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep() 80 bool pci_reset_supported(struct pci_dev *dev) in pci_reset_supported() 198 int pci_status_get_and_clear_errors(struct pci_dev *pdev) in pci_status_get_and_clear_errors() 216 static void __iomem *__pci_ioremap_resource(struct pci_dev *pdev, int bar, in __pci_ioremap_resource() 237 void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar) in pci_ioremap_bar() 243 void __iomem *pci_ioremap_wc_bar(struct pci_dev *pdev, int bar) in pci_ioremap_wc_bar() 269 static int pci_dev_str_match_path(struct pci_dev *dev, const char *path, in pci_dev_str_match_path() 363 static int pci_dev_str_match(struct pci_dev *dev, const char *p, in pci_dev_str_match() 445 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability() [all …]
|
D | quirks.c | 36 static ktime_t fixup_debug_start(struct pci_dev *dev, in fixup_debug_start() 37 void (*fn)(struct pci_dev *dev)) in fixup_debug_start() 45 static void fixup_debug_report(struct pci_dev *dev, ktime_t calltime, in fixup_debug_report() 46 void (*fn)(struct pci_dev *dev)) in fixup_debug_report() 58 static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, in pci_do_fixups() 70 void (*hook)(struct pci_dev *dev); in pci_do_fixups() 101 void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev) in pci_fixup_device() 158 struct pci_dev *dev = NULL; in pci_apply_final_quirks() 203 static void quirk_mmio_always_on(struct pci_dev *dev) in quirk_mmio_always_on() 221 static void quirk_passive_release(struct pci_dev *dev) in quirk_passive_release() [all …]
|
D | pci-acpi.c | 139 static void program_hpx_type0(struct pci_dev *dev, struct hpx_type0 *hpx) in program_hpx_type0() 208 static void program_hpx_type1(struct pci_dev *dev, struct hpx_type1 *hpx) in program_hpx_type1() 249 static bool pcie_root_rcb_set(struct pci_dev *dev) in pcie_root_rcb_set() 251 struct pci_dev *rp = pcie_find_root_port(dev); in pcie_root_rcb_set() 285 static void program_hpx_type2(struct pci_dev *dev, struct hpx_type2 *hpx) in program_hpx_type2() 441 static u16 hpx3_device_type(struct pci_dev *dev) in hpx3_device_type() 468 static u8 hpx3_function_type(struct pci_dev *dev) in hpx3_function_type() 499 static void program_hpx_type3_register(struct pci_dev *dev, in program_hpx_type3_register() 558 static void program_hpx_type3(struct pci_dev *dev, struct hpx_type3 *hpx) in program_hpx_type3() 588 static acpi_status program_type3_hpx_record(struct pci_dev *dev, in program_type3_hpx_record() [all …]
|
D | pci-sysfs.c | 41 struct pci_dev *pdev; \ 59 struct pci_dev *pdev = to_pci_dev(dev); in irq_show() 78 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show() 86 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store() 152 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show() 162 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show() local 168 if (pci_dev->subordinate) in resource_show() 174 struct resource *res = &pci_dev->resource[i]; in resource_show() 175 pci_resource_to_user(pci_dev, i, res, &start, &end); in resource_show() 188 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show() [all …]
|
D | iov.c | 19 int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_bus() 27 int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_devfn() 36 int pci_iov_vf_id(struct pci_dev *dev) in pci_iov_vf_id() 38 struct pci_dev *pf; in pci_iov_vf_id() 66 void *pci_iov_get_pf_drvdata(struct pci_dev *dev, struct pci_driver *pf_driver) in pci_iov_get_pf_drvdata() 68 struct pci_dev *pf_dev; in pci_iov_get_pf_drvdata() 85 static inline void pci_iov_set_numvfs(struct pci_dev *dev, int nr_virtfn) in pci_iov_set_numvfs() 101 static int compute_max_vf_buses(struct pci_dev *dev) in compute_max_vf_buses() 149 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size() 157 static void pci_read_vf_config_common(struct pci_dev *virtfn) in pci_read_vf_config_common() [all …]
|
/drivers/misc/genwqe/ |
D | card_base.c | 178 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_bus_reset() local 186 pci_iounmap(pci_dev, mmio); in genwqe_bus_reset() 188 pci_release_mem_regions(pci_dev); in genwqe_bus_reset() 195 dev_dbg(&pci_dev->dev, "[%s] pci_reset function ...\n", __func__); in genwqe_bus_reset() 196 rc = pci_reset_function(pci_dev); in genwqe_bus_reset() 198 dev_err(&pci_dev->dev, in genwqe_bus_reset() 202 dev_dbg(&pci_dev->dev, "[%s] done with rc=%d\n", __func__, rc); in genwqe_bus_reset() 212 rc = pci_request_mem_regions(pci_dev, genwqe_driver_name); in genwqe_bus_reset() 214 dev_err(&pci_dev->dev, in genwqe_bus_reset() 219 cd->mmio = pci_iomap(pci_dev, 0, 0); in genwqe_bus_reset() [all …]
|
D | card_ddcb.c | 168 struct pci_dev *pci_dev = cd->pci_dev; in print_ddcb_info() local 172 dev_info(&pci_dev->dev, in print_ddcb_info() 178 dev_err(&pci_dev->dev, in print_ddcb_info() 370 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_check_ddcb_queue() local 413 dev_err(&pci_dev->dev, in genwqe_check_ddcb_queue() 423 dev_dbg(&pci_dev->dev, "FINISHED DDCB#%d\n", req->num); in genwqe_check_ddcb_queue() 424 genwqe_hexdump(pci_dev, pddcb, sizeof(*pddcb)); in genwqe_check_ddcb_queue() 436 GENWQE_DEVNAME, dev_name(&pci_dev->dev), in genwqe_check_ddcb_queue() 482 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_wait_ddcb() local 518 dev_err(&pci_dev->dev, in __genwqe_wait_ddcb() [all …]
|
/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 151 dev_dbg(&ndev->pci_dev->dev, "%s(): num %d is_dvb_tc %d\n", in netup_unidvb_tuner_ctrl() 182 dev_dbg(&ndev->pci_dev->dev, in netup_unidvb_dev_enable() 194 dev_dbg(&dma->ndev->pci_dev->dev, in netup_unidvb_dma_enable() 210 struct device *dev = &dma->ndev->pci_dev->dev; in netup_dma_interrupt() 249 struct pci_dev *pci_dev = (struct pci_dev *)dev_id; in netup_unidvb_isr() local 250 struct netup_unidvb_dev *ndev = pci_get_drvdata(pci_dev); in netup_unidvb_isr() 279 dev_err(&pci_dev->dev, in netup_unidvb_isr() 297 dev_dbg(&dma->ndev->pci_dev->dev, "%s()\n", __func__); in netup_unidvb_queue_setup() 303 dev_dbg(&dma->ndev->pci_dev->dev, "%s() nbuffers=%d sizes[0]=%d\n", in netup_unidvb_queue_setup() 315 dev_dbg(&dma->ndev->pci_dev->dev, "%s(): buf 0x%p\n", __func__, buf); in netup_unidvb_buf_prepare() [all …]
|
/drivers/i2c/busses/ |
D | i2c-amd-mp2-pci.c | 33 pci_warn(privdata->pci_dev, in amd_mp2_c2p_mutex_unlock() 62 pci_dbg(privdata->pci_dev, "id: %d\n", i2c_common->bus_id); in amd_mp2_bus_enable_set() 113 struct pci_dev *pdev = privdata->pci_dev; in amd_mp2_pci_check_rw_event() 137 struct pci_dev *pdev = privdata->pci_dev; in __amd_mp2_process_event() 186 struct pci_dev *pdev = privdata->pci_dev; in amd_mp2_process_event() 204 struct pci_dev *pdev = privdata->pci_dev; in amd_mp2_irq_isr() 251 struct pci_dev *pdev = privdata->pci_dev; in amd_mp2_register_cb() 289 struct pci_dev *pci_dev) in amd_mp2_pci_init() argument 293 pci_set_drvdata(pci_dev, privdata); in amd_mp2_pci_init() 295 rc = pcim_enable_device(pci_dev); in amd_mp2_pci_init() [all …]
|
/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 188 struct pci_dev *pci_dev = cobalt->pci_dev; in cobalt_pcie_status_show() local 189 struct pci_dev *pci_bus_dev = cobalt->pci_dev->bus->self; in cobalt_pcie_status_show() 193 if (!pci_is_pcie(pci_dev) || !pci_is_pcie(pci_bus_dev)) in cobalt_pcie_status_show() 197 pcie_capability_read_dword(pci_dev, PCI_EXP_DEVCAP, &capa); in cobalt_pcie_status_show() 198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show() 199 pcie_capability_read_word(pci_dev, PCI_EXP_DEVSTA, &stat); in cobalt_pcie_status_show() 209 pcie_capability_read_dword(pci_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show() 210 pcie_capability_read_word(pci_dev, PCI_EXP_LNKCTL, &ctrl); in cobalt_pcie_status_show() 211 pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &stat); in cobalt_pcie_status_show() 227 pcie_capability_read_dword(pci_dev, PCI_EXP_SLTCAP, &capa); in cobalt_pcie_status_show() [all …]
|
/drivers/xen/ |
D | pci.c | 30 struct pci_dev *pci_dev = to_pci_dev(dev); in xen_add_device() local 32 struct pci_dev *physfn = pci_dev->physfn; in xen_add_device() 51 .add.seg = pci_domain_nr(pci_dev->bus), in xen_add_device() 52 .add.bus = pci_dev->bus->number, in xen_add_device() 53 .add.devfn = pci_dev->devfn in xen_add_device() 62 if (pci_dev->is_virtfn) { in xen_add_device() 68 if (pci_ari_enabled(pci_dev->bus) && PCI_SLOT(pci_dev->devfn)) in xen_add_device() 72 handle = ACPI_HANDLE(&pci_dev->dev); in xen_add_device() 74 if (!handle && pci_dev->is_virtfn) in xen_add_device() 83 for (pbus = pci_dev->bus; pbus; pbus = pbus->parent) { in xen_add_device() [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00pci.c | 41 struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); in rt2x00pci_alloc_reg() local 43 rt2x00dev->csr.base = pci_ioremap_bar(pci_dev, 0); in rt2x00pci_alloc_reg() 65 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops) in rt2x00pci_probe() argument 72 retval = pci_enable_device(pci_dev); in rt2x00pci_probe() 78 retval = pci_request_regions(pci_dev, pci_name(pci_dev)); in rt2x00pci_probe() 84 pci_set_master(pci_dev); in rt2x00pci_probe() 86 if (pci_set_mwi(pci_dev)) in rt2x00pci_probe() 89 if (dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32))) { in rt2x00pci_probe() 102 pci_set_drvdata(pci_dev, hw); in rt2x00pci_probe() 105 rt2x00dev->dev = &pci_dev->dev; in rt2x00pci_probe() [all …]
|
/drivers/xen/xen-pciback/ |
D | conf_space.h | 15 typedef void *(*conf_field_init) (struct pci_dev *dev, int offset); 16 typedef void (*conf_field_reset) (struct pci_dev *dev, int offset, void *data); 17 typedef void (*conf_field_free) (struct pci_dev *dev, int offset, void *data); 19 typedef int (*conf_dword_write) (struct pci_dev *dev, int offset, u32 value, 21 typedef int (*conf_word_write) (struct pci_dev *dev, int offset, u16 value, 23 typedef int (*conf_byte_write) (struct pci_dev *dev, int offset, u8 value, 25 typedef int (*conf_dword_read) (struct pci_dev *dev, int offset, u32 *value, 27 typedef int (*conf_word_read) (struct pci_dev *dev, int offset, u16 *value, 29 typedef int (*conf_byte_read) (struct pci_dev *dev, int offset, u8 *value, 80 int xen_pcibk_config_add_field_offset(struct pci_dev *dev, [all …]
|
D | pciback.h | 24 struct pci_dev *dev; 67 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, 70 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev, 71 struct pci_dev *dev); 72 void pcistub_put_pci_dev(struct pci_dev *dev); 80 void xen_pcibk_reset_device(struct pci_dev *pdev); 84 int xen_pcibk_config_init_dev(struct pci_dev *dev); 85 void xen_pcibk_config_free_dyn_fields(struct pci_dev *dev); 86 void xen_pcibk_config_reset_dev(struct pci_dev *dev); 87 void xen_pcibk_config_free_dev(struct pci_dev *dev); [all …]
|
/drivers/staging/media/ipu3/ |
D | ipu3.c | 236 dev_dbg(&imgu->pci_dev->dev, "Queue buffers to pipe %d", pipe); in imgu_queue_buffers() 250 dev_warn(&imgu->pci_dev->dev, in imgu_queue_buffers() 270 dev_warn(&imgu->pci_dev->dev, in imgu_queue_buffers() 276 dev_dbg(&imgu->pci_dev->dev, in imgu_queue_buffers() 294 dev_dbg(&imgu->pci_dev->dev, in imgu_queue_buffers() 314 dev_err(&imgu->pci_dev->dev, in imgu_queue_buffers() 355 dev_dbg(&imgu->pci_dev->dev, "pipe %u input format = %ux%u", in imgu_powerup() 361 r = imgu_css_set_powerup(&imgu->pci_dev->dev, imgu->base, freq); in imgu_powerup() 372 imgu_css_set_powerdown(&imgu->pci_dev->dev, imgu->base); in imgu_powerdown() 377 struct device *dev = &imgu->pci_dev->dev; in imgu_s_stream() [all …]
|
/drivers/media/pci/tw68/ |
D | tw68-core.c | 211 static int tw68_initdev(struct pci_dev *pci_dev, in tw68_initdev() argument 218 dev = devm_kzalloc(&pci_dev->dev, sizeof(*dev), GFP_KERNEL); in tw68_initdev() 225 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); in tw68_initdev() 230 dev->pci = pci_dev; in tw68_initdev() 231 if (pci_enable_device(pci_dev)) { in tw68_initdev() 241 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, latency); in tw68_initdev() 245 pci_read_config_byte(pci_dev, PCI_CLASS_REVISION, &dev->pci_rev); in tw68_initdev() 246 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &dev->pci_lat); in tw68_initdev() 248 dev->name, pci_name(pci_dev), dev->pci_rev, pci_dev->irq, in tw68_initdev() 249 dev->pci_lat, (u64)pci_resource_start(pci_dev, 0)); in tw68_initdev() [all …]
|
/drivers/usb/core/ |
D | hcd-pci.c | 36 static inline int is_ohci_or_uhci(struct pci_dev *pdev) in is_ohci_or_uhci() 41 typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd, 42 struct pci_dev *companion, struct usb_hcd *companion_hcd); 45 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, in for_each_companion() 48 struct pci_dev *companion; in for_each_companion() 84 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add() 85 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_pre_add() 101 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add() 102 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_post_add() 122 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add() [all …]
|
/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 159 dev_dbg(&dev->pci_dev->dev, "reset: stopping DMA\n"); in tw686x_reset_channels() 181 dev_dbg(&dev->pci_dev->dev, in tw686x_irq() 240 static int tw686x_probe(struct pci_dev *pci_dev, in tw686x_probe() argument 251 sprintf(dev->name, "tw%04X", pci_dev->device); in tw686x_probe() 268 pci_name(pci_dev), pci_dev->irq, in tw686x_probe() 269 (unsigned long)pci_resource_start(pci_dev, 0), in tw686x_probe() 272 dev->pci_dev = pci_dev; in tw686x_probe() 273 if (pci_enable_device(pci_dev)) { in tw686x_probe() 278 pci_set_master(pci_dev); in tw686x_probe() 279 err = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32)); in tw686x_probe() [all …]
|
/drivers/virtio/ |
D | virtio_pci_legacy_dev.c | 18 struct pci_dev *pci_dev = ldev->pci_dev; in vp_legacy_probe() local 22 if (pci_dev->device < 0x1000 || pci_dev->device > 0x103f) in vp_legacy_probe() 25 if (pci_dev->revision != VIRTIO_PCI_ABI_VERSION) in vp_legacy_probe() 28 rc = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(64)); in vp_legacy_probe() 30 rc = dma_set_mask_and_coherent(&pci_dev->dev, DMA_BIT_MASK(32)); in vp_legacy_probe() 36 dma_set_coherent_mask(&pci_dev->dev, in vp_legacy_probe() 41 …dev_warn(&pci_dev->dev, "Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this migh… in vp_legacy_probe() 43 rc = pci_request_region(pci_dev, 0, "virtio-pci-legacy"); in vp_legacy_probe() 47 ldev->ioaddr = pci_iomap(pci_dev, 0, 0); in vp_legacy_probe() 55 ldev->id.vendor = pci_dev->subsystem_vendor; in vp_legacy_probe() [all …]
|
D | virtio_pci_common.c | 34 synchronize_irq(vp_dev->pci_dev->irq); in vp_synchronize_vectors() 37 synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i)); in vp_synchronize_vectors() 133 err = pci_alloc_irq_vectors_affinity(vp_dev->pci_dev, nvectors, in vp_request_msix_vectors() 143 err = request_irq(pci_irq_vector(vp_dev->pci_dev, v), in vp_request_msix_vectors() 162 err = request_irq(pci_irq_vector(vp_dev->pci_dev, v), in vp_request_msix_vectors() 243 int irq = pci_irq_vector(vp_dev->pci_dev, v); in vp_del_vqs() 254 free_irq(vp_dev->pci_dev->irq, vp_dev); in vp_del_vqs() 259 free_irq(pci_irq_vector(vp_dev->pci_dev, i), vp_dev); in vp_del_vqs() 270 pci_free_irq_vectors(vp_dev->pci_dev); in vp_del_vqs() 344 err = request_irq(pci_irq_vector(vp_dev->pci_dev, msix_vec), in vp_find_vqs_msix() [all …]
|
D | virtio_pci_modern_dev.c | 26 struct pci_dev *dev = mdev->pci_dev; in vp_modern_map_capability() 114 static inline int virtio_pci_find_capability(struct pci_dev *dev, u8 cfg_type, in virtio_pci_find_capability() 217 struct pci_dev *pci_dev = mdev->pci_dev; in vp_modern_probe() local 225 if (pci_dev->device < 0x1000 || pci_dev->device > 0x107f) in vp_modern_probe() 228 if (pci_dev->device < 0x1040) { in vp_modern_probe() 232 mdev->id.device = pci_dev->subsystem_device; in vp_modern_probe() 235 mdev->id.device = pci_dev->device - 0x1040; in vp_modern_probe() 237 mdev->id.vendor = pci_dev->subsystem_vendor; in vp_modern_probe() 240 common = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_COMMON_CFG, in vp_modern_probe() 244 dev_info(&pci_dev->dev, in vp_modern_probe() [all …]
|
/drivers/media/pci/tw5864/ |
D | tw5864-core.c | 239 static int tw5864_initdev(struct pci_dev *pci_dev, in tw5864_initdev() argument 245 dev = devm_kzalloc(&pci_dev->dev, sizeof(*dev), GFP_KERNEL); in tw5864_initdev() 249 snprintf(dev->name, sizeof(dev->name), "tw5864:%s", pci_name(pci_dev)); in tw5864_initdev() 251 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); in tw5864_initdev() 256 dev->pci = pci_dev; in tw5864_initdev() 257 err = pcim_enable_device(pci_dev); in tw5864_initdev() 263 pci_set_master(pci_dev); in tw5864_initdev() 265 err = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32)); in tw5864_initdev() 272 err = pcim_iomap_regions(pci_dev, BIT(0), dev->name); in tw5864_initdev() 277 dev->mmio = pcim_iomap_table(pci_dev)[0]; in tw5864_initdev() [all …]
|
/drivers/pci/pcie/ |
D | rcec.c | 19 struct pci_dev *rcec; 20 int (*user_callback)(struct pci_dev *dev, void *data); 24 static bool rcec_assoc_rciep(struct pci_dev *rcec, struct pci_dev *rciep) in rcec_assoc_rciep() 41 static int link_rcec_helper(struct pci_dev *dev, void *data) in link_rcec_helper() 44 struct pci_dev *rcec = rcec_data->rcec; in link_rcec_helper() 56 static int walk_rcec_helper(struct pci_dev *dev, void *data) in walk_rcec_helper() 59 struct pci_dev *rcec = rcec_data->rcec; in walk_rcec_helper() 68 static void walk_rcec(int (*cb)(struct pci_dev *dev, void *data), in walk_rcec() 72 struct pci_dev *rcec = rcec_data->rcec; in walk_rcec() 110 void pcie_link_rcec(struct pci_dev *rcec) in pcie_link_rcec() [all …]
|