Home
last modified time | relevance | path

Searched refs:ptys_pl (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c749 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sx_port_get_link_ksettings() local
756 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); in mlxsw_sx_port_get_link_ksettings()
757 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_get_link_ksettings()
762 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, in mlxsw_sx_port_get_link_ksettings()
828 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sx_port_set_link_ksettings() local
846 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); in mlxsw_sx_port_set_link_ksettings()
847 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
852 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, &eth_proto_admin, in mlxsw_sx_port_set_link_ksettings()
863 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 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()
[all …]
Dswitchib.c181 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sib_port_speed_set() local
183 mlxsw_reg_ptys_ib_pack(ptys_pl, mlxsw_sib_port->local_port, speed, in mlxsw_sib_port_speed_set()
185 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sib_port_speed_set()
Dspectrum.c2437 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_get_link_ksettings() local
2443 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0, false); in mlxsw_sp_port_get_link_ksettings()
2444 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_get_link_ksettings()
2447 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, &eth_proto_admin, in mlxsw_sp_port_get_link_ksettings()
2454 eth_proto_lp = mlxsw_reg_ptys_eth_proto_lp_advertise_get(ptys_pl); in mlxsw_sp_port_get_link_ksettings()
2455 autoneg_status = mlxsw_reg_ptys_an_status_get(ptys_pl); in mlxsw_sp_port_get_link_ksettings()
2472 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_set_link_ksettings() local
2477 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0, false); in mlxsw_sp_port_set_link_ksettings()
2478 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()
2481 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings()
[all …]