Home
last modified time | relevance | path

Searched refs:dev_softc (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/sys/dev/aic7xxx/
H A Dahc_pci.c127 ahc->dev_softc = dev; in ahc_pci_attach()
152 device_get_unit(ahc->dev_softc), in ahc_pci_map_registers()
181 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
184 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
185 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
186 aic_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
203 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
206 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
207 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
208 aic_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
[all …]
H A Dahd_pci.c129 ahd->dev_softc = dev; in ahd_pci_attach()
157 if (resource_int_value(device_get_name(ahd->dev_softc), in ahd_pci_map_registers()
158 device_get_unit(ahd->dev_softc), in ahd_pci_map_registers()
161 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
188 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
191 aic_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
192 aic_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
193 aic_get_pci_function(ahd->dev_softc)); in ahd_pci_map_registers()
194 bus_release_resource(ahd->dev_softc, regs_type, in ahd_pci_map_registers()
207 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
[all …]
H A Daic79xx_pci.c349 device = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
357 subvendor = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
401 devconfig = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
404 aic_pci_write_config(ahd->dev_softc, DEVCONFIG, in ahd_pci_config()
475 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_test_register_access()
507 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access()
509 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_test_register_access()
537 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access()
876 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_intr()
900 pcix_status = aic_pci_read_config(ahd->dev_softc, in ahd_pci_split_intr()
[all …]
H A Daic7xxx_pci.c1307 status1 = aic_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
2156 pci = ahc->dev_softc; in ahc_aic785X_setup()
2174 pci = ahc->dev_softc; in ahc_aic7860_setup()
2249 pci = ahc->dev_softc; in ahc_aic7880_setup()
2300 pci = ahc->dev_softc; in ahc_aic7890_setup()
2331 pci = ahc->dev_softc; in ahc_aic7895_setup()
2386 pci = ahc->dev_softc; in ahc_aic7896_setup()
2401 pci = ahc->dev_softc; in ahc_aic7899_setup()
2435 pci = ahc->dev_softc; in ahc_aha394XX_setup()
2457 pci = ahc->dev_softc; in ahc_aha398XX_setup()
[all …]
H A Daic7xxx_osm.c98 bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IRQ, &zero, in ahc_map_int()
101 device_printf(ahc->dev_softc, in ahc_map_int()
108 error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq, in ahc_map_int()
113 device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n", in ahc_map_int()
125 regs = bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IOPORT, &rid, in aic7770_map_registers()
128 device_printf(ahc->dev_softc, "Unable to map I/O space?!\n"); in aic7770_map_registers()
196 device_get_unit(ahc->dev_softc), in ahc_attach()
228 ahc, device_get_unit(ahc->dev_softc), in ahc_attach()
238 if (xpt_bus_register(sim2, ahc->dev_softc, bus_id2) != in ahc_attach()
1346 bus_release_resource(ahc->dev_softc, in ahc_platform_free()
[all …]
H A Daic79xx_osm.c163 device_get_nameunit(ahd->dev_softc), in ahd_sysctl()
200 error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq, in ahd_map_int()
204 device_printf(ahd->dev_softc, "bus_setup_intr() failed: %d\n", in ahd_map_int()
248 device_get_unit(ahd->dev_softc), in ahd_attach()
255 if (xpt_bus_register(sim, ahd->dev_softc, /*bus_id*/0) != CAM_SUCCESS) { in ahd_attach()
1284 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1290 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1296 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
H A Dahc_isa.c274 ahc->dev_softc = dev; in ahc_isa_attach()
H A Daic_osm_lib.h402 return (pci_set_powerstate(aic->dev_softc, new_state)); in aic_power_state_change()
H A Daic7xxx.h984 aic_dev_softc_t dev_softc; member
H A Daic79xx.h1142 aic_dev_softc_t dev_softc; member
H A Daic79xx.c5317 list_pci = list_ahd->dev_softc; in ahd_softc_insert()
5318 pci = ahd->dev_softc; in ahd_softc_insert()
5485 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset()
5499 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
5527 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
5529 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
H A Daic7xxx.c3975 list_pci = list_ahc->dev_softc; in ahc_softc_insert()
3976 pci = ahc->dev_softc; in ahc_softc_insert()
/freebsd-13.1/usr.sbin/bhyve/
H A Dvirtio.h398 void *dev_softc, struct pci_devinst *pi,
H A Dvirtio.c70 void *dev_softc, struct pci_devinst *pi, in vi_softc_linkup() argument
76 assert((void *)vs == dev_softc); in vi_softc_linkup()
/freebsd-13.1/sys/kern/
H A Dsubr_bus.c405 static struct dev_softc { struct