Searched refs:sscanf (Results 151 - 175 of 472) sorted by relevance

1234567891011>>

/linux-master/drivers/s390/crypto/
H A Dap_card.c157 if (sscanf(buf, "%d\n", &cfg) != 1 || cfg < 0 || cfg > 1)
/linux-master/sound/soc/intel/avs/boards/
H A Dhdaudio.c87 ret = sscanf(spcm->id, FEDAI_NAME_PREFIX "%d", &n);
/linux-master/drivers/input/keyboard/
H A Domap-keypad.c153 if (sscanf(buf, "%u", &state) != 1)
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Ddebugfs.c428 if (sscanf(buf, "%u %x %x", &reg_type, &reg_offset, &reg_value) != 3) {
618 ret = sscanf(buf, "%c %x %x", &cmd, &mem_rw.addr, &mem_rw.value);
691 if (sscanf(buf, "%d %d", &offset, &bytes) != 2) {
774 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap);
/linux-master/tools/perf/util/
H A Dtrace-event-parse.c274 if (sscanf(line, "%d %16s", &pid, comm) == 2)
H A Dbpf-event.c370 if ((sscanf(name, "bpf_trampoline_%lu", &id) == 1) ||
371 (sscanf(name, "bpf_dispatcher_%s", disp) == 1))
/linux-master/drivers/soundwire/
H A Dslave.c239 ret = sscanf(compat, "sdw%01x%04hx%04hx%02hhx", &sdw_version,
/linux-master/tools/testing/selftests/
H A Dkselftest.h407 if (uname(&info) || sscanf(info.release, "%u.%u.", &major, &minor) != 2)
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c253 if (sscanf(buf, "%x", &clear_flag) != 1)
377 if (sscanf(buf, "%x,%x", &offset, &len) == 2) {
728 if (sscanf(buf, "%x", &reset_flag) != 1)
774 if (sscanf(buf, "%d", &ht40) != 1)
1122 if (sscanf(buf, "%d", &clear) != 1)
1212 if (sscanf(buf, "%d", &missed) != 1)
1282 if (sscanf(buf, "%d", &timeout) != 1)
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddebugfs.c871 num = sscanf(buf, "%u %llx %u %u", &param, &value, &mod_id_index, &is_end);
1092 ret = sscanf(buf, "0x%x %u", &filter, &mode);
1374 ret = sscanf(buf, "%u %u", &dbr_id, &enable);
1695 ret = sscanf(buf,
1771 ret = sscanf(buf, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx %u",
1816 ret = sscanf(buf, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx %u",
1855 ret = sscanf(buf, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx %u %u %u",
/linux-master/drivers/hid/
H A Dhid-cp2112.c903 if (sscanf(buf, "%hi", &vid) != 1)
913 if (sscanf(buf, "%hi", &pid) != 1)
923 if (sscanf(buf, "%i", &mA) != 1)
931 if (sscanf(buf, "%hhi", &cfg.power_mode) != 1)
938 if (sscanf(buf, "%hhi.%hhi", &cfg.release_major, &cfg.release_minor)
/linux-master/drivers/net/bonding/
H A Dbond_options.c619 rv = sscanf(val->string, "%32s", valstr);
621 rv = sscanf(val->string, "%llu", &val->value);
914 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */
1562 if (sscanf(++delim, "%hd\n", &qid) != 1)
1612 sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/
/linux-master/drivers/md/
H A Ddm-verity-target.c1289 if (sscanf(argv[0], "%u%c", &num, &dummy) != 1 ||
1309 if (sscanf(argv[3], "%u%c", &num, &dummy) != 1 ||
1319 if (sscanf(argv[4], "%u%c", &num, &dummy) != 1 ||
1329 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 ||
1344 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 ||
H A Ddm-writecache.c2376 if (sscanf(string, "%u%c", &wc->block_size, &dummy) != 1 ||
2408 if (sscanf(string, "%llu%c", &start_sector, &dummy) != 1)
2417 if (sscanf(string, "%d%c", &high_wm_percent, &dummy) != 1)
2425 if (sscanf(string, "%d%c", &low_wm_percent, &dummy) != 1)
2433 if (sscanf(string, "%u%c", &wc->max_writeback_jobs, &dummy) != 1)
2438 if (sscanf(string, "%u%c", &wc->autocommit_blocks, &dummy) != 1)
2445 if (sscanf(string, "%u%c", &autocommit_msecs, &dummy) != 1)
2456 if (sscanf(string, "%u%c", &max_age_msecs, &dummy) != 1)
2486 if (sscanf(string, "%u%c", &pause_msecs, &dummy) != 1)
/linux-master/security/tomoyo/
H A Dcommon.c574 sscanf(cp + strlen(find), "=%u", i);
673 if (sscanf(data, "PROFILE_VERSION=%u", &head->w.ns->profile_version)
992 if (sscanf(data, "pid=%u", &pid) == 1 ||
993 (global_pid = true, sscanf(data, "global-pid=%u", &pid) == 1)) {
1007 } else if (sscanf(data, "Q=%u", &pid) == 1) {
1189 if (sscanf(data, "use_profile %u", &idx) == 1
1196 if (sscanf(data, "use_group %u\n", &idx) == 1
2269 if (sscanf(data, "A%u=%u", &serial, &answer) != 2)
2394 sscanf(data, "%u", &tomoyo_memory_quota[i]);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c164 if (sscanf(buf, "%d %d", &sta_id, &drain) != 2)
234 if (sscanf(buf, "%x,%x", &offset, &len) == 2) {
553 if (sscanf(buf + 21, "%d", &val) != 1)
557 if (sscanf(buf + 21, "%d", &val) != 1)
705 if (sscanf(buf, "%u", &bt_tx_prio) != 1)
1437 if (sscanf(buf, "%hhx", &scan_rx_ant) != 1)
1907 args = sscanf(buf, "%i %i", &mvm->dbgfs_prph_reg_addr, &value);
1974 ret = sscanf(buf, "%x %2hhx:%2hhx:%2hhx:%2hhx:%2hhx:%2hhx", &aid,
2062 if (sscanf(buf, "%x,%x,%x,%x,%x,%x,%x",
/linux-master/drivers/nvme/target/
H A Dconfigfs.c151 if (sscanf(page, "%s\n", port->disc_addr.traddr) != 1)
243 if (sscanf(page, "%s\n", port->disc_addr.trsvcid) != 1)
1214 ret = sscanf(page, "%d.%d.%d\n", &major, &minor, &tertiary);
1311 if (sscanf(page, "%hu\n", &cntlid_min) != 1)
1341 if (sscanf(page, "%hu\n", &cntlid_max) != 1)
1564 if (sscanf(page, "%hu\n", &qid_max) != 1)
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c155 if (sscanf(buf, "%x,%x", &offset, &len) == 2) {
158 } else if (sscanf(buf, "%x", &offset) == 1) {
420 if (sscanf(buf, "%x", &reset_flag) != 1)
501 if (sscanf(buf, "%d", &ht40) != 1)
554 if (sscanf(buf, "%d", &value) != 1)
1817 if (sscanf(buf, "%d", &clear) != 1)
1862 if (sscanf(buf, "%d", &trace) != 1)
1933 if (sscanf(buf, "%d", &missed) != 1)
1974 if (sscanf(buf, "%d", &plcp) != 1)
2034 if (sscanf(bu
[all...]
/linux-master/drivers/iommu/amd/
H A Dinit.c3544 if (sscanf(str, "=%d@%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3545 sscanf(str, "=%d@%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5)
3548 if (sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3549 sscanf(str, "[%d]=%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5) {
3582 if (sscanf(str, "=%d@%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3583 sscanf(str, "=%d@%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5)
3586 if (sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3587 sscanf(str, "[%d]=%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5) {
3634 if (sscanf(str, "[%x:%x.%x]=%s", &bus, &dev, &fn, acpiid) == 4 ||
3635 sscanf(st
[all...]
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c411 if (sscanf(buffer, format, &address) == 1) {
1168 sscanf(&filename[ACPI_NAMESEG_SIZE], "%u", instance);
/linux-master/drivers/perf/amlogic/
H A Dmeson_ddr_pmu_core.c304 if (sscanf(value, "config1:%d", &id) == 1)
307 if (sscanf(value, "config2:%d", &id) == 1)
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_vce.c106 if (sscanf(c, "%2hhd.%2hhd.%2hhd]", &start, &mid, &end) != 3)
121 if (sscanf(c, "%2u]", &rdev->vce.fb_version) != 1)
/linux-master/drivers/leds/
H A Dleds-lp5521.c227 ret = sscanf(data + offset, "%2s%n ", c, &nrchars);
231 ret = sscanf(c, "%2x", &cmd);
/linux-master/drivers/s390/cio/
H A Dchp.c254 num_args = sscanf(buf, "%5s", cmd);
301 if (sscanf(buf, "%d %c", &val, &delim) != 1)
/linux-master/sound/soc/sof/
H A Dipc3-dtrace.c69 ret = sscanf(line, " %n", &read);
73 ret = sscanf(line, " %d %x %d %d %n", &log_level, &uuid_id, &pipe_id, &comp_id, &read);

Completed in 287 milliseconds

1234567891011>>