SPX5_PORTS
} *sparx5_port_apptrust[SPX5_PORTS];
DECLARE_BITMAP(port_mask, SPX5_PORTS);
struct sparx5_port *ports[SPX5_PORTS];
DECLARE_BITMAP(bridge_mask, SPX5_PORTS);
DECLARE_BITMAP(bridge_fwd_mask, SPX5_PORTS);
DECLARE_BITMAP(bridge_lrn_mask, SPX5_PORTS);
DECLARE_BITMAP(vlan_mask[VLAN_N_VID], SPX5_PORTS);
if (bitmap_empty(sparx5->bridge_mask, SPX5_PORTS))
if (bitmap_empty(sparx5->bridge_mask, SPX5_PORTS))
if (bitmap_empty(entry->port_mask, SPX5_PORTS) && !entry->cpu_copy) {
if (field && field->width == SPX5_PORTS)
} else if (port->portno < SPX5_PORTS) {
bitmap_to_arr32(mask, sparx5->vlan_mask[vid], SPX5_PORTS);
DECLARE_BITMAP(workmask, SPX5_PORTS);
bitmap_to_arr32(mask, sparx5->bridge_fwd_mask, SPX5_PORTS);
bitmap_copy(workmask, sparx5->bridge_fwd_mask, SPX5_PORTS);
bitmap_to_arr32(mask, workmask, SPX5_PORTS);
sparx5->bridge_lrn_mask, SPX5_PORTS);
bitmap_to_arr32(mask, workmask, SPX5_PORTS);