| /freebsd-14-stable/sys/dev/aic7xxx/ |
| HD | ahc_pci.c | 125 ahc->dev_softc = dev; in ahc_pci_attach() 149 if (resource_int_value(device_get_name(ahc->dev_softc), in ahc_pci_map_registers() 150 device_get_unit(ahc->dev_softc), in ahc_pci_map_registers() 153 device_printf(ahc->dev_softc, "Defaulting to MEMIO "); in ahc_pci_map_registers() 168 regs = bus_alloc_resource_any(ahc->dev_softc, regs_type, 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() 185 bus_release_resource(ahc->dev_softc, regs_type, in ahc_pci_map_registers() [all …]
|
| HD | ahd_pci.c | 125 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() 166 regs = bus_alloc_resource_any(ahd->dev_softc, regs_type, 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() [all …]
|
| HD | aic79xx_pci.c | 348 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() 369 pci_find_cap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr); in ahd_pci_config() 370 devconfig = aic_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); 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() 408 command = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_pci_config() 410 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahd_pci_config() 423 aic_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, in ahd_pci_config() 473 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_pci_test_register_access() [all …]
|
| HD | aic7xxx_pci.c | 818 devconfig = aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config() 836 aic_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config() 839 command = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahc_pci_config() 842 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahc_pci_config() 924 aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config() 930 aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config() 942 devconfig = aic_pci_read_config(ahc->dev_softc, in ahc_pci_config() 1008 aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config() 1010 aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1); in ahc_pci_config() 1012 aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1); in ahc_pci_config() [all …]
|
| HD | aic7xxx_osm.c | 94 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() 199 if (xpt_bus_register(sim, ahc->dev_softc, bus_id) != CAM_SUCCESS) { 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() [all …]
|
| HD | aic79xx_osm.c | 161 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()
|
| HD | ahc_isa.c | 272 ahc->dev_softc = dev; in ahc_isa_attach()
|
| HD | aic_osm_lib.h | 400 return (pci_set_powerstate(aic->dev_softc, new_state)); in aic_power_state_change()
|
| HD | aic7xxx.h | 982 aic_dev_softc_t dev_softc; member
|
| HD | aic79xx.h | 1140 aic_dev_softc_t dev_softc; member
|
| HD | aic79xx.c | 5307 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()
|
| HD | aic7xxx.c | 3968 list_pci = list_ahc->dev_softc; in ahc_softc_insert() 3969 pci = ahc->dev_softc; in ahc_softc_insert()
|
| /freebsd-14-stable/usr.sbin/bhyve/ |
| HD | virtio.h | 413 void *dev_softc, struct pci_devinst *pi,
|
| HD | virtio.c | 70 void *dev_softc, struct pci_devinst *pi, in vi_softc_linkup() argument 76 assert((void *)vs == dev_softc); in vi_softc_linkup()
|
| /freebsd-14-stable/sys/kern/ |
| HD | kern_devctl.c | 64 static struct dev_softc { struct
|