Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1311 u8 num_rec; in mlxsw_sp_port_fdb_tun_uc_op4() local
1324 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tun_uc_op4()
1329 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tun_uc_op4()
1342 u8 num_rec; in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write() local
1352 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write()
1357 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write()
1444 u8 num_rec; in __mlxsw_sp_port_fdb_uc_op() local
1453 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in __mlxsw_sp_port_fdb_uc_op()
1458 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in __mlxsw_sp_port_fdb_uc_op()
1488 u8 num_rec; in mlxsw_sp_port_fdb_uc_lag_op() local
[all …]
Dspectrum_router_xm.c642 u8 num_rec; in mlxsw_sp_router_ll_xm_fib_entry_commit() local
673 num_rec = mlxsw_reg_xmdr_num_rec_get(op_ctx_xm->xmdr_pl); in mlxsw_sp_router_ll_xm_fib_entry_commit()
674 if (num_rec > op_ctx_xm->entries_count) { in mlxsw_sp_router_ll_xm_fib_entry_commit()
679 for (i = 0; i < num_rec; i++) { in mlxsw_sp_router_ll_xm_fib_entry_commit()
Dreg.h231 MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8);
350 u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); in mlxsw_reg_sfd_rec_pack() local
352 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
585 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
887 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
1847 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
1868 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
1871 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
1875 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
1877 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
[all …]
Dspectrum_router.c2514 u8 num_rec, last_rec_index, num_entries; in mlxsw_sp_router_rauhtd_is_full() local
2516 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2517 last_rec_index = num_rec - 1; in mlxsw_sp_router_rauhtd_is_full()
2519 if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) in mlxsw_sp_router_rauhtd_is_full()
2537 int i, num_rec; in __mlxsw_sp_router_neighs_update_rauhtd() local
2550 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2551 for (i = 0; i < num_rec; i++) in __mlxsw_sp_router_neighs_update_rauhtd()
Dspectrum.c2344 u8 num_rec; in mlxsw_sp1_ptp_fifo_event_func() local
2348 num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); in mlxsw_sp1_ptp_fifo_event_func()
2349 for (i = 0; i < num_rec; i++) { in mlxsw_sp1_ptp_fifo_event_func()