Lines Matching defs:query
296 * query: The commandtype (enum hp_wmi_commandtype)
303 * an HP WMI query specific error code (which is positive)
304 * -EINVAL if the query was not successful at all
308 * size. E.g. Battery info query is defined to have 1 byte input
313 static int hp_wmi_perform_query(int query, enum hp_wmi_command command,
339 args->commandtype = query;
354 pr_warn("query 0x%x returned an invalid object 0x%x\n", query, ret);
365 pr_warn("query 0x%x returned error 0x%x\n", query, ret);
401 static int hp_wmi_read_int(int query)
405 ret = hp_wmi_perform_query(query, HPWMI_READ, &val,
572 int query = BIT(r + 8) | ((!blocked) << r);
576 &query, sizeof(query), 0);
1100 pr_warn("unable to parse 0x1b query output\n");