Searched refs:mac_vid (Results 1 – 2 of 2) sorted by relevance
/drivers/net/dsa/b53/ |
D | b53_priv.h | 348 u64 mac_vid, u32 fwd_entry) in b53_arl_to_entry() argument 355 b53_mac_from_u64(mac_vid, ent->mac); in b53_arl_to_entry() 356 ent->vid = mac_vid >> ARLTBL_VID_S; in b53_arl_to_entry() 359 static inline void b53_arl_from_entry(u64 *mac_vid, u32 *fwd_entry, in b53_arl_from_entry() argument 362 *mac_vid = b53_mac_to_u64(ent->mac); in b53_arl_from_entry() 363 *mac_vid |= (u64)(ent->vid & ARLTBL_VID_MASK) << ARLTBL_VID_S; in b53_arl_from_entry()
|
D | b53_common.c | 1121 u64 mac_vid; in b53_arl_read() local 1125 B53_ARLTBL_MAC_VID_ENTRY(i), &mac_vid); in b53_arl_read() 1128 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read() 1132 if ((mac_vid & ARLTBL_MAC_MASK) != mac) in b53_arl_read() 1145 u64 mac, mac_vid = 0; in b53_arl_op() local 1178 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); in b53_arl_op() 1181 B53_ARLTBL_MAC_VID_ENTRY(idx), mac_vid); in b53_arl_op() 1243 u64 mac_vid; in b53_arl_search_rd() local 1247 B53_ARL_SRCH_RSTL_MACVID(idx), &mac_vid); in b53_arl_search_rd() 1250 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_search_rd()
|