/src/sys/arch/evbarm/ixm1200/ |
nappi_nppb.c | 58 #define CSR_READ_1(sc, reg) \
|
/src/sys/arch/arm/xscale/ |
pxa2x0_mci.c | 145 #define CSR_READ_1(sc, reg) \ 980 *cmd->c_buf++ = CSR_READ_1(sc, MMC_RXFIFO);
|
/src/sys/arch/sandpoint/stand/altboot/ |
dsk.c | 59 #define CSR_READ_1(r) in8(r) 151 (void)CSR_READ_1(chan->alt); 152 (void)CSR_READ_1(chan->alt); 153 (void)CSR_READ_1(chan->alt); 154 (void)CSR_READ_1(chan->alt); 156 sts = CSR_READ_1(chan->cmd + _STS); 161 sts = CSR_READ_1(chan->cmd + _STS); 201 (void)CSR_READ_1(chan->alt); 205 (void)CSR_READ_1(chan->alt); 215 (void)CSR_READ_1(chan->alt) [all...] |
fxp.c | 90 #define CSR_READ_1(l, r) in8((l)->iobase+(r)) 377 ruscus = CSR_READ_1(l, FXP_CSR_SCB_RUSCUS); 504 while (CSR_READ_1(sc, FXP_CSR_SCB_COMMAND) && --loop > 0)
|
nvt.c | 48 #define CSR_READ_1(l, r) in8((l)->csr+(r)) 185 val = CSR_READ_1(l, VR_CTL1); 188 l->phy = CSR_READ_1(l, VR_MIICFG) & 0x1f; 191 en[0] = CSR_READ_1(l, VR_PAR0); 192 en[1] = CSR_READ_1(l, VR_PAR1); 193 en[2] = CSR_READ_1(l, VR_PAR2); 194 en[3] = CSR_READ_1(l, VR_PAR3); 195 en[4] = CSR_READ_1(l, VR_PAR4); 196 en[5] = CSR_READ_1(l, VR_PAR5); 322 v = CSR_READ_1(l, VR_MIISR) [all...] |
rge.c | 48 #define CSR_READ_1(l, r) in8((l)->csr+(r)) 161 val = CSR_READ_1(l, RGE_CR); 179 en[0] = CSR_READ_1(l, RGE_IDR0); 180 en[1] = CSR_READ_1(l, RGE_IDR1); 181 en[2] = CSR_READ_1(l, RGE_IDR2); 182 en[3] = CSR_READ_1(l, RGE_IDR3); 183 en[4] = CSR_READ_1(l, RGE_IDR4); 184 en[5] = CSR_READ_1(l, RGE_IDR5); 195 val = CSR_READ_1(l, RGE_PHYSR);
|
stg.c | 42 #define CSR_READ_1(l, r) in8((l)->csr+(r)) 184 en[i] = CSR_READ_1(l, STGE_StationAddress0 + i); 255 reg = CSR_READ_1(l, STGE_PhyCtrl); 403 data |= !!(CSR_READ_1(l, STGE_PhyCtrl) & PC_MgmtData); 445 l->phyctrl_saved = CSR_READ_1(l, STGE_PhyCtrl) &
|
skg.c | 47 #define CSR_READ_1(l, r) in8((l)->csr+(r)) 239 en[i] = CSR_READ_1(l, SK_MAC0 + i);
|
vge.c | 48 #define CSR_READ_1(l, r) in8((l)->csr+(r)) 232 val = CSR_READ_1(l, VR_CTL1); 235 l->phy = CSR_READ_1(l, VR_MIICFG) & 0x1f; 238 en[0] = CSR_READ_1(l, VR_PAR0); 239 en[1] = CSR_READ_1(l, VR_PAR1); 240 en[2] = CSR_READ_1(l, VR_PAR2); 241 en[3] = CSR_READ_1(l, VR_PAR3); 242 en[4] = CSR_READ_1(l, VR_PAR4); 243 en[5] = CSR_READ_1(l, VR_PAR5); 282 while (--loop > 0 && (i = CSR_READ_1(l, VR_CAMCTL)) & CAMCTL_WR [all...] |
/src/sys/dev/sdmmc/ |
sbt.c | 39 #define CSR_READ_1(sc, reg) sdmmc_io_read_1((sc)->sc_sf, (reg)) 331 status = CSR_READ_1(sc, SBT_REG_ISTAT);
|
/src/sys/arch/evbarm/stand/boot2440/ |
dm9000.c | 134 CSR_READ_1(struct local *l, int reg) 170 val = CSR_READ_1(l, PID0); 171 val |= CSR_READ_1(l, PID1) << 8; 172 val |= CSR_READ_1(l, VID0) << 16; 173 val |= CSR_READ_1(l, VID1) << 24; 195 val = CSR_READ_1(l, CHIPR); 197 val = CSR_READ_1(l, ISR); 214 } while (NCR_RST & CSR_READ_1(l, NCR)); 223 } while (NCR_RST & CSR_READ_1(l, NCR)); 226 (void) CSR_READ_1(l, NSR) [all...] |
/src/sys/dev/ic/ |
i82557var.h | 352 #define CSR_READ_1(sc, reg) \
|
wivar.h | 246 #define CSR_READ_1(sc, reg) \ 268 #define CSR_READ_1(sc, reg) \
|
rtl81x9var.h | 289 #define CSR_READ_1(sc, reg) \
|
com.c | 137 #define CSR_READ_1(r, o) \ 485 if ((CSR_READ_1(regs, COM_REG_LCR) != LCR_8BITS) || 486 (CSR_READ_1(regs, COM_REG_IIR) & 0x38)) 681 if (ISSET(CSR_READ_1(regsp, COM_REG_IIR), IIR_FIFO_MASK) 683 if (ISSET(CSR_READ_1(regsp, COM_REG_FIFO), FIFO_TRIGGER_14) 702 lcr = CSR_READ_1(regsp, COM_REG_LCR); 705 if (CSR_READ_1(regsp, COM_REG_EFR) == 0) { 708 if (CSR_READ_1(regsp, COM_REG_EFR) == 0) { 740 lcr = CSR_READ_1(regsp, COM_REG_LCR); 745 iir1 = CSR_READ_1(regsp, COM_REG_IIR) [all...] |
/src/sys/dev/pci/ |
if_vr.c | 297 #define CSR_READ_1(sc, reg) \ 330 CSR_READ_1(sc, reg) | (x)) 334 CSR_READ_1(sc, reg) & ~(x)) 375 return (CSR_READ_1(sc, VR_MIICMD)); 471 rxfilt = CSR_READ_1(sc, VR_RXCFG); 1603 mac |= (eaddr[i] = CSR_READ_1(sc, VR_PAR0 + i)); 1610 eaddr[i] = CSR_READ_1(sc, VR_PAR0 + i);
|
if_ipwreg.h | 313 #define CSR_READ_1(sc, reg) \
|
if_stge.c | 234 #define CSR_READ_1(_sc, reg) \ 628 sc->sc_PhyCtrl = CSR_READ_1(sc, STGE_PhyCtrl) & 2028 return (CSR_READ_1(sc, STGE_PhyCtrl));
|
if_vge.c | 271 #define CSR_READ_1(sc, reg) \ 275 CSR_WRITE_1((sc), (reg), CSR_READ_1((sc), (reg)) | (x)) 282 CSR_WRITE_1((sc), (reg), CSR_READ_1((sc), (reg)) & ~(x)) 387 if (CSR_READ_1(sc, VGE_EECMD) & VGE_EECMD_EDONE) 415 if (CSR_READ_1(sc, VGE_MIISTS) & VGE_MIISTS_IIDL) 437 if (CSR_READ_1(sc, VGE_MIISTS) & VGE_MIISTS_IIDL) 455 if ((CSR_READ_1(sc, VGE_MIISTS) & VGE_MIISTS_IIDL) == 0) 473 if (phy != (CSR_READ_1(sc, VGE_MIICFG) & 0x1F)) 488 if ((CSR_READ_1(sc, VGE_MIICMD) & VGE_MIICMD_RCMD) == 0) 511 if (phy != (CSR_READ_1(sc, VGE_MIICFG) & 0x1F) [all...] |
if_iwireg.h | 533 #define CSR_READ_1(sc, reg) \
|
if_skreg.h | 1615 #define CSR_READ_1(sc, reg) \
|