Home
last modified time | relevance | path

Searched refs:paos_pl (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c191 char paos_pl[MLXSW_REG_PAOS_LEN]; in mlxsw_sx_port_admin_status_set() local
193 mlxsw_reg_paos_pack(paos_pl, mlxsw_sx_port->local_port, in mlxsw_sx_port_admin_status_set()
196 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_admin_status_set()
203 char paos_pl[MLXSW_REG_PAOS_LEN]; in mlxsw_sx_port_oper_status_get() local
207 mlxsw_reg_paos_pack(paos_pl, mlxsw_sx_port->local_port, 0); in mlxsw_sx_port_oper_status_get()
208 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_oper_status_get()
211 oper_status = mlxsw_reg_paos_oper_status_get(paos_pl); in mlxsw_sx_port_oper_status_get()
Dspectrum.c164 char paos_pl[MLXSW_REG_PAOS_LEN]; in mlxsw_sp_port_admin_status_set() local
166 mlxsw_reg_paos_pack(paos_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_admin_status_set()
169 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(paos), paos_pl); in mlxsw_sp_port_admin_status_set()
176 char paos_pl[MLXSW_REG_PAOS_LEN]; in mlxsw_sp_port_oper_status_get() local
180 mlxsw_reg_paos_pack(paos_pl, mlxsw_sp_port->local_port, 0); in mlxsw_sp_port_oper_status_get()
181 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(paos), paos_pl); in mlxsw_sp_port_oper_status_get()
184 oper_status = mlxsw_reg_paos_oper_status_get(paos_pl); in mlxsw_sp_port_oper_status_get()