Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/function/
Df_rndis.c685 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in rndis_bind()
687 if (!f->os_desc_table) in rndis_bind()
690 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()
733 f->os_desc_table[0].if_id = in rndis_bind()
824 kfree(f->os_desc_table); in rndis_bind()
974 kfree(f->os_desc_table); in rndis_unbind()
Df_ncm.c1426 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in ncm_bind()
1428 if (!f->os_desc_table) in ncm_bind()
1431 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()
1555 kfree(f->os_desc_table); in ncm_bind()
1675 kfree(f->os_desc_table); in ncm_unbind()
Df_fs.c3007 t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; in __ffs_func_bind_do_os_desc()
3022 t = &func->function.os_desc_table[h->interface]; in __ffs_func_bind_do_os_desc()
3146 vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table, in _ffs_func_bind()
3254 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); in _ffs_func_bind()
3259 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
/linux-6.1.9/drivers/usb/gadget/
Dcomposite.c1538 if (i != f->os_desc_table[j].if_id) in count_ext_compat()
1540 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1563 if (i != f->os_desc_table[j].if_id) in fill_ext_compat()
1565 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1594 if (interface != f->os_desc_table[j].if_id) in count_ext_prop()
1596 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1612 if (interface != f->os_desc_table[j].if_id) in len_ext_prop()
1614 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1632 if (interface != f->os_desc_table[j].if_id) in fill_ext_prop()
1634 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/linux-6.1.9/include/linux/usb/
Dcomposite.h187 struct usb_os_desc_table *os_desc_table; member