Home
last modified time | relevance | path

Searched refs:mlxsw_reg_write (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_mr_tcam.c57 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rmft2), rmft2_pl); in mlxsw_sp1_mr_tcam_route_replace()
79 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rmft2), rmft2_pl); in mlxsw_sp1_mr_tcam_route_remove()
184 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl); in mlxsw_sp1_mr_tcam_region_alloc()
195 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl); in mlxsw_sp1_mr_tcam_region_free()
211 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl); in mlxsw_sp1_mr_tcam_region_parman_resize()
226 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rrcr), rrcr_pl); in mlxsw_sp1_mr_tcam_region_parman_move()
Dspectrum_acl_ctcam.c23 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_ctcam_region_resize()
36 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(prcr), prcr_pl); in mlxsw_sp_acl_ctcam_region_move()
78 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert()
91 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_remove()
Dswitchx2.c168 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_admin_status_set()
206 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set()
231 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(plib), plib_pl); in mlxsw_sx_port_ib_port_set()
241 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pspa), pspa_pl); in mlxsw_sx_port_swid_set()
251 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sspr), sspr_pl); in mlxsw_sx_port_system_port_mapping_set()
865 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
970 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(spms), spms_pl); in mlxsw_sx_port_stp_state_set()
983 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_ib_speed_set()
997 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_speed_by_width_set()
1008 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(spmlr), spmlr_pl); in mlxsw_sx_port_mac_learning_mode_set()
[all …]
Dswitchib.c115 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(paos), paos_pl); in mlxsw_sib_port_admin_status_set()
136 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set()
147 err = mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(plib), plib_pl); in mlxsw_sib_port_set()
158 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pspa), pspa_pl); in mlxsw_sib_port_swid_set()
185 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sib_port_speed_set()
430 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sib_basic_trap_groups_set()
Dspectrum_span.c76 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_phys_configure()
90 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_deconfigure_common()
375 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap4_configure()
475 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_gretap6_configure()
531 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpat), mpat_pl); in mlxsw_sp_span_entry_vlan_configure()
745 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbib), sbib_pl); in mlxsw_sp_span_port_mtu_update()
784 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpar), mpar_pl); in mlxsw_sp_span_inspected_port_bind()
818 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbib), sbib_pl); in mlxsw_sp_span_inspected_port_add()
851 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbib), sbib_pl); in mlxsw_sp_span_inspected_port_add()
877 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbib), sbib_pl); in mlxsw_sp_span_inspected_port_del()
Dspectrum_dcb.c77 return mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pptb), in mlxsw_sp_port_pg_prio_map()
110 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pg_destroy()
329 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpts), qpts_pl); in mlxsw_sp_port_dcb_app_update_qpts()
341 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qrwe), qrwe_pl); in mlxsw_sp_port_dcb_app_update_qrwe()
382 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpdpm), qpdpm_pl); in mlxsw_sp_port_dcb_app_update_qpdpm()
396 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpdsm), qpdsm_pl); in mlxsw_sp_port_dcb_app_update_qpdsm()
581 return mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pfcc), in mlxsw_sp_port_pfc_set()
Dspectrum.c184 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_lock()
198 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_component_update()
211 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcda), mcda_pl); in mlxsw_sp_fsm_block_download()
224 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_component_verify()
236 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_activate()
272 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_cancel()
285 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mcc), mcc_pl); in mlxsw_sp_fsm_release()
390 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_clear()
466 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl); in mlxsw_sp_port_vid_stp_set()
490 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mpsc), mpsc_pl); in mlxsw_sp_port_sample_set()
[all …]
Dspectrum_acl_erp.c192 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(percr), percr_pl); in mlxsw_sp_acl_erp_master_mask_update()
404 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_add()
423 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_del()
439 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl); in mlxsw_sp_acl_erp_table_enable()
457 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl); in mlxsw_sp_acl_erp_table_disable()
610 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl); in mlxsw_sp_acl_erp_region_erp_add()
627 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl); in mlxsw_sp_acl_erp_region_erp_del()
1022 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(percr), percr_pl); in mlxsw_sp_acl_erp_master_mask_init()
1033 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl); in mlxsw_sp_acl_erp_region_param_init()
Dspectrum_acl_tcam.c200 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pagt), pagt_pl); in mlxsw_sp_acl_tcam_group_update()
260 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbt), ppbt_pl); in mlxsw_sp_acl_tcam_group_bind()
275 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbt), ppbt_pl); in mlxsw_sp_acl_tcam_group_unbind()
469 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_tcam_region_alloc()
485 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_tcam_region_free()
496 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_enable()
507 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_disable()
Dspectrum_ipip.c139 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_ipip_nexthop_update_gre4()
176 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
190 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ralue), ralue_pl); in mlxsw_sp_ipip_fib_entry_op_gre4_ralue()
Dspectrum_acl_flex_actions.c27 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp_act_kvdl_set_add()
98 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbs), ppbs_pl); in mlxsw_sp_act_kvdl_fwd_entry_add()
Dcore_hwmon.c97 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_rst_store()
162 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_hwmon_pwm_store()
248 err = mlxsw_reg_write(mlxsw_hwmon->core, in mlxsw_hwmon_temp_init()
Dspectrum2_acl_tcam.c103 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp2_acl_tcam_init()
108 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pgcr), pgcr_pl); in mlxsw_sp2_acl_tcam_init()
Dspectrum_buffers.c92 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpr), sbpr_pl); in mlxsw_sp_sb_pr_write()
111 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbcm), sbcm_pl); in mlxsw_sp_sb_cm_write()
135 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl); in mlxsw_sp_sb_pm_write()
205 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pb_init()
216 return mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pptb), in mlxsw_sp_port_pb_prio_init()
557 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbmm), sbmm_pl); in mlxsw_sp_sb_mms_init()
Dspectrum_fid.c137 err = mlxsw_reg_write(fid_family->mlxsw_sp->core, MLXSW_REG(sftr), in mlxsw_sp_fid_flood_set()
217 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl); in mlxsw_sp_fid_op()
227 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl); in mlxsw_sp_fid_vid_map()
237 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl); in __mlxsw_sp_fid_port_vid_map()
817 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sp_fid_flood_table_init()
Dspectrum_acl_atcam.c288 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perar), perar_pl); in mlxsw_sp_acl_atcam_region_associate()
403 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce3), ptce3_pl); in mlxsw_sp_acl_atcam_region_entry_insert()
428 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce3), ptce3_pl); in mlxsw_sp_acl_atcam_region_entry_remove()
Dspectrum_router.c206 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_counter_edit()
241 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_clear()
505 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ralta), ralta_pl); in mlxsw_sp_lpm_tree_alloc()
516 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ralta), ralta_pl); in mlxsw_sp_lpm_tree_free()
540 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ralst), ralst_pl); in mlxsw_sp_lpm_tree_left_struct_set()
706 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(raltb), raltb_pl); in mlxsw_sp_vr_lpm_tree_bind()
717 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(raltb), raltb_pl); in mlxsw_sp_vr_lpm_tree_unbind()
1401 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_ipip_lb_op()
2273 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rauht), rauht_pl); in mlxsw_sp_router_neigh_entry_op4()
2290 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rauht), rauht_pl); in mlxsw_sp_router_neigh_entry_op6()
[all …]
Dcore_thermal.c295 err = mlxsw_reg_write(thermal->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_thermal_set_cur_state()
351 err = mlxsw_reg_write(thermal->core, MLXSW_REG(mfsl), in mlxsw_thermal_init()
Dspectrum_qdisc.c231 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(cwtp), cwtp_cmd); in mlxsw_sp_tclass_congestion_enable()
238 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(cwtpm), cwtpm_cmd); in mlxsw_sp_tclass_congestion_enable()
250 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(cwtpm), cwtpm_cmd); in mlxsw_sp_tclass_congestion_disable()
Dspectrum_switchdev.c682 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfdat), sfdat_pl); in mlxsw_sp_ageing_set()
825 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set()
1225 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfdf), sfdf_pl); in mlxsw_sp_bridge_port_fdb_flush()
1257 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfd), sfd_pl); in __mlxsw_sp_port_fdb_uc_op()
1302 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfd), sfd_pl); in mlxsw_sp_port_fdb_uc_lag_op()
1366 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfd), sfd_pl); in mlxsw_sp_port_mdb_op()
1404 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_port_smid_full_entry()
1421 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_port_smid_set()
Dspectrum2_kvdl.c117 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(iedr), iedr_pl); in mlxsw_sp2_kvdl_rec_del()
Dcore.c1318 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_core_trap_register()
1340 mlxsw_reg_write(mlxsw_core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_core_trap_unregister()
1545 int mlxsw_reg_write(struct mlxsw_core *mlxsw_core, in mlxsw_reg_write() function
1551 EXPORT_SYMBOL(mlxsw_reg_write);
Dcore.h143 int mlxsw_reg_write(struct mlxsw_core *mlxsw_core,
Dspectrum_mr_tcam.c161 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rigr2), in mlxsw_sp_mr_erif_list_commit()
Dpci.c1352 err = mlxsw_reg_write(mlxsw_pci->core, MLXSW_REG(mrsr), mrsr_pl); in mlxsw_pci_sw_reset()