/kernel/linux/linux-5.10/sound/usb/hiface/ |
D | chip.c | 59 const char *device_name; member 85 if (quirk && quirk->device_name) in hiface_chip_create() 86 strlcpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create() 181 .device_name = "Young", 188 .device_name = "hiFace", 194 .device_name = "North Star", 200 .device_name = "W4S Young", 206 .device_name = "Corrson", 212 .device_name = "AUDIA", 218 .device_name = "SL Audio", [all …]
|
/kernel/linux/linux-5.10/tools/gpio/ |
D | gpio-utils.c | 58 int gpiotools_request_linehandle(const char *device_name, unsigned int *lines, in gpiotools_request_linehandle() argument 69 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in gpiotools_request_linehandle() 125 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument 136 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in gpiotools_request_line() 269 int gpiotools_get(const char *device_name, unsigned int line) in gpiotools_get() argument 275 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get() 294 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument 305 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets() 331 int gpiotools_set(const char *device_name, unsigned int line, in gpiotools_set() argument 336 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set() [all …]
|
D | gpio-utils.h | 27 int gpiotools_request_linehandle(const char *device_name, unsigned int *lines, 33 int gpiotools_request_line(const char *device_name, 42 int gpiotools_get(const char *device_name, unsigned int line); 43 int gpiotools_gets(const char *device_name, unsigned int *lines, 45 int gpiotools_set(const char *device_name, unsigned int line, 47 int gpiotools_sets(const char *device_name, unsigned int *lines,
|
D | gpio-event-mon.c | 28 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() 166 const char *device_name = NULL; in main() local 182 device_name = optarg; in main() 222 if (!device_name || num_lines == 0) { in main() 231 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
|
D | gpio-hammer.c | 25 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()
|
D | lsgpio.c | 97 int list_device(const char *device_name) in list_device() argument 105 ret = asprintf(&chrdev_name, "/dev/%s", device_name); in list_device() 176 const char *device_name = NULL; in main() local 183 device_name = optarg; in main() 191 if (device_name) in main() 192 ret = list_device(device_name); in main()
|
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-netdev.c | 48 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 …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | tape_class.c | 46 char * device_name, in register_tape_dev() argument 57 strlcpy(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()
|
D | tape_class.h | 27 char device_name[TAPECLASS_NAME_LEN]; member 54 char * device_name,
|
D | tape_char.c | 66 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()
|
/kernel/linux/linux-5.10/tools/iio/ |
D | iio_generic_buffer.c | 340 char *trigger_name = NULL, *device_name = NULL; in main() local 391 device_name = strdup(optarg); in main() 426 if (dev_num < 0 && !device_name) { in main() 431 } else if (dev_num >= 0 && device_name) { in main() 437 dev_num = find_type_by_name(device_name, "iio:device"); in main() 439 fprintf(stderr, "Failed to find the %s\n", device_name); in main() 450 if (!device_name) { in main() 451 device_name = malloc(IIO_MAX_NAME_LENGTH); in main() 452 if (!device_name) { in main() 456 ret = read_sysfs_string("name", dev_dir_name, device_name); in main() [all …]
|
D | iio_event_monitor.c | 286 const char *device_name; in main() local 297 device_name = argv[1]; in main() 299 dev_num = find_type_by_name(device_name, "iio:device"); in main() 302 device_name, dev_num); in main() 311 chrdev_name = strdup(device_name); in main()
|
/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
D | mantis_input.c | 41 snprintf(mantis->device_name, sizeof(mantis->device_name), in mantis_input_init() 46 dev->device_name = mantis->device_name; in mantis_input_init()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-rnbd-server | 14 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
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | synclinkmp.c | 223 char device_name[25]; /* device instance name */ member 731 __FILE__, __LINE__, info->device_name, in install() 777 __FILE__,__LINE__, info->device_name, retval); in open() 783 __FILE__,__LINE__, info->device_name); in open() 809 __FILE__,__LINE__, info->device_name, info->port.count); in close() 841 __FILE__,__LINE__, info->device_name ); in hangup() 917 __FILE__,__LINE__,info->device_name,count); in write() 982 __FILE__,__LINE__,info->device_name,ret); in write() 996 __FILE__,__LINE__,info->device_name,ch); in put_char() 1032 __FILE__,__LINE__, info->device_name, ch ); in send_xchar() [all …]
|
D | synclink_gt.c | 220 char device_name[25]; member 500 printk("%s %s data:\n",info->device_name, label); in trace_block() 610 DBGERR(("%s init error=%d\n", info->device_name, info->init_error)); in open() 617 DBGINFO(("%s open, old ref count = %d\n", info->device_name, info->port.count)); in open() 643 DBGINFO(("%s block_til_ready rc=%d\n", info->device_name, retval)); in open() 657 DBGINFO(("%s open rc=%d\n", info->device_name, retval)); in open() 667 DBGINFO(("%s close entry, count=%d\n", info->device_name, info->port.count)); in close() 694 DBGINFO(("%s hangup\n", info->device_name)); in hangup() 767 DBGINFO(("%s write count=%d\n", info->device_name, count)); in write() 789 DBGINFO(("%s write rc=%d\n", info->device_name, ret)); in write() [all …]
|
D | synclink.c | 253 char device_name[25]; /* device instance name */ member 982 printk("mgsl_stop(%s)\n",info->device_name); in mgsl_stop() 1005 printk("mgsl_start(%s)\n",info->device_name); in mgsl_start() 1061 __FILE__,__LINE__,info->device_name); in mgsl_bh_handler() 1092 __FILE__,__LINE__,info->device_name); in mgsl_bh_handler() 1102 __FILE__,__LINE__,info->device_name); in mgsl_bh_receive() 1123 __FILE__,__LINE__,info->device_name); in mgsl_bh_transmit() 1141 __FILE__,__LINE__,info->device_name); in mgsl_bh_status() 1344 printk("%s CD now %s...", info->device_name, in mgsl_isr_io_pin() 1603 __FILE__,__LINE__,info->device_name,status); in mgsl_isr_receive_dma() [all …]
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 199 char device_name[25]; /* device instance name */ member 712 printk("tx_pause(%s)\n", info->device_name); in tx_pause() 728 printk("tx_release(%s)\n", info->device_name); in tx_release() 776 __FILE__,__LINE__,info->device_name); in bh_handler() 809 __FILE__,__LINE__,info->device_name); in bh_handler() 815 printk("bh_transmit() entry on %s\n", info->device_name); in bh_transmit() 1004 printk("%s(%d):tx_ready(%s)\n", __FILE__, __LINE__, info->device_name); in tx_ready() 1106 printk("%s CD now %s...", info->device_name, in dcd_change() 1177 printk("mgslpc_isr %s gis=%04X\n", info->device_name,gis); in mgslpc_isr() 1251 __FILE__,__LINE__,info->device_name); in mgslpc_isr() [all …]
|
/kernel/linux/linux-5.10/tools/perf/tests/shell/ |
D | test_arm_coresight.sh | 106 device_name=$(basename $path) 108 if is_device_sink $path $device_name; then 110 record_touch_file $device_name $2 &&
|
/kernel/linux/linux-5.10/drivers/media/pci/smipcie/ |
D | smipcie-ir.c | 143 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ntb_transport.h | 61 int ntb_transport_register_client_dev(char *device_name); 62 void ntb_transport_unregister_client_dev(char *device_name);
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-async.h | 83 const char *device_name; member 247 const char *device_name,
|
/kernel/linux/linux-5.10/drivers/media/common/siano/ |
D | smsir.c | 61 dev->device_name = coredev->ir.name; in sms_ir_init() 79 dev->device_name); in sms_ir_init()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | amlresrc.h | 533 u32 pin_count, u16 *pin_list, char *device_name); 537 union aml_resource *resource, char *device_name); 541 char *mp_get_hid_via_namestring(char *device_name); 552 char *mp_get_ddn_value(char *device_name);
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
D | media-func-open.rst | 22 .. c:function:: int open( const char *device_name, int flags ) 27 ``device_name``
|