Home
last modified time | relevance | path

Searched refs:device_name (Results 1 – 25 of 167) sorted by relevance

1234567

/Linux-v6.1/include/trace/events/
Dsof_intel.h21 __string(device_name, dev_name(sdev->dev))
25 __assign_str(device_name, dev_name(sdev->dev));
29 __get_str(device_name), __get_str(source))
36 __string(device_name, dev_name(sdev->dev))
41 __assign_str(device_name, dev_name(sdev->dev));
46 __get_str(device_name), __entry->msg, __entry->msg_ext)
63 __string(device_name, dev_name(sdev->dev))
67 __assign_str(device_name, dev_name(sdev->dev));
71 __get_str(device_name), __entry->reg)
78 __string(device_name, dev_name(sdev->dev))
[all …]
Dsof.h46 __string(device_name, dev_name(sdev->dev))
52 __assign_str(device_name, dev_name(sdev->dev));
58 __get_str(device_name), __entry->host_posn, __entry->dai_posn,
71 __string(device_name, dev_name(sdev->dev))
78 __assign_str(device_name, dev_name(sdev->dev));
85 __get_str(device_name), __entry->pcm_id, __entry->stream,
93 __string(device_name, dev_name(dev))
96 __assign_str(device_name, dev_name(dev));
98 TP_printk("device_name=%s", __get_str(device_name))
105 __string(device_name, dev_name(sdev->dev))
[all …]
/Linux-v6.1/sound/usb/hiface/
Dchip.c42 const char *device_name; member
68 if (quirk && quirk->device_name) in hiface_chip_create()
69 strscpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create()
164 .device_name = "Young",
171 .device_name = "hiFace",
177 .device_name = "North Star",
183 .device_name = "W4S Young",
189 .device_name = "Corrson",
195 .device_name = "AUDIA",
201 .device_name = "SL Audio",
[all …]
/Linux-v6.1/tools/gpio/
Dgpio-utils.c57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument
68 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in gpiotools_request_line()
180 int gpiotools_get(const char *device_name, unsigned int line) in gpiotools_get() argument
186 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get()
205 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument
216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets()
242 int gpiotools_set(const char *device_name, unsigned int line, in gpiotools_set() argument
247 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set()
263 int gpiotools_sets(const char *device_name, unsigned int *lines, in gpiotools_sets() argument
278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
Dgpio-event-mon.c28 int monitor_device(const char *device_name, in monitor_device() argument
40 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in monitor_device()
51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device()
72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device()
79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device()
168 const char *device_name = NULL; in main() local
184 device_name = optarg; in main()
230 if (!device_name || num_lines == 0) { in main()
239 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
Dgpio-hammer.c25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument
39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device()
61 fprintf(stdout, "] on %s, initial states: [", device_name); in hammer_device()
129 const char *device_name = NULL; in main() local
143 device_name = optarg; in main()
171 if (!device_name || !num_lines) { in main()
175 return hammer_device(device_name, lines, num_lines, loops); in main()
Dgpio-utils.h27 int gpiotools_request_line(const char *device_name,
36 int gpiotools_get(const char *device_name, unsigned int line);
37 int gpiotools_gets(const char *device_name, unsigned int *lines,
39 int gpiotools_set(const char *device_name, unsigned int line,
41 int gpiotools_sets(const char *device_name, unsigned int *lines,
Dlsgpio.c101 int list_device(const char *device_name) in list_device() argument
109 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in list_device()
180 const char *device_name = NULL; in main() local
187 device_name = optarg; in main()
195 if (device_name) in main()
196 ret = list_device(device_name); in main()
/Linux-v6.1/sound/pci/hda/
Dcs35l41_hda_i2c.c17 const char *device_name; in cs35l41_hda_i2c_probe() local
24 device_name = "CLSA0100"; in cs35l41_hda_i2c_probe()
26 device_name = "CLSA0101"; in cs35l41_hda_i2c_probe()
28 device_name = "CSC3551"; in cs35l41_hda_i2c_probe()
32 return cs35l41_hda_probe(&clt->dev, device_name, clt->addr, clt->irq, in cs35l41_hda_i2c_probe()
Dcs35l41_hda_spi.c17 const char *device_name; in cs35l41_hda_spi_probe() local
24 device_name = "CSC3551"; in cs35l41_hda_spi_probe()
28 return cs35l41_hda_probe(&spi->dev, device_name, spi->chip_select, spi->irq, in cs35l41_hda_spi_probe()
/Linux-v6.1/drivers/leds/trigger/
Dledtrig-netdev.c48 char device_name[IFNAMSIZ]; member
101 len = sprintf(buf, "%s\n", trigger_data->device_name); in device_name_show()
125 memcpy(trigger_data->device_name, buf, size); in device_name_store()
126 trigger_data->device_name[size] = 0; in device_name_store()
127 if (size > 0 && trigger_data->device_name[size - 1] == '\n') in device_name_store()
128 trigger_data->device_name[size - 1] = 0; in device_name_store()
130 if (trigger_data->device_name[0] != 0) in device_name_store()
132 dev_get_by_name(&init_net, trigger_data->device_name); in device_name_store()
147 static DEVICE_ATTR_RW(device_name);
310 (evt == NETDEV_CHANGENAME && !strcmp(dev->name, trigger_data->device_name)) || in netdev_trig_notify()
[all …]
/Linux-v6.1/drivers/s390/char/
Dtape_class.c46 char * device_name, in register_tape_dev() argument
57 strscpy(tcd->device_name, device_name, TAPECLASS_NAME_LEN); in register_tape_dev()
58 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
79 "%s", tcd->device_name); in register_tape_dev()
Dtape_class.h27 char device_name[TAPECLASS_NAME_LEN]; member
54 char * device_name,
Dtape_char.c66 char device_name[20]; in tapechar_setup_device() local
68 sprintf(device_name, "ntibm%i", device->first_minor / 2); in tapechar_setup_device()
73 device_name, in tapechar_setup_device()
76 device_name[0] = 'r'; in tapechar_setup_device()
81 device_name, in tapechar_setup_device()
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-rnbd-server14 What: /sys/class/rnbd-server/ctl/devices/<device_name>/block_dev
23 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/
30 /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/
34 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/read_only
40 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/mapping_path
46 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/access_mode
52 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/force_close
/Linux-v6.1/drivers/media/pci/mantis/
Dmantis_input.c41 snprintf(mantis->device_name, sizeof(mantis->device_name), in mantis_input_init()
46 dev->device_name = mantis->device_name; in mantis_input_init()
/Linux-v6.1/tools/iio/
Diio_generic_buffer.c345 char *trigger_name = NULL, *device_name = NULL; in main() local
409 device_name = strdup(optarg); in main()
444 if (dev_num < 0 && !device_name) { in main()
449 } else if (dev_num >= 0 && device_name) { in main()
455 dev_num = find_type_by_name(device_name, "iio:device"); in main()
457 fprintf(stderr, "Failed to find the %s\n", device_name); in main()
468 if (!device_name) { in main()
469 device_name = malloc(IIO_MAX_NAME_LENGTH); in main()
470 if (!device_name) { in main()
474 ret = read_sysfs_string("name", dev_dir_name, device_name); in main()
[all …]
Diio_event_monitor.c339 const char *device_name; in main() local
348 device_name = argv[1]; in main()
350 device_name = argv[2]; in main()
361 dev_num = find_type_by_name(device_name, "iio:device"); in main()
364 device_name, dev_num); in main()
377 chrdev_name = strdup(device_name); in main()
/Linux-v6.1/drivers/tty/
Dsynclink_gt.c217 char device_name[25]; member
497 printk("%s %s data:\n",info->device_name, label); in trace_block()
603 DBGERR(("%s init error=%d\n", info->device_name, info->init_error)); in open()
610 DBGINFO(("%s open, old ref count = %d\n", info->device_name, info->port.count)); in open()
635 DBGINFO(("%s block_til_ready rc=%d\n", info->device_name, retval)); in open()
649 DBGINFO(("%s open rc=%d\n", info->device_name, retval)); in open()
659 DBGINFO(("%s close entry, count=%d\n", info->device_name, info->port.count)); in close()
686 DBGINFO(("%s hangup\n", info->device_name)); in hangup()
760 DBGINFO(("%s write count=%d\n", info->device_name, count)); in write()
782 DBGINFO(("%s write rc=%d\n", info->device_name, ret)); in write()
[all …]
/Linux-v6.1/tools/perf/tests/shell/
Dtest_arm_coresight.sh120 device_name=$(basename $path)
122 if is_device_sink $path $device_name; then
124 record_touch_file $device_name $2 &&
130 arm_cs_report "CoreSight path testing (CPU$2 -> $device_name)" $err
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c199 char device_name[25]; /* device instance name */ member
710 printk("tx_pause(%s)\n", info->device_name); in tx_pause()
726 printk("tx_release(%s)\n", info->device_name); in tx_release()
774 __FILE__,__LINE__,info->device_name); in bh_handler()
807 __FILE__,__LINE__,info->device_name); in bh_handler()
813 printk("bh_transmit() entry on %s\n", info->device_name); in bh_transmit()
1002 printk("%s(%d):tx_ready(%s)\n", __FILE__, __LINE__, info->device_name); in tx_ready()
1104 printk("%s CD now %s...", info->device_name, in dcd_change()
1175 printk("mgslpc_isr %s gis=%04X\n", info->device_name,gis); in mgslpc_isr()
1249 __FILE__,__LINE__,info->device_name); in mgslpc_isr()
[all …]
/Linux-v6.1/drivers/media/pci/smipcie/
Dsmipcie-ir.c143 snprintf(ir->device_name, sizeof(ir->device_name), "IR (%s)", in smi_ir_init()
151 rc_dev->device_name = ir->device_name; in smi_ir_init()
/Linux-v6.1/include/linux/
Dntb_transport.h61 int ntb_transport_register_client_dev(char *device_name);
62 void ntb_transport_unregister_client_dev(char *device_name);
/Linux-v6.1/drivers/media/common/siano/
Dsmsir.c61 dev->device_name = coredev->ir.name; in sms_ir_init()
79 dev->device_name); in sms_ir_init()
/Linux-v6.1/drivers/acpi/acpica/
Damlresrc.h550 u32 pin_count, u16 *pin_list, char *device_name);
554 union aml_resource *resource, char *device_name);
558 char *mp_get_hid_via_namestring(char *device_name);
569 char *mp_get_ddn_value(char *device_name);

1234567