[go: nahoru, domu]

Searched refs:strings (Results 1 - 25 of 58) sorted by relevance

123

/drivers/of/
H A Dselftest.c344 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 Dethtool.c205 * @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 Dgmidi.c111 .strings = strings_dev,
164 .strings = dev_strings,
H A Dncm.c97 .strings = strings_dev,
114 /* FIXME alloc iConfiguration string, set it in c->strings */
201 .strings = dev_strings,
H A Dacm_ms.c87 .strings = strings_dev,
265 .strings = dev_strings,
H A Dcdc2.c89 .strings = strings_dev,
228 .strings = dev_strings,
H A Dhid.c102 .strings = strings_dev,
225 .strings = dev_strings,
H A Dmass_storage.c92 .strings = strings_dev,
256 .strings = dev_strings,
H A Daudio.c95 .strings = strings_dev,
174 /* FIXME alloc iConfiguration string, set it in c->strings */
298 .strings = audio_strings,
H A Dether.c198 .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 Dnokia.c58 .strings = strings_dev,
344 .strings = dev_strings,
H A Dserial.c58 .strings = strings_dev,
236 .strings = dev_strings,
H A Dmulti.c114 .strings = strings_dev,
503 .strings = dev_strings,
H A Dprinter.c106 * 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 Dwebcam.c66 .strings = webcam_strings,
428 .strings = webcam_device_strings,
H A Dzero.c163 .strings = strings_dev,
427 .strings = dev_strings,
H A Dg_ffs.c127 .strings = gfs_strings,
167 .strings = gfs_dev_strings,
/drivers/usb/gadget/
H A Dusbstring.c24 * @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 Dcomposite.c898 /* 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 Dconfigfs.c111 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 Dxenbus_xs.c344 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 DKconfig9 strings for every new USB device to the syslog. This option is
/drivers/usb/gadget/function/
H A Df_serial.c140 .strings = gser_string_defs,
197 /* REVISIT might want instance-specific strings to help
375 gser->port.func.strings = gser_strings;
H A Df_loopback.c156 /* function-specific strings: */
165 .strings = strings_loopback,
409 loop->function.strings = loopback_strings;
/drivers/crypto/qat/qat_common/
H A Dicp_qat_uclo.h190 uint64_t strings; member in struct:icp_qat_uof_strtable

Completed in 206 milliseconds

123