Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c65 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string()
69 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string()
92 len = *attr >> FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_get_null_string()
115 u32 len = ETH_ALEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_mac_vlan()
133 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_mac_vlan()
182 *msg += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_bool()
217 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_value()
221 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_value()
244 if ((*attr >> FM10K_TLV_LEN_SHIFT) != len) in fm10k_tlv_attr_get_value()
288 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_le_struct()
[all …]
Dfm10k_tlv.h35 #define FM10K_TLV_LEN_SHIFT 20 macro
40 ((FM10K_TLV_HDR_LEN - 1) << FM10K_TLV_LEN_SHIFT)
44 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)