Home
last modified time | relevance | path

Searched refs:os_desc_table (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Df_rndis.c672 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in rndis_bind()
674 if (!f->os_desc_table) in rndis_bind()
677 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()
720 f->os_desc_table[0].if_id = in rndis_bind()
809 kfree(f->os_desc_table); in rndis_bind()
959 kfree(f->os_desc_table); in rndis_unbind()
H A Df_ncm.c1431 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in ncm_bind()
1433 if (!f->os_desc_table) in ncm_bind()
1436 f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; in ncm_bind()
1473 f->os_desc_table[0].if_id = in ncm_bind()
1553 kfree(f->os_desc_table); in ncm_bind()
1673 kfree(f->os_desc_table); in ncm_unbind()
H A Df_fs.c2937 t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; in __ffs_func_bind_do_os_desc()
2952 t = &func->function.os_desc_table[h->interface]; in __ffs_func_bind_do_os_desc()
3074 vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table, in _ffs_func_bind()
3180 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); in _ffs_func_bind()
3185 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
/openbmc/linux/drivers/usb/gadget/
H A Dcomposite.c1632 if (i != f->os_desc_table[j].if_id) in count_ext_compat()
1634 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1657 if (i != f->os_desc_table[j].if_id) in fill_ext_compat()
1659 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1688 if (interface != f->os_desc_table[j].if_id) in count_ext_prop()
1690 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1706 if (interface != f->os_desc_table[j].if_id) in len_ext_prop()
1708 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1726 if (interface != f->os_desc_table[j].if_id) in fill_ext_prop()
1728 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/openbmc/linux/include/linux/usb/
H A Dcomposite.h191 struct usb_os_desc_table *os_desc_table; member