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

/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.h52 #define FM10K_TLV_LEN_SHIFT 20 macro
57 ((FM10K_TLV_HDR_LEN - 1) << FM10K_TLV_LEN_SHIFT)
61 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)
H A Dfm10k_tlv.c82 len <<= FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_null_string() local
86 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_null_string()
109 len = *attr >> FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_get_null_string()
131 u32 len = ETH_ALEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_mac_vlan()
149 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_mac_vlan()
198 *msg += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_bool()
233 len <<= FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_value() local
237 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_value()
260 if ((*attr >> FM10K_TLV_LEN_SHIFT) != len) fm10k_tlv_attr_get_value()
304 len <<= FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_le_struct() local
308 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_put_le_struct()
334 if ((*attr >> FM10K_TLV_LEN_SHIFT) != len) fm10k_tlv_attr_get_le_struct()
392 len = (attr[0] >> FM10K_TLV_LEN_SHIFT) << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_nest_stop()
396 len += FM10K_TLV_HDR_LEN << FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_nest_stop()
418 u16 len = *attr >> FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_validate()
502 len = *attr >> FM10K_TLV_LEN_SHIFT; fm10k_tlv_attr_parse()

Completed in 63 milliseconds