Searched refs:smsc_reg (Results 1 – 1 of 1) sorted by relevance
60 mm_reg_t smsc_reg; member91 sys_write16(bank & BSR_BANK_MASK, sc->smsc_reg + BSR); in smsc_select_bank()96 return FIELD_GET(BSR_BANK_MASK, sys_read16(sc->smsc_reg + BSR)); in smsc_current_bank()102 while (sys_read16(sc->smsc_reg + MMUCR) & MMUCR_BUSY) { in smsc_mmu_wait()109 return sys_read8(sc->smsc_reg + offset); in smsc_read_1()114 return sys_read16(sc->smsc_reg + offset); in smsc_read_2()121 *datap++ = sys_read16(sc->smsc_reg + offset); in smsc_read_multi_2()127 sys_write8(val, sc->smsc_reg + offset); in smsc_write_1()132 sys_write16(val, sc->smsc_reg + offset); in smsc_write_2()139 sys_write16(*datap++, sc->smsc_reg + offset); in smsc_write_multi_2()[all …]