Home
last modified time | relevance | path

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

12345678

/linux/drivers/hwmon/
H A 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 …]
H A 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/drivers/acpi/acpica/
H A 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 …]
H A 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 …]
H A 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);
H A 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()
225 char *string, union acpi_object *object) in acpi_db_convert_to_object()
351 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc) in acpi_db_dump_pld_buffer()
353 union acpi_object *buffer_desc; in acpi_db_dump_pld_buffer()
/linux/drivers/acpi/
H A Dproperty.c25 const union acpi_object **obj);
72 union acpi_object *desc,
76 union acpi_object *desc,
79 static bool acpi_nondev_subnode_extract(union acpi_object *desc, in acpi_nondev_subnode_extract()
81 const union acpi_object *link, in acpi_nondev_subnode_extract()
136 const union acpi_object *link, in acpi_nondev_subnode_data_ok()
157 const union acpi_object *link, in acpi_nondev_subnode_ok()
176 union acpi_object *links, in acpi_add_nondev_subnodes()
184 union acpi_object *link, *desc; in acpi_add_nondev_subnodes()
224 union acpi_object *desc, in acpi_enumerate_nondev_subnodes()
[all …]
H A 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()
H A 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()
309 union acpi_object *obj; in acpi_get_subsystem_id()
347 union acpi_object *package; in acpi_evaluate_reference()
375 union acpi_object *element = &(package->package.elements[i]); in acpi_evaluate_reference()
502 union acpi_object *output; in acpi_get_physical_device_location()
545 union acpi_object params[3] = { in acpi_evaluate_ost()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-platform.c338 static inline bool is_acpi_guid(const union acpi_object *obj) in is_acpi_guid()
347 static inline bool acpi_guid_matches(const union acpi_object *obj, in acpi_guid_matches()
354 static inline bool is_acpi_dsd_graph_guid(const union acpi_object *obj) in is_acpi_dsd_graph_guid()
359 static inline bool is_acpi_coresight_graph_guid(const union acpi_object *obj) in is_acpi_coresight_graph_guid()
364 static inline bool is_acpi_coresight_graph(const union acpi_object *obj) in is_acpi_coresight_graph()
366 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph()
451 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph()
454 const union acpi_object *rev, *nr_graphs; in acpi_validate_dsd_graph()
485 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
496 static const union acpi_object *
[all …]
/linux/drivers/platform/x86/
H A Dlg-laptop.c113 union acpi_object args[1]; in ggov()
114 union acpi_object *r; in ggov()
151 static union acpi_object *lg_wmab(struct device *dev, u32 method, u32 arg1, u32 arg2) in lg_wmab()
153 union acpi_object args[3]; in lg_wmab()
177 static union acpi_object *lg_wmbb(struct device *dev, u32 method_id, u32 arg1, u32 arg2) in lg_wmbb()
179 union acpi_object args[3]; in lg_wmbb()
205 return (union acpi_object *)buffer.pointer; in lg_wmbb()
208 static void wmi_notify(union acpi_object *obj, void *context) in wmi_notify()
278 union acpi_object *r; in fan_mode_store()
309 union acpi_object *r; in fan_mode_show()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c83 union acpi_object *args, in iwl_acpi_get_dsm_object()
86 union acpi_object *obj; in iwl_acpi_get_dsm_object()
110 union acpi_object *obj; in iwl_acpi_get_dsm_integer()
192 static union acpi_object *
194 union acpi_object *data, in iwl_acpi_get_wifi_pkg_range()
200 union acpi_object *wifi_pkg; in iwl_acpi_get_wifi_pkg_range()
227 union acpi_object *domain; in iwl_acpi_get_wifi_pkg_range()
249 static union acpi_object *
251 union acpi_object *data, in iwl_acpi_get_wifi_pkg()
261 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_tas_table()
[all …]
/linux/drivers/char/tpm/
H A 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/drivers/acpi/x86/
H A 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 …]
H A 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/drivers/platform/x86/amd/pmf/
H A 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()
93 static union acpi_object *apts_if_call(struct amd_pmf_dev *pdev, u32 state_index) in apts_if_call()
98 union acpi_object apts_if_args[3]; in apts_if_call()
124 union acpi_object *info; in apts_if_call_store_buffer()
197 union acpi_object *info; in apmf_os_power_slider_update()
216 union acpi_object *info; in apmf_sbios_heartbeat_notify()
231 union acpi_object *info; in amd_pmf_notify_sbios_heartbeat_event_v2()
266 union acpi_object *info; in apmf_update_fan_idx()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c94 static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, in radeon_atpx_call()
98 union acpi_object atpx_arg_elements[2]; in radeon_atpx_call()
166 union acpi_object *info; in radeon_atpx_validate()
233 union acpi_object *info; in radeon_atpx_verify_interface()
278 union acpi_object *info; in radeon_atpx_set_discrete_state()
314 union acpi_object *info; in radeon_atpx_switch_disp_mux()
346 union acpi_object *info; in radeon_atpx_switch_i2c_mux()
378 union acpi_object *info; in radeon_atpx_switch_start()
410 union acpi_object *info; in radeon_atpx_switch_end()
H A 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/drivers/net/ethernet/hisilicon/hns/
H A 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/drivers/platform/x86/amd/
H A Dwbrf.c44 union acpi_object argv4; in wbrf_record()
45 union acpi_object *tmp; in wbrf_record()
46 union acpi_object *obj; in wbrf_record()
233 union acpi_object *obj; in amd_wbrf_retrieve_freq_band()
234 union acpi_object param; in amd_wbrf_retrieve_freq_band()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A 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/drivers/net/wireless/realtek/rtw89/
H A Dacpi.c16 int rtw89_acpi_dsm_get_value(struct rtw89_dev *rtwdev, union acpi_object *obj, in rtw89_acpi_dsm_get_value()
38 union acpi_object *obj, in rtw89_acpi_dsm_get_policy_6ghz()
90 union acpi_object *obj, in rtw89_acpi_dsm_get_policy_6ghz_sp()
128 union acpi_object *obj; in rtw89_acpi_evaluate_dsm()
/linux/drivers/gpu/drm/i915/display/
H A 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/drivers/platform/x86/intel/int3472/
H A 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()
36 union acpi_object *obj; in skl_int3472_fill_cldb()
/linux/drivers/pci/
H A Dpci-acpi.c126 union acpi_object *obj; in pci_acpi_preserve_config()
195 static acpi_status decode_type0_hpx_record(union acpi_object *record, in decode_type0_hpx_record()
199 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
245 static acpi_status decode_type1_hpx_record(union acpi_object *record, in decode_type1_hpx_record()
249 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
394 static acpi_status decode_type2_hpx_record(union acpi_object *record, in decode_type2_hpx_record()
398 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
593 union acpi_object *reg_fields) in parse_hpx3_register()
612 union acpi_object *record) in program_type3_hpx_record()
614 union acpi_object *fields = record->package.elements; in program_type3_hpx_record()
[all …]

12345678