Home
last modified time | relevance | path

Searched refs:acpi_object (Results 1 – 25 of 108) sorted by relevance

12345

/drivers/acpi/
Dproperty.c25 const union acpi_object **obj);
39 const union acpi_object *desc,
41 static bool acpi_extract_properties(const union acpi_object *desc,
45 const union acpi_object *link, in acpi_nondev_subnode_ok()
99 const union acpi_object *links, in acpi_add_nondev_subnodes()
106 const union acpi_object *link; in acpi_add_nondev_subnodes()
121 const union acpi_object *desc, in acpi_enumerate_nondev_subnodes()
128 const union acpi_object *uuid, *links; in acpi_enumerate_nondev_subnodes()
150 static bool acpi_property_value_ok(const union acpi_object *value) in acpi_property_value_ok()
181 static bool acpi_properties_format_valid(const union acpi_object *properties) in acpi_properties_format_valid()
[all …]
Dutils.c55 acpi_extract_package(union acpi_object *package, in acpi_extract_package()
98 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
202 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
288 union acpi_object element; in acpi_evaluate_integer()
294 buffer.length = sizeof(union acpi_object); in acpi_evaluate_integer()
323 union acpi_object *package = NULL; in acpi_evaluate_reference()
324 union acpi_object *element = NULL; in acpi_evaluate_reference()
404 union acpi_object *output; in acpi_get_physical_device_location()
447 union acpi_object params[3] = { in acpi_evaluate_ost()
561 union acpi_object obj = { .type = ACPI_TYPE_INTEGER }; in acpi_execute_simple_method()
[all …]
Dprocessor_pdc.c28 union acpi_object object = { 0 }; in processor_physically_present()
29 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in processor_physically_present()
73 union acpi_object *obj; in acpi_processor_alloc_pdc()
81 obj = kmalloc(sizeof(union acpi_object), GFP_KERNEL); in acpi_processor_alloc_pdc()
123 union acpi_object *obj; in acpi_processor_eval_pdc()
Dpower.c134 int acpi_extract_power_resources(union acpi_object *package, unsigned int start, in acpi_extract_power_resources()
141 union acpi_object *element = &package->package.elements[i]; in acpi_extract_power_resources()
509 union acpi_object in_arg[3]; in acpi_device_sleep_wake()
786 union acpi_object acpi_object; in acpi_add_power_resource() local
787 struct acpi_buffer buffer = { sizeof(acpi_object), &acpi_object }; in acpi_add_power_resource()
814 resource->system_level = acpi_object.power_resource.system_level; in acpi_add_power_resource()
815 resource->order = acpi_object.power_resource.resource_order; in acpi_add_power_resource()
/drivers/hwmon/
Dasus_atk0110.c189 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj);
284 static union acpi_object *atk_get_pack_member(struct atk_data *data, in atk_get_pack_member()
285 union acpi_object *pack, in atk_get_pack_member()
334 static int validate_hwmon_pack(struct atk_data *data, union acpi_object *obj) in validate_hwmon_pack()
337 union acpi_object *tmp; in validate_hwmon_pack()
404 static char const *atk_sensor_type(union acpi_object *flags) in atk_sensor_type()
428 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj) in atk_print_sensor()
432 union acpi_object *flags; in atk_print_sensor()
433 union acpi_object *name; in atk_print_sensor()
434 union acpi_object *limit1; in atk_print_sensor()
[all …]
/drivers/acpi/acpica/
Dutcopy.c55 union acpi_object *external_object,
69 acpi_ut_copy_esimple_to_isimple(union acpi_object *user_obj,
73 acpi_ut_copy_epackage_to_ipackage(union acpi_object *external_object,
113 union acpi_object *external_object, in acpi_ut_copy_isimple_to_esimple()
132 memset(external_object, 0, sizeof(union acpi_object)); in acpi_ut_copy_isimple_to_esimple()
255 union acpi_object *target_object; in acpi_ut_copy_ielement_to_eelement()
260 target_object = (union acpi_object *)&((union acpi_object *) in acpi_ut_copy_ielement_to_eelement()
285 ACPI_CAST_PTR(union acpi_object, info->free_space); in acpi_ut_copy_ielement_to_eelement()
300 acpi_object)); in acpi_ut_copy_ielement_to_eelement()
336 union acpi_object *external_object; in acpi_ut_copy_ipackage_to_epackage()
[all …]
Ddbtest.c72 union acpi_object **value);
76 union acpi_object *value);
442 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type()
443 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type()
444 union acpi_object *temp3 = NULL; in acpi_db_test_integer_type()
445 union acpi_object write_value; in acpi_db_test_integer_type()
545 union acpi_object *temp1 = NULL; in acpi_db_test_buffer_type()
546 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type()
547 union acpi_object *temp3 = NULL; in acpi_db_test_buffer_type()
549 union acpi_object write_value; in acpi_db_test_buffer_type()
[all …]
Dacdebug.h132 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object);
136 char *string, union acpi_object *object);
140 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc);
229 void acpi_db_delete_objects(u32 count, union acpi_object *objects);
305 void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level);
Ddbconvert.c137 acpi_db_convert_to_buffer(char *string, union acpi_object *object) in acpi_db_convert_to_buffer()
197 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object) in acpi_db_convert_to_package()
203 union acpi_object *elements; in acpi_db_convert_to_package()
208 sizeof(union acpi_object)); in acpi_db_convert_to_package()
255 char *string, union acpi_object *object) in acpi_db_convert_to_object()
384 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc) in acpi_db_dump_pld_buffer()
386 union acpi_object *buffer_desc; in acpi_db_dump_pld_buffer()
/drivers/char/tpm/
Dtpm_ppi.c43 static inline union acpi_object *
45 union acpi_object *argv4) in tpm_eval_dsm()
65 union acpi_object *obj; in tpm_show_ppi_request()
101 union acpi_object *obj, tmp; in tpm_store_ppi_request()
102 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); in tpm_store_ppi_request()
153 union acpi_object *obj = NULL; in tpm_show_ppi_transition_action()
154 union acpi_object tmp = { in tpm_show_ppi_transition_action()
198 union acpi_object *obj, *ret_obj; in tpm_show_ppi_response()
260 union acpi_object *obj, tmp; in show_ppi_operations()
261 union acpi_object argv = ACPI_INIT_DSM_ARGV4(1, &tmp); in show_ppi_operations()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c91 static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, in radeon_atpx_call()
95 union acpi_object atpx_arg_elements[2]; in radeon_atpx_call()
163 union acpi_object *info; in radeon_atpx_validate()
230 union acpi_object *info; in radeon_atpx_verify_interface()
275 union acpi_object *info; in radeon_atpx_set_discrete_state()
311 union acpi_object *info; in radeon_atpx_switch_disp_mux()
343 union acpi_object *info; in radeon_atpx_switch_i2c_mux()
375 union acpi_object *info; in radeon_atpx_switch_start()
407 union acpi_object *info; in radeon_atpx_switch_end()
Dradeon_acpi.c111 static union acpi_object *radeon_atif_call(acpi_handle handle, int function, in radeon_atif_call()
115 union acpi_object atif_arg_elements[2]; in radeon_atif_call()
209 union acpi_object *info; in radeon_atif_verify_interface()
256 union acpi_object *info; in radeon_atif_get_notification_params()
318 union acpi_object *info; in radeon_atif_get_sbios_requests()
436 static union acpi_object *radeon_atcs_call(acpi_handle handle, int function, in radeon_atcs_call()
440 union acpi_object atcs_arg_elements[2]; in radeon_atcs_call()
505 union acpi_object *info; in radeon_atcs_verify_interface()
567 union acpi_object *info; in radeon_acpi_pcie_notify_device_ready()
602 union acpi_object *info; in radeon_acpi_pcie_performance_request()
/drivers/gpu/drm/i915/
Dintel_acpi.c81 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info()
95 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
96 union acpi_object *connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info()
97 union acpi_object *info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
/drivers/pci/
Dpci-acpi.c46 static acpi_status decode_type0_hpx_record(union acpi_object *record, in decode_type0_hpx_record()
50 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
76 static acpi_status decode_type1_hpx_record(union acpi_object *record, in decode_type1_hpx_record()
80 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
105 static acpi_status decode_type2_hpx_record(union acpi_object *record, in decode_type2_hpx_record()
109 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
151 union acpi_object *package, *record, *fields; in acpi_run_hpx()
162 package = (union acpi_object *)buffer.pointer; in acpi_run_hpx()
215 union acpi_object *package, *fields; in acpi_run_hpp()
224 package = (union acpi_object *) buffer.pointer; in acpi_run_hpp()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c103 static union acpi_object *amdgpu_atpx_call(acpi_handle handle, int function, in amdgpu_atpx_call()
107 union acpi_object atpx_arg_elements[2]; in amdgpu_atpx_call()
175 union acpi_object *info; in amdgpu_atpx_validate()
253 union acpi_object *info; in amdgpu_atpx_verify_interface()
298 union acpi_object *info; in amdgpu_atpx_set_discrete_state()
334 union acpi_object *info; in amdgpu_atpx_switch_disp_mux()
366 union acpi_object *info; in amdgpu_atpx_switch_i2c_mux()
398 union acpi_object *info; in amdgpu_atpx_switch_start()
430 union acpi_object *info; in amdgpu_atpx_switch_end()
Damdgpu_acpi.c49 static union acpi_object *amdgpu_atif_call(acpi_handle handle, int function, in amdgpu_atif_call()
53 union acpi_object atif_arg_elements[2]; in amdgpu_atif_call()
147 union acpi_object *info; in amdgpu_atif_verify_interface()
194 union acpi_object *info; in amdgpu_atif_get_notification_params()
256 union acpi_object *info; in amdgpu_atif_get_sbios_requests()
369 static union acpi_object *amdgpu_atcs_call(acpi_handle handle, int function, in amdgpu_atcs_call()
373 union acpi_object atcs_arg_elements[2]; in amdgpu_atcs_call()
438 union acpi_object *info; in amdgpu_atcs_verify_interface()
500 union acpi_object *info; in amdgpu_acpi_pcie_notify_device_ready()
535 union acpi_object *info; in amdgpu_acpi_pcie_performance_request()
/drivers/platform/x86/
Dclassmate-laptop.c88 union acpi_object param[4]; in cmpc_start_accel_v4()
108 union acpi_object param[4]; in cmpc_stop_accel_v4()
128 union acpi_object param[4]; in cmpc_accel_set_sensitivity_v4()
146 union acpi_object param[4]; in cmpc_accel_set_g_select_v4()
167 union acpi_object param[4]; in cmpc_get_accel_v4()
185 union acpi_object *obj; in cmpc_get_accel_v4()
474 union acpi_object param[2]; in cmpc_start_accel()
489 union acpi_object param[2]; in cmpc_stop_accel()
504 union acpi_object param[2]; in cmpc_accel_set_sensitivity()
521 union acpi_object param[2]; in cmpc_get_accel()
[all …]
Dwmi.c182 union acpi_object params[3]; in wmi_evaluate_method()
240 union acpi_object wq_params[1]; in wmi_query_block()
314 union acpi_object params[2]; in wmi_set_block()
377 union acpi_object *obj; in wmi_notify_debug()
386 obj = (union acpi_object *)response.pointer; in wmi_notify_debug()
512 union acpi_object params[1]; in wmi_get_event_data()
651 union acpi_object *obj; in parse_wdg()
662 obj = (union acpi_object *) out.pointer; in parse_wdg()
Dacer-wmi.c808 union acpi_object *obj; in AMW0_find_mailled()
817 obj = (union acpi_object *) out.pointer; in AMW0_find_mailled()
860 union acpi_object *obj; in AMW0_set_capabilities()
906 obj = (union acpi_object *) out.pointer; in AMW0_set_capabilities()
948 union acpi_object *obj; in WMI_execute_u32()
957 obj = (union acpi_object *) result.pointer; in WMI_execute_u32()
1059 union acpi_object *obj; in wmid3_get_device_status()
1127 union acpi_object *obj; in wmid3_set_device_status()
1258 union acpi_object *obj; in WMID_set_capabilities()
1266 obj = (union acpi_object *) out.pointer; in WMID_set_capabilities()
[all …]
Dtoshiba-wmi.c48 union acpi_object *obj; in toshiba_wmi_notify()
57 obj = (union acpi_object *)response.pointer; in toshiba_wmi_notify()
Dmsi-wmi.c107 union acpi_object *obj; in msi_wmi_query_block()
188 union acpi_object *obj; in msi_wmi_notify()
197 obj = (union acpi_object *)response.pointer; in msi_wmi_notify()
/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c76 union acpi_object *obj; in nouveau_optimus_dsm()
78 union acpi_object argv4 = { in nouveau_optimus_dsm()
135 union acpi_object *obj; in nouveau_dsm()
136 union acpi_object argv4 = { in nouveau_dsm()
394 union acpi_object rom_arg_elements[2], *obj; in nouveau_rom_call()
412 obj = (union acpi_object *)buffer.pointer; in nouveau_rom_call()
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c89 union acpi_object argv4 = { in mxm_shadow_dsm()
94 union acpi_object *obj; in mxm_shadow_dsm()
138 union acpi_object *obj; in wmi_wmmx_mxmi()
168 union acpi_object *obj; in mxm_shadow_wmi()
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c58 union acpi_object *cpm; in asus_acpi_get_sensor_info()
67 union acpi_object *elem; in asus_acpi_get_sensor_info()
72 union acpi_object *sub_elem; in asus_acpi_get_sensor_info()
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c140 union acpi_object *obj; in hns_dsaf_acpi_srst_by_port()
141 union acpi_object obj_args[3], argv4; in hns_dsaf_acpi_srst_by_port()
455 union acpi_object *obj; in hns_mac_get_phy_if_acpi()
456 union acpi_object obj_args, argv4; in hns_mac_get_phy_if_acpi()
558 union acpi_object *obj; in hns_mac_config_sds_loopback_acpi()
559 union acpi_object obj_args[3], argv4; in hns_mac_config_sds_loopback_acpi()

12345