/drivers/acpi/acpica/ |
D | dsmethod.c | 70 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method() 88 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method() 89 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method() 146 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes() 147 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes() 269 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex() 270 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex() 308 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution() 317 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution() 323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution() [all …]
|
D | dbmethod.c | 271 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() 286 op = acpi_ps_create_scope_op(obj_desc->method.aml_start); 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() 306 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_db_disassemble_method() [all …]
|
D | psxface.c | 124 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() 258 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_table() 266 info->obj_desc->method.aml_start, in acpi_ps_execute_table() [all …]
|
D | dbutils.c | 327 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()
|
D | excreate.c | 428 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method() 429 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method() 430 obj_desc->method.node = operand[0]; in acpi_ex_create_method() 437 obj_desc->method.param_count = (u8) in acpi_ex_create_method() 445 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method() 451 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
|
D | nsxfname.c | 268 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()
|
D | nsparse.c | 95 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()
|
D | utdelete.c | 170 if (object->method.mutex) { in acpi_ut_delete_internal_obj() 171 acpi_os_delete_mutex(object->method.mutex->mutex. in acpi_ut_delete_internal_obj() 173 acpi_ut_delete_object_desc(object->method.mutex); in acpi_ut_delete_internal_obj() 174 object->method.mutex = NULL; in acpi_ut_delete_internal_obj() 177 if (object->method.node) { in acpi_ut_delete_internal_obj() 178 object->method.node = NULL; in acpi_ut_delete_internal_obj()
|
D | exdump.c | 92 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.info_flags), "Info Flags"}, 93 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.param_count), 95 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.sync_level), "Sync Level"}, 96 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.mutex), "Mutex"}, 97 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET(method.owner_id), "Owner Id"}, 98 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.thread_count), "Thread Count"}, 99 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(method.aml_length), "Aml Length"}, 100 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.aml_start), "Aml Start"} 817 obj_desc->method.param_count, in acpi_ex_dump_operand() 818 obj_desc->method.aml_start, in acpi_ex_dump_operand() [all …]
|
D | nsdump.c | 259 (u32) obj_desc->method.param_count, in acpi_ns_dump_one_object() 260 obj_desc->method.aml_length, in acpi_ns_dump_one_object() 261 obj_desc->method.aml_start); in acpi_ns_dump_one_object() 442 acpi_os_printf(" M:%p-%X\n", obj_desc->method.aml_start, in acpi_ns_dump_one_object() 443 obj_desc->method.aml_length); in acpi_ns_dump_one_object() 570 obj_desc = (void *)obj_desc->method.aml_start; in acpi_ns_dump_one_object()
|
/drivers/iio/adc/ |
D | twl4030-madc.c | 131 u16 method; member 182 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 473 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local 505 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 507 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 526 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 528 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 550 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local 556 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion() 558 method->ctrl); in twl4030_madc_start_conversion() [all …]
|
/drivers/net/ethernet/sfc/ |
D | efx_common.c | 708 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() argument 712 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_down() 742 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() argument 748 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_up() 761 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_up() 762 method != RESET_TYPE_DATAPATH) { in efx_reset_up() 813 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() argument 819 RESET_TYPE(method)); in efx_reset() 826 efx_reset_down(efx, method); in efx_reset() 828 rc = efx->type->reset(efx, method); in efx_reset() [all …]
|
/drivers/infiniband/core/ |
D | mad.c | 96 static int method_in_use(struct ib_mad_mgmt_method_table **method, 193 struct ib_mad_mgmt_method_table *method; in is_vendor_method_in_use() local 198 method = vendor_class->method_table[i]; in is_vendor_method_in_use() 199 if (method) { in is_vendor_method_in_use() 200 if (method_in_use(&method, mad_reg_req)) in is_vendor_method_in_use() 212 return ((hdr->method & IB_MGMT_METHOD_RESP) || in ib_response_mad() 213 (hdr->method == IB_MGMT_METHOD_TRAP_REPRESS) || in ib_response_mad() 241 struct ib_mad_mgmt_method_table *method; in ib_register_mad_agent() local 437 method = class->method_table[mgmt_class]; in ib_register_mad_agent() 438 if (method) { in ib_register_mad_agent() [all …]
|
D | uverbs_uapi.c | 102 const struct uverbs_method_def *method, in uapi_merge_method() argument 105 u32 method_key = obj_key | uapi_key_ioctl_method(method->id); in uapi_merge_method() 110 if (!method->attrs) in uapi_merge_method() 121 if (WARN_ON(method->handler)) in uapi_merge_method() 124 WARN_ON(!method->handler); in uapi_merge_method() 125 rcu_assign_pointer(method_elm->handler, method->handler); in uapi_merge_method() 126 if (method->handler != uverbs_destroy_def_handler) in uapi_merge_method() 130 for (i = 0; i != method->num_attrs; i++) { in uapi_merge_method() 131 const struct uverbs_attr_def *attr = (*method->attrs)[i]; in uapi_merge_method() 212 const struct uverbs_method_def *method = (*obj->methods)[i]; in uapi_merge_obj_tree() local [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 116 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/acpi/dptf/ |
D | dptf_pch_fivr.c | 17 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/input/misc/ |
D | apanel.c | 247 unsigned char method, slave, chip; in apanel_init() local 249 method = readb(p + 1); in apanel_init() 275 else if (method != 1 && method != 2 && method != 4) { in apanel_init() 277 method, devno); in apanel_init()
|
/drivers/platform/x86/ |
D | wmi.c | 189 char method[5]; in wmi_method_enable() local 196 snprintf(method, 5, "WE%02X", block->notify_id); in wmi_method_enable() 197 status = acpi_execute_simple_method(handle, method, enable); in wmi_method_enable() 268 char method[5] = "WM"; in wmidev_evaluate_method() local 299 strncat(method, block->object_id, 2); in wmidev_evaluate_method() 301 status = acpi_evaluate_object(handle, method, &input, out); in wmidev_evaluate_method() 315 char method[5]; in __query_block() local 354 strcpy(method, "WQ"); in __query_block() 355 strncat(method, block->object_id, 2); in __query_block() 357 status = acpi_evaluate_object(handle, method, &input, out); in __query_block() [all …]
|
D | asus-laptop.c | 219 const char *method; member 361 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, in write_acpi_int_ret() argument 376 status = acpi_evaluate_object(handle, (char *)method, ¶ms, output); in write_acpi_int_ret() 383 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 385 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int() 388 static int acpi_check_handle(acpi_handle handle, const char *method, in acpi_check_handle() argument 393 if (method == NULL) in acpi_check_handle() 397 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 402 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 408 pr_warn("Error finding %s\n", method); in acpi_check_handle() [all …]
|
D | asus-wireless.c | 52 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()
|
D | eeepc-laptop.c | 183 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 187 status = acpi_execute_simple_method(handle, (char *)method, val); in write_acpi_int() 192 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() argument 197 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_acpi_int() 209 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() [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 67 enum vmw_bo_dirty_method method; member 102 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable() 146 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_scan_mkwrite() 169 if (dirty->method == VMW_BO_DIRTY_PAGETABLE) in vmw_bo_dirty_scan() 193 if (dirty->method != VMW_BO_DIRTY_PAGETABLE || start >= end) in vmw_bo_dirty_pre_unmap() 268 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_add() 273 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_add() 421 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE && in vmw_bo_vm_mkwrite() 475 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE) in vmw_bo_vm_fault()
|
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 232 u8 method = in->mad_hdr.method; in mlx5_ib_process_mad() local 239 if (method == IB_MGMT_METHOD_TRAP && !slid) in mlx5_ib_process_mad() 245 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad() 246 method != IB_MGMT_METHOD_SET && in mlx5_ib_process_mad() 247 method != IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad() 257 method == IB_MGMT_METHOD_GET) in mlx5_ib_process_mad() 263 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad() 264 method != IB_MGMT_METHOD_SET) in mlx5_ib_process_mad() 281 if (method == IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad()
|
/drivers/i2c/busses/ |
D | i2c-scmi.c | 94 char *method; in acpi_smbus_cmi_access() local 164 method = smbus_cmi->methods->mt_sbr; in acpi_smbus_cmi_access() 168 method = smbus_cmi->methods->mt_sbw; in acpi_smbus_cmi_access() 180 status = acpi_evaluate_object(smbus_cmi->handle, method, &input, in acpi_smbus_cmi_access() 184 "Failed to evaluate %s: %i\n", method, status); in acpi_smbus_cmi_access() 203 acpi_handle_debug(smbus_cmi->handle, "%s return status: %i\n", method, in acpi_smbus_cmi_access()
|
/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 2356 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method) in ef4_reset_down() argument 2364 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in ef4_reset_down() 2365 method != RESET_TYPE_DATAPATH) in ef4_reset_down() 2375 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok) in ef4_reset_up() argument 2391 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in ef4_reset_up() 2392 method != RESET_TYPE_DATAPATH) { in ef4_reset_up() 2429 int ef4_reset(struct ef4_nic *efx, enum reset_type method) in ef4_reset() argument 2435 RESET_TYPE(method)); in ef4_reset() 2438 ef4_reset_down(efx, method); in ef4_reset() 2440 rc = efx->type->reset(efx, method); in ef4_reset() [all …]
|