Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dminimal.c211 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_m_port_dev_addr_get() local
215 mlxsw_reg_ppad_pack(ppad_pl, false, 0); in mlxsw_m_port_dev_addr_get()
216 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_m_port_dev_addr_get()
219 mlxsw_reg_ppad_mac_memcpy_from(ppad_pl, addr); in mlxsw_m_port_dev_addr_get()
H A 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()