Home
last modified time | relevance | path

Searched refs:ptys_pl (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c927 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_ptys_query() local
932 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, 0, false); in mlxsw_sp_port_ptys_query()
933 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_ptys_query()
937 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, p_eth_proto_cap, p_eth_proto_admin, in mlxsw_sp_port_ptys_query()
940 *p_connector_type = mlxsw_reg_ptys_connector_type_get(ptys_pl); in mlxsw_sp_port_ptys_query()
984 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_set_link_ksettings() local
991 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_set_link_ksettings()
993 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()
996 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings()
1011 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_por in mlxsw_sp_port_set_link_ksettings()
[all...]
H A Dswitchx2.c717 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sx_port_get_link_ksettings() local
724 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); in mlxsw_sx_port_get_link_ksettings()
725 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_get_link_ksettings()
730 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, in mlxsw_sx_port_get_link_ksettings()
796 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sx_port_set_link_ksettings() local
814 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); in mlxsw_sx_port_set_link_ksettings()
815 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
820 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, &eth_proto_admin, in mlxsw_sx_port_set_link_ksettings()
831 mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, in mlxsw_sx_port_set_link_ksettings()
833 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings()
925 char ptys_pl[MLXSW_REG_PTYS_LEN]; mlxsw_sx_port_ib_speed_set() local
937 char ptys_pl[MLXSW_REG_PTYS_LEN]; mlxsw_sx_port_speed_by_width_set() local
[all...]
H A Dswitchib.c194 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sib_port_speed_set() local
196 mlxsw_reg_ptys_ib_pack(ptys_pl, mlxsw_sib_port->local_port, speed, in mlxsw_sib_port_speed_set()
198 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sib_port_speed_set()
H A Dspectrum.c1176 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_speed_by_width_set() local
1185 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_speed_by_width_set()
1187 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set()
1191 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, in mlxsw_sp_port_speed_by_width_set()
1194 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_speed_by_width_set()
1197 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set()
1204 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_speed_get() local
1209 port_type_speed_ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, in mlxsw_sp_port_speed_get()
1212 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_get()
1215 port_type_speed_ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, NUL in mlxsw_sp_port_speed_get()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c934 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_ptys_query() local
939 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, 0, false); in mlxsw_sp_port_ptys_query()
940 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_ptys_query()
944 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, p_eth_proto_cap, p_eth_proto_admin, in mlxsw_sp_port_ptys_query()
947 *p_connector_type = mlxsw_reg_ptys_connector_type_get(ptys_pl); in mlxsw_sp_port_ptys_query()
989 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_set_link_ksettings() local
996 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_set_link_ksettings()
998 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()
1001 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings()
1015 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_por in mlxsw_sp_port_set_link_ksettings()
[all...]
H A Dspectrum.c1362 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_speed_by_width_set() local
1371 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_speed_by_width_set()
1373 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set()
1377 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, in mlxsw_sp_port_speed_by_width_set()
1380 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_speed_by_width_set()
1383 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set()
1390 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_speed_get() local
1395 port_type_speed_ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, in mlxsw_sp_port_speed_get()
1398 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_get()
1401 port_type_speed_ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, NUL in mlxsw_sp_port_speed_get()
[all...]

Completed in 15 milliseconds