Searched refs:MLXSW_REG (Results 1 - 25 of 38) sorted by path

12

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_mr_tcam.c57 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rmft2), rmft2_pl);
79 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rmft2), rmft2_pl);
184 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl);
195 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl);
211 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtar), rtar_pl);
226 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rrcr), rrcr_pl);
H A Dspectrum_acl_ctcam.c23 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl);
36 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(prcr), prcr_pl);
75 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
96 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
117 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
H A Dcore.c270 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl);
861 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgir), mgir_pl);
1089 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcqi), mcqi_pl);
1109 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcc), mcc_pl);
1118 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mcc), mcc_pl);
1131 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mcc), mcc_pl);
1143 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mcda), mcda_pl);
1156 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mcc), mcc_pl);
1167 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mcc), mcc_pl);
1183 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mc
[all...]
H A Dcore_env.c118 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl);
192 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcia), mcia_pl);
226 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl);
278 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl);
497 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcia), mcia_pl);
524 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(pmaos), pmaos_pl);
609 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcion), mcion_pl);
642 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(pmaos), pmaos_pl);
661 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(pmmp), pmmp_pl);
779 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtb
[all...]
H A Dcore_hwmon.c81 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl);
106 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl);
139 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl);
144 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl);
164 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsm), mfsm_pl);
184 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(fore), fore_pl);
206 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl);
234 err = mlxsw_reg_write(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl);
258 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl);
297 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtb
[all...]
H A Dcore_linecards.c84 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddq), mddq_pl);
115 MLXSW_REG(mcqi), &mcqi_pl);
118 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl);
146 MLXSW_REG(mcc), &mcc_pl);
148 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl);
159 MLXSW_REG(mcc), &mcc_pl);
162 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mddt), mddt_pl);
182 MLXSW_REG(mcc), &mcc_pl);
185 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mddt), mddt_pl);
204 MLXSW_REG(mcd
[all...]
H A Dcore_thermal.c221 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl);
302 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl);
328 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl);
366 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfsc), mfsc_pl);
397 err = mlxsw_reg_write(thermal->core, MLXSW_REG(mfsc), mfsc_pl);
489 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl);
586 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl);
709 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl);
727 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfcr), mfcr_pl);
741 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfs
[all...]
H A Dminimal.c59 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl);
197 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl);
216 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl);
369 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(mgpir), mgpir_pl);
H A Dpci.c1605 err = mlxsw_reg_write(mlxsw_pci->core, MLXSW_REG(mrsr), mrsr_pl);
1629 return mlxsw_reg_write(mlxsw_pci->core, MLXSW_REG(mrsr), mrsr_pl);
1654 err = mlxsw_reg_query(mlxsw_pci->core, MLXSW_REG(mcam), mcam_pl);
H A Dreg.h28 #define MLXSW_REG(type) (&mlxsw_reg_##type) macro
29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len
30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len)
13001 MLXSW_REG(sgcr),
13002 MLXSW_REG(spad),
13003 MLXSW_REG(sspr),
13004 MLXSW_REG(sfdat),
13005 MLXSW_REG(sfd),
13006 MLXSW_REG(sfn),
13007 MLXSW_REG(spm
[all...]
H A Dspectrum.c189 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl);
206 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl);
358 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl);
368 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl);
384 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(paos), paos_pl);
395 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppad), ppad_pl);
415 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl);
433 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl);
442 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pspa), pspa_pl);
451 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svp
[all...]
H A Dspectrum1_acl_tcam.c215 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl);
H A Dspectrum2_acl_tcam.c113 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl);
118 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pgcr), pgcr_pl);
H A Dspectrum2_kvdl.c119 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(iedr), iedr_pl);
H A Dspectrum2_mr_tcam.c44 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pemrbt), pemrbt_pl);
H A Dspectrum_acl_atcam.c287 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perar), perar_pl);
408 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce3), ptce3_pl);
437 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce3), ptce3_pl);
466 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce3), ptce3_pl);
H A Dspectrum_acl_bloom_filter.c441 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(peabfe), peabfe_pl);
478 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(peabfe), peabfe_pl);
H A Dspectrum_acl_erp.c193 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(percr), percr_pl);
401 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl);
420 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl);
436 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl);
454 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl);
660 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl);
677 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl);
1365 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(percr), percr_pl);
1376 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pererp), pererp_pl);
H A Dspectrum_acl_flex_actions.c27 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl);
78 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl);
98 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbs), ppbs_pl);
H A Dspectrum_acl_tcam.c226 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pagt), pagt_pl);
318 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbt), ppbt_pl);
333 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppbt), ppbt_pl);
590 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl);
606 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl);
617 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl);
628 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl);
H A Dspectrum_buffers.c193 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpr), sbpr_pl);
217 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpr), sbpr_pl);
232 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbcm), sbcm_pl);
261 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl);
284 return mlxsw_reg_trans_query(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl,
312 return mlxsw_reg_trans_query(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl,
474 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl);
498 err = mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pptb), pptb_pl);
518 err = mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(sbib), sbib_pl);
1152 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbm
[all...]
H A Dspectrum_dcb.c257 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpts), qpts_pl);
269 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qrwe), qrwe_pl);
307 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpdp), qpdp_pl);
321 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpdpm), qpdpm_pl);
335 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(qpdsm), qpdsm_pl);
487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl);
527 return mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pfcc),
H A Dspectrum_ethtool.c160 err = mlxsw_reg_query(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pddr),
199 return mlxsw_reg_write(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pfcc),
710 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mlcr), mlcr_pl);
940 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
998 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
1017 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
H A Dspectrum_fid.c587 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl);
609 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl);
626 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl);
658 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl);
685 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl);
786 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
905 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(svfa), svfa_pl);
1066 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smpe), smpe_pl);
1087 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
1227 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfg
[all...]
H A Dspectrum_ipip.c184 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl);
223 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl);
402 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl);
440 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl);
552 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tieem), tieem_pl);
583 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tidem), tidem_pl);

Completed in 510 milliseconds

12