Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c351 const struct mlxsw_afk_element_info *elinfo = in mlxsw_afk_values_add_u32() local
353 const struct mlxsw_item *storage_item = &elinfo->item; in mlxsw_afk_values_add_u32()
357 if (WARN_ON(elinfo->type != MLXSW_AFK_ELEMENT_TYPE_U32)) in mlxsw_afk_values_add_u32()
370 const struct mlxsw_afk_element_info *elinfo = in mlxsw_afk_values_add_buf() local
372 const struct mlxsw_item *storage_item = &elinfo->item; in mlxsw_afk_values_add_buf()
376 if (WARN_ON(elinfo->type != MLXSW_AFK_ELEMENT_TYPE_BUF) || in mlxsw_afk_values_add_buf()
377 WARN_ON(elinfo->item.size.bytes != len)) in mlxsw_afk_values_add_buf()