Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/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 …]
/Linux-v5.15/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-v5.15/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.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()
301 union acpi_object *package = NULL; in acpi_evaluate_reference()
302 union acpi_object *element = NULL; in acpi_evaluate_reference()
382 union acpi_object *output; in acpi_get_physical_device_location()
425 union acpi_object params[3] = { in acpi_evaluate_ost()
560 union acpi_object obj = { .type = ACPI_TYPE_INTEGER }; in acpi_execute_simple_method()
[all …]
Dprocessor_pdc.c26 union acpi_object object = { 0 }; in processor_physically_present()
27 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in processor_physically_present()
71 union acpi_object *obj; in acpi_processor_alloc_pdc()
79 obj = kmalloc(sizeof(union acpi_object), GFP_KERNEL); in acpi_processor_alloc_pdc()
121 union acpi_object *obj; in acpi_processor_eval_pdc()
/Linux-v5.15/drivers/platform/x86/
Dlg-laptop.c92 union acpi_object args[1]; in ggov()
93 union acpi_object *r; in ggov()
130 static union acpi_object *lg_wmab(u32 method, u32 arg1, u32 arg2) in lg_wmab()
132 union acpi_object args[3]; in lg_wmab()
163 static union acpi_object *lg_wmbb(u32 method_id, u32 arg1, u32 arg2) in lg_wmbb()
165 union acpi_object args[3]; in lg_wmbb()
198 return (union acpi_object *)buffer.pointer; in lg_wmbb()
204 union acpi_object *obj; in wmi_notify()
215 obj = (union acpi_object *)response.pointer; in wmi_notify()
289 union acpi_object *r; in fan_mode_store()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/acpi/x86/
Ds2idle.c66 union acpi_object *package;
95 union acpi_object *out_obj; in lpi_device_get_constraints_amd()
109 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd()
123 union acpi_object *info_obj = &package->package.elements[j]; in lpi_device_get_constraints_amd()
129 union acpi_object *obj = &info_obj->package.elements[k]; in lpi_device_get_constraints_amd()
182 union acpi_object *out_obj; in lpi_device_get_constraints()
206 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints()
214 union acpi_object *element = in lpi_device_get_constraints()
246 union acpi_object *info_obj = &info.package[j]; in lpi_device_get_constraints()
247 union acpi_object *cnstr_pkg; in lpi_device_get_constraints()
[all …]
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()
/Linux-v5.15/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-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c73 union acpi_object *args, in iwl_acpi_get_dsm_object()
76 union acpi_object *obj; in iwl_acpi_get_dsm_object()
100 union acpi_object *obj; in iwl_acpi_get_dsm_integer()
187 union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev, in iwl_acpi_get_wifi_pkg()
188 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
192 union acpi_object *wifi_pkg; in iwl_acpi_get_wifi_pkg()
219 union acpi_object *domain; in iwl_acpi_get_wifi_pkg()
245 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_tas()
319 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_mcc()
355 union acpi_object *data, *wifi_pkg; in iwl_acpi_get_pwr_limit()
[all …]
Dacpi.h161 union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev,
162 union acpi_object *data,
216 int func, union acpi_object *args) in iwl_acpi_get_dsm_object()
233 static inline union acpi_object *iwl_acpi_get_wifi_pkg(struct device *dev, in iwl_acpi_get_wifi_pkg()
234 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
/Linux-v5.15/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()
439 static union acpi_object *radeon_atcs_call(acpi_handle handle, int function, in radeon_atcs_call()
443 union acpi_object atcs_arg_elements[2]; in radeon_atcs_call()
508 union acpi_object *info; in radeon_atcs_verify_interface()
570 union acpi_object *info; in radeon_acpi_pcie_notify_device_ready()
605 union acpi_object *info; in radeon_acpi_pcie_performance_request()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_acpi.c83 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info()
102 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
103 union acpi_object *connector_id; in intel_dsm_platform_mux_info()
104 union acpi_object *info; in intel_dsm_platform_mux_info()
189 union acpi_object *obj; in intel_dsm_get_bios_data_funcs_supported()
/Linux-v5.15/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.c106 static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif, in amdgpu_atif_call()
111 union acpi_object atif_arg_elements[2]; in amdgpu_atif_call()
198 union acpi_object *info; in amdgpu_atif_verify_interface()
243 union acpi_object *info; in amdgpu_atif_get_notification_params()
311 union acpi_object *info; in amdgpu_atif_query_backlight_caps()
366 union acpi_object *info; in amdgpu_atif_get_sbios_requests()
485 static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs, in amdgpu_atcs_call()
490 union acpi_object atcs_arg_elements[2]; in amdgpu_atcs_call()
554 union acpi_object *info; in amdgpu_atcs_verify_interface()
627 union acpi_object *info; in amdgpu_acpi_pcie_notify_device_ready()
[all …]
/Linux-v5.15/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()
543 union acpi_object *obj; in hns_mac_get_phy_if_acpi()
544 union acpi_object obj_args, argv4; in hns_mac_get_phy_if_acpi()
590 union acpi_object *obj; in hns_mac_get_sfp_prsnt_acpi()
591 union acpi_object obj_args, argv4; in hns_mac_get_sfp_prsnt_acpi()
[all …]
/Linux-v5.15/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-v5.15/drivers/platform/x86/intel/int3472/
Dintel_skl_int3472_common.c11 union acpi_object *skl_int3472_get_acpi_buffer(struct acpi_device *adev, char *id) in skl_int3472_get_acpi_buffer()
15 union acpi_object *obj; in skl_int3472_get_acpi_buffer()
37 union acpi_object *obj; in skl_int3472_fill_cldb()
/Linux-v5.15/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()
244 union acpi_object *str_obj; /* unicode string for _STR method */
344 const union acpi_object *properties;
350 const union acpi_object *pointer;
352 const union acpi_object *of_compatible;

12345678