Searched refs:ppad_pl (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | minimal.c | 143 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()
|
D | switchx2.c | 888 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()
|
D | spectrum.c | 307 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()
|