| /drivers/usb/gadget/legacy/ |
| A D | printer.c | 91 static struct usb_string strings [] = { variable 100 .strings = strings, 166 ret = usb_string_ids_tab(cdev, strings); in printer_bind() 170 device_desc.iManufacturer = strings[USB_GADGET_MANUFACTURER_IDX].id; in printer_bind() 171 device_desc.iProduct = strings[USB_GADGET_PRODUCT_IDX].id; in printer_bind() 172 device_desc.iSerialNumber = strings[USB_GADGET_SERIAL_IDX].id; in printer_bind() 216 .strings = dev_strings,
|
| A D | tcm_usb_gadget.c | 53 .strings = usbg_us_strings, 124 .strings = usbg_strings,
|
| A D | gmidi.c | 99 .strings = strings_dev, 180 .strings = dev_strings,
|
| A D | ncm.c | 80 .strings = strings_dev, 201 .strings = dev_strings,
|
| A D | mass_storage.c | 74 .strings = strings_dev, 229 .strings = dev_strings,
|
| A D | cdc2.c | 71 .strings = strings_dev, 229 .strings = dev_strings,
|
| A D | acm_ms.c | 69 .strings = strings_dev, 253 .strings = dev_strings,
|
| A D | hid.c | 78 .strings = strings_dev, 257 .strings = dev_strings,
|
| A D | serial.c | 55 .strings = strings_dev, 268 .strings = dev_strings,
|
| A D | ether.c | 181 .strings = strings_dev, 474 .strings = dev_strings,
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | ethtool_common.c | 220 if (strings) { in efx_fill_test() 254 u8 *strings, u64 *data) in efx_fill_loopback_test() argument 270 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 297 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument 312 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests() 316 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests() 344 strings, data); in efx_ethtool_fill_self_tests() 406 if (!strings) in efx_describe_per_queue_stats() 417 if (!strings) in efx_describe_per_queue_stats() 429 if (!strings) in efx_describe_per_queue_stats() [all …]
|
| /drivers/net/ethernet/sfc/ |
| A D | ethtool_common.c | 268 if (strings) { in efx_fill_test() 302 u8 *strings, u64 *data) in efx_fill_loopback_test() argument 345 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument 360 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests() 364 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests() 392 strings, data); in efx_ethtool_fill_self_tests() 406 if (!strings) in efx_describe_per_queue_stats() 417 if (!strings) in efx_describe_per_queue_stats() 429 if (!strings) in efx_describe_per_queue_stats() 458 u32 string_set, u8 *strings) in efx_ethtool_get_strings() argument [all …]
|
| A D | ethtool_common.h | 26 u8 *strings, u64 *data); 29 u8 *strings);
|
| /drivers/xen/xenbus/ |
| A D | xenbus_xs.c | 395 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 418 *num = count_strings(strings, len); in split() 423 kfree(strings); in split() 426 memcpy(&ret[*num], strings, len); in split() 427 kfree(strings); in split() 429 strings = (char *)&ret[*num]; in split() 430 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split() 439 char *strings, *path; in xenbus_directory() local 448 if (IS_ERR(strings)) in xenbus_directory() 449 return ERR_CAST(strings); in xenbus_directory() [all …]
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | ethtool.c | 220 if (strings) { in ef4_fill_test() 255 u8 *strings, u64 *data) in ef4_fill_loopback_test() argument 271 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 275 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 298 u8 *strings, u64 *data) in ef4_ethtool_fill_self_tests() argument 313 ef4_fill_test(n++, strings, data, in ef4_ethtool_fill_self_tests() 317 ef4_fill_test(n++, strings, data, in ef4_ethtool_fill_self_tests() 350 strings, data); in ef4_ethtool_fill_self_tests() 364 if (!strings) in ef4_describe_per_queue_stats() 375 if (!strings) in ef4_describe_per_queue_stats() [all …]
|
| /drivers/of/ |
| A D | unittest.c | 715 const char *strings[4]; in of_unittest_property_string() local 751 rc = of_property_read_string_index(np, "string-property", 0, strings); in of_unittest_property_string() 753 strings[0] = NULL; in of_unittest_property_string() 754 rc = of_property_read_string_index(np, "string-property", 1, strings); in of_unittest_property_string() 762 strings[0] = NULL; in of_unittest_property_string() 765 strings[0] = NULL; in of_unittest_property_string() 770 strings[0] = NULL; in of_unittest_property_string() 773 strings[1] = NULL; in of_unittest_property_string() 786 strings[2] = NULL; in of_unittest_property_string() 789 strings[1] = NULL; in of_unittest_property_string() [all …]
|
| A D | base.c | 438 const char * const*strings) in __of_device_is_status() argument 451 while (*strings) { in __of_device_is_status() 452 unsigned int len = strlen(*strings); in __of_device_is_status() 454 if ((*strings)[len - 1] == '-') { in __of_device_is_status() 455 if (!strncmp(status, *strings, len)) in __of_device_is_status() 458 if (!strcmp(status, *strings)) in __of_device_is_status() 461 strings++; in __of_device_is_status()
|
| /drivers/usb/gadget/ |
| A D | composite.c | 1267 sp = composite->strings; in get_string() 1272 sp = c->strings; in get_string() 1277 sp = f->strings; in get_string() 1324 if (composite->strings) { in get_string() 1330 if (c->strings) { in get_string() 1336 if (!f->strings) in get_string() 1435 gs->strings = stash; in copy_gadget_strings() 1436 org_s = sp[n_gs]->strings; in copy_gadget_strings() 1502 m_s = n_gs[0]->strings; in usb_gstrings_attach() 1503 s = n_gs[i]->strings; in usb_gstrings_attach() [all …]
|
| A D | usbstring.c | 49 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
|
| /drivers/usb/early/ |
| A D | xhci-dbc.c | 231 struct xdbc_strings *strings; in xdbc_mem_init() local 272 strings = (struct xdbc_strings *)xdbc.string_base; in xdbc_mem_init() 277 s_desc = (struct usb_string_descriptor *)strings->serial; in xdbc_mem_init() 286 s_desc = (struct usb_string_descriptor *)strings->product; in xdbc_mem_init() 295 s_desc = (struct usb_string_descriptor *)strings->manufacturer; in xdbc_mem_init() 304 strings->string0[0] = 4; in xdbc_mem_init() 305 strings->string0[1] = USB_DT_STRING; in xdbc_mem_init() 306 strings->string0[2] = 0x09; in xdbc_mem_init() 307 strings->string0[3] = 0x04; in xdbc_mem_init()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_ethtool.c | 453 int i, strings = 0; in mlx4_en_get_strings() local 472 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() 477 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() 479 for (i = 0; i < NUM_PF_STATS; i++, strings++, in mlx4_en_get_strings() 482 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() 487 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() 489 for (i = 0; i < NUM_PKT_STATS; i++, strings++, in mlx4_en_get_strings() 492 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() 494 for (i = 0; i < NUM_XDP_STATS; i++, strings++, in mlx4_en_get_strings() 497 ethtool_puts(&data, main_strings[strings]); in mlx4_en_get_strings() [all …]
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | icp_qat_uclo.h | 223 u64 strings; member 531 unsigned int strings; member 557 unsigned int strings; member
|
| /drivers/usb/host/ |
| A D | xhci-dbgcap.c | 55 static u32 xhci_dbc_populate_strings(struct dbc_str_descs *strings) in xhci_dbc_populate_strings() argument 61 s_desc = (struct usb_string_descriptor *)strings->serial; in xhci_dbc_populate_strings() 72 s_desc = (struct usb_string_descriptor *)strings->product; in xhci_dbc_populate_strings() 83 s_desc = (struct usb_string_descriptor *)strings->manufacturer; in xhci_dbc_populate_strings() 95 strings->string0[0] = 4; in xhci_dbc_populate_strings() 96 strings->string0[1] = USB_DT_STRING; in xhci_dbc_populate_strings() 97 strings->string0[2] = 0x09; in xhci_dbc_populate_strings() 98 strings->string0[3] = 0x04; in xhci_dbc_populate_strings()
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_gt_pm_debugfs.c | 466 static const char * const strings[] = { in rps_power_to_str() local 472 if (power >= ARRAY_SIZE(strings) || !strings[power]) in rps_power_to_str() 475 return strings[power]; in rps_power_to_str()
|
| /drivers/usb/gadget/udc/aspeed-vhub/ |
| A D | hub.c | 166 .strings = (struct usb_string *)ast_vhub_str_array 948 lang_str->strings = str_array; in ast_vhub_str_container_alloc() 955 struct usb_string *src_array = src->strings; in ast_vhub_str_deep_copy() 956 struct usb_string *dest_array = dest->strings; in ast_vhub_str_deep_copy() 1005 .strings = (struct usb_string *)str_array, in ast_vhub_of_parse_str_desc()
|