/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 | 429 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()
|
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()
|
/drivers/iio/adc/ |
D | twl4030-madc.c | 132 u16 method; member 183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 467 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local 499 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 501 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 520 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 522 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 544 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local 550 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion() 552 method->ctrl); in twl4030_madc_start_conversion() [all …]
|
/drivers/net/ethernet/sfc/siena/ |
D | efx_common.c | 716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) in efx_siena_reset_down() argument 720 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_down() 750 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_siena_reset_up() argument 756 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_up() 769 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_siena_reset_up() 770 method != RESET_TYPE_DATAPATH) { in efx_siena_reset_up() 821 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) in efx_siena_reset() argument 827 RESET_TYPE(method)); in efx_siena_reset() 834 efx_siena_reset_down(efx, method); in efx_siena_reset() 836 rc = efx->type->reset(efx, method); in efx_siena_reset() [all …]
|
/drivers/net/ethernet/sfc/ |
D | efx_common.c | 705 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() argument 709 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_down() 739 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() argument 745 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_up() 758 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_up() 759 method != RESET_TYPE_DATAPATH) { in efx_reset_up() 808 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() argument 814 RESET_TYPE(method)); in efx_reset() 821 efx_reset_down(efx, method); in efx_reset() 823 rc = efx->type->reset(efx, method); in efx_reset() [all …]
|
/drivers/infiniband/core/ |
D | mad.c | 91 static int method_in_use(struct ib_mad_mgmt_method_table **method, 187 struct ib_mad_mgmt_method_table *method; in is_vendor_method_in_use() local 192 method = vendor_class->method_table[i]; in is_vendor_method_in_use() 193 if (method) { in is_vendor_method_in_use() 194 if (method_in_use(&method, mad_reg_req)) in is_vendor_method_in_use() 206 return ((hdr->method & IB_MGMT_METHOD_RESP) || in ib_response_mad() 207 (hdr->method == IB_MGMT_METHOD_TRAP_REPRESS) || in ib_response_mad() 235 struct ib_mad_mgmt_method_table *method; in ib_register_mad_agent() local 431 method = class->method_table[mgmt_class]; in ib_register_mad_agent() 432 if (method) { in ib_register_mad_agent() [all …]
|
D | uverbs_uapi.c | 99 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() 209 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/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 67 enum vmw_bo_dirty_method method; member 101 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable() 144 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_scan_mkwrite() 167 if (dirty->method == VMW_BO_DIRTY_PAGETABLE) in vmw_bo_dirty_scan() 191 if (dirty->method != VMW_BO_DIRTY_PAGETABLE || start >= end) in vmw_bo_dirty_pre_unmap() 254 dirty->method = VMW_BO_DIRTY_PAGETABLE; in vmw_bo_dirty_add() 259 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_add() 402 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE && in vmw_bo_vm_mkwrite() 455 if (vbo->dirty && vbo->dirty->method == VMW_BO_DIRTY_MKWRITE) in vmw_bo_vm_fault()
|
/drivers/input/misc/ |
D | apanel.c | 246 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/platform/x86/dell/ |
D | dell-wmi-ddv.c | 132 static int dell_wmi_ddv_query_type(struct wmi_device *wdev, enum dell_ddv_method method, u32 arg, in dell_wmi_ddv_query_type() argument 143 ret = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); in dell_wmi_ddv_query_type() 161 static int dell_wmi_ddv_query_integer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_integer() argument 167 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_INTEGER); in dell_wmi_ddv_query_integer() 181 static int dell_wmi_ddv_query_buffer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_buffer() argument 188 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_PACKAGE); in dell_wmi_ddv_query_buffer() 227 static int dell_wmi_ddv_query_string(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_string() argument 230 return dell_wmi_ddv_query_type(wdev, method, arg, result, ACPI_TYPE_STRING); in dell_wmi_ddv_query_string() 236 static int dell_wmi_ddv_update_sensors(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_update_sensors() argument 252 ret = dell_wmi_ddv_query_buffer(wdev, method, 0, &obj); in dell_wmi_ddv_update_sensors() [all …]
|
/drivers/platform/x86/ |
D | wmi.c | 193 char method[5]; in wmi_method_enable() local 200 snprintf(method, 5, "WE%02X", block->notify_id); in wmi_method_enable() 201 status = acpi_execute_simple_method(handle, method, enable); in wmi_method_enable() 211 const char method, in get_acpi_method_name() argument 218 buffer[1] = method; in get_acpi_method_name() 360 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmidev_evaluate_method() local 387 get_acpi_method_name(wblock, 'M', method); in wmidev_evaluate_method() 389 return acpi_evaluate_object(handle, method, &input, out); in wmidev_evaluate_method() 402 char method[WMI_ACPI_METHOD_NAME_SIZE]; in __query_block() local 440 get_acpi_method_name(wblock, 'Q', method); 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/remoteproc/ |
D | imx_rproc.c | 304 .method = IMX_RPROC_MMIO, 310 .method = IMX_RPROC_SMC, 320 .method = IMX_RPROC_MMIO, 326 .method = IMX_RPROC_SCU_API, 332 .method = IMX_RPROC_SCU_API, 338 .method = IMX_RPROC_NONE, 344 .method = IMX_RPROC_NONE, 354 .method = IMX_RPROC_MMIO, 364 .method = IMX_RPROC_MMIO, 370 .method = IMX_RPROC_SMC, [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 254 u8 method = in->mad_hdr.method; in mlx5_ib_process_mad() local 261 if (method == IB_MGMT_METHOD_TRAP && !slid) in mlx5_ib_process_mad() 267 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad() 268 method != IB_MGMT_METHOD_SET && in mlx5_ib_process_mad() 269 method != IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad() 279 method == IB_MGMT_METHOD_GET) in mlx5_ib_process_mad() 285 if (method != IB_MGMT_METHOD_GET && in mlx5_ib_process_mad() 286 method != IB_MGMT_METHOD_SET) in mlx5_ib_process_mad() 303 if (method == IB_MGMT_METHOD_TRAP_REPRESS) in mlx5_ib_process_mad()
|
/drivers/firmware/efi/libstub/ |
D | Makefile.zboot | 26 zboot-method-y := $(comp-type-y)_with_size 29 zboot-method-$(CONFIG_KERNEL_GZIP) := gzip 33 $(call if_changed,$(zboot-method-y))
|