Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/
HDmtkswitch_mt7620.c166 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_read()
178 tmp = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_write()
229 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PCR(port)); in mtkswitch_port_init()
234 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PVC(port)); in mtkswitch_port_init()
253 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PMSR(port)); in mtkswitch_get_port_status()
281 while (sc->hal.mtkswitch_read(sc, MTKSWITCH_ATC) & ATC_BUSY); in mtkswitch_atu_flush()
284 while (sc->hal.mtkswitch_read(sc, MTKSWITCH_ATC) & ATC_BUSY); in mtkswitch_atu_flush()
345 while (sc->hal.mtkswitch_read(sc, MTKSWITCH_VTCR) & VTCR_BUSY); in mtkswitch_invalidate_vlan()
348 while (sc->hal.mtkswitch_read(sc, MTKSWITCH_VTCR) & VTCR_BUSY); in mtkswitch_invalidate_vlan()
362 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_VTIM(i)); in mtkswitch_vlan_init_hw()
[all …]
HDmtkswitchvar.h115 uint32_t (* mtkswitch_read) (struct mtkswitch_softc *, int); member