Searched refs:fn_item (Results 1 – 1 of 1) sorted by relevance
179 const char *fn_item = NULL; in parse_hwmon_filename() local187 *number = strtoul(&filename[i], (char **)&fn_item, 10); in parse_hwmon_filename()188 if (*fn_item == '_') in parse_hwmon_filename()189 fn_item++; in parse_hwmon_filename()195 fn_item = &filename[i + 1]; in parse_hwmon_filename()199 if (fn_item == NULL || fn_type[0] == '\0' || (item != NULL && fn_item[0] == '\0')) { in parse_hwmon_filename()216 fn_item_len = strlen(fn_item); in parse_hwmon_filename()217 if (fn_item_len > 6 && !strcmp(&fn_item[fn_item_len - 6], "_alarm")) { in parse_hwmon_filename()219 strlcpy(fn_type, fn_item, fn_item_len - 5); in parse_hwmon_filename()220 fn_item = fn_type; in parse_hwmon_filename()[all …]