Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1436 f->os_desc_table = kzalloc(sizeof(*f->os_desc_table), in ncm_bind()
1438 if (!f->os_desc_table) in ncm_bind()
1441 f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; in ncm_bind()
1483 f->os_desc_table[0].if_id = in ncm_bind()
1565 kfree(f->os_desc_table); in ncm_bind()
1685 kfree(f->os_desc_table); in ncm_unbind()
Df_fs.c2989 t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; in __ffs_func_bind_do_os_desc()
3004 t = &func->function.os_desc_table[h->interface]; in __ffs_func_bind_do_os_desc()
3128 vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table, in _ffs_func_bind()
3236 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); in _ffs_func_bind()
3241 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
Df_generic.c2828 t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; in __ffs_func_bind_do_os_desc()
2842 t = &func->function.os_desc_table[h->interface]; in __ffs_func_bind_do_os_desc()
2964 vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table, in _ffs_func_bind()
3068 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); in _ffs_func_bind()
3073 desc = func->function.os_desc_table[i].os_desc = in _ffs_func_bind()
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dcomposite.c1493 if (i != f->os_desc_table[j].if_id) in count_ext_compat()
1495 d = f->os_desc_table[j].os_desc; in count_ext_compat()
1518 if (i != f->os_desc_table[j].if_id) in fill_ext_compat()
1520 d = f->os_desc_table[j].os_desc; in fill_ext_compat()
1549 if (interface != f->os_desc_table[j].if_id) in count_ext_prop()
1551 d = f->os_desc_table[j].os_desc; in count_ext_prop()
1567 if (interface != f->os_desc_table[j].if_id) in len_ext_prop()
1569 d = f->os_desc_table[j].os_desc; in len_ext_prop()
1587 if (interface != f->os_desc_table[j].if_id) in fill_ext_prop()
1589 d = f->os_desc_table[j].os_desc; in fill_ext_prop()
/kernel/linux/linux-5.10/include/linux/usb/
Dcomposite.h201 struct usb_os_desc_table *os_desc_table; member
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch17934 - t = &func->function.os_desc_table[desc->bFirstInterfaceNumber];
17948 - t = &func->function.os_desc_table[h->interface];
18070 - vla_item_with_sz(d, struct usb_os_desc_table, os_desc_table,
18174 - func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table);
18179 - desc = func->function.os_desc_table[i].os_desc =