Home
last modified time | relevance | path

Searched refs:os_desc (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c89 struct os_desc { struct
750 static inline struct os_desc *to_os_desc(struct config_item *item) in to_os_desc()
752 return container_of(to_config_group(item), struct os_desc, group); in to_os_desc()
755 CONFIGFS_ATTR_STRUCT(os_desc);
756 CONFIGFS_ATTR_OPS(os_desc);
758 static ssize_t os_desc_use_show(struct os_desc *os_desc, char *page) in os_desc_use_show() argument
762 gi = to_gadget_info(os_desc->group.cg_item.ci_parent); in os_desc_use_show()
767 static ssize_t os_desc_use_store(struct os_desc *os_desc, const char *page, in os_desc_use_store() argument
774 gi = to_gadget_info(os_desc->group.cg_item.ci_parent); in os_desc_use_store()
792 static ssize_t os_desc_b_vendor_code_show(struct os_desc *os_desc, char *page) in os_desc_b_vendor_code_show() argument
[all …]
Dcomposite.c1309 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1333 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1362 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1380 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1399 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/linux-4.1.27/Documentation/ABI/testing/
Dconfigfs-usb-gadget116 What: /config/usb-gadget/gadget/os_desc
/linux-4.1.27/include/linux/usb/
Dcomposite.h111 struct usb_os_desc *os_desc; member
/linux-4.1.27/drivers/usb/gadget/function/
Df_fs.c2618 memcpy(t->os_desc->ext_compat_id, &desc->CompatibleID, in __ffs_func_bind_do_os_desc()
2670 t->os_desc->ext_prop_len += in __ffs_func_bind_do_os_desc()
2672 ++t->os_desc->ext_prop_count; in __ffs_func_bind_do_os_desc()
2673 list_add_tail(&ext_prop->entry, &t->os_desc->ext_prop); in __ffs_func_bind_do_os_desc()
2758 vla_item_with_sz(d, struct usb_os_desc, os_desc, in _ffs_func_bind()
2869 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
2870 vla_ptr(vlabuf, d, os_desc) + in _ffs_func_bind()
Df_rndis.c691 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()