/drivers/acpi/acpica/ |
D | dsmethod.c | 104 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method() 122 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method() 123 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method() 180 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes() 181 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes() 299 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex() 300 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex() 338 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution() 347 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution() 353 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution() [all …]
|
D | dbmethod.c | 305 struct acpi_namespace_node *method; in acpi_db_disassemble_method() local 307 method = acpi_db_convert_to_node(name); in acpi_db_disassemble_method() 308 if (!method) { in acpi_db_disassemble_method() 312 if (method->type != ACPI_TYPE_METHOD) { in acpi_db_disassemble_method() 314 name, acpi_ut_get_type_name(method->type))); in acpi_db_disassemble_method() 318 obj_desc = method->object; in acpi_db_disassemble_method() 320 op = acpi_ps_create_scope_op(obj_desc->method.aml_start); in acpi_db_disassemble_method() 333 obj_desc->method.aml_start, in acpi_db_disassemble_method() 334 obj_desc->method.aml_length, NULL, in acpi_db_disassemble_method() 340 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_db_disassemble_method() [all …]
|
D | psxface.c | 158 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method() 168 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method() 176 info->obj_desc->method.aml_start, in acpi_ps_execute_method() 177 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method() 184 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method() 190 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method() 192 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method() 280 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table() 289 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_table() 297 info->obj_desc->method.aml_start, in acpi_ps_execute_table() [all …]
|
D | nseval.c | 226 info->obj_desc->method.aml_start + 1, in acpi_ns_evaluate() 227 info->obj_desc->method.aml_length - 1)); in acpi_ns_evaluate() 368 next = next->method.mutex; in acpi_ns_exec_module_code_list() 372 prev->method.mutex = NULL; in acpi_ns_exec_module_code_list() 422 method_obj->method.next_object); in acpi_ns_exec_module_code() 433 method_obj->method.dispatch.handler = in acpi_ns_exec_module_code() 439 method_obj->method.next_object = NULL; in acpi_ns_exec_module_code() 470 method_obj->method.aml_start)); in acpi_ns_exec_module_code()
|
D | dbutils.c | 363 union acpi_parse_object *method; in acpi_db_second_pass_parse() local 376 method = op; in acpi_db_second_pass_parse() 390 method->named.data; in acpi_db_second_pass_parse() 393 method->named.data + method->named.length; in acpi_db_second_pass_parse() 405 (method->common.value.arg)->common.aml_offset + 1; in acpi_db_second_pass_parse() 406 start_op = (method->common.value.arg)->common.next; in acpi_db_second_pass_parse()
|
D | psloop.c | 331 next = next->method.mutex; in acpi_ps_link_module_code() 339 ((prev->method.aml_start + prev->method.aml_length) != aml_start)) { in acpi_ps_link_module_code() 358 method_obj->method.aml_start = aml_start; in acpi_ps_link_module_code() 359 method_obj->method.aml_length = aml_length; in acpi_ps_link_module_code() 360 method_obj->method.owner_id = owner_id; in acpi_ps_link_module_code() 361 method_obj->method.info_flags |= ACPI_METHOD_MODULE_LEVEL; in acpi_ps_link_module_code() 367 method_obj->method.next_object = in acpi_ps_link_module_code() 373 prev->method.mutex = method_obj; in acpi_ps_link_module_code() 380 prev->method.aml_length += aml_length; in acpi_ps_link_module_code()
|
D | excreate.c | 492 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method() 493 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method() 494 obj_desc->method.node = operand[0]; in acpi_ex_create_method() 501 obj_desc->method.param_count = (u8) in acpi_ex_create_method() 509 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method() 515 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
|
D | utdelete.c | 206 if (object->method.mutex) { in acpi_ut_delete_internal_obj() 207 acpi_os_delete_mutex(object->method.mutex->mutex. in acpi_ut_delete_internal_obj() 209 acpi_ut_delete_object_desc(object->method.mutex); in acpi_ut_delete_internal_obj() 210 object->method.mutex = NULL; in acpi_ut_delete_internal_obj() 213 if (object->method.node) { in acpi_ut_delete_internal_obj() 214 object->method.node = NULL; in acpi_ut_delete_internal_obj()
|
D | nsparse.c | 118 method_obj->method.aml_start = aml_start; in acpi_ns_execute_table() 119 method_obj->method.aml_length = aml_length; in acpi_ns_execute_table() 120 method_obj->method.owner_id = owner_id; in acpi_ns_execute_table() 121 method_obj->method.info_flags |= ACPI_METHOD_MODULE_LEVEL; in acpi_ns_execute_table()
|
D | exdump.c | 126 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.info_flags), "Info Flags"}, 127 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.param_count), 129 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.sync_level), "Sync Level"}, 130 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.mutex), "Mutex"}, 131 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.owner_id), "Owner Id"}, 132 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.thread_count), "Thread Count"}, 133 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(method.aml_length), "Aml Length"}, 134 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.aml_start), "Aml Start"} 839 obj_desc->method.param_count, in acpi_ex_dump_operand() 840 obj_desc->method.aml_start, in acpi_ex_dump_operand() [all …]
|
D | nsxfname.c | 322 param_count = node->object->method.param_count; in acpi_get_object_info() 637 method_obj->method.aml_start = aml_buffer; in ACPI_EXPORT_SYMBOL() 638 method_obj->method.aml_length = aml_length; in ACPI_EXPORT_SYMBOL() 640 method_obj->method.param_count = (u8) in ACPI_EXPORT_SYMBOL() 644 method_obj->method.info_flags = ACPI_METHOD_SERIALIZED; in ACPI_EXPORT_SYMBOL() 646 method_obj->method.sync_level = (u8) in ACPI_EXPORT_SYMBOL()
|
D | nsdump.c | 292 (u32) obj_desc->method.param_count, in acpi_ns_dump_one_object() 293 obj_desc->method.aml_length, in acpi_ns_dump_one_object() 294 obj_desc->method.aml_start); in acpi_ns_dump_one_object() 475 acpi_os_printf(" M:%p-%X\n", obj_desc->method.aml_start, in acpi_ns_dump_one_object() 476 obj_desc->method.aml_length); in acpi_ns_dump_one_object() 603 obj_desc = (void *)obj_desc->method.aml_start; in acpi_ns_dump_one_object()
|
/drivers/iio/adc/ |
D | twl4030-madc.c | 83 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 407 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local 439 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 441 len = twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 465 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 467 len = twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 489 p = &madc->requests[req->method]; in twl4030_madc_set_irq() 491 ret = twl4030_madc_enable_irq(madc, req->method); in twl4030_madc_set_irq() 511 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local 517 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 114 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop() 153 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override() 218 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && in mthca_process_mad() 232 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad() 233 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad() 234 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad() 248 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad() 249 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) in mthca_process_mad() 255 in_mad->mad_hdr.method == IB_MGMT_METHOD_SET && in mthca_process_mad() 280 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
|
/drivers/infiniband/core/ |
D | mad.c | 67 static int method_in_use(struct ib_mad_mgmt_method_table **method, 164 struct ib_mad_mgmt_method_table *method; in is_vendor_method_in_use() local 169 method = vendor_class->method_table[i]; in is_vendor_method_in_use() 170 if (method) { in is_vendor_method_in_use() 171 if (method_in_use(&method, mad_reg_req)) in is_vendor_method_in_use() 183 return ((hdr->method & IB_MGMT_METHOD_RESP) || in ib_response_mad() 184 (hdr->method == IB_MGMT_METHOD_TRAP_REPRESS) || in ib_response_mad() 210 struct ib_mad_mgmt_method_table *method; in ib_register_mad_agent() local 383 method = class->method_table[mgmt_class]; in ib_register_mad_agent() 384 if (method) { in ib_register_mad_agent() [all …]
|
/drivers/platform/x86/ |
D | wmi.c | 145 char method[5]; in wmi_method_enable() local 152 snprintf(method, 5, "WE%02X", block->notify_id); in wmi_method_enable() 153 status = acpi_execute_simple_method(handle, method, enable); in wmi_method_enable() 183 char method[5] = "WM"; in wmi_evaluate_method() local 216 strncat(method, block->object_id, 2); in wmi_evaluate_method() 218 status = acpi_evaluate_object(handle, method, &input, out); in wmi_evaluate_method() 241 char method[5]; in wmi_query_block() local 282 strcpy(method, "WQ"); in wmi_query_block() 283 strncat(method, block->object_id, 2); in wmi_query_block() 285 status = acpi_evaluate_object(handle, method, &input, out); in wmi_query_block() [all …]
|
D | asus-wireless.c | 33 static u64 asus_wireless_method(acpi_handle handle, const char *method, in asus_wireless_method() argument 42 method, param); in asus_wireless_method() 48 s = acpi_evaluate_integer(handle, (acpi_string) method, &p, &ret); in asus_wireless_method() 52 method, param, s); in asus_wireless_method() 53 acpi_handle_debug(handle, "%s returned %#x\n", method, (uint) ret); in asus_wireless_method()
|
D | asus-laptop.c | 235 const char *method; member 377 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, in write_acpi_int_ret() argument 392 status = acpi_evaluate_object(handle, (char *)method, ¶ms, output); in write_acpi_int_ret() 399 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 401 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int() 404 static int acpi_check_handle(acpi_handle handle, const char *method, in acpi_check_handle() argument 409 if (method == NULL) in acpi_check_handle() 413 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 418 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 424 pr_warn("Error finding %s\n", method); in acpi_check_handle() [all …]
|
D | eeepc-laptop.c | 190 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 194 status = acpi_execute_simple_method(handle, (char *)method, val); in write_acpi_int() 199 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() argument 204 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_acpi_int() 216 const char *method = cm_setv[cm]; in set_acpi() local 218 if (method == NULL) in set_acpi() 223 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi() 224 pr_warn("Error writing %s\n", method); in set_acpi() 230 const char *method = cm_getv[cm]; in get_acpi() local 233 if (method == NULL) in get_acpi() [all …]
|
/drivers/input/misc/ |
D | apanel.c | 292 unsigned char method, slave, chip; in apanel_init() local 294 method = readb(p + 1); in apanel_init() 319 else if (method != 1 && method != 2 && method != 4) { in apanel_init() 321 method, devno); in apanel_init()
|
/drivers/staging/unisys/visorbus/ |
D | vmcallinterface.h | 92 #define ISSUE_IO_VMCALL(method, param, result) \ argument 93 (result = unisys_vmcall(method, (param) & 0xFFFFFFFF, \ 95 #define ISSUE_IO_EXTENDED_VMCALL(method, param1, param2, param3) \ argument 96 unisys_extended_vmcall(method, param1, param2, param3)
|
/drivers/i2c/busses/ |
D | i2c-scmi.c | 97 char *method; in acpi_smbus_cmi_access() local 166 method = smbus_cmi->methods->mt_sbr; in acpi_smbus_cmi_access() 170 method = smbus_cmi->methods->mt_sbw; in acpi_smbus_cmi_access() 182 status = acpi_evaluate_object(smbus_cmi->handle, method, &input, in acpi_smbus_cmi_access() 185 ACPI_ERROR((AE_INFO, "Evaluating %s: %i", method, status)); in acpi_smbus_cmi_access() 205 method, result)); in acpi_smbus_cmi_access()
|
/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 184 int method; member 590 if (cam->method == METHOD0) { in zr364xx_read_video_callback() 888 if (cam->method == METHOD3) { in zr364xx_vidioc_s_fmt_vid_cap() 907 for (i = 0; init[cam->method][i].size != -1; i++) { in zr364xx_vidioc_s_fmt_vid_cap() 909 send_control_msg(cam->udev, 1, init[cam->method][i].value, in zr364xx_vidioc_s_fmt_vid_cap() 910 0, init[cam->method][i].bytes, in zr364xx_vidioc_s_fmt_vid_cap() 911 init[cam->method][i].size); in zr364xx_vidioc_s_fmt_vid_cap() 1127 for (i = 0; init[cam->method][i].size != -1; i++) { in zr364xx_prepare() 1128 res = send_control_msg(cam->udev, 1, init[cam->method][i].value, in zr364xx_prepare() 1129 0, init[cam->method][i].bytes, in zr364xx_prepare() [all …]
|
/drivers/net/ethernet/sfc/ |
D | efx.c | 2579 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() argument 2583 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_down() 2590 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_down() 2591 method != RESET_TYPE_DATAPATH) in efx_reset_down() 2601 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() argument 2607 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_up() 2620 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_up() 2621 method != RESET_TYPE_DATAPATH) { in efx_reset_up() 2668 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() argument 2674 RESET_TYPE(method)); in efx_reset() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 71 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) in process_mad() 76 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in process_mad() 77 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in process_mad() 78 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in process_mad() 89 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in process_mad() 90 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) in process_mad() 107 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) in process_mad() 256 in_mad->mad_hdr.method == IB_MGMT_METHOD_GET) { in mlx5_ib_process_mad()
|