Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/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 …]
Dhp-wmi-sensors.c487 static union acpi_object *hp_wmi_get_wobj(const char *guid, u8 instance) in hp_wmi_get_wobj()
509 static int check_wobj(const union acpi_object *wobj, in check_wobj()
514 union acpi_object *elements; in check_wobj()
543 union acpi_object *element, in extract_acpi_value()
575 static int check_numeric_sensor_wobj(const union acpi_object *wobj, in check_numeric_sensor_wobj()
581 union acpi_object *elements; in check_numeric_sensor_wobj()
814 union acpi_object *wobj, bool *out_is_new) in populate_numeric_sensor_from_wobj()
819 union acpi_object *element; in populate_numeric_sensor_from_wobj()
932 const union acpi_object *wobj) in update_numeric_sensor_from_wobj()
934 const union acpi_object *elements; in update_numeric_sensor_from_wobj()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-platform.c336 static inline bool is_acpi_guid(const union acpi_object *obj) in is_acpi_guid()
345 static inline bool acpi_guid_matches(const union acpi_object *obj, in acpi_guid_matches()
352 static inline bool is_acpi_dsd_graph_guid(const union acpi_object *obj) in is_acpi_dsd_graph_guid()
357 static inline bool is_acpi_coresight_graph_guid(const union acpi_object *obj) in is_acpi_coresight_graph_guid()
362 static inline bool is_acpi_coresight_graph(const union acpi_object *obj) in is_acpi_coresight_graph()
364 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph()
449 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph()
452 const union acpi_object *rev, *nr_graphs; in acpi_validate_dsd_graph()
483 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
494 static const union acpi_object *
[all …]
/linux-6.6.21/drivers/acpi/
Dproperty.c22 const union acpi_object **obj);
63 union acpi_object *desc,
67 union acpi_object *desc,
70 static bool acpi_nondev_subnode_extract(union acpi_object *desc, in acpi_nondev_subnode_extract()
72 const union acpi_object *link, in acpi_nondev_subnode_extract()
124 const union acpi_object *link, in acpi_nondev_subnode_data_ok()
145 const union acpi_object *link, in acpi_nondev_subnode_ok()
164 union acpi_object *links, in acpi_add_nondev_subnodes()
172 union acpi_object *link, *desc; in acpi_add_nondev_subnodes()
212 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.c32 acpi_extract_package(union acpi_object *package, in acpi_extract_package()
74 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
166 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
252 union acpi_object element; in acpi_evaluate_integer()
258 buffer.length = sizeof(union acpi_object); in acpi_evaluate_integer()
299 union acpi_object *obj; in acpi_get_subsystem_id()
339 union acpi_object *package = NULL; in acpi_evaluate_reference()
340 union acpi_object *element = NULL; in acpi_evaluate_reference()
420 union acpi_object *output; in acpi_get_physical_device_location()
463 union acpi_object params[3] = { in acpi_evaluate_ost()
[all …]
/linux-6.6.21/drivers/platform/x86/
Dlg-laptop.c93 union acpi_object args[1]; in ggov()
94 union acpi_object *r; in ggov()
131 static union acpi_object *lg_wmab(u32 method, u32 arg1, u32 arg2) in lg_wmab()
133 union acpi_object args[3]; in lg_wmab()
164 static union acpi_object *lg_wmbb(u32 method_id, u32 arg1, u32 arg2) in lg_wmbb()
166 union acpi_object args[3]; in lg_wmbb()
199 return (union acpi_object *)buffer.pointer; in lg_wmbb()
205 union acpi_object *obj; in wmi_notify()
216 obj = (union acpi_object *)response.pointer; in wmi_notify()
290 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 …]
/linux-6.6.21/drivers/acpi/x86/
Ds2idle.c68 union acpi_object *package;
104 union acpi_object *out_obj; in lpi_device_get_constraints_amd()
118 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd()
138 union acpi_object *info_obj = &package->package.elements[j]; in lpi_device_get_constraints_amd()
146 union acpi_object *obj = &info_obj->package.elements[k]; in lpi_device_get_constraints_amd()
194 union acpi_object *out_obj; in lpi_device_get_constraints()
218 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints()
226 union acpi_object *element = in lpi_device_get_constraints()
258 union acpi_object *info_obj = &info.package[j]; in lpi_device_get_constraints()
259 union acpi_object *cnstr_pkg; in lpi_device_get_constraints()
[all …]
Dapple.c31 union acpi_object *props, *newprops; in acpi_extract_apple_properties()
69 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
70 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
95 newsize += (1 + 3 * numvalid) * sizeof(union acpi_object); in acpi_extract_apple_properties()
107 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
108 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c130 union acpi_object *args, in iwl_acpi_get_dsm_object()
133 union acpi_object *obj; in iwl_acpi_get_dsm_object()
157 union acpi_object *obj; in iwl_acpi_get_dsm_integer()
244 static union acpi_object *
246 union acpi_object *data, in iwl_acpi_get_wifi_pkg_range()
252 union acpi_object *wifi_pkg; in iwl_acpi_get_wifi_pkg_range()
279 union acpi_object *domain; in iwl_acpi_get_wifi_pkg_range()
301 static union acpi_object *
303 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
314 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_tas()
[all …]
/linux-6.6.21/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.c114 static union acpi_object *radeon_atif_call(acpi_handle handle, int function, in radeon_atif_call()
118 union acpi_object atif_arg_elements[2]; in radeon_atif_call()
212 union acpi_object *info; in radeon_atif_verify_interface()
259 union acpi_object *info; in radeon_atif_get_notification_params()
321 union acpi_object *info; in radeon_atif_get_sbios_requests()
437 static union acpi_object *radeon_atcs_call(acpi_handle handle, int function, in radeon_atcs_call()
441 union acpi_object atcs_arg_elements[2]; in radeon_atcs_call()
506 union acpi_object *info; in radeon_atcs_verify_interface()
568 union acpi_object *info; in radeon_acpi_pcie_notify_device_ready()
603 union acpi_object *info; in radeon_acpi_pcie_performance_request()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c114 static union acpi_object *amdgpu_atpx_call(acpi_handle handle, int function, in amdgpu_atpx_call()
118 union acpi_object atpx_arg_elements[2]; in amdgpu_atpx_call()
186 union acpi_object *info; in amdgpu_atpx_validate()
264 union acpi_object *info; in amdgpu_atpx_verify_interface()
309 union acpi_object *info; in amdgpu_atpx_set_discrete_state()
345 union acpi_object *info; in amdgpu_atpx_switch_disp_mux()
377 union acpi_object *info; in amdgpu_atpx_switch_i2c_mux()
409 union acpi_object *info; in amdgpu_atpx_switch_start()
441 union acpi_object *info; in amdgpu_atpx_switch_end()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/
Ddell-wmi-sysman.h158 union acpi_object *get_wmiobj_pointer(int instance_id, const char *guid_string);
162 int populate_enum_data(union acpi_object *enumeration_obj, int instance_id,
167 int populate_int_data(union acpi_object *integer_obj, int instance_id,
172 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj);
176 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj);
/linux-6.6.21/drivers/platform/x86/intel/int3472/
Dcommon.c9 union acpi_object *skl_int3472_get_acpi_buffer(struct acpi_device *adev, char *id) in skl_int3472_get_acpi_buffer()
13 union acpi_object *obj; in skl_int3472_get_acpi_buffer()
35 union acpi_object *obj; in skl_int3472_fill_cldb()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_acpi.c84 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info()
103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
104 union acpi_object *connector_id; in intel_dsm_platform_mux_info()
105 union acpi_object *info; in intel_dsm_platform_mux_info()
190 union acpi_object *obj; in intel_dsm_get_bios_data_funcs_supported()
/linux-6.6.21/drivers/platform/x86/amd/pmf/
Dacpi.c17 static union acpi_object *apmf_if_call(struct amd_pmf_dev *pdev, int fn, struct acpi_buffer *param) in apmf_if_call()
22 union acpi_object apmf_if_args[2]; in apmf_if_call()
52 union acpi_object *info; in apmf_if_call_store_buffer()
113 union acpi_object *info; in apmf_os_power_slider_update()
133 union acpi_object *info; in apmf_sbios_heartbeat_notify()
148 union acpi_object *info; in apmf_update_fan_idx()
/linux-6.6.21/drivers/pci/
Dpci-acpi.c172 static acpi_status decode_type0_hpx_record(union acpi_object *record, in decode_type0_hpx_record()
176 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
222 static acpi_status decode_type1_hpx_record(union acpi_object *record, in decode_type1_hpx_record()
226 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
371 static acpi_status decode_type2_hpx_record(union acpi_object *record, in decode_type2_hpx_record()
375 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
570 union acpi_object *reg_fields) in parse_hpx3_register()
589 union acpi_object *record) in program_type3_hpx_record()
591 union acpi_object *fields = record->package.elements; in program_type3_hpx_record()
593 union acpi_object *reg_fields; in program_type3_hpx_record()
[all …]

123456789