Lines Matching refs:mac
337 fdb->mac[0] = (reg[0] >> MAC_BYTE_0) & MAC_BYTE_MASK; in mt7530_fdb_read()
338 fdb->mac[1] = (reg[0] >> MAC_BYTE_1) & MAC_BYTE_MASK; in mt7530_fdb_read()
339 fdb->mac[2] = (reg[0] >> MAC_BYTE_2) & MAC_BYTE_MASK; in mt7530_fdb_read()
340 fdb->mac[3] = (reg[0] >> MAC_BYTE_3) & MAC_BYTE_MASK; in mt7530_fdb_read()
341 fdb->mac[4] = (reg[1] >> MAC_BYTE_4) & MAC_BYTE_MASK; in mt7530_fdb_read()
342 fdb->mac[5] = (reg[1] >> MAC_BYTE_5) & MAC_BYTE_MASK; in mt7530_fdb_read()
348 u8 port_mask, const u8 *mac, in mt7530_fdb_write() argument
364 reg[1] |= mac[5] << MAC_BYTE_5; in mt7530_fdb_write()
365 reg[1] |= mac[4] << MAC_BYTE_4; in mt7530_fdb_write()
366 reg[0] |= mac[3] << MAC_BYTE_3; in mt7530_fdb_write()
367 reg[0] |= mac[2] << MAC_BYTE_2; in mt7530_fdb_write()
368 reg[0] |= mac[1] << MAC_BYTE_1; in mt7530_fdb_write()
369 reg[0] |= mac[0] << MAC_BYTE_0; in mt7530_fdb_write()
1654 ret = cb(_fdb.mac, _fdb.vid, _fdb.noarp, in mt7530_port_fdb_dump()