Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c222 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_m_port_dev_addr_get() local
226 mlxsw_reg_ppad_pack(ppad_pl, false, 0); in mlxsw_m_port_dev_addr_get()
227 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_m_port_dev_addr_get()
230 mlxsw_reg_ppad_mac_memcpy_from(ppad_pl, addr); in mlxsw_m_port_dev_addr_get()
Dspectrum.c389 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_sp_port_dev_addr_set() local
391 mlxsw_reg_ppad_pack(ppad_pl, true, mlxsw_sp_port->local_port); in mlxsw_sp_port_dev_addr_set()
392 mlxsw_reg_ppad_mac_memcpy_to(ppad_pl, addr); in mlxsw_sp_port_dev_addr_set()
393 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sp_port_dev_addr_set()