Lines Matching defs:query
197 * query: The commandtype (enum hp_wmi_commandtype)
204 * an HP WMI query specific error code (which is positive)
205 * -EINVAL if the query was not successful at all
209 * size. E.g. Battery info query is defined to have 1 byte input
214 static int hp_wmi_perform_query(int query, enum hp_wmi_command command,
224 .commandtype = query,
258 pr_warn("query 0x%x returned error 0x%x\n", query, ret);
275 static int hp_wmi_read_int(int query)
279 ret = hp_wmi_perform_query(query, HPWMI_READ, &val,
332 int query = BIT(r + 8) | ((!blocked) << r);
336 &query, sizeof(query), 0);
804 pr_warn("unable to parse 0x1b query output\n");