Searched refs:possible_states (Results 1 – 2 of 2) sorted by relevance
272 const char **possible_states; member818 const char **possible_states; in populate_numeric_sensor_from_wobj() local831 possible_states = devm_kcalloc(dev, size, sizeof(*possible_states), in populate_numeric_sensor_from_wobj()833 if (!possible_states) in populate_numeric_sensor_from_wobj()837 nsensor->possible_states = possible_states; in populate_numeric_sensor_from_wobj()884 *possible_states++ = string; in populate_numeric_sensor_from_wobj()1287 nsensor->possible_states[i]); in possible_states_show()1293 DEFINE_SHOW_ATTRIBUTE(possible_states);
91 ``possible_states`` ``Normal,Caution,Critical,Not Present``