Searched refs:sc_iot (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425var.h56 bus_space_tag_t sc_iot; member in struct:ixp425_softc
87 bus_space_write_4(sc->sc_iot, sc->sc_exp_ioh, reg, data)
89 bus_space_read_4(sc->sc_iot, sc->sc_exp_ioh, reg)
92 bus_space_write_4(sc->sc_iot, sc->sc_gpio_ioh, reg, data)
94 bus_space_read_4(sc->sc_iot, sc->sc_gpio_ioh, reg)
H A Dixp425_timer.c66 bus_space_tag_t sc_iot; member in struct:ixpclk_softc
109 sc->sc_iot = sa->sc_iot;
112 if (bus_space_map(sc->sc_iot, sc->sc_baseaddr, 8, 0,
191 bus_space_write_4(sc->sc_iot, sc->sc_ioh, IXP425_OST_STATUS,
198 bus_space_write_4(sc->sc_iot, sc->sc_ioh, IXP425_OST_TIM0_RELOAD,
253 bus_space_write_4(sc->sc_iot, sc->sc_ioh, IXP425_OST_STATUS,
H A Dcambria_exp_space.c93 v = bus_space_read_1(sc->sc_iot, h, o);
105 bus_space_write_1(sc->sc_iot, h, o, v);
118 v = bus_space_read_2(sc->sc_iot, h, o);
132 bus_space_write_2(sc->sc_iot, h, o, v);
146 bus_space_read_multi_2(sc->sc_iot, h, o, d, c);
160 bus_space_write_multi_2(sc->sc_iot, h, o, d, c);
180 v = bus_space_read_2(sc->sc_iot, h, o);
184 bus_space_read_multi_stream_2(sc->sc_iot, h, o, d, c);
202 bus_space_write_2(sc->sc_iot, h, o, bswap16(d[i]));
204 bus_space_write_multi_stream_2(sc->sc_iot,
[all...]
H A Davila_led.c44 bus_space_tag_t sc_iot; member in struct:led_avila_softc
79 sc->sc_iot = sa->sc_iot;
H A Dcambria_led.c46 bus_space_tag_t sc_iot; member in struct:led_softc
59 bus_space_write_1(sc->sc_iot, sc->sc_ioh, 0, sc->sc_latch);
84 sc->sc_iot = sa->sc_iot;
86 if (bus_space_map(sc->sc_iot, CAMBRIA_OCTAL_LED_HWBASE, sizeof(uint8_t),
H A Davila_ata.c129 bus_space_tag_t sc_iot; member in struct:ata_avila_softc
179 sc->sc_iot = sa->sc_iot;
182 if (bus_space_map(sc->sc_iot, config->base16, config->size16,
186 if (bus_space_map(sc->sc_iot, config->basealt, config->sizealt,
360 return bus_space_read_1(sc->sc_iot, h, o);
368 bus_space_write_1(sc->sc_iot, h, o, v);
378 v = bus_space_read_2(sc->sc_iot, h, o);
389 bus_space_write_2(sc->sc_iot, h, o, v);
400 bus_space_read_multi_2(sc->sc_iot,
[all...]
H A Dixp425_iic.c55 bus_space_tag_t sc_iot; member in struct:ixpiic_softc
79 sc->sc_iot = sa->sc_iot;
H A Davila_gpio.c65 bus_space_tag_t sc_iot; member in struct:avila_gpio_softc
313 sc->sc_iot = sa->sc_iot;
H A Dixp425_qmgr.c132 bus_space_tag_t sc_iot; member in struct:ixpqmgr_softc
191 return bus_space_read_4(sc->sc_iot, sc->sc_ioh, off);
198 bus_space_write_4(sc->sc_iot, sc->sc_ioh, off, val);
218 sc->sc_iot = sa->sc_iot;
219 if (bus_space_map(sc->sc_iot, IXP425_QMGR_HWBASE, IXP425_QMGR_SIZE,
332 bus_space_unmap(sc->sc_iot, sc->sc_ioh, IXP425_QMGR_SIZE);
H A Dcambria_gpio.c84 bus_space_tag_t sc_iot; member in struct:cambria_gpio_softc
439 sc->sc_iot = ixp425_softc->sc_iot;
H A Dixp425.c307 sc->sc_iot = &ixp425_bs_tag;
322 if (bus_space_map(sc->sc_iot, IXP425_GPIO_HWBASE, IXP425_GPIO_SIZE,
325 if (bus_space_map(sc->sc_iot, IXP425_EXP_HWBASE, IXP425_EXP_SIZE,
598 rman_set_bustag(r, sc->sc_iot);
H A Dixp425_npe.c105 bus_space_tag_t sc_iot; member in struct:ixpnpe_softc
236 uint32_t v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, off);
245 bus_space_write_4(sc->sc_iot, sc->sc_ioh, off, val);
300 sc->sc_iot = sa->sc_iot;
315 if (bus_space_map(sc->sc_iot, config->base, sc->sc_size, 0, &sc->sc_ioh))
352 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_size);
H A Dif_npe.c123 bus_space_tag_t sc_iot; member in struct:npe_softc
202 return bus_space_read_4(sc->sc_iot, sc->sc_ioh, off);
208 bus_space_write_4(sc->sc_iot, sc->sc_ioh, off, val);
330 sc->sc_iot = sa->sc_iot;
686 if (bus_space_map(sc->sc_iot, macbase, IXP425_REG_SIZE, 0, &sc->sc_ioh)) {
704 if (bus_space_map(sc->sc_iot, miibase, IXP425_REG_SIZE, 0, &sc->sc_miih)) {
1656 #define MII_RD4(sc, reg) bus_space_read_4(sc->sc_iot, sc->sc_miih, reg)
1658 bus_space_write_4(sc->sc_iot, sc->sc_miih, reg, v)
/freebsd-11-stable/sys/i386/bios/
H A Dapm.h31 bus_space_tag_t sc_iot; member in struct:apm_softc
H A Dapm.c145 bus_space_tag_t iot = sc->sc_iot;
156 bus_space_tag_t iot = sc->sc_iot;
1190 sc->sc_iot = rman_get_bustag(sc->sc_res);
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx_gpt.c53 bus_space_write_4((_sc)->sc_iot, (_sc)->sc_ioh, (_r), (_v))
55 bus_space_read_4((_sc)->sc_iot, (_sc)->sc_ioh, (_r))
81 bus_space_tag_t sc_iot; member in struct:imx_gpt_softc
163 sc->sc_iot = rman_get_bustag(sc->res[0]);
H A Dimx_gpio.c68 bus_space_write_4((_sc)->sc_iot, (_sc)->sc_ioh, (_r), (_v))
70 bus_space_read_4((_sc)->sc_iot, (_sc)->sc_ioh, (_r))
116 bus_space_tag_t sc_iot; member in struct:imx51_gpio_softc
806 sc->sc_iot = rman_get_bustag(sc->sc_res[0]);
/freebsd-11-stable/sys/dev/snc/
H A Dif_snc.c80 sc->sc_iot = rman_get_bustag(res);
170 return snc_nec16_detectsubr(sc->sc_iot, sc->sc_ioh,
194 snc_nec16_get_enaddr(sc->sc_iot, sc->sc_ioh, myea);
H A Ddp83932subr.c188 bus_space_tag_t iot = sc->sc_iot;
229 bus_space_tag_t iot = sc->sc_iot;
482 bus_space_write_1(sc->sc_iot, sc->sc_ioh, SNEC_ADDR, reg);
483 val = bus_space_read_2(sc->sc_iot, sc->sc_ioh, SNEC_CTRL);
496 bus_space_write_1(sc->sc_iot, sc->sc_ioh, SNEC_ADDR, reg);
497 bus_space_write_2(sc->sc_iot, sc->sc_ioh, SNEC_CTRL, val);
508 bus_space_tag_t iot = sc->sc_iot;
H A Ddp83932var.h120 bus_space_tag_t sc_iot; /* bus identifier for io */ member in struct:snc_softc

Completed in 209 milliseconds