Lines Matching defs:query
314 * query: The commandtype (enum hp_wmi_commandtype)
321 * an HP WMI query specific error code (which is positive)
322 * -EINVAL if the query was not successful at all
326 * size. E.g. Battery info query is defined to have 1 byte input
331 static int hp_wmi_perform_query(int query, enum hp_wmi_command command,
357 args->commandtype = query;
372 pr_warn("query 0x%x returned an invalid object 0x%x\n", query, ret);
383 pr_warn("query 0x%x returned error 0x%x\n", query, ret);
419 static int hp_wmi_read_int(int query)
423 ret = hp_wmi_perform_query(query, HPWMI_READ, &val,
594 int query = BIT(r + 8) | ((!blocked) << r);
598 &query, sizeof(query), 0);
1122 pr_warn("unable to parse 0x1b query output\n");