Searched refs:TLV_LENGTH (Results 1 – 6 of 6) sorted by relevance
131 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) macro132 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen)))133 #define TLV_DATA(tlv) ((void *) ((char *) (tlv) + TLV_LENGTH(0)))
120 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) macro121 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen)))122 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0)))154 tlv_len = TLV_LENGTH(len); in TLV_SET()
256 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) macro257 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen)))258 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0)))306 tlv_len = TLV_LENGTH(len); in TLV_SET()
14 #define TLV_LENGTH SNDRV_CTL_TLVD_LENGTH macro
18 #define TLV_LENGTH(p) (p[1]) macro1203 tlv.tlv_length = TLV_LENGTH(p_tlv); in qed_mfw_update_tlvs()1288 tlv.tlv_length = TLV_LENGTH(p_temp); in qed_mfw_process_tlv_req()
105 tlv->tlv_len = htons(TLV_LENGTH(len)); in tipc_add_tlv()