Searched refs:dev_softc (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/sys/dev/aic7xxx/
H A Dahc_pci.c127 ahc->dev_softc = dev;
151 if (resource_int_value(device_get_name(ahc->dev_softc),
152 device_get_unit(ahc->dev_softc),
155 device_printf(ahc->dev_softc, "Defaulting to MEMIO ");
171 regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
182 device_printf(ahc->dev_softc,
185 aic_get_pci_bus(ahc->dev_softc),
186 aic_get_pci_slot(ahc->dev_softc),
187 aic_get_pci_function(ahc->dev_softc));
188 bus_release_resource(ahc->dev_softc, regs_typ
[all...]
H A Dahd_pci.c129 ahd->dev_softc = dev;
157 if (resource_int_value(device_get_name(ahd->dev_softc),
158 device_get_unit(ahd->dev_softc),
161 device_printf(ahd->dev_softc,
171 regs = bus_alloc_resource_any(ahd->dev_softc, regs_type,
189 device_printf(ahd->dev_softc,
192 aic_get_pci_bus(ahd->dev_softc),
193 aic_get_pci_slot(ahd->dev_softc),
194 aic_get_pci_function(ahd->dev_softc));
195 bus_release_resource(ahd->dev_softc, regs_typ
[all...]
H A Daic79xx_pci.c335 device = aic_pci_read_config(ahd->dev_softc,
343 subvendor = aic_pci_read_config(ahd->dev_softc,
356 pci_find_cap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr);
357 devconfig = aic_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
387 devconfig = aic_pci_read_config(ahd->dev_softc,
390 aic_pci_write_config(ahd->dev_softc, DEVCONFIG,
395 command = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
397 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
410 aic_pci_read_config(ahd->dev_softc, CSIZE_LATTIME,
460 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAN
[all...]
H A Daic7xxx_pci.c818 devconfig = aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
837 aic_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);
840 command = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2);
843 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
926 aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIME,
933 aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
945 devconfig = aic_pci_read_config(ahc->dev_softc,
1011 aic_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
1013 aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1);
1015 aic_pci_read_config(ahc->dev_softc, CSIZE_LATTIM
[all...]
H A Daic7xxx_osm.c99 bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IRQ, &zero,
102 device_printf(ahc->dev_softc,
109 error = bus_setup_intr(ahc->dev_softc, ahc->platform_data->irq,
114 device_printf(ahc->dev_softc, "bus_setup_intr() failed: %d\n",
126 regs = bus_alloc_resource_any(ahc->dev_softc, SYS_RES_IOPORT, &rid,
129 device_printf(ahc->dev_softc, "Unable to map I/O space?!\n");
198 device_get_unit(ahc->dev_softc),
205 if (xpt_bus_register(sim, ahc->dev_softc, bus_id) != CAM_SUCCESS) {
230 ahc, device_get_unit(ahc->dev_softc),
240 if (xpt_bus_register(sim2, ahc->dev_softc, bus_id
[all...]
H A Dahc_eisa.c150 ahc->dev_softc = dev;
H A Daic79xx_osm.c163 device_get_nameunit(ahd->dev_softc), CTLFLAG_RD, 0,
200 error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq,
204 device_printf(ahd->dev_softc, "bus_setup_intr() failed: %d\n",
248 device_get_unit(ahd->dev_softc),
255 if (xpt_bus_register(sim, ahd->dev_softc, /*bus_id*/0) != CAM_SUCCESS) {
1294 bus_release_resource(ahd->dev_softc,
1300 bus_release_resource(ahd->dev_softc,
1306 bus_release_resource(ahd->dev_softc,
H A Dahc_isa.c273 ahc->dev_softc = dev;
H A Daic_osm_lib.h446 return (pci_set_powerstate(aic->dev_softc, new_state));
H A Daic79xx.h1140 aic_dev_softc_t dev_softc; member in struct:ahd_softc
H A Daic7xxx.h982 aic_dev_softc_t dev_softc; member in struct:ahc_softc
H A Daic79xx.c5354 list_pci = list_ahd->dev_softc;
5355 pci = ahd->dev_softc;
5524 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
5538 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
5566 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
5568 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
H A Daic7xxx.c3992 list_pci = list_ahc->dev_softc;
3993 pci = ahc->dev_softc;
/freebsd-9.3-release/sys/kern/
H A Dsubr_bus.c393 static struct dev_softc struct

Completed in 219 milliseconds