Home
last modified time | relevance | path

Searched refs:BSR_BANK_MASK (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_smsc91x_priv.h13 #define BSR_BANK_MASK GENMASK(2, 0) /* Which bank is currently selected */ macro
Deth_smsc91x.c91 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()
147 __ASSERT(FIELD_GET(BSR_BANK_MASK, smsc_read_2(sc, BSR)) == 3, in smsc_mii_bitbang_read()
149 FIELD_GET(BSR_BANK_MASK, smsc_read_2(sc, BSR))); in smsc_mii_bitbang_read()
159 __ASSERT(FIELD_GET(BSR_BANK_MASK, smsc_read_2(sc, BSR)) == 3, in smsc_mii_bitbang_write()
161 FIELD_GET(BSR_BANK_MASK, smsc_read_2(sc, BSR))); in smsc_mii_bitbang_write()