Searched refs:num_rec (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 1651 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() 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() 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() 1830 u8 num_rec; in mlxsw_sp_port_fdb_uc_lag_op() local 1841 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_uc_lag_op() 1896 u8 num_rec; in mlxsw_sp_mdb_entry_write() local 3336 u8 num_rec; in mlxsw_sp_fdb_notify_work() local [all …]
|
H A D | reg.h | 222 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); 2025 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local 2028 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack() 2034 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack() 3688 if (rec_index >= num_rec) in mlxsw_reg_peabfe_rec_pack() 3715 MLXSW_ITEM32(reg, iedr, num_rec, 0x00, 0, 8); [all …]
|
H A D | spectrum_router.c | 2525 u8 num_rec, last_rec_index, num_entries; in mlxsw_sp_router_rauhtd_is_full() local 2527 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full() 2528 last_rec_index = num_rec - 1; in mlxsw_sp_router_rauhtd_is_full() 2530 if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) in mlxsw_sp_router_rauhtd_is_full() 2548 int i, num_rec; in __mlxsw_sp_router_neighs_update_rauhtd() local 2561 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd() 2562 for (i = 0; i < num_rec; i++) in __mlxsw_sp_router_neighs_update_rauhtd()
|
H A D | spectrum.c | 2415 u8 num_rec; in mlxsw_sp1_ptp_fifo_event_func() local 2419 num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); in mlxsw_sp1_ptp_fifo_event_func() 2420 for (i = 0; i < num_rec; i++) { in mlxsw_sp1_ptp_fifo_event_func()
|