Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_rndis.c699 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in rndis_bind()
701 if (!f->os_desc_table) in rndis_bind()
704 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()
747 f->os_desc_table[0].if_id = in rndis_bind()
838 kfree(f->os_desc_table); in rndis_bind()
988 kfree(f->os_desc_table); in rndis_unbind()
H A Df_ncm.c1434 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in ncm_bind()
1436 if (!f->os_desc_table) in ncm_bind()
1439 f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; in ncm_bind()
1481 f->os_desc_table[0].if_id = in ncm_bind()
1563 kfree(f->os_desc_table); in ncm_bind()
1683 kfree(f->os_desc_table); in ncm_unbind()
H A Df_fs.c3009 t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; in __ffs_func_bind_do_os_desc()
3024 t = &func->function.os_desc_table[h->interface]; in __ffs_func_bind_do_os_desc()
3148 vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table, in _ffs_func_bind()
3256 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); in _ffs_func_bind()
3261 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dcomposite.c1537 if (i != f->os_desc_table[j].if_id) in count_ext_compat()
1539 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1562 if (i != f->os_desc_table[j].if_id) in fill_ext_compat()
1564 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1593 if (interface != f->os_desc_table[j].if_id) in count_ext_prop()
1595 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1611 if (interface != f->os_desc_table[j].if_id) in len_ext_prop()
1613 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1631 if (interface != f->os_desc_table[j].if_id) in fill_ext_prop()
1633 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dcomposite.h201 struct usb_os_desc_table *os_desc_table; member