Lines Matching refs:ext_prop
3432 struct usb_os_desc_ext_prop *ext_prop; in __ffs_func_bind_do_os_desc() local
3439 ext_prop = func->ffs->ms_os_descs_ext_prop_avail; in __ffs_func_bind_do_os_desc()
3440 func->ffs->ms_os_descs_ext_prop_avail += sizeof(*ext_prop); in __ffs_func_bind_do_os_desc()
3442 ext_prop->type = le32_to_cpu(desc->dwPropertyDataType); in __ffs_func_bind_do_os_desc()
3443 ext_prop->name_len = le16_to_cpu(desc->wPropertyNameLength); in __ffs_func_bind_do_os_desc()
3444 ext_prop->data_len = le32_to_cpu(*(__le32 *) in __ffs_func_bind_do_os_desc()
3445 usb_ext_prop_data_len_ptr(data, ext_prop->name_len)); in __ffs_func_bind_do_os_desc()
3446 length = ext_prop->name_len + ext_prop->data_len + 14; in __ffs_func_bind_do_os_desc()
3450 ext_prop->name_len; in __ffs_func_bind_do_os_desc()
3454 ext_prop->data_len; in __ffs_func_bind_do_os_desc()
3456 usb_ext_prop_data_ptr(data, ext_prop->name_len), in __ffs_func_bind_do_os_desc()
3457 ext_prop->data_len); in __ffs_func_bind_do_os_desc()
3459 switch (ext_prop->type) { in __ffs_func_bind_do_os_desc()
3464 ext_prop->data_len *= 2; in __ffs_func_bind_do_os_desc()
3467 ext_prop->data = ext_prop_data; in __ffs_func_bind_do_os_desc()
3470 ext_prop->name_len); in __ffs_func_bind_do_os_desc()
3472 ext_prop->name_len *= 2; in __ffs_func_bind_do_os_desc()
3473 ext_prop->name = ext_prop_name; in __ffs_func_bind_do_os_desc()
3476 ext_prop->name_len + ext_prop->data_len + 14; in __ffs_func_bind_do_os_desc()
3478 list_add_tail(&ext_prop->entry, &t->os_desc->ext_prop); in __ffs_func_bind_do_os_desc()
3564 vla_item_with_sz(d, struct usb_os_desc_ext_prop, ext_prop, in _ffs_func_bind()
3582 ffs->ms_os_descs_ext_prop_avail = vla_ptr(vlabuf, d, ext_prop); in _ffs_func_bind()
3674 INIT_LIST_HEAD(&desc->ext_prop); in _ffs_func_bind()