Lines Matching refs:fn_index
202 enum intel_hid_dsm_fn_codes fn_index, in intel_hid_execute_method() argument
209 if (fn_index <= INTEL_HID_DSM_FN_INVALID || in intel_hid_execute_method()
210 fn_index >= INTEL_HID_DSM_FN_MAX) in intel_hid_execute_method()
213 method_name = (char *)intel_hid_dsm_fn_to_method[fn_index]; in intel_hid_execute_method()
215 if (!(intel_hid_dsm_fn_mask & BIT(fn_index))) in intel_hid_execute_method()
226 obj = acpi_evaluate_dsm(handle, &intel_dsm_guid, 1, fn_index, &argv4); in intel_hid_execute_method()
229 fn_index, method_name); in intel_hid_execute_method()
243 enum intel_hid_dsm_fn_codes fn_index, in intel_hid_evaluate_method() argument
250 if (fn_index <= INTEL_HID_DSM_FN_INVALID || in intel_hid_evaluate_method()
251 fn_index >= INTEL_HID_DSM_FN_MAX) in intel_hid_evaluate_method()
254 method_name = (char *)intel_hid_dsm_fn_to_method[fn_index]; in intel_hid_evaluate_method()
256 if (!(intel_hid_dsm_fn_mask & BIT(fn_index))) in intel_hid_evaluate_method()
260 1, fn_index, in intel_hid_evaluate_method()
266 fn_index, method_name, *result); in intel_hid_evaluate_method()