Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/aic7xxx/
H A Dahc_pci.c125 ahc->dev_softc = dev; in ahc_pci_attach()
150 device_get_unit(ahc->dev_softc), in ahc_pci_map_registers()
179 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
182 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
183 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
184 aic_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
201 device_printf(ahc->dev_softc, in ahc_pci_map_registers()
204 aic_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
205 aic_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
206 aic_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
[all …]
H A Dahd_pci.c125 ahd->dev_softc = dev; in ahd_pci_attach()
153 if (resource_int_value(device_get_name(ahd->dev_softc), in ahd_pci_map_registers()
154 device_get_unit(ahd->dev_softc), in ahd_pci_map_registers()
157 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
184 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
187 aic_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
188 aic_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
189 aic_get_pci_function(ahd->dev_softc)); in ahd_pci_map_registers()
190 bus_release_resource(ahd->dev_softc, regs_type, in ahd_pci_map_registers()
203 device_printf(ahd->dev_softc, in ahd_pci_map_registers()
[all …]
H A Daic79xx_pci.c348 device = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
356 subvendor = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
400 devconfig = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config()
403 aic_pci_write_config(ahd->dev_softc, DEVCONFIG, in ahd_pci_config()
474 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_test_register_access()
506 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access()
508 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_test_register_access()
536 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access()
875 pci_status1 = aic_pci_read_config(ahd->dev_softc, in ahd_pci_intr()
899 pcix_status = aic_pci_read_config(ahd->dev_softc, in ahd_pci_split_intr()
[all …]
H A Daic7xxx_pci.c1306 status1 = aic_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
2155 pci = ahc->dev_softc; in ahc_aic785X_setup()
2173 pci = ahc->dev_softc; in ahc_aic7860_setup()
2248 pci = ahc->dev_softc; in ahc_aic7880_setup()
2299 pci = ahc->dev_softc; in ahc_aic7890_setup()
2330 pci = ahc->dev_softc; in ahc_aic7895_setup()
2385 pci = ahc->dev_softc; in ahc_aic7896_setup()
2400 pci = ahc->dev_softc; in ahc_aic7899_setup()
2434 pci = ahc->dev_softc; in ahc_aha394XX_setup()
2456 pci = ahc->dev_softc; in ahc_aha398XX_setup()
[all …]
H A Daic7xxx_osm.c94 bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IRQ, &zero, in ahc_map_int()
97 device_printf(ahc->dev_softc, in ahc_map_int()
104 error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq, in ahc_map_int()
109 device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n", in ahc_map_int()
121 regs = bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IOPORT, &rid, in aic7770_map_registers()
124 device_printf(ahc->dev_softc, "Unable to map I/O space?!\n"); in aic7770_map_registers()
192 device_get_unit(ahc->dev_softc), in ahc_attach()
225 ahc, device_get_unit(ahc->dev_softc), in ahc_attach()
235 if (xpt_bus_register(sim2, ahc->dev_softc, bus_id2) != in ahc_attach()
1350 bus_release_resource(ahc->dev_softc, in ahc_platform_free()
[all …]
H A Daic79xx_osm.c161 device_get_nameunit(ahd->dev_softc), in ahd_sysctl()
198 error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq, in ahd_map_int()
202 device_printf(ahd->dev_softc, "bus_setup_intr() failed: %d\n", in ahd_map_int()
246 device_get_unit(ahd->dev_softc), in ahd_attach()
253 if (xpt_bus_register(sim, ahd->dev_softc, /*bus_id*/0) != CAM_SUCCESS) { in ahd_attach()
1290 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1296 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
1302 bus_release_resource(ahd->dev_softc, in ahd_platform_free()
H A Dahc_isa.c272 ahc->dev_softc = dev; in ahc_isa_attach()
H A Daic_osm_lib.h400 return (pci_set_powerstate(aic->dev_softc, new_state)); in aic_power_state_change()
H A Daic7xxx.h982 aic_dev_softc_t dev_softc; member
H A Daic79xx.h1140 aic_dev_softc_t dev_softc; member
H A Daic79xx.c5307 list_pci = list_ahd->dev_softc; in ahd_softc_insert()
5308 pci = ahd->dev_softc; in ahd_softc_insert()
5475 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset()
5489 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
5517 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
5519 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
H A Daic7xxx.c3968 list_pci = list_ahc->dev_softc; in ahc_softc_insert()
3969 pci = ahc->dev_softc; in ahc_softc_insert()
/freebsd-14.2/usr.sbin/bhyve/
H A Dvirtio.h413 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-14.2/sys/kern/
H A Dkern_devctl.c64 static struct dev_softc { struct