| /OK3568_Linux_fs/kernel/sound/usb/hiface/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/gpio/ |
| H A 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 …]
|
| H A 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()
|
| H A 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,
|
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/leds/trigger/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/iio/ |
| H A 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 …]
|
| H A D | iio_event_monitor.c | 303 const char *device_name; in main() local 314 device_name = argv[1]; in main() 316 dev_num = find_type_by_name(device_name, "iio:device"); in main() 319 device_name, dev_num); in main() 328 chrdev_name = strdup(device_name); in main()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/gypsy/ |
| H A D | qgeosatelliteinfosource_gypsy.cpp | 95 …syEngine::eng_gypsy_control_create (GypsyControl *control, const char *device_name, GError **error) in eng_gypsy_control_create() argument 97 return ::gypsy_control_create(control, device_name, error); in eng_gypsy_control_create() 219 gchar *device_name; in init() local 229 …device_name = m_engine->eng_gconf_client_get_string(client, "/apps/geoclue/master/org.freedesktop.… in init() 231 QString deviceName(QString::fromLatin1(device_name)); in init() 237 m_engine->eng_g_free(device_name); in init() 244 m_engine->eng_g_free(device_name); in init() 248 path = m_engine->eng_gypsy_control_create (control, device_name, &error); in init() 249 m_engine->eng_g_free(device_name); in init()
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/mantis/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/char/pcmcia/ |
| H A 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 …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0025-Support-setting-touch-calibration-through-environmen.patch | 59 - if (cal->device_name) 60 + if (!cal->device_name) 61 + cal->device_name = strdup(device); 68 + if (cal->device_name) 69 + free(cal->device_name); 71 cal->device_name = strdup(device);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0028-Support-setting-touch-calibration-through-environmen.patch | 59 - if (cal->device_name) 60 + if (!cal->device_name) 61 + cal->device_name = strdup(device); 68 + if (cal->device_name) 69 + free(cal->device_name); 71 cal->device_name = strdup(device);
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0028-Support-setting-touch-calibration-through-environmen.patch | 59 - if (cal->device_name) 60 + if (!cal->device_name) 61 + cal->device_name = strdup(device); 68 + if (cal->device_name) 69 + free(cal->device_name); 71 cal->device_name = strdup(device);
|
| /OK3568_Linux_fs/device/rockchip/common/images/oem/oem_cvr/etc/rkadk/8M/ |
| H A D | rkadk_setting_sensor_0.ini | 19 device_name = rkispp_m_bypass key 29 device_name = rkispp_scale0 key 39 device_name = rkispp_scale1 key 49 device_name = rkispp_scale2 key
|
| /OK3568_Linux_fs/device/rockchip/common/images/oem/oem_cvr/etc/rkadk/5M/ |
| H A D | rkadk_setting_sensor_0.ini | 19 device_name = rkispp_m_bypass key 29 device_name = rkispp_scale0 key 39 device_name = rkispp_scale1 key 49 device_name = rkispp_scale2 key
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/shell/ |
| H A 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 &&
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/smipcie/ |
| H A 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()
|
| /OK3568_Linux_fs/buildroot/package/qt5/qt5webengine-chromium/ |
| H A D | 0006-media-capture-linux-Support-libv4l2-plugins.patch | 90 int V4L2CaptureDeviceImpl::open(const char* device_name, int flags) { 91 - return ::open(device_name, flags); 92 + int fd = ::open64(device_name, flags); 99 + VLOG(2) << "Using libv4l2 for " << device_name; 159 int open(const char* device_name, int flags) override;
|