Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 2 of 2) sorted by relevance

/tools/power/cpupower/utils/
Dcpufreq-set.c66 const char *scan; in string_to_frequency() local
74 for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { in string_to_frequency()
75 if (*scan == '.' && match_count == 0) in string_to_frequency()
77 else if (*scan == '.' && match_count == 1) in string_to_frequency()
81 if (*scan) { in string_to_frequency()
85 scan[i] && tolower(scan[i]) == unit->str_unit[i]; in string_to_frequency()
88 if (scan[i]) in string_to_frequency()
/tools/perf/arch/arm/util/
Dcs-etm.c537 int scan; in cs_etm_is_etmv4() local
546 scan = perf_pmu__scan_file(cs_etm_pmu, path, "%x", &val); in cs_etm_is_etmv4()
549 if (scan == 1) in cs_etm_is_etmv4()
558 int scan; in cs_etm_get_ro() local
564 scan = perf_pmu__scan_file(pmu, pmu_path, "%x", &val); in cs_etm_get_ro()
565 if (scan != 1) in cs_etm_get_ro()