Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c87 struct os_desc { struct
778 static inline struct os_desc *to_os_desc(struct config_item *item) in to_os_desc()
780 return container_of(to_config_group(item), struct os_desc, group); in to_os_desc()
883 struct os_desc *os_desc = to_os_desc(item); in os_desc_attr_release() local
884 kfree(os_desc); in os_desc_attr_release()
Dcomposite.c1495 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1520 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1551 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1569 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1589 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dothers.patch782 + struct usb_ext_compat_desc os_desc;
838 + sizeof(descriptors.os_desc)),
844 + .os_desc = {
877 + struct usb_ext_compat_desc os_desc;
933 + sizeof(descriptors.os_desc)),
939 + .os_desc = {
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget133 What: /config/usb-gadget/gadget/os_desc
/kernel/linux/linux-5.10/include/linux/usb/
Dcomposite.h115 struct usb_os_desc *os_desc; member
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_fs.c2991 memcpy(t->os_desc->ext_compat_id, &desc->CompatibleID, in __ffs_func_bind_do_os_desc()
3043 t->os_desc->ext_prop_len += in __ffs_func_bind_do_os_desc()
3045 ++t->os_desc->ext_prop_count; in __ffs_func_bind_do_os_desc()
3046 list_add_tail(&ext_prop->entry, &t->os_desc->ext_prop); in __ffs_func_bind_do_os_desc()
3132 vla_item_with_sz(d, struct usb_os_desc, os_desc, in _ffs_func_bind()
3241 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
3242 vla_ptr(vlabuf, d, os_desc) + in _ffs_func_bind()
Df_generic.c2830 memcpy(t->os_desc->ext_compat_id, &desc->CompatibleID, in __ffs_func_bind_do_os_desc()
2880 t->os_desc->ext_prop_len += in __ffs_func_bind_do_os_desc()
2882 ++t->os_desc->ext_prop_count; in __ffs_func_bind_do_os_desc()
2883 list_add_tail(&ext_prop->entry, &t->os_desc->ext_prop); in __ffs_func_bind_do_os_desc()
2968 vla_item_with_sz(d, struct usb_os_desc, os_desc, in _ffs_func_bind()
3073 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
3074 vla_ptr(vlabuf, d, os_desc) + in _ffs_func_bind()
Df_rndis.c690 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()
Df_ncm.c1441 f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; in ncm_bind()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch17936 - memcpy(t->os_desc->ext_compat_id, &desc->CompatibleID,
17986 - t->os_desc->ext_prop_len +=
17988 - ++t->os_desc->ext_prop_count;
17989 - list_add_tail(&ext_prop->entry, &t->os_desc->ext_prop);
18074 - vla_item_with_sz(d, struct usb_os_desc, os_desc,
18179 - desc = func->function.os_desc_table[i].os_desc =
18180 - vla_ptr(vlabuf, d, os_desc) +