Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dhwmon_pmu.c163 char fn_type[24]; in parse_hwmon_filename() local
168 assert(strlen(LONGEST_HWMON_TYPE_STR) < sizeof(fn_type)); in parse_hwmon_filename()
169 strlcpy(fn_type, filename, sizeof(fn_type)); in parse_hwmon_filename()
170 for (size_t i = 0; fn_type[i] != '\0'; i++) { in parse_hwmon_filename()
171 if (fn_type[i] >= '0' && fn_type[i] <= '9') { in parse_hwmon_filename()
172 fn_type[i] = '\0'; in parse_hwmon_filename()
178 if (fn_type[i] == '_') { in parse_hwmon_filename()
179 fn_type[ in parse_hwmon_filename()
[all...]
/linux/include/linux/
H A Dof.h1611 #define _OF_DECLARE_STUB(table, name, compat, fn, fn_type) \ argument
1615 .data = (fn == (fn_type)NULL) ? fn : fn }
1618 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1623 .data = (fn == (fn_type)NULL) ? fn : fn }
1625 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1626 _OF_DECLARE_STUB(table, name, compat, fn, fn_type)