Searched refs:fwd_entry (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 351 ent->port = fwd_entry & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_to_entry() 352 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry() 353 ent->is_age = !!(fwd_entry & ARLTBL_AGE); in b53_arl_to_entry() 354 ent->is_static = !!(fwd_entry & ARLTBL_STATIC); 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 364 *fwd_entry = ent->port & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_from_entry() 366 *fwd_entry |= ARLTBL_VALID; in b53_arl_from_entry() 368 *fwd_entry |= ARLTBL_STATIC; in b53_arl_from_entry() 370 *fwd_entry |= ARLTBL_AGE; in b53_arl_from_entry()
|
D | b53_common.c | 1122 u32 fwd_entry; in b53_arl_read() local 1127 B53_ARLTBL_DATA_ENTRY(i), &fwd_entry); in b53_arl_read() 1128 b53_arl_to_entry(ent, mac_vid, fwd_entry); in b53_arl_read() 1130 if (!(fwd_entry & ARLTBL_VALID)) in b53_arl_read() 1144 u32 fwd_entry; in b53_arl_op() local 1168 fwd_entry = 0; in b53_arl_op() 1178 b53_arl_from_entry(&mac_vid, &fwd_entry, &ent); in b53_arl_op() 1183 B53_ARLTBL_DATA_ENTRY(idx), fwd_entry); in b53_arl_op() 1244 u32 fwd_entry; in b53_arl_search_rd() local 1249 B53_ARL_SRCH_RSTL(idx), &fwd_entry); in b53_arl_search_rd() [all …]
|