Searched defs:strings (Results 1 - 16 of 16) sorted by relevance

/drivers/scsi/isci/
H A Dremote_node_context.c67 static const char * const strings[] = RNC_STATES; local
69 return strings[state];
H A Dremote_device.c69 static const char * const strings[] = REMOTE_DEV_STATES; local
71 return strings[state];
H A Dphy.c66 static const char * const strings[] = PHY_STATES; local
68 return strings[state];
H A Dport.c67 static const char * const strings[] = PORT_STATES; local
69 return strings[state];
H A Drequest.c68 static const char * const strings[] = REQUEST_STATES; local
70 return strings[state];
/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/media/pci/cx25821/
H A Dcx25821-core.c1248 void cx25821_print_irqbits(char *name, char *tag, char **strings, argument
1258 if (strings[i])
1259 pr_cont(" %s", strings[i]);
/drivers/media/pci/cx88/
H A Dcx88-core.c501 void cx88_print_irqbits(const char *name, const char *tag, const char *strings[], argument
510 if (strings[i])
511 printk(" %s", strings[i]);
/drivers/ps3/
H A Dps3-vuart.c126 static const char *strings[] = { local
140 for (i = 0; i < ARRAY_SIZE(strings); i++) {
145 port_number, strings[i], ps3_result(result));
149 func, line, port_number, strings[i], value);
/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/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...]
H A Dptp.c357 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) argument
363 efx_ptp_stat_mask, strings);
/drivers/usb/gadget/legacy/
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...]
/drivers/crypto/qat/qat_common/
H A Dicp_qat_uclo.h190 uint64_t strings; member in struct:icp_qat_uof_strtable
/drivers/usb/gadget/
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/usb/gadget/function/
H A Df_fs.c295 pr_info("read strings\n");
1541 struct usb_string *str = (*lang)->strings;
1693 /* Parsing and building descriptors and strings *****************************/
1697 * well as record how many interfaces, endpoints and strings are
2232 struct usb_string *strings, *s; local
2247 /* Do we have at least as many strings as descriptors need? */
2253 * If we don't need any strings just return and free all
2268 vla_item(d, struct usb_string, strings,
2290 s = vla_ptr(vlabuf, d, strings);
2291 strings
[all...]

Completed in 4741 milliseconds