Searched refs:ext_prop (Results 1 – 5 of 5) sorted by relevance
910 struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); in ext_prop_type_store() local911 struct usb_os_desc *desc = to_usb_os_desc(ext_prop->item.ci_parent); in ext_prop_type_store()925 if ((ext_prop->type == USB_EXT_PROP_BINARY || in ext_prop_type_store()926 ext_prop->type == USB_EXT_PROP_LE32 || in ext_prop_type_store()927 ext_prop->type == USB_EXT_PROP_BE32) && in ext_prop_type_store()931 ext_prop->data_len <<= 1; in ext_prop_type_store()932 else if ((ext_prop->type == USB_EXT_PROP_UNICODE || in ext_prop_type_store()933 ext_prop->type == USB_EXT_PROP_UNICODE_ENV || in ext_prop_type_store()934 ext_prop->type == USB_EXT_PROP_UNICODE_LINK) && in ext_prop_type_store()938 ext_prop->data_len >>= 1; in ext_prop_type_store()[all …]
1396 struct usb_os_desc_ext_prop *ext_prop; in fill_ext_prop() local1406 list_for_each_entry(ext_prop, &d->ext_prop, entry) { in fill_ext_prop()1412 count = ext_prop->data_len + in fill_ext_prop()1413 ext_prop->name_len + 14; in fill_ext_prop()1417 usb_ext_prop_put_type(buf, ext_prop->type); in fill_ext_prop()1418 ret = usb_ext_prop_put_name(buf, ext_prop->name, in fill_ext_prop()1419 ext_prop->name_len); in fill_ext_prop()1422 switch (ext_prop->type) { in fill_ext_prop()1427 ext_prop->data, in fill_ext_prop()1428 ext_prop->data_len); in fill_ext_prop()[all …]
2627 struct usb_os_desc_ext_prop *ext_prop; in __ffs_func_bind_do_os_desc() local2634 ext_prop = func->ffs->ms_os_descs_ext_prop_avail; in __ffs_func_bind_do_os_desc()2635 func->ffs->ms_os_descs_ext_prop_avail += sizeof(*ext_prop); in __ffs_func_bind_do_os_desc()2637 ext_prop->type = le32_to_cpu(desc->dwPropertyDataType); in __ffs_func_bind_do_os_desc()2638 ext_prop->name_len = le16_to_cpu(desc->wPropertyNameLength); in __ffs_func_bind_do_os_desc()2639 ext_prop->data_len = le32_to_cpu(*(u32 *) in __ffs_func_bind_do_os_desc()2640 usb_ext_prop_data_len_ptr(data, ext_prop->name_len)); in __ffs_func_bind_do_os_desc()2641 length = ext_prop->name_len + ext_prop->data_len + 14; in __ffs_func_bind_do_os_desc()2645 ext_prop->name_len; in __ffs_func_bind_do_os_desc()2649 ext_prop->data_len; in __ffs_func_bind_do_os_desc()[all …]
915 INIT_LIST_HEAD(&opts->rndis_os_desc.ext_prop); in rndis_alloc_inst()
91 struct list_head ext_prop; member