Home
last modified time | relevance | path

Searched refs:MTKSWITCH_REG32 (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_rt3050.c63 val = MTKSWITCH_READ(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_read()
76 tmp = MTKSWITCH_READ(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_write()
84 MTKSWITCH_WRITE(sc, MTKSWITCH_REG32(reg), tmp); in mtkswitch_reg_write()
H A Dmtkswitch_mt7620.c164 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_read()
176 tmp = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_write()
184 sc->hal.mtkswitch_write(sc, MTKSWITCH_REG32(reg), tmp); in mtkswitch_reg_write()
H A Dmtkswitchvar.h136 #define MTKSWITCH_REG32(addr) ((addr) & ~(0x3)) macro