Lines Matching defs:type_code
82 #define wlp_set(type, type_code, name) \
85 wlp_set_attr_hdr(&attr->hdr, type_code, \
91 #define wlp_pset(type, type_code, name) \
94 wlp_set_attr_hdr(&attr->hdr, type_code, \
109 #define wlp_vset(type, type_code, name) \
113 wlp_set_attr_hdr(&attr->hdr, type_code, len); \
240 static ssize_t wlp_get_attribute(struct wlp *wlp, u16 type_code,
254 if (wlp_check_attr_hdr(wlp, attr_hdr, type_code, value_len) < 0) {
262 static ssize_t wlp_vget_attribute(struct wlp *wlp, u16 type_code,
275 if (le16_to_cpu(attr_hdr->type) != type_code) {
278 type_code);
308 #define wlp_get(type, type_code, name) \
312 return wlp_get_attribute(wlp, (type_code), &attr->hdr, \
316 #define wlp_get_sparse(type, type_code, name) \
317 static wlp_get(type, type_code, name)
332 #define wlp_vget(type_val, type_code, name, max) \
337 return wlp_vget_attribute(wlp, (type_code), &attr->hdr, \