Searched refs:FM10K_TLV_LEN_SHIFT (Results 1 – 2 of 2) sorted by relevance
82 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string()86 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_null_string()109 len = *attr >> FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_get_null_string()131 u32 len = ETH_ALEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_mac_vlan()149 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_mac_vlan()198 *msg += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_bool()233 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_value()237 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_value()260 if ((*attr >> FM10K_TLV_LEN_SHIFT) != len) in fm10k_tlv_attr_get_value()304 len <<= FM10K_TLV_LEN_SHIFT; in fm10k_tlv_attr_put_le_struct()[all …]
52 #define FM10K_TLV_LEN_SHIFT 20 macro57 ((FM10K_TLV_HDR_LEN - 1) << FM10K_TLV_LEN_SHIFT)61 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)