Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 212) sorted by relevance

123456789

/drivers/acpi/acpica/
A Ddsmethod.c323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
342 (!(obj_desc->method. in acpi_ds_begin_method_execution()
378 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
398 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
417 if (!obj_desc->method.owner_id) { in acpi_ds_begin_method_execution()
428 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution()
435 if (obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
749 if (method_desc->method. in acpi_ds_terminate_control_method()
753 method. in acpi_ds_terminate_control_method()
813 if (method_desc->method. in acpi_ds_terminate_control_method()
[all …]
A Ddbmethod.c271 struct acpi_namespace_node *method; in acpi_db_disassemble_method() local
273 method = acpi_db_convert_to_node(name); in acpi_db_disassemble_method()
274 if (!method) { in acpi_db_disassemble_method()
278 if (method->type != ACPI_TYPE_METHOD) { in acpi_db_disassemble_method()
280 name, acpi_ut_get_type_name(method->type))); in acpi_db_disassemble_method()
284 obj_desc = method->object; in acpi_db_disassemble_method()
299 obj_desc->method.aml_start, in acpi_db_disassemble_method()
300 obj_desc->method.aml_length, NULL, in acpi_db_disassemble_method()
311 walk_state->owner_id = obj_desc->method.owner_id; in acpi_db_disassemble_method()
315 status = acpi_ds_scope_stack_push(method, method->type, walk_state); in acpi_db_disassemble_method()
[all …]
A Dpsxface.c124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method()
134 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method()
142 info->obj_desc->method.aml_start, in acpi_ps_execute_method()
143 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method()
153 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method()
159 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method()
161 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method()
249 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table()
266 info->obj_desc->method.aml_start, in acpi_ps_execute_table()
267 info->obj_desc->method.aml_length, info, in acpi_ps_execute_table()
[all …]
A Ddbutils.c327 union acpi_parse_object *method; in acpi_db_second_pass_parse() local
340 method = op; in acpi_db_second_pass_parse()
354 method->named.data; in acpi_db_second_pass_parse()
357 method->named.data + method->named.length; in acpi_db_second_pass_parse()
369 (method->common.value.arg)->common.aml_offset + 1; in acpi_db_second_pass_parse()
370 start_op = (method->common.value.arg)->common.next; in acpi_db_second_pass_parse()
A Dexcreate.c429 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method()
430 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method()
431 obj_desc->method.node = operand[0]; in acpi_ex_create_method()
438 obj_desc->method.param_count = (u8) in acpi_ex_create_method()
446 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method()
452 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
A Dnsxfname.c268 param_count = node->object->method.param_count; in acpi_get_object_info()
571 method_obj->method.aml_start = aml_buffer; in ACPI_EXPORT_SYMBOL()
572 method_obj->method.aml_length = aml_length; in ACPI_EXPORT_SYMBOL()
574 method_obj->method.param_count = (u8) in ACPI_EXPORT_SYMBOL()
578 method_obj->method.info_flags = ACPI_METHOD_SERIALIZED; in ACPI_EXPORT_SYMBOL()
580 method_obj->method.sync_level = (u8) in ACPI_EXPORT_SYMBOL()
A Dnsparse.c95 method_obj->method.aml_start = aml_start; in acpi_ns_execute_table()
96 method_obj->method.aml_length = aml_length; in acpi_ns_execute_table()
97 method_obj->method.owner_id = owner_id; in acpi_ns_execute_table()
98 method_obj->method.info_flags |= ACPI_METHOD_MODULE_LEVEL; in acpi_ns_execute_table()
/drivers/iio/adc/
A Dtwl4030-madc.c133 u16 method; member
500 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
502 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
521 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
553 method->ctrl); in twl4030_madc_start_conversion()
556 method->ctrl); in twl4030_madc_start_conversion()
614 if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { in twl4030_madc_conversion()
623 method = &twl4030_conversion_methods[req->method]; in twl4030_madc_conversion()
634 method->avg); in twl4030_madc_conversion()
638 method->avg); in twl4030_madc_conversion()
[all …]
/drivers/platform/x86/
A Dmsi-wmi-platform.c88 enum msi_wmi_platform_method method; member
143 enum msi_wmi_platform_method method, u8 *input, in msi_wmi_platform_query() argument
163 status = wmidev_evaluate_method(data->wdev, 0x0, method, &in, &out); in msi_wmi_platform_query()
248 ret = msi_wmi_platform_query(data->data, data->method, payload, data->length, data->buffer, in msi_wmi_platform_write()
295 const char *name, enum msi_wmi_platform_method method) in msi_wmi_platform_debugfs_add() argument
305 data->method = method; in msi_wmi_platform_debugfs_add()
322 int ret, method; in msi_wmi_platform_debugfs_init() local
334 for (method = MSI_PLATFORM_GET_PACKAGE; method <= MSI_PLATFORM_GET_WMI; method++) in msi_wmi_platform_debugfs_init()
335 msi_wmi_platform_debugfs_add(data, dir, msi_wmi_platform_debugfs_names[method - 1], in msi_wmi_platform_debugfs_init()
336 method); in msi_wmi_platform_debugfs_init()
A Dwmi.c132 const char method, in get_acpi_method_name() argument
139 buffer[1] = method; in get_acpi_method_name()
179 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmi_device_enable() local
192 snprintf(method, sizeof(method), "WE%02X", wblock->gblock.notify_id); in wmi_device_enable()
197 get_acpi_method_name(wblock, 'C', method); in wmi_device_enable()
332 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmidev_evaluate_method() local
371 char method[WMI_ACPI_METHOD_NAME_SIZE]; in __query_block() local
504 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmidev_block_set() local
1007 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmi_create_device() local
1023 method); in wmi_create_device()
[all …]
A Dasus-laptop.c218 const char *method; member
392 if (method == NULL) in acpi_check_handle()
396 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle()
407 pr_warn("Error finding %s\n", method); in acpi_check_handle()
542 if (!strcmp(method, METHOD_MLED)) in asus_led_set()
544 else if (!strcmp(method, METHOD_GLED)) in asus_led_set()
571 asus_led_set(asus, led->method, led->wk); in asus_led_cdev_update()
663 const char *name, const char *method) in asus_led_register() argument
667 if (!method || acpi_check_handle(asus->handle, method, NULL)) in asus_led_register()
671 led->method = method; in asus_led_register()
[all …]
A Dasus-wireless.c52 static acpi_status asus_wireless_method(acpi_handle handle, const char *method, in asus_wireless_method() argument
60 method, param); in asus_wireless_method()
66 s = acpi_evaluate_integer(handle, (acpi_string) method, &p, ret); in asus_wireless_method()
70 method, param, s); in asus_wireless_method()
72 acpi_handle_debug(handle, "%s returned %#llx\n", method, *ret); in asus_wireless_method()
A Deeepc-laptop.c209 const char *method = cm_setv[cm]; in set_acpi() local
211 if (method == NULL) in set_acpi()
216 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi()
217 pr_warn("Error writing %s\n", method); in set_acpi()
223 const char *method = cm_getv[cm]; in get_acpi() local
226 if (method == NULL) in get_acpi()
231 if (read_acpi_int(eeepc->handle, method, &value)) in get_acpi()
232 pr_warn("Error reading %s\n", method); in get_acpi()
239 const char *method = cm_setv[cm]; in acpi_setter_handle() local
242 if (method == NULL) in acpi_setter_handle()
[all …]
/drivers/net/ethernet/sfc/siena/
A Defx_common.c822 RESET_TYPE(method)); in efx_siena_reset()
829 efx_siena_reset_down(efx, method); in efx_siena_reset()
831 rc = efx->type->reset(efx, method); in efx_siena_reset()
840 if (method < RESET_TYPE_MAX_METHOD) in efx_siena_reset()
855 method == RESET_TYPE_DISABLE || in efx_siena_reset()
883 enum reset_type method; in efx_reset_work() local
886 method = fls(pending) - 1; in efx_reset_work()
888 if (method == RESET_TYPE_MC_BIST) in efx_reset_work()
913 enum reset_type method; in efx_siena_schedule_reset() local
932 method = type; in efx_siena_schedule_reset()
[all …]
/drivers/net/ethernet/sfc/
A Defx_common.c798 RESET_TYPE(method)); in efx_reset()
805 efx_reset_down(efx, method); in efx_reset()
807 rc = efx->type->reset(efx, method); in efx_reset()
831 method == RESET_TYPE_DISABLE || in efx_reset()
859 enum reset_type method; in efx_reset_work() local
862 method = fls(pending) - 1; in efx_reset_work()
864 if (method == RESET_TYPE_MC_BIST) in efx_reset_work()
882 (void)efx_reset(efx, method); in efx_reset_work()
889 enum reset_type method; in efx_schedule_reset() local
908 method = type; in efx_schedule_reset()
[all …]
/drivers/infiniband/hw/mthca/
A Dmthca_mad.c116 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop()
155 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override()
210 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP && !slid) { in mthca_process_mad()
223 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
224 in->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad()
225 in->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
239 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
240 in->mad_hdr.method != IB_MGMT_METHOD_SET) in mthca_process_mad()
246 in->mad_hdr.method == IB_MGMT_METHOD_SET && in mthca_process_mad()
270 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
/drivers/infiniband/core/
A Dmad.c193 if (method) { in is_vendor_method_in_use()
459 if (method) { in ib_register_mad_agent()
1403 *method = kzalloc(sizeof **method, GFP_ATOMIC); in allocate_method_table()
1503 if (!*method) { in add_nonoui_reg_req()
1576 if (!*method) in add_oui_reg_req()
1661 if (method) { in remove_mad_reg_req()
1698 if (method) { in remove_mad_reg_req()
1777 if (method) in find_mad_agent()
1778 mad_agent = method->agent[mad_hdr->method & in find_mad_agent()
1795 if (method) { in find_mad_agent()
[all …]
A Duverbs_uapi.c99 const struct uverbs_method_def *method, in uapi_merge_method() argument
102 u32 method_key = obj_key | uapi_key_ioctl_method(method->id); in uapi_merge_method()
107 if (!method->attrs) in uapi_merge_method()
118 if (WARN_ON(method->handler)) in uapi_merge_method()
121 WARN_ON(!method->handler); in uapi_merge_method()
122 rcu_assign_pointer(method_elm->handler, method->handler); in uapi_merge_method()
123 if (method->handler != uverbs_destroy_def_handler) in uapi_merge_method()
127 for (i = 0; i != method->num_attrs; i++) { in uapi_merge_method()
128 const struct uverbs_attr_def *attr = (*method->attrs)[i]; in uapi_merge_method()
211 if (!method) in uapi_merge_obj_tree()
[all …]
/drivers/acpi/dptf/
A Ddptf_pch_fivr.c17 static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp) in pch_fivr_read() argument
26 status = acpi_evaluate_object(handle, method, NULL, &buffer); in pch_fivr_read()
56 #define PCH_FIVR_SHOW(name, method) \ argument
65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\
72 #define PCH_FIVR_STORE(name, method) \ argument
84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
/drivers/remoteproc/
A Dimx_rproc.c297 .method = IMX_RPROC_MMIO,
303 .method = IMX_RPROC_SMC,
313 .method = IMX_RPROC_MMIO,
331 .method = IMX_RPROC_NONE,
337 .method = IMX_RPROC_NONE,
348 .method = IMX_RPROC_MMIO,
364 .method = IMX_RPROC_SMC,
379 switch (dcfg->method) { in imx_rproc_start()
415 switch (dcfg->method) { in imx_rproc_stop()
936 switch (dcfg->method) { in imx_rproc_detect_mode()
[all …]
/drivers/platform/x86/tuxedo/nb04/
A Dwmi_util.c78 enum tux_wmi_xx_8in_80out_methods method, in tux_wmi_xx_8in_80out() argument
82 return __wmi_method_buffer_out(wdev, method, in->raw, 8, out->raw, 80); in tux_wmi_xx_8in_80out()
86 enum tux_wmi_xx_496in_80out_methods method, in tux_wmi_xx_496in_80out() argument
90 return __wmi_method_buffer_out(wdev, method, in->raw, 496, out->raw, 80); in tux_wmi_xx_496in_80out()
/drivers/input/misc/
A Dapanel.c246 unsigned char method, slave, chip; in apanel_init() local
248 method = readb(p + 1); in apanel_init()
274 else if (method != 1 && method != 2 && method != 4) { in apanel_init()
276 method, devno); in apanel_init()
/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_page_dirty.c48 enum vmw_bo_dirty_method method; member
87 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable()
130 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_scan_mkwrite()
153 if (dirty->method == VMW_BO_DIRTY_PAGETABLE) in vmw_bo_dirty_scan()
177 if (dirty->method != VMW_BO_DIRTY_PAGETABLE || start >= end) in vmw_bo_dirty_pre_unmap()
240 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_add()
245 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_add()
423 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE && in vmw_bo_vm_mkwrite()
476 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE) in vmw_bo_vm_fault()
/drivers/platform/x86/dell/
A Ddell-wmi-ddv.c172 ret = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); in dell_wmi_ddv_query_type()
196 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_INTEGER); in dell_wmi_ddv_query_integer()
210 static int dell_wmi_ddv_query_buffer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_buffer() argument
217 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_PACKAGE); in dell_wmi_ddv_query_buffer()
256 static int dell_wmi_ddv_query_string(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_string() argument
259 return dell_wmi_ddv_query_type(wdev, method, arg, result, ACPI_TYPE_STRING); in dell_wmi_ddv_query_string()
281 ret = dell_wmi_ddv_query_buffer(wdev, method, 0, &obj); in dell_wmi_ddv_update_sensors()
571 enum dell_ddv_method method, in dell_wmi_ddv_channel_init() argument
580 ret = dell_wmi_ddv_update_sensors(wdev, method, sensors, entry_size); in dell_wmi_ddv_channel_init()
993 static int dell_wmi_ddv_buffer_read(struct seq_file *seq, enum dell_ddv_method method) in dell_wmi_ddv_buffer_read() argument
[all …]
/drivers/infiniband/hw/mlx5/
A Dmad.c307 u8 method = in->mad_hdr.method; in mlx5_ib_process_mad() local
314 if (method == IB_MGMT_METHOD_TRAP && !slid) in mlx5_ib_process_mad()
320 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad()
321 method != IB_MGMT_METHOD_SET && in mlx5_ib_process_mad()
322 method != IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad()
332 method == IB_MGMT_METHOD_GET) in mlx5_ib_process_mad()
338 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad()
339 method != IB_MGMT_METHOD_SET) in mlx5_ib_process_mad()
356 if (method == IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad()

Completed in 79 milliseconds

123456789