Searched refs:dc_read (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/staging/sbe-2t3e3/ |
D | dc.c | 221 if (dc_read(sc->addr, SBE_2T3E3_21143_REG_OPERATION_MODE) & in dc_receiver_onoff() 227 state = dc_read(sc->addr, SBE_2T3E3_21143_REG_STATUS) & in dc_receiver_onoff() 261 if (dc_read(sc->addr, SBE_2T3E3_21143_REG_OPERATION_MODE) & in dc_transmitter_onoff() 267 state = dc_read(sc->addr, SBE_2T3E3_21143_REG_STATUS) & in dc_transmitter_onoff() 314 val = dc_read(sc->addr, SBE_2T3E3_21143_REG_OPERATION_MODE) & in dc_set_loopback()
|
D | io.c | 56 result = dc_read(addr, SBE_2T3E3_21143_REG_BOOT_ROM_SERIAL_ROM_AND_MII_MANAGEMENT) & 0xff; in bootrom_read() 99 bit = (dc_read(addr, SBE_2T3E3_21143_REG_BOOT_ROM_SERIAL_ROM_AND_MII_MANAGEMENT) & in serialrom_read_bit()
|
D | 2t3e3.h | 847 static inline u32 dc_read(unsigned long addr, u32 reg) in dc_read() function 859 dc_write(addr, reg, dc_read(addr, reg) | bits); in dc_set_bits() 864 dc_write(addr, reg, dc_read(addr, reg) & ~bits); in dc_clear_bits()
|
D | intr.c | 63 while ((val = dc_read(sc->addr, SBE_2T3E3_21143_REG_STATUS)) & in dc_intr() 403 val = dc_read(sc->addr, SBE_2T3E3_21143_REG_OPERATION_MODE); in dc_intr_tx_underflow()
|
D | ctrl.c | 107 *val = dc_read(sc->addr, reg[1] / 8); in t3e3_reg_read()
|