Home
last modified time | relevance | path

Searched refs:num_rec (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1295 u8 num_rec; in mlxsw_sp_port_fdb_tunnel_uc_op() local
1319 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tunnel_uc_op()
1324 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tunnel_uc_op()
1338 u8 num_rec; in __mlxsw_sp_port_fdb_uc_op() local
1347 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in __mlxsw_sp_port_fdb_uc_op()
1352 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in __mlxsw_sp_port_fdb_uc_op()
1382 u8 num_rec; in mlxsw_sp_port_fdb_uc_lag_op() local
1393 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_uc_lag_op()
1398 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_uc_lag_op()
1447 u8 num_rec; in mlxsw_sp_port_mdb_op() local
[all …]
Dreg.h277 MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8);
396 u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); in mlxsw_reg_sfd_rec_pack() local
398 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
618 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
897 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
1824 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
1845 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
1848 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
1852 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
1854 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
[all …]
Dspectrum_router.c2291 u8 num_rec, last_rec_index, num_entries; in mlxsw_sp_router_rauhtd_is_full() local
2293 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2294 last_rec_index = num_rec - 1; in mlxsw_sp_router_rauhtd_is_full()
2296 if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) in mlxsw_sp_router_rauhtd_is_full()
2314 int i, num_rec; in __mlxsw_sp_router_neighs_update_rauhtd() local
2327 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2328 for (i = 0; i < num_rec; i++) in __mlxsw_sp_router_neighs_update_rauhtd()
Dspectrum.c2083 u8 num_rec; in mlxsw_sp1_ptp_fifo_event_func() local
2087 num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); in mlxsw_sp1_ptp_fifo_event_func()
2088 for (i = 0; i < num_rec; i++) { in mlxsw_sp1_ptp_fifo_event_func()