Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c246 MLXSW_ITEM32(emad, reg_tlv, type, 0x00, 27, 5);
251 MLXSW_ITEM32(emad, reg_tlv, len, 0x00, 16, 11);
288 static void mlxsw_emad_pack_reg_tlv(char *reg_tlv, in mlxsw_emad_pack_reg_tlv() argument
292 mlxsw_emad_reg_tlv_type_set(reg_tlv, MLXSW_EMAD_TLV_TYPE_REG); in mlxsw_emad_pack_reg_tlv()
293 mlxsw_emad_reg_tlv_len_set(reg_tlv, reg->len / sizeof(u32) + 1); in mlxsw_emad_pack_reg_tlv()
294 memcpy(reg_tlv + sizeof(u32), payload, reg->len); in mlxsw_emad_pack_reg_tlv()
1385 char *reg_tlv = mlxsw_emad_reg_tlv(skb); in mlxsw_core_event_listener_func() local
1388 reg.len = (mlxsw_emad_reg_tlv_len_get(reg_tlv) - 1) * sizeof(u32); in mlxsw_core_event_listener_func()