Searched refs:gstrings (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/usb/gadget/ |
| D | configfs.c | 55 struct usb_gadget_strings *gstrings[MAX_USB_STRING_LANGS + 1]; member 79 struct usb_gadget_strings *gstrings[MAX_USB_STRING_LANGS + 1]; member 527 INIT_LIST_HEAD(&cdev->gstrings); in composite_init_dev() 1284 gi->gstrings[i] = &gs->stringtab_dev; in configfs_composite_bind() 1292 gi->gstrings[i] = NULL; in configfs_composite_bind() 1293 s = usb_gstrings_attach(&gi->cdev, gi->gstrings, in configfs_composite_bind() 1338 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind() 1343 cfg->gstrings[i] = NULL; in configfs_composite_bind() 1344 s = usb_gstrings_attach(&gi->cdev, cfg->gstrings, 1); in configfs_composite_bind()
|
| D | composite.c | 1101 list_for_each_entry(uc, &cdev->gstrings, list) { in get_string() 1130 list_for_each_entry(uc, &cdev->gstrings, list) { in get_string() 1329 list_add_tail(&uc->list, &cdev->gstrings); in usb_gstrings_attach() 2164 list_for_each_entry_safe(uc, tmp, &cdev->gstrings, list) { in composite_dev_cleanup() 2220 INIT_LIST_HEAD(&cdev->gstrings); in composite_bind()
|
| /Linux-v5.4/net/core/ |
| D | ethtool.c | 1788 struct ethtool_gstrings gstrings; in ethtool_get_strings() local 1792 if (copy_from_user(&gstrings, useraddr, sizeof(gstrings))) in ethtool_get_strings() 1795 ret = __ethtool_get_sset_count(dev, gstrings.string_set); in ethtool_get_strings() 1802 gstrings.len = ret; in ethtool_get_strings() 1804 if (gstrings.len) { in ethtool_get_strings() 1805 data = vzalloc(array_size(gstrings.len, ETH_GSTRING_LEN)); in ethtool_get_strings() 1809 __ethtool_get_strings(dev, gstrings.string_set, data); in ethtool_get_strings() 1815 if (copy_to_user(useraddr, &gstrings, sizeof(gstrings))) in ethtool_get_strings() 1817 useraddr += sizeof(gstrings); in ethtool_get_strings() 1818 if (gstrings.len && in ethtool_get_strings() [all …]
|
| /Linux-v5.4/include/linux/usb/ |
| D | composite.h | 493 struct list_head gstrings; member
|