/Linux-v5.10/tools/power/cpupower/bench/ |
D | parse.c | 178 if (sscanf(line, "%14s = %30s", opt, val) < 2) in prepare_config() 184 sscanf(val, "%li", &config->sleep); in prepare_config() 187 sscanf(val, "%li", &config->load); in prepare_config() 190 sscanf(val, "%li", &config->load_step); in prepare_config() 193 sscanf(val, "%li", &config->sleep_step); in prepare_config() 196 sscanf(val, "%u", &config->cycles); in prepare_config() 199 sscanf(val, "%u", &config->rounds); in prepare_config() 202 sscanf(val, "%u", &config->verbose); in prepare_config() 208 sscanf(val, "%u", &config->cpu); in prepare_config()
|
D | main.c | 93 sscanf(optarg, "%li", &config->sleep); in main() 97 sscanf(optarg, "%li", &config->load); in main() 101 sscanf(optarg, "%u", &config->cpu); in main() 122 sscanf(optarg, "%u", &config->cycles); in main() 126 sscanf(optarg, "%u", &config->rounds); in main() 130 sscanf(optarg, "%li", &config->load_step); in main() 134 sscanf(optarg, "%li", &config->sleep_step); in main()
|
/Linux-v5.10/drivers/char/ |
D | tlclk.c | 333 sscanf(buf, "%lX", &tmp); in store_received_ref_clk3a() 355 sscanf(buf, "%lX", &tmp); in store_received_ref_clk3b() 377 sscanf(buf, "%lX", &tmp); in store_enable_clk3b_output() 398 sscanf(buf, "%lX", &tmp); in store_enable_clk3a_output() 419 sscanf(buf, "%lX", &tmp); in store_enable_clkb1_output() 441 sscanf(buf, "%lX", &tmp); in store_enable_clka1_output() 462 sscanf(buf, "%lX", &tmp); in store_enable_clkb0_output() 483 sscanf(buf, "%lX", &tmp); in store_enable_clka0_output() 504 sscanf(buf, "%lX", &tmp); in store_select_amcb2_transmit_clock() 546 sscanf(buf, "%lX", &tmp); in store_select_amcb1_transmit_clock() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs-vif.c | 136 if (sscanf(buf + 11, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 140 if (sscanf(buf + 15, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 144 if (sscanf(buf + 18, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 148 if (sscanf(buf + 16, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 152 if (sscanf(buf + 16, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 156 if (sscanf(buf + 5, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 160 if (sscanf(buf + 20, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 167 if (sscanf(buf + 14, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 171 if (sscanf(buf + 18, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() 175 if (sscanf(buf + 12, "%d", &val) != 1) in iwl_dbgfs_pm_params_write() [all …]
|
/Linux-v5.10/tools/power/cpupower/utils/helpers/ |
D | cpuid.c | 72 sscanf(value, "processor\t: %u", &proc); in get_cpu_info() 85 sscanf(value, "cpu family\t: %u", in get_cpu_info() 88 sscanf(value, "model\t\t: %u", in get_cpu_info() 91 sscanf(value, "stepping\t: %u", in get_cpu_info()
|
D | bitmask.c | 207 sret = sscanf(p, "%u%c", &a, &nextc); in bitmask_parselist() 215 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 220 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist()
|
/Linux-v5.10/drivers/ide/ |
D | ide.c | 186 if (sscanf(s, "%u.%u:%u", &a, &b, &j) != 3 && in ide_set_dev_param_mask() 187 sscanf(s, "%u.%u", &a, &b) != 2) in ide_set_dev_param_mask() 254 if (sscanf(str, "%u.%u:%u,%u,%u", &a, &b, &c, &h, &s) != 5 && in ide_set_disk_chs() 255 sscanf(str, "%u.%u:%u", &a, &b, &j) != 3) in ide_set_disk_chs() 338 if (sscanf(s, "%d:%d", &i, &j) != 2 && sscanf(s, "%d", &i) != 1) in ide_set_ignore_cable()
|
/Linux-v5.10/drivers/cpufreq/ |
D | cpufreq_conservative.c | 153 ret = sscanf(buf, "%u", &input); in store_sampling_down_factor() 169 ret = sscanf(buf, "%u", &input); in store_up_threshold() 185 ret = sscanf(buf, "%u", &input); in store_down_threshold() 203 ret = sscanf(buf, "%u", &input); in store_ignore_nice_load() 228 ret = sscanf(buf, "%u", &input); in store_freq_step()
|
D | cpufreq_ondemand.c | 210 ret = sscanf(buf, "%u", &input); in store_io_is_busy() 227 ret = sscanf(buf, "%u", &input); in store_up_threshold() 245 ret = sscanf(buf, "%u", &input); in store_sampling_down_factor() 273 ret = sscanf(buf, "%u", &input); in store_ignore_nice_load() 299 ret = sscanf(buf, "%u", &input); in store_powersave_bias()
|
/Linux-v5.10/tools/testing/selftests/rtc/ |
D | setdate.c | 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() 50 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main()
|
/Linux-v5.10/drivers/scsi/bnx2i/ |
D | bnx2i_sysfs.c | 75 if (sscanf(buf, " 0x%x ", &val) > 0) { in bnx2i_set_sq_info() 125 if (sscanf(buf, " 0x%x ", &val) > 0) { in bnx2i_set_ccell_info()
|
/Linux-v5.10/Documentation/sound/cards/ |
D | multisound.sh | 859 X sscanf(argv[0], "0x%x", &io) != 1 || 860 X sscanf(argv[1], "%d", &irq) != 1 || 861 X sscanf(argv[2], "0x%x", &mem) != 1) 907 X sscanf(argv[0], "0x%x", &io) != 1 || 908 X sscanf(argv[1], "%d", &irq) != 1) 919 X sscanf(argv[0], "0x%x", &io0) != 1 || 920 X sscanf(argv[0], "0x%x", &io1) != 1 || 921 X sscanf(argv[1], "%d", &irq) != 1) 932 X sscanf(argv[0], "0x%x", &io) != 1) 948 X sscanf(argv[0], "0x%x", &config_port); [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_debugfs.c | 800 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); in i40e_dbg_command_write() 826 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); in i40e_dbg_command_write() 847 cnt = sscanf(&cmd_buf[9], "%i %i", &uplink_seid, &vsi_seid); in i40e_dbg_command_write() 887 cnt = sscanf(&cmd_buf[9], "%i", &veb_seid); in i40e_dbg_command_write() 916 cnt = sscanf(&cmd_buf[8], "%i %u", &vsi_seid, &v); in i40e_dbg_command_write() 943 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write() 966 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write() 972 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write() 978 cnt = sscanf(&cmd_buf[7], "%i", &vf_id); in i40e_dbg_command_write() 986 cnt = sscanf(&cmd_buf[12], "%i %i %i", in i40e_dbg_command_write() [all …]
|
/Linux-v5.10/drivers/net/wireless/broadcom/b43/ |
D | debugfs.c | 91 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); in shm16read__write_file() 116 res = sscanf(buf, "0x%X 0x%X 0x%X 0x%X", in shm16write__write_file() 167 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); in shm32read__write_file() 192 res = sscanf(buf, "0x%X 0x%X 0x%X 0x%X", in shm32write__write_file() 244 res = sscanf(buf, "0x%X", &addr); in mmio16read__write_file() 264 res = sscanf(buf, "0x%X 0x%X 0x%X", &addr, &mask, &set); in mmio16write__write_file() 308 res = sscanf(buf, "0x%X", &addr); in mmio32read__write_file() 328 res = sscanf(buf, "0x%X 0x%X 0x%X", &addr, &mask, &set); in mmio32write__write_file()
|
/Linux-v5.10/usr/ |
D | gen_init_cpio.c | 143 …if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &ui… in cpio_mkslink_line() 214 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { in cpio_mkgeneric_line() 285 if (7 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d %c %u %u", in cpio_mknod_line() 412 if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) in cpio_mkfile_line() 433 if (sscanf(line + end, "%" str(PATH_MAX) "s %n", in cpio_mkfile_line()
|
/Linux-v5.10/drivers/xen/xen-pciback/ |
D | pci_stub.c | 1010 switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func, in str_to_slot() 1014 sscanf(buf, " %x:%x:%x.* %n", domain, bus, slot, &parsed); in str_to_slot() 1018 sscanf(buf, " %x:%x:*.* %n", domain, bus, &parsed); in str_to_slot() 1026 switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) { in str_to_slot() 1029 sscanf(buf, " %x:%x.* %n", bus, slot, &parsed); in str_to_slot() 1033 sscanf(buf, " %x:*.* %n", bus, &parsed); in str_to_slot() 1047 sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func, in str_to_quirk() 1054 sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size, in str_to_quirk() 1519 err = sscanf(pci_devs_to_hide + pos, in pcistub_init() 1525 sscanf(pci_devs_to_hide + pos, in pcistub_init() [all …]
|
/Linux-v5.10/tools/testing/selftests/vm/ |
D | thuge-gen.c | 68 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", in find_pagesizes() 86 if (sscanf(line, "Hugepagesize: %lu kB", &hps) == 1) { in default_huge_page_size() 128 sscanf(line, "%lu", &val); in read_sysfs()
|
/Linux-v5.10/drivers/ptp/ |
D | ptp_sysfs.c | 46 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store() 105 cnt = sscanf(buf, "%u %lld %u %lld %u", &req.perout.index, in period_store() 137 cnt = sscanf(buf, "%d", &enable); in pps_enable_store() 240 cnt = sscanf(buf, "%u %u", &func, &chan); in ptp_pin_store()
|
/Linux-v5.10/tools/iio/ |
D | lsiio.c | 64 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_device), "%i", in dump_one_device() 87 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_trigger), in dump_one_trigger()
|
/Linux-v5.10/net/atm/ |
D | mpoa_proc.c | 253 if (sscanf(buff, "del %hhu.%hhu.%hhu.%hhu", in parse_qos() 259 if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=tx", in parse_qos() 263 } else if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=%d,%d", in parse_qos()
|
/Linux-v5.10/drivers/md/ |
D | dm-stats.c | 930 s = sscanf(h, "%llu%c", &hi, &ch); in parse_histogram() 981 } else if (sscanf(a, "%llu+%llu%c", &start, &len, &dummy) != 2 || in message_stats_create() 990 if (sscanf(a, "/%u%c", &divisor, &dummy) == 1) { in message_stats_create() 998 } else if (sscanf(a, "%llu%c", &step, &dummy) != 1 || in message_stats_create() 1004 if (a && sscanf(a, "%u%c", &feature_args, &dummy) == 1) { in message_stats_create() 1078 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_delete() 1093 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_clear() 1133 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_print() 1138 sscanf(argv[2], "%lu%c", &idx_start, &dummy) != 1) in message_stats_print() 1141 sscanf(argv[3], "%lu%c", &idx_len, &dummy) != 1) in message_stats_print() [all …]
|
/Linux-v5.10/drivers/power/supply/ |
D | test_power.c | 437 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_capacity() 452 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_voltage() 467 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_charge_counter() 482 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_current()
|
/Linux-v5.10/drivers/net/wireless/marvell/libertas/ |
D | mesh.c | 191 sscanf(buf, "%x", &datum); in lbs_anycast_set() 287 sscanf(buf, "%x", &enable); in lbs_mesh_set() 389 ret = sscanf(buf, "%d", &datum); in bootflag_set() 439 ret = sscanf(buf, "%d", &datum); in boottime_set() 498 ret = sscanf(buf, "%d", &datum); in channel_set() 625 ret = sscanf(buf, "%d", &datum); in protocol_id_set() 686 ret = sscanf(buf, "%d", &datum); in metric_id_set() 747 ret = sscanf(buf, "%d", &datum); in capability_set()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_debugfs.c | 88 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[5], "%x %x", ®, &value); in ixgbe_dbg_reg_ops_write() 99 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[4], "%x", ®); in ixgbe_dbg_reg_ops_write()
|
/Linux-v5.10/drivers/leds/trigger/ |
D | ledtrig-gpio.c | 63 ret = sscanf(buf, "%u", &desired_brightness); in gpio_trig_brightness_store() 126 ret = sscanf(buf, "%u", &gpio); in gpio_trig_gpio_store()
|