Lines Matching defs:ext
301 * mei_ext_last - check if the ext is the last one in the TLV list
304 * @ext: a meta header on the list
306 * Return: true if ext is the last header on the list
309 struct mei_ext_hdr *ext)
311 return (u8 *)ext >= (u8 *)meta + sizeof(*meta) + (meta->size * 4);
371 * @ext: current extend header
376 * Return: The following extend header after @ext
378 static inline struct mei_ext_hdr *mei_ext_next(struct mei_ext_hdr *ext)
380 return (struct mei_ext_hdr *)((u8 *)ext + (ext->length * 4));
384 * mei_ext_hdr_len - get ext header length in bytes
386 * @ext: extend header
390 static inline u32 mei_ext_hdr_len(const struct mei_ext_hdr *ext)
392 if (!ext)
395 return ext->length * sizeof(u32);