Lines Matching refs:mac
25 u8 mac[ETH_ALEN]; member
50 const unsigned char mac[ETH_ALEN], in ocelot_mact_select()
59 mach |= mac[0] << 8; in ocelot_mact_select()
60 mach |= mac[1] << 0; in ocelot_mact_select()
61 macl |= mac[2] << 24; in ocelot_mact_select()
62 macl |= mac[3] << 16; in ocelot_mact_select()
63 macl |= mac[4] << 8; in ocelot_mact_select()
64 macl |= mac[5] << 0; in ocelot_mact_select()
72 const unsigned char mac[ETH_ALEN], in __ocelot_mact_learn()
84 mc_ports = (mac[1] << 8) | mac[2]; in __ocelot_mact_learn()
86 mc_ports = (mac[0] << 8) | mac[1]; in __ocelot_mact_learn()
93 ocelot_mact_select(ocelot, mac, vid); in __ocelot_mact_learn()
104 const unsigned char mac[ETH_ALEN], in ocelot_mact_learn()
110 ret = __ocelot_mact_learn(ocelot, port, mac, vid, type); in ocelot_mact_learn()
118 const unsigned char mac[ETH_ALEN], unsigned int vid) in ocelot_mact_forget()
124 ocelot_mact_select(ocelot, mac, vid); in ocelot_mact_forget()
140 const unsigned char mac[ETH_ALEN], in ocelot_mact_lookup()
147 ocelot_mact_select(ocelot, mac, vid); in ocelot_mact_lookup()
175 const unsigned char mac[ETH_ALEN], in ocelot_mact_learn_streamdata()
191 ret = __ocelot_mact_learn(ocelot, dst_idx, mac, vid, type); in ocelot_mact_learn_streamdata()
1355 char mac[ETH_ALEN]; in ocelot_mact_read() local
1385 mac[0] = (mach >> 8) & 0xff; in ocelot_mact_read()
1386 mac[1] = (mach >> 0) & 0xff; in ocelot_mact_read()
1387 mac[2] = (macl >> 24) & 0xff; in ocelot_mact_read()
1388 mac[3] = (macl >> 16) & 0xff; in ocelot_mact_read()
1389 mac[4] = (macl >> 8) & 0xff; in ocelot_mact_read()
1390 mac[5] = (macl >> 0) & 0xff; in ocelot_mact_read()
1393 ether_addr_copy(entry->mac, mac); in ocelot_mact_read()
1469 err = cb(entry.mac, entry.vid, is_static, data); in ocelot_fdb_dump()