Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c143 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_m_port_dev_addr_get() local
146 mlxsw_reg_ppad_pack(ppad_pl, false, 0); in mlxsw_m_port_dev_addr_get()
147 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_m_port_dev_addr_get()
150 mlxsw_reg_ppad_mac_memcpy_from(ppad_pl, dev->dev_addr); in mlxsw_m_port_dev_addr_get()
Dswitchx2.c888 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_sx_port_dev_addr_get() local
891 mlxsw_reg_ppad_pack(ppad_pl, false, 0); in mlxsw_sx_port_dev_addr_get()
892 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sx_port_dev_addr_get()
895 mlxsw_reg_ppad_mac_memcpy_from(ppad_pl, dev->dev_addr); in mlxsw_sx_port_dev_addr_get()
Dspectrum.c307 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_sp_port_dev_addr_set() local
309 mlxsw_reg_ppad_pack(ppad_pl, true, mlxsw_sp_port->local_port); in mlxsw_sp_port_dev_addr_set()
310 mlxsw_reg_ppad_mac_memcpy_to(ppad_pl, addr); in mlxsw_sp_port_dev_addr_set()
311 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sp_port_dev_addr_set()