Searched refs:entry_fld (Results 1 – 1 of 1) sorted by relevance
220 const struct ale_entry_fld *entry_fld; in cpsw_ale_entry_get_fld() local226 entry_fld = &entry_tbl[fld_id]; in cpsw_ale_entry_get_fld()227 if (!(entry_fld->flags & ALE_FLD_ALLOWED)) { in cpsw_ale_entry_get_fld()232 bits = entry_fld->num_bits; in cpsw_ale_entry_get_fld()233 if (entry_fld->flags & ALE_FLD_SIZE_PORT_MASK_BITS) in cpsw_ale_entry_get_fld()236 return cpsw_ale_get_field(ale_entry, entry_fld->start_bit, bits); in cpsw_ale_entry_get_fld()245 const struct ale_entry_fld *entry_fld; in cpsw_ale_entry_set_fld() local251 entry_fld = &entry_tbl[fld_id]; in cpsw_ale_entry_set_fld()252 if (!(entry_fld->flags & ALE_FLD_ALLOWED)) { in cpsw_ale_entry_set_fld()257 bits = entry_fld->num_bits; in cpsw_ale_entry_set_fld()[all …]