Lines Matching defs:opts
14 static int brcmf_xtlv_header_size(u16 opts)
18 if (opts & BRCMF_XTLV_OPTION_IDU8)
20 if (opts & BRCMF_XTLV_OPTION_LENU8)
26 int brcmf_xtlv_data_size(int dlen, u16 opts)
30 hsz = brcmf_xtlv_header_size(opts);
31 if (opts & BRCMF_XTLV_OPTION_ALIGN32)
38 const u8 *data, u16 opts)
43 if (!(opts & mask)) {
50 } else if ((opts & mask) == mask) { /* u8 id and u8 len */
57 } else if (opts & BRCMF_XTLV_OPTION_IDU8) { /* u8 id, u16 len */
64 } else if (opts & BRCMF_XTLV_OPTION_LENU8) { /* u16 id, u8 len */
76 if (opts & BRCMF_XTLV_OPTION_LENU8) {