Searched refs:sscanf (Results 201 - 225 of 472) sorted by relevance

1234567891011>>

/linux-master/drivers/md/
H A Ddm-verity-fec.c621 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 ||
630 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 ||
639 if (sscanf(arg_value, "%hhu%c", &num_c, &dummy) != 1 || !num_c ||
/linux-master/drivers/platform/x86/
H A Dhuawei-wmi.c421 if (sscanf(buf, "%d", &start) != 1)
441 if (sscanf(buf, "%d", &end) != 1)
457 if (sscanf(buf, "%d %d", &start, &end) != 2)
H A Dtoshiba_acpi.c1493 if (sscanf(cmd, " brightness : %i", &value) != 1 &&
1572 if (sscanf(buffer, " lcd_out : %i", &value) == 1)
1574 else if (sscanf(buffer, " crt_out : %i", &value) == 1)
1576 else if (sscanf(buffer, " tv_out : %i", &value) == 1)
1673 if (sscanf(cmd, " force_on : %i", &value) != 1 &&
1744 if (sscanf(cmd, " hotkey_ready : %i", &value) == 1 && value == 0)
H A Dhdaps.c434 if (sscanf(buf, "%d", &invert) != 1 ||
/linux-master/drivers/devfreq/
H A Ddevfreq.c1443 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor);
1598 ret = sscanf(buf, "%lu", &value);
1639 ret = sscanf(buf, "%lu", &value);
1843 ret = sscanf(buf, "%u", &value);
1876 ret = sscanf(buf, "%16s", str_timer);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_attr.c376 if (sscanf(buf, "%d:%x:%x", &val, &start, &size) < 1)
1235 if (sscanf(buf, "%d", &val) != 1)
1268 if (sscanf(buf, "%d", &val) != 1)
1298 if (sscanf(buf, "%d", &val) != 1)
1333 if (sscanf(buf, "%d", &val) != 1)
1389 n = sscanf(buf, "%hx %hx %hx %hx", word+0, word+1, word+2, word+3);
1745 if (sscanf(buf, "%d", &val) != 1)
1914 if (sscanf(buf, "%d", &rval) != 1)
2306 if (sscanf(buf, "%d", &val) != 1)
2343 if (sscanf(bu
[all...]
/linux-master/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1412 ret = sscanf(cfg->raw + cfg->raw_pos, "%x %x %x%n",
1427 ret = sscanf(cfg->raw + cfg->raw_pos, "%hhx%n",
1469 ret = sscanf(cfg->raw + cfg->raw_pos, "%hhx%n",
1574 ret = sscanf(cfg.raw + cfg.raw_pos, "%hhx%n",
1599 ret = sscanf(cfg.raw + cfg.raw_pos, "%x%n", &info_crc, &offset);
1607 ret = sscanf(cfg.raw + cfg.raw_pos, "%x%n", &config_crc, &offset);
/linux-master/drivers/scsi/
H A Dscsi_debug.c962 if (sscanf(buf, "- %d %hhx", &type, &cmd) != 2) {
1045 if (sscanf(buf, "%d", &inject_type) != 1) {
1060 if (sscanf(buf, "%d %d %hhx", &inject->type, &inject->cnt,
1066 if (sscanf(buf, "%d %d %hhx %x", &inject->type, &inject->cnt,
1072 if (sscanf(buf, "%d %d %hhx %hhx %hhx %hhx %hhx %hhx %hhx",
6438 if (1 != sscanf(arr, "%d", &opts))
6566 if (count > 0 && sscanf(buf, "%d", &jdelay) == 1) {
6606 if ((count > 0) && (1 == sscanf(buf, "%d", &ndelay)) &&
6649 if (sscanf(buf, "%10s", work) == 1) {
6681 if ((count > 0) && (1 == sscanf(bu
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c495 ret = sscanf(buf, "%u %u %u", &tid, &initiator, &reason);
546 ret = sscanf(buf, "%u %u", &tid, &status);
596 ret = sscanf(buf, "%u %u", &tid, &buf_size);
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_attr.c2534 if (sscanf(buf, "%i", &val) != 1)
2804 if (sscanf(buf, "%i", &val) != 1)\
2957 if (sscanf(buf, "%i", &val) != 1)\
3302 if (sscanf(buf, "%i", &val) != 1)
3534 if (sscanf(buf, "0x%llx", &scsi_lun) != 1)
4187 if (sscanf(val_buf, "%i", &val) != 1)
4322 if (sscanf(val_buf, "%i", &val) != 1)
4483 if (sscanf(buf, "%i", &val) != 1)
4522 if (sscanf(buf, "%i", &val) != 1)
4590 if (sscanf(bu
[all...]
/linux-master/drivers/usb/core/
H A Dsysfs.c100 if (sscanf(buf, "%d", &config) != 1 || config < -1 || config > 255)
413 if (sscanf(buf, "%d", &value) != 1 || value >= INT_MAX/1000 ||
982 result = sscanf(buf, "%u\n", &val);
/linux-master/sound/pci/ac97/
H A Dac97_proc.c370 if (sscanf(line, "%x %x", &reg, &val) != 2)
/linux-master/drivers/usb/usbip/
H A Dvhci_sysfs.c329 if (sscanf(buf, "%u %u %u %u", &port, &sockfd, &devid, &speed) != 4)
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddebugfs.c84 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1)
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_coredump.c249 if (sscanf(utsname()->release, "%u.%u", &os_ver_major, &os_ver_minor) != 2)
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-tpo-td043mtea1.c267 ret = sscanf(buf, "%u %u %u %u %u %u %u %u %u %u %u %u",
/linux-master/drivers/platform/olpc/
H A Dolpc-ec.c274 m = sscanf(cmdbuf, "%x:%u %x %x %x %x %x", &ec_cmd_int[0],
/linux-master/drivers/platform/x86/dell/
H A Ddell_rbu.c622 sscanf(buffer, "%lu", &temp);
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-info.c44 if (sscanf(value, "cpu%d ", &cpunr) != 1)
/linux-master/drivers/iio/gyro/
H A Dadis16136.c441 ret = sscanf(indio_dev->name, "adis%u\n", &device_id);
/linux-master/drivers/leds/trigger/
H A Dledtrig-pattern.c230 ccount = sscanf(buf + offset, "%u %u %n",
/linux-master/tools/testing/selftests/net/
H A Dtoeplitz.c462 ret = sscanf(str + off, "%hhx", &key[i]);
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c386 if (sscanf(buf, "%hd %hd %hd %hd %hd %hd %hd %hd %hd",
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c451 ret = sscanf(optarg, "%d", &timeout);
/linux-master/tools/testing/selftests/x86/
H A Dtest_vsyscall.c119 /* sscanf() is safe here as strlen(name) >= strlen(line) */
120 if (sscanf(line, "%p-%p %c-%cp %*x %*x:%*x %*u %s",

Completed in 323 milliseconds

1234567891011>>