Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c942 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_sx_port_dev_addr_get() local
945 mlxsw_reg_ppad_pack(ppad_pl, false, 0); in mlxsw_sx_port_dev_addr_get()
946 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sx_port_dev_addr_get()
949 mlxsw_reg_ppad_mac_memcpy_from(ppad_pl, dev->dev_addr); in mlxsw_sx_port_dev_addr_get()
Dspectrum.c509 char ppad_pl[MLXSW_REG_PPAD_LEN]; in mlxsw_sp_port_dev_addr_set() local
511 mlxsw_reg_ppad_pack(ppad_pl, true, mlxsw_sp_port->local_port); in mlxsw_sp_port_dev_addr_set()
512 mlxsw_reg_ppad_mac_memcpy_to(ppad_pl, addr); in mlxsw_sp_port_dev_addr_set()
513 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sp_port_dev_addr_set()