Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1651 u8 num_rec; in mlxsw_sp_port_fdb_tun_uc_op4() local
1664 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tun_uc_op4()
1669 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tun_uc_op4()
1682 u8 num_rec; in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write() local
1692 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write()
1697 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write()
1785 u8 num_rec; in __mlxsw_sp_port_fdb_uc_op() local
1795 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in __mlxsw_sp_port_fdb_uc_op()
1800 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in __mlxsw_sp_port_fdb_uc_op()
1830 u8 num_rec; in mlxsw_sp_port_fdb_uc_lag_op() local
[all …]
Dreg.h222 MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8);
362 u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); in mlxsw_reg_sfd_rec_pack() local
364 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
614 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
916 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
2032 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
2053 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
2056 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
2060 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
2062 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
[all …]
Dspectrum_router.c2526 u8 num_rec, last_rec_index, num_entries; in mlxsw_sp_router_rauhtd_is_full() local
2528 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2529 last_rec_index = num_rec - 1; in mlxsw_sp_router_rauhtd_is_full()
2531 if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) in mlxsw_sp_router_rauhtd_is_full()
2549 int i, num_rec; in __mlxsw_sp_router_neighs_update_rauhtd() local
2562 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2563 for (i = 0; i < num_rec; i++) in __mlxsw_sp_router_neighs_update_rauhtd()
Dspectrum.c2394 u8 num_rec; in mlxsw_sp1_ptp_fifo_event_func() local
2398 num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); in mlxsw_sp1_ptp_fifo_event_func()
2399 for (i = 0; i < num_rec; i++) { in mlxsw_sp1_ptp_fifo_event_func()