Symbol: dev_softc
sys/dev/aic7xxx/ahc_isa.c
271
ahc->dev_softc = dev;
sys/dev/aic7xxx/ahc_pci.c
124
ahc->dev_softc = dev;
sys/dev/aic7xxx/ahc_pci.c
148
if (resource_int_value(device_get_name(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
149
device_get_unit(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
152
device_printf(ahc->dev_softc, "Defaulting to MEMIO ");
sys/dev/aic7xxx/ahc_pci.c
167
regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
sys/dev/aic7xxx/ahc_pci.c
178
device_printf(ahc->dev_softc,
sys/dev/aic7xxx/ahc_pci.c
181
aic_get_pci_bus(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
182
aic_get_pci_slot(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
183
aic_get_pci_function(ahc->dev_softc));
sys/dev/aic7xxx/ahc_pci.c
184
bus_release_resource(ahc->dev_softc, regs_type,
sys/dev/aic7xxx/ahc_pci.c
194
regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
sys/dev/aic7xxx/ahc_pci.c
200
device_printf(ahc->dev_softc,
sys/dev/aic7xxx/ahc_pci.c
203
aic_get_pci_bus(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
204
aic_get_pci_slot(ahc->dev_softc),
sys/dev/aic7xxx/ahc_pci.c
205
aic_get_pci_function(ahc->dev_softc));
sys/dev/aic7xxx/ahc_pci.c
206
bus_release_resource(ahc->dev_softc, regs_type,
sys/dev/aic7xxx/ahc_pci.c
213
device_printf(ahc->dev_softc,
sys/dev/aic7xxx/ahd_pci.c
124
ahd->dev_softc = dev;
sys/dev/aic7xxx/ahd_pci.c
152
if (resource_int_value(device_get_name(ahd->dev_softc),
sys/dev/aic7xxx/ahd_pci.c
153
device_get_unit(ahd->dev_softc),
sys/dev/aic7xxx/ahd_pci.c
156
device_printf(ahd->dev_softc,
sys/dev/aic7xxx/ahd_pci.c
165
regs = bus_alloc_resource_any(ahd->dev_softc, regs_type,
sys/dev/aic7xxx/ahd_pci.c
183
device_printf(ahd->dev_softc,
sys/dev/aic7xxx/ahd_pci.c
186
aic_get_pci_bus(ahd->dev_softc),
sys/dev/aic7xxx/ahd_pci.c
187
aic_get_pci_slot(ahd->dev_softc),
sys/dev/aic7xxx/ahd_pci.c
188
aic_get_pci_function(ahd->dev_softc));
sys/dev/aic7xxx/ahd_pci.c
189
bus_release_resource(ahd->dev_softc, regs_type,
sys/dev/aic7xxx/ahd_pci.c
199
regs = bus_alloc_resource_any(ahd->dev_softc, regs_type,
sys/dev/aic7xxx/ahd_pci.c
202
device_printf(ahd->dev_softc,
sys/dev/aic7xxx/ahd_pci.c
212
regs2 = bus_alloc_resource_any(ahd->dev_softc, regs_type,
sys/dev/aic7xxx/ahd_pci.c
215
device_printf(ahd->dev_softc,
sys/dev/aic7xxx/ahd_pci.c
239
bus_alloc_resource_any(ahd->dev_softc, SYS_RES_IRQ, &zero,
sys/dev/aic7xxx/aic79xx.c
5286
list_pci = list_ahd->dev_softc;
sys/dev/aic7xxx/aic79xx.c
5287
pci = ahd->dev_softc;
sys/dev/aic7xxx/aic79xx.c
5447
cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
sys/dev/aic7xxx/aic79xx.c
5461
aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
sys/dev/aic7xxx/aic79xx.c
5489
aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic79xx.c
5491
aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
sys/dev/aic7xxx/aic79xx.c
6269
resource_int_value(device_get_name(ahd->dev_softc),
sys/dev/aic7xxx/aic79xx.c
6270
device_get_unit(ahd->dev_softc),
sys/dev/aic7xxx/aic79xx.h
1136
aic_dev_softc_t dev_softc;
sys/dev/aic7xxx/aic79xx_osm.c
1289
bus_release_resource(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_osm.c
1295
bus_release_resource(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_osm.c
1301
bus_release_resource(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_osm.c
160
device_get_nameunit(ahd->dev_softc),
sys/dev/aic7xxx/aic79xx_osm.c
197
error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq,
sys/dev/aic7xxx/aic79xx_osm.c
201
device_printf(ahd->dev_softc, "bus_setup_intr() failed: %d\n",
sys/dev/aic7xxx/aic79xx_osm.c
245
device_get_unit(ahd->dev_softc),
sys/dev/aic7xxx/aic79xx_osm.c
252
if (xpt_bus_register(sim, ahd->dev_softc, /*bus_id*/0) != CAM_SUCCESS) {
sys/dev/aic7xxx/aic79xx_pci.c
342
device = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
350
subvendor = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
363
pci_find_cap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr);
sys/dev/aic7xxx/aic79xx_pci.c
364
devconfig = aic_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
sys/dev/aic7xxx/aic79xx_pci.c
394
devconfig = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
397
aic_pci_write_config(ahd->dev_softc, DEVCONFIG,
sys/dev/aic7xxx/aic79xx_pci.c
402
command = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
sys/dev/aic7xxx/aic79xx_pci.c
404
aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
sys/dev/aic7xxx/aic79xx_pci.c
417
aic_pci_read_config(ahd->dev_softc, CSIZE_LATTIME,
sys/dev/aic7xxx/aic79xx_pci.c
467
cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
sys/dev/aic7xxx/aic79xx_pci.c
468
aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
sys/dev/aic7xxx/aic79xx_pci.c
500
pci_status1 = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
502
aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic79xx_pci.c
530
pci_status1 = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
532
aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic79xx_pci.c
537
aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, cmd, /*bytes*/2);
sys/dev/aic7xxx/aic79xx_pci.c
686
devconfig = aic_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
sys/dev/aic7xxx/aic79xx_pci.c
693
aic_pci_write_config(ahd->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);
sys/dev/aic7xxx/aic79xx_pci.c
869
pci_status1 = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
871
aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic79xx_pci.c
893
pcix_status = aic_pci_read_config(ahd->dev_softc,
sys/dev/aic7xxx/aic79xx_pci.c
941
aic_pci_write_config(ahd->dev_softc, ahd->pcix_ptr + PCIXR_STATUS,
sys/dev/aic7xxx/aic79xx_pci.c
979
pci = ahd->dev_softc;
sys/dev/aic7xxx/aic7xxx.c
3947
list_pci = list_ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx.c
3948
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx.c
4834
resource_int_value(device_get_name(ahc->dev_softc),
sys/dev/aic7xxx/aic7xxx.c
4835
device_get_unit(ahc->dev_softc),
sys/dev/aic7xxx/aic7xxx.h
978
aic_dev_softc_t dev_softc;
sys/dev/aic7xxx/aic7xxx_osm.c
103
error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq,
sys/dev/aic7xxx/aic7xxx_osm.c
108
device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n",
sys/dev/aic7xxx/aic7xxx_osm.c
120
regs = bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IOPORT, &rid,
sys/dev/aic7xxx/aic7xxx_osm.c
123
device_printf(ahc->dev_softc, "Unable to map I/O space?!\n");
sys/dev/aic7xxx/aic7xxx_osm.c
1349
bus_release_resource(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_osm.c
1355
bus_release_resource(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_osm.c
191
device_get_unit(ahc->dev_softc),
sys/dev/aic7xxx/aic7xxx_osm.c
198
if (xpt_bus_register(sim, ahc->dev_softc, bus_id) != CAM_SUCCESS) {
sys/dev/aic7xxx/aic7xxx_osm.c
224
ahc, device_get_unit(ahc->dev_softc),
sys/dev/aic7xxx/aic7xxx_osm.c
234
if (xpt_bus_register(sim2, ahc->dev_softc, bus_id2) !=
sys/dev/aic7xxx/aic7xxx_osm.c
93
bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IRQ, &zero,
sys/dev/aic7xxx/aic7xxx_osm.c
96
device_printf(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1001
aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
sys/dev/aic7xxx/aic7xxx_pci.c
1003
aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1);
sys/dev/aic7xxx/aic7xxx_pci.c
1005
aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1);
sys/dev/aic7xxx/aic7xxx_pci.c
1059
devconfig = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1097
ahc_outb(ahc, SCBBADDR, aic_get_pci_function(ahc->dev_softc));
sys/dev/aic7xxx/aic7xxx_pci.c
1103
devconfig = aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
sys/dev/aic7xxx/aic7xxx_pci.c
1136
aic_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);
sys/dev/aic7xxx/aic7xxx_pci.c
1259
cmd = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2);
sys/dev/aic7xxx/aic7xxx_pci.c
1260
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
sys/dev/aic7xxx/aic7xxx_pci.c
1299
status1 = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1301
aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic7xxx_pci.c
1311
status1 = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1320
status1 = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1322
aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic7xxx_pci.c
1326
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, cmd, /*bytes*/2);
sys/dev/aic7xxx/aic7xxx_pci.c
1584
devconfig = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
1589
aic_pci_write_config(ahc->dev_softc, DEVCONFIG,
sys/dev/aic7xxx/aic7xxx_pci.c
2011
status1 = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic7xxx_pci.c
2045
aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1,
sys/dev/aic7xxx/aic7xxx_pci.c
2117
aic_pci_write_config(ahc->dev_softc, DEVCONFIG,
sys/dev/aic7xxx/aic7xxx_pci.c
2119
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
sys/dev/aic7xxx/aic7xxx_pci.c
2121
aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
sys/dev/aic7xxx/aic7xxx_pci.c
2148
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2166
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2241
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2292
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2323
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2378
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2393
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2427
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2449
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
2476
pci = ahc->dev_softc;
sys/dev/aic7xxx/aic7xxx_pci.c
811
devconfig = aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
sys/dev/aic7xxx/aic7xxx_pci.c
829
aic_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);
sys/dev/aic7xxx/aic7xxx_pci.c
832
command = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2);
sys/dev/aic7xxx/aic7xxx_pci.c
835
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
sys/dev/aic7xxx/aic7xxx_pci.c
917
aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIME,
sys/dev/aic7xxx/aic7xxx_pci.c
923
aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
sys/dev/aic7xxx/aic7xxx_pci.c
935
devconfig = aic_pci_read_config(ahc->dev_softc,
sys/dev/aic7xxx/aic_osm_lib.h
400
return (pci_set_powerstate(aic->dev_softc, new_state));
usr.sbin/bhyve/virtio.c
69
void *dev_softc, struct pci_devinst *pi,
usr.sbin/bhyve/virtio.c
75
assert((void *)vs == dev_softc);
usr.sbin/bhyve/virtio.h
411
void *dev_softc, struct pci_devinst *pi,