Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/drivers/hwmon/
Dasus_atk0110.c191 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj);
277 static union acpi_object *atk_get_pack_member(struct atk_data *data, in atk_get_pack_member()
278 union acpi_object *pack, in atk_get_pack_member()
327 static int validate_hwmon_pack(struct atk_data *data, union acpi_object *obj) in validate_hwmon_pack()
330 union acpi_object *tmp; in validate_hwmon_pack()
397 static char const *atk_sensor_type(union acpi_object *flags) in atk_sensor_type()
421 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj) in atk_print_sensor()
425 union acpi_object *flags; in atk_print_sensor()
426 union acpi_object *name; in atk_print_sensor()
427 union acpi_object *limit1; in atk_print_sensor()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dutcopy.c21 union acpi_object *external_object,
35 acpi_ut_copy_esimple_to_isimple(union acpi_object *user_obj,
39 acpi_ut_copy_epackage_to_ipackage(union acpi_object *external_object,
79 union acpi_object *external_object, in acpi_ut_copy_isimple_to_esimple()
98 memset(external_object, 0, sizeof(union acpi_object)); in acpi_ut_copy_isimple_to_esimple()
221 union acpi_object *target_object; in acpi_ut_copy_ielement_to_eelement()
226 target_object = (union acpi_object *)&((union acpi_object *) in acpi_ut_copy_ielement_to_eelement()
251 ACPI_CAST_PTR(union acpi_object, info->free_space); in acpi_ut_copy_ielement_to_eelement()
266 acpi_object)); in acpi_ut_copy_ielement_to_eelement()
302 union acpi_object *external_object; in acpi_ut_copy_ipackage_to_epackage()
[all …]
Ddbtest.c42 union acpi_object **value);
46 union acpi_object *value);
390 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type()
391 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type()
392 union acpi_object *temp3 = NULL; in acpi_db_test_integer_type()
393 union acpi_object write_value; in acpi_db_test_integer_type()
492 union acpi_object *temp1 = NULL; in acpi_db_test_buffer_type()
493 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type()
494 union acpi_object *temp3 = NULL; in acpi_db_test_buffer_type()
496 union acpi_object write_value; in acpi_db_test_buffer_type()
[all …]
Dacdebug.h101 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object);
105 char *string, union acpi_object *object);
109 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc);
206 void acpi_db_delete_objects(u32 count, union acpi_object *objects);
282 void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level);
Ddbconvert.c101 acpi_db_convert_to_buffer(char *string, union acpi_object *object) in acpi_db_convert_to_buffer()
165 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object) in acpi_db_convert_to_package()
171 union acpi_object *elements; in acpi_db_convert_to_package()
176 sizeof(union acpi_object)); in acpi_db_convert_to_package()
223 char *string, union acpi_object *object) in acpi_db_convert_to_object()
349 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc) in acpi_db_dump_pld_buffer()
351 union acpi_object *buffer_desc; in acpi_db_dump_pld_buffer()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dlg-laptop.c86 union acpi_object args[1]; in ggov()
87 union acpi_object *r; in ggov()
124 static union acpi_object *lg_wmab(u32 method, u32 arg1, u32 arg2) in lg_wmab()
126 union acpi_object args[3]; in lg_wmab()
157 static union acpi_object *lg_wmbb(u32 method_id, u32 arg1, u32 arg2) in lg_wmbb()
159 union acpi_object args[3]; in lg_wmbb()
192 return (union acpi_object *)buffer.pointer; in lg_wmbb()
198 union acpi_object *obj; in wmi_notify()
209 obj = (union acpi_object *)response.pointer; in wmi_notify()
277 union acpi_object *r; in fan_mode_store()
[all …]
Dclassmate-laptop.c75 union acpi_object param[4]; in cmpc_start_accel_v4()
95 union acpi_object param[4]; in cmpc_stop_accel_v4()
115 union acpi_object param[4]; in cmpc_accel_set_sensitivity_v4()
133 union acpi_object param[4]; in cmpc_accel_set_g_select_v4()
154 union acpi_object param[4]; in cmpc_get_accel_v4()
172 union acpi_object *obj; in cmpc_get_accel_v4()
455 union acpi_object param[2]; in cmpc_start_accel()
470 union acpi_object param[2]; in cmpc_stop_accel()
485 union acpi_object param[2]; in cmpc_accel_set_sensitivity()
502 union acpi_object param[2]; in cmpc_get_accel()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dproperty.c22 const union acpi_object **obj);
59 const union acpi_object *desc,
62 static bool acpi_extract_properties(const union acpi_object *desc,
65 static bool acpi_nondev_subnode_extract(const union acpi_object *desc, in acpi_nondev_subnode_extract()
67 const union acpi_object *link, in acpi_nondev_subnode_extract()
119 const union acpi_object *link, in acpi_nondev_subnode_data_ok()
140 const union acpi_object *link, in acpi_nondev_subnode_ok()
159 const union acpi_object *links, in acpi_add_nondev_subnodes()
167 const union acpi_object *link, *desc; in acpi_add_nondev_subnodes()
207 const union acpi_object *desc, in acpi_enumerate_nondev_subnodes()
[all …]
Dacpi_adxl.c31 static union acpi_object *params;
39 static union acpi_object *adxl_dsm(int cmd, union acpi_object argv[]) in adxl_dsm()
41 union acpi_object *obj, *o; in adxl_dsm()
105 union acpi_object argv4[2], *results, *r; in adxl_decode()
141 union acpi_object *p; in adxl_init()
Dutils.c42 acpi_extract_package(union acpi_object *package, in acpi_extract_package()
85 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
185 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
271 union acpi_object element; in acpi_evaluate_integer()
277 buffer.length = sizeof(union acpi_object); in acpi_evaluate_integer()
306 union acpi_object *package = NULL; in acpi_evaluate_reference()
307 union acpi_object *element = NULL; in acpi_evaluate_reference()
388 union acpi_object *output; in acpi_get_physical_device_location()
431 union acpi_object params[3] = { in acpi_evaluate_ost()
552 union acpi_object obj = { .type = ACPI_TYPE_INTEGER }; in acpi_execute_simple_method()
[all …]
Dprocessor_pdc.c29 union acpi_object object = { 0 }; in processor_physically_present()
30 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in processor_physically_present()
74 union acpi_object *obj; in acpi_processor_alloc_pdc()
82 obj = kmalloc(sizeof(union acpi_object), GFP_KERNEL); in acpi_processor_alloc_pdc()
124 union acpi_object *obj; in acpi_processor_eval_pdc()
Dsleep.c721 union acpi_object *package;
741 union acpi_object *out_obj; in lpi_device_get_constraints()
765 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints()
773 union acpi_object *element = in lpi_device_get_constraints()
805 union acpi_object *info_obj = &info.package[j]; in lpi_device_get_constraints()
806 union acpi_object *cnstr_pkg; in lpi_device_get_constraints()
807 union acpi_object *obj; in lpi_device_get_constraints()
881 union acpi_object *out_obj; in acpi_sleep_run_lps0_dsm()
896 union acpi_object *out_obj; in lps0_device_attach()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-platform.c362 static inline bool is_acpi_guid(const union acpi_object *obj) in is_acpi_guid()
371 static inline bool acpi_guid_matches(const union acpi_object *obj, in acpi_guid_matches()
378 static inline bool is_acpi_dsd_graph_guid(const union acpi_object *obj) in is_acpi_dsd_graph_guid()
383 static inline bool is_acpi_coresight_graph_guid(const union acpi_object *obj) in is_acpi_coresight_graph_guid()
388 static inline bool is_acpi_coresight_graph(const union acpi_object *obj) in is_acpi_coresight_graph()
390 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph()
475 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph()
478 const union acpi_object *rev, *nr_graphs; in acpi_validate_dsd_graph()
509 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
520 static const union acpi_object *
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c122 union acpi_object *args) in iwl_acpi_get_dsm_object()
124 union acpi_object *obj; in iwl_acpi_get_dsm_object()
143 union acpi_object *obj; in iwl_acpi_get_dsm_u8()
176 union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev, in iwl_acpi_get_wifi_pkg()
177 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
181 union acpi_object *wifi_pkg; in iwl_acpi_get_wifi_pkg()
209 union acpi_object *domain; in iwl_acpi_get_wifi_pkg()
235 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_tas()
309 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_mcc()
345 union acpi_object *data, *wifi_pkg; in iwl_acpi_get_pwr_limit()
[all …]
Dacpi.h158 union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev,
159 union acpi_object *data,
211 int func, union acpi_object *args) in iwl_acpi_get_dsm_object()
221 static inline union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev, in iwl_acpi_get_wifi_pkg()
222 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ppi.c41 static inline union acpi_object *
43 union acpi_object *argv4, u64 rev) in tpm_eval_dsm()
62 union acpi_object *obj; in tpm_show_ppi_request()
119 union acpi_object *obj, tmp[2]; in tpm_store_ppi_request()
120 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(2, tmp); in tpm_store_ppi_request()
181 union acpi_object *obj = NULL; in tpm_show_ppi_transition_action()
182 union acpi_object tmp = { in tpm_show_ppi_transition_action()
226 union acpi_object *obj, *ret_obj; in tpm_show_ppi_response()
288 union acpi_object *obj, tmp; in show_ppi_operations()
289 union acpi_object argv = ACPI_INIT_DSM_ARGV4(1, &tmp); in show_ppi_operations()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/x86/
Dapple.c30 union acpi_object *props, *newprops; in acpi_extract_apple_properties()
68 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
69 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
91 newsize += (1 + 3 * numvalid) * sizeof(union acpi_object); in acpi_extract_apple_properties()
103 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
104 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c90 static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, in radeon_atpx_call()
94 union acpi_object atpx_arg_elements[2]; in radeon_atpx_call()
162 union acpi_object *info; in radeon_atpx_validate()
229 union acpi_object *info; in radeon_atpx_verify_interface()
274 union acpi_object *info; in radeon_atpx_set_discrete_state()
310 union acpi_object *info; in radeon_atpx_switch_disp_mux()
342 union acpi_object *info; in radeon_atpx_switch_i2c_mux()
374 union acpi_object *info; in radeon_atpx_switch_start()
406 union acpi_object *info; in radeon_atpx_switch_end()
Dradeon_acpi.c115 static union acpi_object *radeon_atif_call(acpi_handle handle, int function, in radeon_atif_call()
119 union acpi_object atif_arg_elements[2]; in radeon_atif_call()
213 union acpi_object *info; in radeon_atif_verify_interface()
260 union acpi_object *info; in radeon_atif_get_notification_params()
322 union acpi_object *info; in radeon_atif_get_sbios_requests()
440 static union acpi_object *radeon_atcs_call(acpi_handle handle, int function, in radeon_atcs_call()
444 union acpi_object atcs_arg_elements[2]; in radeon_atcs_call()
509 union acpi_object *info; in radeon_atcs_verify_interface()
571 union acpi_object *info; in radeon_acpi_pcie_notify_device_ready()
606 union acpi_object *info; in radeon_acpi_pcie_performance_request()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c108 static union acpi_object *amdgpu_atpx_call(acpi_handle handle, int function, in amdgpu_atpx_call()
112 union acpi_object atpx_arg_elements[2]; in amdgpu_atpx_call()
180 union acpi_object *info; in amdgpu_atpx_validate()
258 union acpi_object *info; in amdgpu_atpx_verify_interface()
303 union acpi_object *info; in amdgpu_atpx_set_discrete_state()
339 union acpi_object *info; in amdgpu_atpx_switch_disp_mux()
371 union acpi_object *info; in amdgpu_atpx_switch_i2c_mux()
403 union acpi_object *info; in amdgpu_atpx_switch_start()
435 union acpi_object *info; in amdgpu_atpx_switch_end()
Damdgpu_acpi.c85 static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif, in amdgpu_atif_call()
90 union acpi_object atif_arg_elements[2]; in amdgpu_atif_call()
178 union acpi_object *info; in amdgpu_atif_verify_interface()
253 union acpi_object *info; in amdgpu_atif_get_notification_params()
321 union acpi_object *info; in amdgpu_atif_query_backlight_caps()
376 union acpi_object *info; in amdgpu_atif_get_sbios_requests()
496 static union acpi_object *amdgpu_atcs_call(acpi_handle handle, int function, in amdgpu_atcs_call()
500 union acpi_object atcs_arg_elements[2]; in amdgpu_atcs_call()
565 union acpi_object *info; in amdgpu_atcs_verify_interface()
627 union acpi_object *info; in amdgpu_acpi_pcie_notify_device_ready()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c61 union acpi_object *obj; in hns_dsaf_acpi_ledctrl_by_port()
62 union acpi_object obj_args[3], argv4; in hns_dsaf_acpi_ledctrl_by_port()
90 union acpi_object obj_args[2], argv4; in hns_dsaf_acpi_locate_ledctrl_by_port()
91 union acpi_object *obj; in hns_dsaf_acpi_locate_ledctrl_by_port()
253 union acpi_object *obj; in hns_dsaf_acpi_srst_by_port()
254 union acpi_object obj_args[3], argv4; in hns_dsaf_acpi_srst_by_port()
547 union acpi_object *obj; in hns_mac_get_phy_if_acpi()
548 union acpi_object obj_args, argv4; in hns_mac_get_phy_if_acpi()
594 union acpi_object *obj; in hns_mac_get_sfp_prsnt_acpi()
595 union acpi_object obj_args, argv4; in hns_mac_get_sfp_prsnt_acpi()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_acpi.c77 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info()
96 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
97 union acpi_object *connector_id; in intel_dsm_platform_mux_info()
98 union acpi_object *info; in intel_dsm_platform_mux_info()
/kernel/linux/linux-5.10/include/acpi/
Dacpi_bus.h24 acpi_extract_package(union acpi_object *package,
53 union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
54 u64 rev, u64 func, union acpi_object *argv4);
56 static inline union acpi_object *
58 u64 func, union acpi_object *argv4, in acpi_evaluate_dsm_typed()
61 union acpi_object *obj; in acpi_evaluate_dsm_typed()
243 union acpi_object *str_obj; /* unicode string for _STR method */
337 const union acpi_object *properties;
343 const union acpi_object *pointer;
345 const union acpi_object *of_compatible;
/kernel/linux/linux-5.10/drivers/pci/
Dpci-acpi.c170 static acpi_status decode_type0_hpx_record(union acpi_object *record, in decode_type0_hpx_record()
174 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
220 static acpi_status decode_type1_hpx_record(union acpi_object *record, in decode_type1_hpx_record()
224 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
369 static acpi_status decode_type2_hpx_record(union acpi_object *record, in decode_type2_hpx_record()
373 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
568 union acpi_object *reg_fields) in parse_hpx3_register()
587 union acpi_object *record) in program_type3_hpx_record()
589 union acpi_object *fields = record->package.elements; in program_type3_hpx_record()
591 union acpi_object *reg_fields; in program_type3_hpx_record()
[all …]

1234567