Lines Matching refs:seqf

1219 static int basic_string_show(struct seq_file *seqf, void *ignored)  in basic_string_show()  argument
1221 const char *str = seqf->private; in basic_string_show()
1223 seq_printf(seqf, "%s\n", str); in basic_string_show()
1229 static int fungible_show(struct seq_file *seqf, enum hp_wmi_property prop) in fungible_show() argument
1236 info = seqf->private; in fungible_show()
1246 seq_printf(seqf, "%u\n", nsensor->operational_status); in fungible_show()
1250 seq_printf(seqf, "%s\n", nsensor->current_state); in fungible_show()
1254 seq_printf(seqf, "%d\n", nsensor->unit_modifier); in fungible_show()
1258 seq_printf(seqf, "%u\n", nsensor->current_reading); in fungible_show()
1268 static int operational_status_show(struct seq_file *seqf, void *ignored) in operational_status_show() argument
1270 return fungible_show(seqf, HP_WMI_PROPERTY_OPERATIONAL_STATUS); in operational_status_show()
1274 static int current_state_show(struct seq_file *seqf, void *ignored) in current_state_show() argument
1276 return fungible_show(seqf, HP_WMI_PROPERTY_CURRENT_STATE); in current_state_show()
1280 static int possible_states_show(struct seq_file *seqf, void *ignored) in possible_states_show() argument
1282 struct hp_wmi_numeric_sensor *nsensor = seqf->private; in possible_states_show()
1286 seq_printf(seqf, "%s%s", i ? "," : "", in possible_states_show()
1289 seq_puts(seqf, "\n"); in possible_states_show()
1295 static int unit_modifier_show(struct seq_file *seqf, void *ignored) in unit_modifier_show() argument
1297 return fungible_show(seqf, HP_WMI_PROPERTY_UNIT_MODIFIER); in unit_modifier_show()
1301 static int current_reading_show(struct seq_file *seqf, void *ignored) in current_reading_show() argument
1303 return fungible_show(seqf, HP_WMI_PROPERTY_CURRENT_READING); in current_reading_show()