Lines Matching refs:ptys_pl
934 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, ð_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings()
1015 ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_set_link_ksettings()
1017 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()