Home
last modified time | relevance | path

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

/freebsd-12.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()
182 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
185 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
186 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
187 aic_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
204 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
207 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
208 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
209 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()
189 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
192 aic_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
193 aic_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
194 aic_get_pci_function(ahd->dev_softc)); in ahd_pci_map_registers()
195 bus_release_resource(ahd->dev_softc, regs_type, in ahd_pci_map_registers()
208 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()
538 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access()
879 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_intr()
903 pcix_status = aic_pci_read_config(ahd->dev_softc, in ahd_pci_split_intr()
[all …]
H A Daic7xxx_pci.c1311 status1 = aic_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
2161 pci = ahc->dev_softc; in ahc_aic785X_setup()
2179 pci = ahc->dev_softc; in ahc_aic7860_setup()
2254 pci = ahc->dev_softc; in ahc_aic7880_setup()
2305 pci = ahc->dev_softc; in ahc_aic7890_setup()
2336 pci = ahc->dev_softc; in ahc_aic7895_setup()
2391 pci = ahc->dev_softc; in ahc_aic7896_setup()
2406 pci = ahc->dev_softc; in ahc_aic7899_setup()
2440 pci = ahc->dev_softc; in ahc_aha394XX_setup()
2462 pci = ahc->dev_softc; in ahc_aha398XX_setup()
[all …]
H A Daic7xxx_osm.c99 bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IRQ, &zero, in ahc_map_int()
102 device_printf(ahc->dev_softc, in ahc_map_int()
109 error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq, in ahc_map_int()
114 device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n", in ahc_map_int()
126 regs = bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IOPORT, &rid, in aic7770_map_registers()
129 device_printf(ahc->dev_softc, "Unable to map I/O space?!\n"); in aic7770_map_registers()
198 device_get_unit(ahc->dev_softc), in ahc_attach()
230 ahc, device_get_unit(ahc->dev_softc), in ahc_attach()
240 if (xpt_bus_register(sim2, ahc->dev_softc, bus_id2) != in ahc_attach()
1356 bus_release_resource(ahc->dev_softc, in ahc_platform_free()
[all …]
H A Daic79xx_osm.c163 device_get_nameunit(ahd->dev_softc), CTLFLAG_RD, 0, 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()
1294 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1300 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1306 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
H A Dahc_isa.c275 ahc->dev_softc = dev; in ahc_isa_attach()
H A Daic_osm_lib.h446 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.c5349 list_pci = list_ahd->dev_softc; in ahd_softc_insert()
5350 pci = ahd->dev_softc; in ahd_softc_insert()
5517 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset()
5531 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
5559 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
5561 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
H A Daic7xxx.c3994 list_pci = list_ahc->dev_softc; in ahc_softc_insert()
3995 pci = ahc->dev_softc; in ahc_softc_insert()
/freebsd-12.1/usr.sbin/bhyve/
H A Dvirtio.h474 void *dev_softc, struct pci_devinst *pi,
H A Dvirtio.c65 void *dev_softc, struct pci_devinst *pi, in vi_softc_linkup() argument
71 assert((void *)vs == dev_softc); in vi_softc_linkup()
/freebsd-12.1/sys/kern/
H A Dsubr_bus.c409 static struct dev_softc struct