Lines Matching refs:smsc_read_2
112 static ALWAYS_INLINE uint16_t smsc_read_2(struct smsc_data *sc, int offset) in smsc_read_2() function
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()
151 val = smsc_read_2(sc, MGMT); 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()
307 ctr = smsc_read_2(sc, CTR); in smsc_reset()
355 val = smsc_read_2(sc, BSR); in smsc_check()
362 val = smsc_read_2(sc, BSR); in smsc_check()
369 val = smsc_read_2(sc, REV); in smsc_check()
400 status = smsc_read_2(sc, DATA0); in smsc_recv_pkt()
401 val16 = smsc_read_2(sc, DATA0); in smsc_recv_pkt()
564 mem_info = smsc_read_2(sc, MIR); in smsc_isr_task()
569 smsc_read_1(sc, MSK), mem_info, smsc_read_2(sc, FIFO)); in smsc_isr_task()
590 ephsr = smsc_read_2(sc, EPHSR); in smsc_isr_task()
602 tcr = smsc_read_2(sc, TCR); in smsc_isr_task()
652 val = smsc_read_2(sc, REV); in smsc_init()