Home
last modified time | relevance | path

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

123456

/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dvgaarb.h51 struct pci_dev;
69 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
116 static inline int vga_get_interruptible(struct pci_dev *pdev, in vga_get_interruptible()
165 extern void vga_put(struct pci_dev *pdev, unsigned int rsrc);
191 extern struct pci_dev *vga_default_device(void);
192 extern void vga_set_default_device(struct pci_dev *pdev);
207 static inline int vga_conflicts(struct pci_dev *p1, struct pci_dev *p2) in vga_conflicts()
243 int vga_client_register(struct pci_dev *pdev,
246 int vga_client_register(struct pci_dev *pdev, void *cookie,
249 int vga_client_register(struct pci_dev *pdev, void *cookie,
[all …]
H A Dpci.h245 struct pci_dev;
270 struct pci_dev *self;
317 struct pci_dev { struct
322 struct pci_dev *root; argument
369 struct pci_dev *lkpi_pci_get_device(uint16_t, uint16_t, struct pci_dev *);
420 pci_name(struct pci_dev *d) in pci_name()
439 static inline struct pci_dev *
503 static inline struct pci_dev *
881 static inline struct pci_dev *pci_physfn(struct pci_dev *dev) in pci_physfn()
1168 struct pci_dev **limiting, in pcie_bandwidth_available()
[all …]
H A Daperture.h10 struct pci_dev;
21 int __aperture_remove_legacy_vga_devices(struct pci_dev *pdev);
23 int aperture_remove_conflicting_pci_devices(struct pci_dev *pdev, const char *name);
38 static inline int __aperture_remove_legacy_vga_devices(struct pci_dev *pdev) in __aperture_remove_legacy_vga_devices()
43 static inline int aperture_remove_conflicting_pci_devices(struct pci_dev *pdev, const char *name) in aperture_remove_conflicting_pci_devices()
/freebsd-14.2/sys/dev/qlxgbe/
H A Dql_misc.c206 device_printf(ha->pci_dev, in ql_rdwr_offchip_mem()
235 device_printf(ha->pci_dev, in ql_rd_flash32()
244 device_printf(ha->pci_dev, in ql_rd_flash32()
283 device_printf(ha->pci_dev, in qla_get_fdt()
292 device_printf(ha->pci_dev, in qla_get_fdt()
325 device_printf(ha->pci_dev, in qla_get_fdt()
333 device_printf(ha->pci_dev, in qla_get_fdt()
356 device_printf(ha->pci_dev, in qla_flash_write_enable()
368 device_printf(ha->pci_dev, in qla_flash_write_enable()
376 device_printf(ha->pci_dev, in qla_flash_write_enable()
[all …]
H A Dql_os.c279 device_printf(ha->pci_dev, in qla_watchdog()
343 ha->pci_dev = dev; in qla_pci_attach()
632 dev = ha->pci_dev; in qla_release()
732 dev = ha->pci_dev; in ql_alloc_dmabuf()
804 dev = ha->pci_dev; in qla_alloc_parent_dma_tag()
1300 device_printf(ha->pci_dev, in qla_send()
1312 device_printf(ha->pci_dev, in qla_send()
1326 device_printf(ha->pci_dev, in qla_send()
1959 device_printf(ha->pci_dev, in ql_get_mbuf()
1987 device_printf(ha->pci_dev, in ql_get_mbuf()
[all …]
H A Dql_ioctl.c89 device_t pci_dev; in ql_eioctl() local
107 pci_dev= ha->pci_dev; in ql_eioctl()
235 device_printf(pci_dev, in ql_eioctl()
259 device_printf(pci_dev, in ql_eioctl()
270 device_printf(pci_dev, "%s: recovery initiated " in ql_eioctl()
293 device_printf(pci_dev, in ql_eioctl()
336 pci_ids->ven_id = pci_get_vendor(pci_dev); in ql_eioctl()
337 pci_ids->dev_id = pci_get_device(pci_dev); in ql_eioctl()
338 pci_ids->subsys_ven_id = pci_get_subvendor(pci_dev); in ql_eioctl()
339 pci_ids->subsys_dev_id = pci_get_subdevice(pci_dev); in ql_eioctl()
[all …]
H A Dql_hw.c903 dev = ha->pci_dev; in ql_hw_add_sysctls()
1262 dev = ha->pci_dev; in ql_alloc_dma()
1935 dev = ha->pci_dev; in ql_set_max_mtu()
1973 dev = ha->pci_dev; in qla_link_event_req()
2010 dev = ha->pci_dev; in qla_config_fw_lro()
2050 dev = ha->pci_dev; in qla_set_cam_search_mode()
2088 dev = ha->pci_dev; in qla_get_cam_search_mode()
2127 dev = ha->pci_dev; in qla_get_hw_stats()
2484 dev = ha->pci_dev; in ql_hw_send()
3065 dev = ha->pci_dev; in qla_init_rcv_cntxt()
[all …]
H A Dql_isr.c92 device_printf(ha->pci_dev, in qla_rx_intr()
116 device_printf(ha->pci_dev, in qla_rx_intr()
233 device_printf(ha->pci_dev, in qla_lro_intr()
257 device_printf(ha->pci_dev, in qla_lro_intr()
373 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n", in qla_rcv_cont_sds()
381 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n", in qla_rcv_cont_sds()
441 device_printf(ha->pci_dev, in qla_rcv_cont_sds()
477 dev = ha->pci_dev; in ql_rcv_isr()
794 device_printf(ha->pci_dev, in ql_mbx_isr()
871 device_printf(ha->pci_dev, "%s: " in ql_mbx_isr()
[all …]
/freebsd-14.2/sys/dev/qlxge/
H A Dqls_os.c245 device_printf(ha->pci_dev, in qls_sysctl_get_drvr_stats()
248 device_printf(ha->pci_dev, in qls_sysctl_get_drvr_stats()
251 device_printf(ha->pci_dev, in qls_sysctl_get_drvr_stats()
346 ha->pci_dev = dev; in qls_pci_attach()
513 dev = ha->pci_dev; in qls_release()
599 dev = ha->pci_dev; in qls_alloc_dmabuf()
671 dev = ha->pci_dev; in qls_alloc_parent_dma_tag()
936 QL_DPRINT4((ha->pci_dev, in qls_ioctl()
945 QL_DPRINT4((ha->pci_dev, in qls_ioctl()
955 QL_DPRINT4((ha->pci_dev, in qls_ioctl()
[all …]
H A Dqls_dbg.c54 dev = ha->pci_dev; in qls_dump_buf32()
96 dev = ha->pci_dev; in qls_dump_buf16()
158 dev = ha->pci_dev; in qls_dump_buf8()
277 device_printf(ha->pci_dev, "%s: lbq_addr_tbl_paddr %p\n", __func__, in qls_dump_cq()
283 device_printf(ha->pci_dev, "%s: lbq_paddr %p\n", __func__, in qls_dump_cq()
289 device_printf(ha->pci_dev, "%s: sbq_addr_tbl_paddr %p\n", __func__, in qls_dump_cq()
295 device_printf(ha->pci_dev, "%s: sbq_paddr %p\n", __func__, in qls_dump_cq()
301 device_printf(ha->pci_dev, "%s: lb_paddr %p\n", __func__, in qls_dump_cq()
H A Dqls_hw.c141 dev = ha->pci_dev; in qls_hw_add_sysctls()
675 dev = ha->pci_dev; in qls_hw_send()
937 QL_DPRINT2((ha->pci_dev, in qls_init_hw_if()
1377 device_t dev = ha->pci_dev; in qls_alloc_tx_ring_dma()
1988 device_t dev = ha->pci_dev; in qls_hw_nic_reset()
2014 device_t dev = ha->pci_dev; in qls_hw_reset()
2197 ha->pci_dev, in qls_mbx_cmd()
2244 device_t dev = ha->pci_dev; in qls_mbx_set_mgmt_ctrl()
2271 device_t dev = ha->pci_dev; in qls_mbx_get_mgmt_ctrl()
2294 device_t dev = ha->pci_dev; in qls_mbx_get_link_status()
[all …]
/freebsd-14.2/sys/dev/qat/qat_common/
H A Dadf_isr.c59 pci_release_msi(info_pci_dev->pci_dev); in adf_enable_msix()
76 pci_release_msi(info_pci_dev->pci_dev); in adf_enable_msix()
87 pci_release_msi(info_pci_dev->pci_dev); in adf_disable_msix()
192 ret = bus_setup_intr(info_pci_dev->pci_dev, in adf_request_irqs()
213 bus_describe_intr(info_pci_dev->pci_dev, in adf_request_irqs()
218 bus_bind_intr(info_pci_dev->pci_dev, in adf_request_irqs()
236 ret = bus_setup_intr(info_pci_dev->pci_dev, in adf_request_irqs()
246 bus_release_resource(info_pci_dev->pci_dev, in adf_request_irqs()
254 bus_describe_intr(info_pci_dev->pci_dev, in adf_request_irqs()
271 bus_teardown_intr(info_pci_dev->pci_dev, in adf_free_irqs()
[all …]
/freebsd-14.2/sys/dev/qlxgb/
H A Dqla_ioctl.c87 device_t pci_dev; in qla_eioctl() local
92 pci_dev= ha->pci_dev; in qla_eioctl()
133 pci_ids->ven_id = pci_get_vendor(pci_dev); in qla_eioctl()
134 pci_ids->dev_id = pci_get_device(pci_dev); in qla_eioctl()
135 pci_ids->subsys_ven_id = pci_get_subvendor(pci_dev); in qla_eioctl()
136 pci_ids->subsys_dev_id = pci_get_subdevice(pci_dev); in qla_eioctl()
137 pci_ids->rev_id = pci_read_config(pci_dev, PCIR_REVID, 1); in qla_eioctl()
H A Dqla_os.c255 ha->pci_dev = dev; in qla_pci_attach()
469 dev = ha->pci_dev; in qla_release()
537 dev = ha->pci_dev; in qla_alloc_dmabuf()
609 dev = ha->pci_dev; in qla_alloc_parent_dma_tag()
799 QL_DPRINT4((ha->pci_dev, in qla_ioctl()
869 QL_DPRINT4((ha->pci_dev, in qla_ioctl()
878 QL_DPRINT4((ha->pci_dev, in qla_ioctl()
888 QL_DPRINT4((ha->pci_dev, in qla_ioctl()
981 QL_DPRINT8((ha->pci_dev, in qla_start()
1041 device_printf(ha->pci_dev, in qla_send()
[all …]
H A Dqla_misc.c212 device_printf(ha->pci_dev, "%s: invalid addr 0x%08x\n", in qla_rdwr_indreg32()
219 device_printf(ha->pci_dev, "%s: undefined map 0x%08x\n", in qla_rdwr_indreg32()
452 QL_DPRINT2((ha->pci_dev, in qla_crb_init()
565 QL_DPRINT2((ha->pci_dev, in qla_init_from_flash()
573 device_printf(ha->pci_dev, in qla_init_from_flash()
597 dev = ha->pci_dev; in qla_init_hw()
680 device_printf(ha->pci_dev, "%s: failed \n", __func__); in qla_flash_write_enable()
702 device_printf(ha->pci_dev, "%s: failed \n", __func__); in qla_flash_unprotect()
718 device_printf(ha->pci_dev, "%s: failed \n", __func__); in qla_flash_unprotect()
740 device_printf(ha->pci_dev, "%s: failed \n", __func__); in qla_flash_protect()
[all …]
H A Dqla_hw.c415 dev = ha->pci_dev; in qla_issue_cmd()
492 dev = ha->pci_dev; in qla_fw_cmd()
718 dev = ha->pci_dev; in qla_tx_tso()
836 dev = ha->pci_dev; in qla_tx_chksum()
930 dev = ha->pci_dev; in qla_hw_send()
1213 dev = ha->pci_dev; in qla_init_rcv_cntxt()
1319 dev = ha->pci_dev; in qla_init_xmt_cntxt()
1396 dev = ha->pci_dev; in qla_get_max_rds()
1424 dev = ha->pci_dev; in qla_get_max_sds()
1452 dev = ha->pci_dev; in qla_get_max_rules()
[all …]
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c288 struct pci_dev *
291 struct pci_dev *pdev; in lkpi_pci_get_device()
356 struct pci_dev *pdev; in lkpinew_pci_dev_release()
374 struct pci_dev *
377 struct pci_dev *pdev; in lkpinew_pci_dev()
386 struct pci_dev *
391 struct pci_dev *pdev; in lkpi_pci_get_class()
404 struct pci_dev *
409 struct pci_dev *pdev; in lkpi_pci_get_domain_bus_and_slot()
443 struct pci_dev *pdev; in linux_pci_attach()
[all …]
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Dpci.c157 struct pci_dev *pci_dev = to_pci_dev(ab->dev); in ath11k_pci_get_msi_irq() local
447 struct pci_dev *pci_dev = ab_pci->pdev; in ath11k_pci_alloc_msi() local
484 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_alloc_msi()
488 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_alloc_msi()
595 struct pci_dev *pci_dev = ab_pci->pdev; in ath11k_pci_free_region() local
597 pci_iounmap(pci_dev, ab->mem); in ath11k_pci_free_region()
600 if (pci_is_enabled(pci_dev)) in ath11k_pci_free_region()
601 pci_disable_device(pci_dev); in ath11k_pci_free_region()
785 ab_pci->dev_id = pci_dev->device; in ath11k_pci_probe()
818 switch (pci_dev->device) { in ath11k_pci_probe()
[all …]
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c553 "%d:%d:%d", pci_get_bus(ha->pci_dev), in qlnx_drv_info()
773 device_printf(ha->pci_dev, in qlnx_lldp_configure()
813 device_printf(ha->pci_dev, in qlnx_lldp_configure()
826 device_printf(ha->pci_dev, in qlnx_lldp_configure()
842 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
851 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
860 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
869 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
878 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
887 device_printf(ha->pci_dev, in qlnx_register_default_lldp_tlvs()
[all …]
H A Dqlnx_def.h367 device_t pci_dev; member
536 device_printf ((ha)->pci_dev, \
546 device_printf ((ha)->pci_dev, \
556 device_printf ((ha)->pci_dev, \
566 device_printf ((ha)->pci_dev, \
576 device_printf ((ha)->pci_dev, \
586 device_printf ((ha)->pci_dev, \
596 device_printf ((ha)->pci_dev, \
606 device_printf ((ha)->pci_dev, \
616 device_printf ((ha)->pci_dev, \
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dpci.c68 static struct mt7996_hif *mt7996_pci_init_hif2(struct pci_dev *pdev) in mt7996_pci_init_hif2()
88 static int mt7996_pci_hif2_probe(struct pci_dev *pdev) in mt7996_pci_hif2_probe()
107 static int mt7996_pci_probe(struct pci_dev *pdev, in mt7996_pci_probe()
110 struct pci_dev *hif2_dev; in mt7996_pci_probe()
159 hif2_dev = container_of(hif2->dev, struct pci_dev, dev); in mt7996_pci_probe()
202 static void mt7996_hif_remove(struct pci_dev *pdev) in mt7996_hif_remove()
209 static void mt7996_pci_remove(struct pci_dev *pdev) in mt7996_pci_remove()
/freebsd-14.2/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c90 device_t pci_dev, const struct bhndb_regwin *,
162 device_t pci_dev; /**< parent PCI device */ member
911 if (pci_read_config(pci_dev, reg, 4) == addr) in bhndb_pci_compat_setregwin()
925 bhndb_pci_fast_setregwin(device_t dev, device_t pci_dev, in bhndb_pci_fast_setregwin() argument
1048 device_t pci_dev; in bhndb_enable_pci_clocks() local
1053 pci_dev = device_get_parent(dev); in bhndb_enable_pci_clocks()
1083 pci_status = pci_read_config(pci_dev, PCIR_STATUS, 2); in bhndb_enable_pci_clocks()
1085 pci_write_config(pci_dev, PCIR_STATUS, pci_status, 2); in bhndb_enable_pci_clocks()
1101 device_t pci_dev; in bhndb_disable_pci_clocks() local
1104 pci_dev = device_get_parent(dev); in bhndb_disable_pci_clocks()
[all …]
/freebsd-14.2/sys/contrib/dev/athk/ath12k/
H A Dpci.c787 struct pci_dev *pci_dev = ab_pci->pdev; in ath12k_pci_free_region() local
789 pci_iounmap(pci_dev, ab->mem); in ath12k_pci_free_region()
792 if (pci_is_enabled(pci_dev)) in ath12k_pci_free_region()
793 pci_disable_device(pci_dev); in ath12k_pci_free_region()
888 struct pci_dev *pci_dev = to_pci_dev(dev); in ath12k_pci_get_msi_irq() local
925 struct pci_dev *pci_dev = to_pci_dev(ab->dev); in ath12k_pci_get_msi_address() local
927 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath12k_pci_get_msi_address()
931 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath12k_pci_get_msi_address()
1228 ab_pci->dev_id = pci_dev->device; in ath12k_pci_probe()
1241 switch (pci_dev->device) { in ath12k_pci_probe()
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dpci.c75 static struct mt7915_hif *mt7915_pci_init_hif2(struct pci_dev *pdev) in mt7915_pci_init_hif2()
77 struct pci_dev *tmp_pdev; in mt7915_pci_init_hif2()
107 static int mt7915_pci_hif2_probe(struct pci_dev *pdev) in mt7915_pci_hif2_probe()
126 static int mt7915_pci_probe(struct pci_dev *pdev, in mt7915_pci_probe()
226 static void mt7915_hif_remove(struct pci_dev *pdev) in mt7915_hif_remove()
233 static void mt7915_pci_remove(struct pci_dev *pdev) in mt7915_pci_remove()
/freebsd-14.2/sys/dev/cxgb/common/
H A Dcxgb_ctl_defs.h70 struct pci_dev;
79 struct pci_dev *pdev;
101 struct pci_dev *pdev;

123456