Home
last modified time | relevance | path

Searched refs:pcidev (Results 1 – 10 of 10) sorted by relevance

/dragonfly/sys/dev/raid/hptrr/
H A Dhptrr_os_bsd.c57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
77 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
82 pci_write_config(((PHBA)osext)->pcidev, offset, value, 4); in os_pci_writel()
96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) in os_map_pci_bar()
101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
115 bus_release_resource(hba->pcidev, hba->pcibar[index].type, in os_unmap_pci_bar()
H A Dos_bsd.h133 device_t pcidev; member
H A Dhptrr_osm_bsd.c101 hba->pcidev = dev; in hpt_attach()
368 bus_teardown_intr(hba->pcidev, hba->irq_res, hba->irq_handle); in hpt_shutdown_vbus()
1095 if ((hba->irq_res = bus_alloc_resource_any(hba->pcidev, in hpt_final_init()
1102 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_MPSAFE, in hpt_final_init()
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_os_bsd.c53 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
58 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
63 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
68 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
73 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
78 pci_write_config(((PHBA)osext)->pcidev, offset, value, 4); in os_pci_writel()
109 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); in os_map_pci_bar()
113 hba->pcibar[index].res = bus_alloc_resource(hba->pcidev, in os_map_pci_bar()
118 hba->pcibar[index].res = bus_alloc_resource(hba->pcidev, in os_map_pci_bar()
133 bus_release_resource(hba->pcidev, hba->pcibar[index].type, in os_unmap_pci_bar()
H A Dos_bsd.h132 device_t pcidev; member
H A Dhpt27xx_osm_bsd.c86 hba->pcidev = dev; in hpt_attach()
355 bus_teardown_intr(hba->pcidev, hba->irq_res, hba->irq_handle); in hpt_shutdown_vbus()
1114 if ((hba->irq_res = bus_alloc_resource(hba->pcidev, in hpt_final_init()
1121 if (bus_setup_intr(hba->pcidev, hba->irq_res, 0, in hpt_final_init()
/dragonfly/sys/dev/raid/hptiop/
H A Dhptiop.c1426 device_printf(hba->pcidev, in hptiop_alloc_pci_res_itl()
1590 device_printf(hba->pcidev, in hptiop_internal_memalloc_mv()
1644 device_printf(hba->pcidev, in hptiop_internal_memalloc_mvfrey()
1889 hba->pcidev = dev; in hptiop_attach()
2045 if (bus_setup_intr(hba->pcidev, hba->irq_res, 0, in hptiop_attach()
2312 device_printf(hba->pcidev, in hptiop_action()
2323 device_printf(hba->pcidev, in hptiop_action()
2334 device_printf(hba->pcidev, "SCSI cmd failed"); in hptiop_action()
2349 device_printf(hba->pcidev, "reset adapter"); in hptiop_action()
2789 device_printf(hba->pcidev, "target_id=0x%x," in hptiop_os_query_remove_device()
[all …]
H A Dhptiop.h377 device_t pcidev; member
/dragonfly/sys/bus/pci/
H A Dpci_user.c302 device_t pcidev, brdev; local
621 pcidev = pci_find_dbsf(io->pi_sel.pc_domain,
624 if (pcidev) {
626 device_get_parent(pcidev));
682 pcidev = pci_find_dbsf(bio->pbi_sel.pc_domain,
685 if (pcidev == NULL) {
689 dinfo = device_get_ivars(pcidev);
711 value = pci_read_config(pcidev, bio->pbi_reg, 4);
732 value = pci_read_config(pcidev, PCIR_COMMAND, 2);
744 if (pcidev != NULL)
[all …]
/dragonfly/sys/dev/netif/bwn/siba/
H A Dsiba_core.c2781 struct siba_dev_softc *gpiodev, *pcidev = NULL; in siba_gpio_get() local
2783 pcidev = siba->siba_pci.spc_dev; in siba_gpio_get()
2784 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev; in siba_gpio_get()
2795 struct siba_dev_softc *gpiodev, *pcidev = NULL; in siba_gpio_set() local
2797 pcidev = siba->siba_pci.spc_dev; in siba_gpio_set()
2798 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev; in siba_gpio_set()