/drivers/of/ |
H A D | selftest.c | 344 const char *strings[4]; local 380 rc = of_property_read_string_index(np, "string-property", 0, strings); 381 selftest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i\n", rc); 382 strings[0] = NULL; 383 rc = of_property_read_string_index(np, "string-property", 1, strings); 384 selftest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); 385 rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); 386 selftest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\n", rc); 387 rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); 388 selftest(rc == 0 && !strcmp(strings[ [all...] |
/drivers/net/ethernet/sfc/ |
H A D | ethtool.c | 205 * @strings: Ethtool strings, or %NULL 215 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, argument 226 if (strings) { 233 snprintf(strings + test_index * ETH_GSTRING_LEN, 251 * @strings: Ethtool strings, or %NULL 261 u8 *strings, u64 *data) 268 efx_fill_test(test_index++, strings, data, 272 efx_fill_test(test_index++, strings, dat 257 efx_fill_loopback_test(struct efx_nic *efx, struct efx_loopback_self_tests *lb_tests, enum efx_loopback_mode mode, unsigned int test_index, u8 *strings, u64 *data) argument 302 efx_ethtool_fill_self_tests(struct efx_nic *efx, struct efx_self_tests *tests, u8 *strings, u64 *data) argument 362 efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) argument 411 efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set, u8 *strings) argument [all...] |
/drivers/usb/gadget/legacy/ |
H A D | gmidi.c | 111 .strings = strings_dev, 164 .strings = dev_strings,
|
H A D | ncm.c | 97 .strings = strings_dev, 114 /* FIXME alloc iConfiguration string, set it in c->strings */ 201 .strings = dev_strings,
|
H A D | acm_ms.c | 87 .strings = strings_dev, 265 .strings = dev_strings,
|
H A D | cdc2.c | 89 .strings = strings_dev, 228 .strings = dev_strings,
|
H A D | hid.c | 102 .strings = strings_dev, 225 .strings = dev_strings,
|
H A D | mass_storage.c | 92 .strings = strings_dev, 256 .strings = dev_strings,
|
H A D | audio.c | 95 .strings = strings_dev, 174 /* FIXME alloc iConfiguration string, set it in c->strings */ 298 .strings = audio_strings,
|
H A D | ether.c | 198 .strings = strings_dev, 229 /* FIXME alloc iConfiguration string, set it in c->strings */ 271 /* FIXME alloc iConfiguration string, set it in c->strings */ 472 .strings = dev_strings,
|
H A D | nokia.c | 58 .strings = strings_dev, 344 .strings = dev_strings,
|
H A D | serial.c | 58 .strings = strings_dev, 236 .strings = dev_strings,
|
H A D | multi.c | 114 .strings = strings_dev, 503 .strings = dev_strings,
|
H A D | printer.c | 106 * device descriptor, either numbers or strings or both. These string 126 * DESCRIPTORS ... most are static, but strings and (full) configuration 234 /* static strings, in UTF-8 */ 235 static struct usb_string strings [] = { variable in typeref:struct:usb_string 244 .strings = strings, 1238 ret = usb_string_ids_tab(cdev, strings); 1241 device_desc.iManufacturer = strings[USB_GADGET_MANUFACTURER_IDX].id; 1242 device_desc.iProduct = strings[USB_GADGET_PRODUCT_IDX].id; 1243 device_desc.iSerialNumber = strings[USB_GADGET_SERIAL_ID [all...] |
H A D | webcam.c | 66 .strings = webcam_strings, 428 .strings = webcam_device_strings,
|
H A D | zero.c | 163 .strings = strings_dev, 427 .strings = dev_strings,
|
H A D | g_ffs.c | 127 .strings = gfs_strings, 167 .strings = gfs_dev_strings,
|
/drivers/usb/gadget/ |
H A D | usbstring.c | 24 * @table: of c strings encoded using UTF-8 34 * using this routine after choosing which set of UTF-8 strings to use. 37 * characters (which are also widely used in C strings). 53 for (s = table->strings; s && s->s; s++)
|
H A D | composite.c | 898 /* We support strings in multiple languages ... string descriptor zero 966 sp = composite->strings; 971 sp = c->strings; 976 sp = f->strings; 1023 if (composite->strings) { 1024 len = lookup_string(composite->strings, buf, language, id); 1029 if (c->strings) { 1030 len = lookup_string(c->strings, buf, language, id); 1035 if (!f->strings) 1037 len = lookup_string(f->strings, bu [all...] |
H A D | configfs.c | 111 struct usb_string strings[USB_GADGET_FIRST_AVAIL_IDX]; member in struct:gadget_strings 126 struct usb_string strings; member in struct:gadget_config_name 728 config_group_init_type_name(&cfg->strings_group, "strings", 1383 /* init all strings */ 1391 gs->stringtab_dev.strings = gs->strings; 1392 gs->strings[USB_GADGET_MANUFACTURER_IDX].s = 1394 gs->strings[USB_GADGET_PRODUCT_IDX].s = gs->product; 1395 gs->strings[USB_GADGET_SERIAL_IDX].s = gs->serialnumber; 1429 cn->stringtab_dev.strings [all...] |
/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 344 static unsigned int count_strings(const char *strings, unsigned int len) argument 349 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) 367 static char **split(char *strings, unsigned int len, unsigned int *num) argument 371 /* Count the strings. */ 372 *num = count_strings(strings, len); 377 kfree(strings); 380 memcpy(&ret[*num], strings, len); 381 kfree(strings); 383 strings 393 char *strings, *path; local [all...] |
/drivers/usb/core/ |
H A D | Kconfig | 9 strings for every new USB device to the syslog. This option is
|
/drivers/usb/gadget/function/ |
H A D | f_serial.c | 140 .strings = gser_string_defs, 197 /* REVISIT might want instance-specific strings to help 375 gser->port.func.strings = gser_strings;
|
H A D | f_loopback.c | 156 /* function-specific strings: */ 165 .strings = strings_loopback, 409 loop->function.strings = loopback_strings;
|
/drivers/crypto/qat/qat_common/ |
H A D | icp_qat_uclo.h | 190 uint64_t strings; member in struct:icp_qat_uof_strtable
|