Lines Matching refs:MLXSW_REG
168 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_admin_status_set()
180 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_oper_status_get()
197 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_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()
262 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sx_port_module_info_get()
534 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats()
757 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_get_link_ksettings()
847 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
865 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
931 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(spad), spad_pl); in mlxsw_sx_hw_id_get()
946 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sx_port_dev_addr_get()
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()
1464 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1475 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1522 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sx_flood_init()
1533 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sx_flood_init()
1542 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sx_flood_init()
1551 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sx_flood_init()
1560 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sx_flood_init()
1569 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sfgc), sfgc_pl); in mlxsw_sx_flood_init()
1574 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sgcr), sgcr_pl); in mlxsw_sx_flood_init()
1588 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_basic_trap_groups_set()