Searched refs:ptys_pl (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 936 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_ptys_query() local 941 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, 0, false); in mlxsw_sp_port_ptys_query() 942 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_ptys_query() 946 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, p_eth_proto_cap, p_eth_proto_admin, in mlxsw_sp_port_ptys_query() 949 *p_connector_type = mlxsw_reg_ptys_connector_type_get(ptys_pl); in mlxsw_sp_port_ptys_query() 991 char ptys_pl[MLXSW_REG_PTYS_LEN]; in mlxsw_sp_port_set_link_ksettings() local 998 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_set_link_ksettings() 1000 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings() 1003 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings() 1017 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_set_link_ksettings() [all …]
|
H A D | spectrum.c | 1362 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, ð_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, NULL, NULL, in mlxsw_sp_port_speed_get()
|