Searched refs:FM10K_TLV_LEN_SHIFT (Results 1 – 2 of 2) sorted by relevance
65 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 …]
35 #define FM10K_TLV_LEN_SHIFT 20 macro40 ((FM10K_TLV_HDR_LEN - 1) << FM10K_TLV_LEN_SHIFT)44 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)