/src/sys/dev/ic/ |
tms320av110var.h | 84 #define tav_read_byte(ioh, iot, off) bus_space_read_1(ioh, iot, off) 87 bus_space_read_1((ioh), (iot), (off)) | \ 88 bus_space_read_1((ioh), (iot), (off)+1) << 8) 91 bus_space_read_1((ioh), (iot), (off)) | \ 92 bus_space_read_1((ioh), (iot), (off)+1) << 8 | \ 93 bus_space_read_1((ioh), (iot), (off)+2) << 16 | \ 94 bus_space_read_1((ioh), (iot), (off)+3)) 97 bus_space_read_1((ioh), (iot), (off)) | \ 98 bus_space_read_1((ioh), (iot), (off)+1) << 8 | \ 99 bus_space_read_1((ioh), (iot), (off)+2) << 16 | [all...] |
dp83905.c | 75 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 107 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 112 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 119 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 128 bus_space_read_1(nict, nich, DP83905_MCRB); 132 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 141 bus_space_read_1(nict, nich, DP83905_MCRB); 145 mcrb = bus_space_read_1(nict, nich, DP83905_MCRB); 154 bus_space_read_1(nict, nich, DP83905_MCRB);
|
depca.c | 176 if (bus_space_read_1(iot, ioh, port) == 0xff && 177 bus_space_read_1(iot, ioh, port) == 0x00 && 178 bus_space_read_1(iot, ioh, port) == 0x55 && 179 bus_space_read_1(iot, ioh, port) == 0xaa && 180 bus_space_read_1(iot, ioh, port) == 0xff && 181 bus_space_read_1(iot, ioh, port) == 0x00 && 182 bus_space_read_1(iot, ioh, port) == 0x55 && 183 bus_space_read_1(iot, ioh, port) == 0xaa) 187 if (bus_space_read_1(iot, ioh, port) == 0xff && 188 bus_space_read_1(iot, ioh, port) == 0x00 & [all...] |
lptvar.h | 87 #define NOT_READY() ((bus_space_read_1(iot, ioh, lpt_status) ^ LPS_INVERT) & LPS_MASK) 88 #define NOT_READY_ERR() lptnotready(bus_space_read_1(iot, ioh, lpt_status), sc)
|
intersil7170.c | 89 (void)bus_space_read_1(bt, bh, INTERSIL_ICSEC); /* not used */ 90 dt->dt_hour = bus_space_read_1(bt, bh, INTERSIL_IHOUR); 91 dt->dt_min = bus_space_read_1(bt, bh, INTERSIL_IMIN); 92 dt->dt_sec = bus_space_read_1(bt, bh, INTERSIL_ISEC); 93 dt->dt_mon = bus_space_read_1(bt, bh, INTERSIL_IMON); 94 dt->dt_day = bus_space_read_1(bt, bh, INTERSIL_IDAY); 95 year = bus_space_read_1(bt, bh, INTERSIL_IYEAR); 96 dt->dt_wday = bus_space_read_1(bt, bh, INTERSIL_IDOW);
|
vga_common.c | 62 regval = bus_space_read_1(iot, ioh_vga, VGA_MISC_DATAR); 87 (void) bus_space_read_1(iot, ioh_6845, 10); 90 regval = bus_space_read_1(iot, ioh_vga, VGA_ATC_DATAR); 95 if (bus_space_read_1(iot, ioh_vga, VGA_ATC_DATAR) != (regval ^ 0x0f))
|
smc93cx6var.h | 85 : bus_space_read_1((sd)->sd_tag, (sd)->sd_bsh, \ 101 : bus_space_read_1((sd)->sd_tag, (sd)->sd_bsh, \ 108 : bus_space_read_1((sd)->sd_tag, (sd)->sd_bsh, \
|
am79c930.c | 216 val = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA); 231 val = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA); 233 val |= bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA) << 8; 248 val = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA); 250 val |= bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA) << 8; 252 val |= bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA) << 16; 254 val |= bus_space_read_1(sc->sc_iot, sc->sc_ioh, AM79C930_IODPA) << 24; 271 ptr[i] = bus_space_read_1(sc->sc_iot, sc->sc_ioh, 323 return bus_space_read_1(sc->sc_memt, sc->sc_memh, off); 335 bus_space_read_1(sc->sc_memt, sc->sc_memh, off ) [all...] |
atppcreg.h | 134 #define atppc_r_dtr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \ 136 #define atppc_r_str(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \ 138 #define atppc_r_ctr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \ 140 #define atppc_r_eppA(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\ 142 #define atppc_r_eppD(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\ 146 #define atppc_r_cnfgA(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\ 148 #define atppc_r_cnfgB(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\ 150 #define atppc_r_ecr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \ 152 #define atppc_r_fifo(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \ 172 #define atppc_w_cnfgB(atppc, byte) bus_space_read_1((atppc)->sc_iot, [all...] |
mb89352.c | 234 bus_space_read_1(iot, ioh, SCTL) & ~SCTL_DISABLE); 239 while (bus_space_read_1(iot, ioh, PSNS) && timeout) { 363 bus_space_read_1(iot, ioh, SCTL) & ~SCTL_DISABLE); 378 bus_space_read_1(iot, ioh, SCMD) | SCMD_RST); 381 bus_space_read_1(iot, ioh, SCMD) & ~SCMD_RST); 451 bus_space_read_1(sc->sc_iot, sc->sc_ioh, SCTL) | SCTL_INTR_ENAB); 618 if (bus_space_read_1(iot, ioh, INTS) != 0) 936 if (bus_space_read_1(iot, ioh, INTS) != 0) { 946 if ((bus_space_read_1(iot, ioh, SERR) & 966 if ((bus_space_read_1(iot, ioh, SSTS) [all...] |
mb86960.c | 552 if (bus_space_read_1(bst, bsh, FE_DLCR5) & FE_D5_BUFEMP) 808 left = bus_space_read_1(bst, bsh, FE_BMPR10); 873 if (bus_space_read_1(bst, bsh, FE_DLCR0) & FE_D0_COLLID) { 878 col = bus_space_read_1(bst, bsh, FE_DLCR4) & FE_D4_COL; 968 if (bus_space_read_1(bst, bsh, FE_DLCR5) & FE_D5_BUFEMP) 976 status = bus_space_read_1(bst, bsh, FE_BMPR8); 977 (void)bus_space_read_1(bst, bsh, FE_BMPR8); 1005 len = bus_space_read_1(bst, bsh, FE_BMPR8); 1006 len |= bus_space_read_1(bst, bsh, FE_BMPR8) << 8; 1093 tstat = bus_space_read_1(bst, bsh, FE_DLCR0) & FE_TMASK [all...] |
/src/sys/arch/hp300/dev/ |
intiovar.h | 70 while (bus_space_read_1(bst,bsh,INTIO_DEV_3xx_STAT) \ 73 while (!(bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT) \ 88 status = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT); 89 *datap = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_DATA); 113 *statusp = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT); 114 *datap = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_DATA);
|
/src/sys/arch/arm/include/ |
pio.h | 43 #define inb(port) bus_space_read_1( &isa_io_bs_tag, (bus_space_handle_t)isa_io_bs_tag.bs_cookie, (port))
|
/src/sys/arch/x86/pci/ |
fwhrng.c | 83 data0 = bus_space_read_1(bst, bsh, 0); 84 data1 = bus_space_read_1(bst, bsh, 1); 86 id0 = bus_space_read_1(bst, bsh, 0); 87 id1 = bus_space_read_1(bst, bsh, 1); 108 data0 = bus_space_read_1(bst, bsh, I82802_RNG_HSR); 138 reg8 = bus_space_read_1(sc->sc_st, sc->sc_sh, I82802_RNG_HSR); 141 reg8 = bus_space_read_1(sc->sc_st, sc->sc_sh, I82802_RNG_HSR); 152 reg8 = bus_space_read_1(sc->sc_st, sc->sc_sh, 158 reg8 = bus_space_read_1(sc->sc_st, sc->sc_sh, 174 reg8 = bus_space_read_1(sc->sc_st, sc->sc_sh, I82802_RNG_HSR) [all...] |
/src/sys/arch/mac68k/dev/ |
if_sn.c | 72 b = bus_space_read_1(t, h, o); 78 b = bus_space_read_1(t, h, o + i);
|
/src/sys/arch/ofppc/isa/ |
isa_machdep.c | 83 return bus_space_read_1(&genppc_isa_io_space_tag, io_icu1h, 86 return bus_space_read_1(&genppc_isa_io_space_tag, io_icu2h, 89 return bus_space_read_1(&genppc_isa_io_space_tag, io_elcrh,
|
/src/sys/arch/hppa/gsc/ |
gsckbc.c | 149 if ((bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_STATUS) & STAT_TBNE) 152 if ((bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_STATUS) & STAT_TBNE) 167 if ((bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_STATUS) & 169 return bus_space_read_1(sc->sc_iot, sc->sc_ioh, 209 while ((bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_STATUS) 211 data = bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_RCVDATA); 215 while ((bus_space_read_1(sc->sc_op->sc_iot, sc->sc_op->sc_ioh, 217 data = bus_space_read_1(sc->sc_op->sc_iot, sc->sc_op->sc_ioh, 291 bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_RCVDATA); 292 if (bus_space_read_1(sc->sc_iot, sc->sc_ioh, REG_ID) == ID_KBD) [all...] |
/src/sys/dev/pci/ |
weasel_pci.c | 125 if ((v = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD)) != 138 cfg_size = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 154 *cp++ = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 194 v = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 205 *cp++ = bus_space_read_1(sc->sc_st, sc->sc_sh, 221 v = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 231 v = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 242 v = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_DATA_RD); 277 if (bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_STATUS) == 329 reg = bus_space_read_1(sc->sc_st, sc->sc_sh, WEASEL_CHALLENGE) [all...] |
/src/sys/arch/sgimips/dev/ |
int.c | 167 bus_space_read_1(iot, ioh, INT1_TIMER_0_ACK); 168 bus_space_read_1(iot, ioh, INT1_TIMER_1_ACK); 251 mstat = bus_space_read_1(iot, ioh, INT2_MAP_STATUS); 252 mmask = bus_space_read_1(iot, ioh, INT2_MAP_MASK0 + (which << 2)); 283 mask = bus_space_read_1(iot, ioh, INT1_LOCAL_MASK); 310 l0stat = bus_space_read_1(iot, ioh, INT2_LOCAL0_STATUS); 311 l0mask = bus_space_read_1(iot, ioh, INT2_LOCAL0_MASK); 337 l1stat = bus_space_read_1(iot, ioh, INT2_LOCAL1_STATUS); 338 l1mask = bus_space_read_1(iot, ioh, INT2_LOCAL1_MASK); 385 mask = bus_space_read_1(iot, ioh, INT1_LOCAL_MASK) [all...] |
/src/sys/dev/isa/ |
uha_isa.c | 200 model = (bus_space_read_1(iot, ioh, U14_ID + 0) << 8) | 201 (bus_space_read_1(iot, ioh, U14_ID + 1) << 0); 205 config = (bus_space_read_1(iot, ioh, U14_CONFIG + 0) << 8) | 206 (bus_space_read_1(iot, ioh, U14_CONFIG + 1) << 0); 257 if (bus_space_read_1(iot, ioh, U14_LINT)) 287 if ((bus_space_read_1(iot, ioh, U14_LINT) & U14_LDIP) == 0) 324 if (bus_space_read_1(iot, ioh, U14_SINT) & U14_SDIP) 351 if ((bus_space_read_1(iot, ioh, U14_SINT) & U14_SDIP) == 0) 359 uhastat = bus_space_read_1(iot, ioh, U14_SINT); 383 if ((bus_space_read_1(iot, ioh, U14_SINT) & U14_SDIP) == 0 [all...] |
if_we_isa.c | 156 x += bus_space_read_1(asict, asich, WE_PROM + i); 160 if (bus_space_read_1(asict, asich, WE_CARD_ID) != 165 if (bus_space_read_1(asict, asich, WE_PROM + 7) != 0) 180 bus_space_read_1(asict, asich, WE_MSR) & ~WE_MSR_RST); 208 hwr = bus_space_read_1(asict, asich, WE790_HWR); 212 x = bus_space_read_1(asict, asich, WE790_GCR); 226 i = (bus_space_read_1(asict, asich, WE_ICR) & WE_ICR_IR2) | 227 ((bus_space_read_1(asict, asich, WE_IRR) & 327 bus_space_read_1(asict, asich, WE790_ICR) | 331 bus_space_read_1(asict, asich, WE_IRR) | WE_IRR_IEN) [all...] |
/src/sys/arch/mvme68k/dev/ |
lpt_pccreg.h | 107 bus_space_read_1((sc)->sc_bust, (sc)->sc_bush, LPREG_STATUS)
|
/src/sys/dev/mvme/ |
memcvar.h | 45 bus_space_read_1((sc)->sc_bust, (sc)->sc_bush, (off))
|
/src/sys/arch/arm/iomd/ |
iomd.c | 163 sc->sc_id = bus_space_read_1(iot, ioh, IOMD_ID0) 164 | (bus_space_read_1(iot, ioh, IOMD_ID1) << 8); 171 refresh = bus_space_read_1(iot, ioh, IOMD_REFCR) & 0x0f; 176 refresh = bus_space_read_1(iot, ioh, IOMD_REFCR) & 0x0f; 181 refresh = bus_space_read_1(iot, ioh, IOMD_VREFCR) & 0x09; 190 aprint_normal("version %d\n", bus_space_read_1(iot, ioh, IOMD_VERSION)); 222 tmp = bus_space_read_1(iot, ioh, IOMD_IOTCR); 225 tmp = bus_space_read_1(iot, ioh, IOMD_ECTCR); 229 tmp = bus_space_read_1(iot, ioh, IOMD_DMATCR);
|
/src/sys/arch/shark/shark/ |
i8042.c | 117 (void)bus_space_read_1(iot, ioh, KBDATAPO); 160 if ((bus_space_read_1(iot, ioh, KBSTATPO) & KBS_IBF) == 0) 212 status = bus_space_read_1(iot, ioh, KBSTATPO); 355 c = bus_space_read_1(iot, ioh, KBDATAPO);
|