Home
last modified time | relevance | path

Searched refs:instance_id (Results 1 – 25 of 94) sorted by relevance

1234

/linux-6.12.1/drivers/platform/x86/dell/dell-wmi-sysman/
Dstring-attributes.c17 int instance_id = get_str_instance_id(kobj); in current_value_show() local
21 if (instance_id < 0) in current_value_show()
25 obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_STRING_ATTRIBUTE_GUID); in current_value_show()
42 static int validate_str_input(int instance_id, const char *buf) in validate_str_input() argument
46 if ((in_len < wmi_priv.str_data[instance_id].min_length) || in validate_str_input()
47 (in_len > wmi_priv.str_data[instance_id].max_length)) in validate_str_input()
125 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj) in populate_str_data() argument
127 wmi_priv.str_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_str_data()
130 strlcpy_attr(wmi_priv.str_data[instance_id].attribute_name, in populate_str_data()
134 strlcpy_attr(wmi_priv.str_data[instance_id].display_name_language_code, in populate_str_data()
[all …]
Dint-attributes.c17 int instance_id = get_integer_instance_id(kobj); in current_value_show() local
21 if (instance_id < 0) in current_value_show()
22 return instance_id; in current_value_show()
25 obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_INTEGER_ATTRIBUTE_GUID); in current_value_show()
42 static int validate_integer_input(int instance_id, char *buf) in validate_integer_input() argument
50 if (in_val < wmi_priv.integer_data[instance_id].min_value || in validate_integer_input()
51 in_val > wmi_priv.integer_data[instance_id].max_value) in validate_integer_input()
140 int populate_int_data(union acpi_object *integer_obj, int instance_id, in populate_int_data() argument
143 wmi_priv.integer_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_int_data()
146 strlcpy_attr(wmi_priv.integer_data[instance_id].attribute_name, in populate_int_data()
[all …]
Denum-attributes.c15 int instance_id = get_enumeration_instance_id(kobj); in current_value_show() local
19 if (instance_id < 0) in current_value_show()
20 return instance_id; in current_value_show()
23 obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_ENUMERATION_ATTRIBUTE_GUID); in current_value_show()
40 static int validate_enumeration_input(int instance_id, const char *buf) in validate_enumeration_input() argument
45 options = tmp = kstrdup(wmi_priv.enumeration_data[instance_id].possible_values, in validate_enumeration_input()
137 int populate_enum_data(union acpi_object *enumeration_obj, int instance_id, in populate_enum_data() argument
142 wmi_priv.enumeration_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_enum_data()
145 strlcpy_attr(wmi_priv.enumeration_data[instance_id].attribute_name, in populate_enum_data()
149 strlcpy_attr(wmi_priv.enumeration_data[instance_id].display_name_language_code, in populate_enum_data()
[all …]
Dpassobj-attributes.c18 int instance_id = get_po_instance_id(kobj); in is_enabled_show() local
22 if (instance_id < 0) in is_enabled_show()
23 return instance_id; in is_enabled_show()
26 obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_PASSOBJ_ATTRIBUTE_GUID); in is_enabled_show()
159 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj) in populate_po_data() argument
161 wmi_priv.po_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_po_data()
164 strlcpy_attr(wmi_priv.po_data[instance_id].attribute_name, in populate_po_data()
168 wmi_priv.po_data[instance_id].min_password_length = in populate_po_data()
172 wmi_priv.po_data[instance_id].max_password_length = in populate_po_data()
185 int instance_id; in exit_po_attributes() local
[all …]
Dsysman.c290 union acpi_object *get_wmiobj_pointer(int instance_id, const char *guid_string) in get_wmiobj_pointer() argument
295 status = wmi_query_block(guid_string, instance_id, &out); in get_wmiobj_pointer()
403 int instance_id = 0; in init_bios_attributes() local
421 obj = get_wmiobj_pointer(instance_id, guid); in init_bios_attributes()
482 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes()
486 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
489 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
492 retval = populate_po_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
506 instance_id++; in init_bios_attributes()
507 obj = get_wmiobj_pointer(instance_id, guid); in init_bios_attributes()
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.12.1/drivers/platform/x86/hp/hp-bioscfg/
Dstring-attributes.c17 int instance_id = get_string_instance_id(kobj); in current_value_show() local
19 if (instance_id < 0) in current_value_show()
23 bioscfg_drv.string_data[instance_id].current_value); in current_value_show()
33 static int validate_string_input(int instance_id, const char *buf) in validate_string_input() argument
36 struct string_data *string_data = &bioscfg_drv.string_data[instance_id]; in validate_string_input()
48 static void update_string_value(int instance_id, char *attr_value) in update_string_value() argument
50 struct string_data *string_data = &bioscfg_drv.string_data[instance_id]; in update_string_value()
131 int instance_id) in hp_populate_string_elements_from_package() argument
141 struct string_data *string_data = &bioscfg_drv.string_data[instance_id]; in hp_populate_string_elements_from_package()
270 int instance_id, in hp_populate_string_package_data() argument
[all …]
Denum-attributes.c15 int instance_id = get_enumeration_instance_id(kobj); in current_value_show() local
17 if (instance_id < 0) in current_value_show()
21 bioscfg_drv.enumeration_data[instance_id].current_value); in current_value_show()
31 static int validate_enumeration_input(int instance_id, const char *buf) in validate_enumeration_input() argument
35 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in validate_enumeration_input()
51 static void update_enumeration_value(int instance_id, char *attr_value) in update_enumeration_value() argument
53 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in update_enumeration_value()
125 int instance_id) in hp_populate_enumeration_elements_from_package() argument
136 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_elements_from_package()
304 int instance_id, in hp_populate_enumeration_package_data() argument
[all …]
Dint-attributes.c15 int instance_id = get_integer_instance_id(kobj); in current_value_show() local
17 if (instance_id < 0) in current_value_show()
21 bioscfg_drv.integer_data[instance_id].current_value); in current_value_show()
31 static int validate_integer_input(int instance_id, char *buf) in validate_integer_input() argument
35 struct integer_data *integer_data = &bioscfg_drv.integer_data[instance_id]; in validate_integer_input()
52 static void update_integer_value(int instance_id, char *attr_value) in update_integer_value() argument
56 struct integer_data *integer_data = &bioscfg_drv.integer_data[instance_id]; in update_integer_value()
141 int instance_id) in hp_populate_integer_elements_from_package() argument
151 struct integer_data *integer_data = &bioscfg_drv.integer_data[instance_id]; in hp_populate_integer_elements_from_package()
282 int instance_id, in hp_populate_integer_package_data() argument
[all …]
Dorder-list-attributes.c15 int instance_id = get_ordered_list_instance_id(kobj); in current_value_show() local
17 if (instance_id < 0) in current_value_show()
21 bioscfg_drv.ordered_list_data[instance_id].current_value); in current_value_show()
129 int instance_id) in hp_populate_ordered_list_elements_from_package() argument
144 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_elements_from_package()
300 int hp_populate_ordered_list_package_data(union acpi_object *order_obj, int instance_id, in hp_populate_ordered_list_package_data() argument
303 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_package_data()
309 instance_id); in hp_populate_ordered_list_package_data()
320 int instance_id) in hp_populate_ordered_list_elements_from_buffer() argument
323 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_elements_from_buffer()
[all …]
Dpasswdobj-attributes.c63 static int validate_password_input(int instance_id, const char *buf) in validate_password_input() argument
66 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in validate_password_input()
219 int instance_id) in hp_populate_password_elements_from_package() argument
230 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_elements_from_package()
386 int hp_populate_password_package_data(union acpi_object *password_obj, int instance_id, in hp_populate_password_package_data() argument
389 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_package_data()
395 instance_id); in hp_populate_password_package_data()
409 int instance_id) in hp_populate_password_elements_from_buffer() argument
413 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_elements_from_buffer()
496 int hp_populate_password_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, in hp_populate_password_buffer_data() argument
[all …]
Dbioscfg.h365 int instance_id = get_##type##_instance_id(kobj); \
367 if (instance_id < 0) \
370 for (i = 0; i < bioscfg_drv.type##_data[instance_id].name##_size; i++) { \
375 bioscfg_drv.type##_data[instance_id].name[i]); \
397 int instance_id,
402 int instance_id,
407 int instance_id,
412 int instance_id,
417 int instance_id,
422 int instance_id,
[all …]
Dbioscfg.c377 union acpi_object *hp_get_wmiobj_pointer(int instance_id, const char *guid_string) in hp_get_wmiobj_pointer() argument
382 status = wmi_query_block(guid_string, instance_id, &out); in hp_get_wmiobj_pointer()
656 int instance_id) in hp_init_bios_package_attribute() argument
732 instance_id, in hp_init_bios_package_attribute()
737 instance_id, in hp_init_bios_package_attribute()
742 instance_id, in hp_init_bios_package_attribute()
747 instance_id, in hp_init_bios_package_attribute()
752 instance_id, in hp_init_bios_package_attribute()
768 int instance_id) in hp_init_bios_buffer_attribute() argument
829 instance_id, in hp_init_bios_buffer_attribute()
[all …]
/linux-6.12.1/sound/soc/intel/avs/
Dmessages.c68 u8 instance_id, bool lp, u16 attributes) in avs_ipc_create_pipeline() argument
75 msg.create_ppl.instance_id = instance_id; in avs_ipc_create_pipeline()
83 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id) in avs_ipc_delete_pipeline() argument
88 msg.ppl.instance_id = instance_id; in avs_ipc_delete_pipeline()
94 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_set_pipeline_state() argument
100 msg.set_ppl_state.ppl_id = instance_id; in avs_ipc_set_pipeline_state()
107 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_get_pipeline_state() argument
115 msg.get_ppl_state.ppl_id = instance_id; in avs_ipc_get_pipeline_state()
142 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id, in avs_ipc_init_instance() argument
150 msg.instance_id = instance_id; in avs_ipc_init_instance()
[all …]
Dpath.c259 ret = avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_copier_create()
261 &mod->instance_id); in avs_copier_create()
318 ret = avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, t->core_id, in avs_peakvol_create()
319 t->domain, cfg, cfg_size, &mod->instance_id); in avs_peakvol_create()
341 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_updown_mix_create()
343 &mod->instance_id); in avs_updown_mix_create()
358 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_src_create()
360 &mod->instance_id); in avs_src_create()
378 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_asrc_create()
380 &mod->instance_id); in avs_asrc_create()
[all …]
Ddsp.c228 u8 *instance_id) in avs_dsp_init_module() argument
263 *instance_id = id; in avs_dsp_init_module()
275 void avs_dsp_delete_module(struct avs_dev *adev, u16 module_id, u8 instance_id, in avs_dsp_delete_module() argument
283 avs_ipc_delete_instance(adev, module_id, instance_id); in avs_dsp_delete_module()
285 avs_module_id_free(adev, module_id, instance_id); in avs_dsp_delete_module()
301 bool lp, u16 attributes, u8 *instance_id) in avs_dsp_create_pipeline() argument
316 *instance_id = id; in avs_dsp_create_pipeline()
320 int avs_dsp_delete_pipeline(struct avs_dev *adev, u8 instance_id) in avs_dsp_delete_pipeline() argument
324 ret = avs_ipc_delete_pipeline(adev, instance_id); in avs_dsp_delete_pipeline()
328 ida_free(&adev->ppl_ida, instance_id); in avs_dsp_delete_pipeline()
Dmessages.h65 u32 instance_id:8; member
69 u32 instance_id:8; member
123 u32 instance_id:8; member
313 u8 instance_id, bool lp, u16 attributes);
314 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id);
315 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id,
317 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id,
321 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id,
324 int avs_ipc_delete_instance(struct avs_dev *adev, u16 module_id, u8 instance_id);
325 int avs_ipc_bind(struct avs_dev *adev, u16 module_id, u8 instance_id,
[all …]
Dpath.h28 u8 instance_id; member
40 u8 instance_id; member
/linux-6.12.1/drivers/soc/qcom/
Dqcom_pd_mapper.c26 u32 instance_id; member
34 u32 instance_id; member
68 u32 instance_id) in qcom_pdm_add_service_domain() argument
101 domain->instance_id = instance_id; in qcom_pdm_add_service_domain()
116 domain->instance_id); in qcom_pdm_add_domain()
124 domain->instance_id); in qcom_pdm_add_domain()
193 rsp->domain_list[j].instance = domain->instance_id; in qcom_pdm_get_domain_list()
196 domain->instance_id); in qcom_pdm_get_domain_list()
256 .instance_id = 74,
265 .instance_id = 74,
[all …]
/linux-6.12.1/drivers/ras/amd/atl/
Daccess.c65 static int __df_indirect_read(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo) in __df_indirect_read() argument
81 if (instance_id != DF_BROADCAST) { in __df_indirect_read()
83 ficaa |= FIELD_PREP(DF_FICAA_INST_ID, instance_id); in __df_indirect_read()
116 node, instance_id, func, reg << 2, *lo); in __df_indirect_read()
125 int df_indirect_read_instance(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo) in df_indirect_read_instance() argument
127 return __df_indirect_read(node, func, reg, instance_id, lo); in df_indirect_read_instance()
/linux-6.12.1/include/linux/surface_aggregator/
Dcontroller.h45 u8 instance_id; member
87 u8 instance_id; member
307 u8 instance_id; member
364 rqst.instance_id = s.instance_id; \
404 rqst.instance_id = s.instance_id; \
447 rqst.instance_id = s.instance_id; \
508 rqst.instance_id = s.instance_id; \
565 rqst.instance_id = iid; \
607 rqst.instance_id = iid; \
652 rqst.instance_id = iid; \
[all …]
/linux-6.12.1/sound/soc/qcom/qdsp6/
Daudioreach.c87 u32 instance_id; member
342 obj->instance_id = module->instance_id; in apm_populate_module_prop_obj()
363 obj->mod_cfg[i].instance_id = module->instance_id; in apm_populate_module_list_obj()
423 conn_obj->src_mod_inst_id = module->instance_id; in audioreach_populate_graph()
635 param_data->module_instance_id = module->instance_id; in audioreach_display_port_set_media_format()
648 param_data->module_instance_id = module->instance_id; in audioreach_display_port_set_media_format()
657 param_data->module_instance_id = module->instance_id; in audioreach_display_port_set_media_format()
704 param_data->module_instance_id = module->instance_id; in audioreach_codec_dma_set_media_format()
717 param_data->module_instance_id = module->instance_id; in audioreach_codec_dma_set_media_format()
726 param_data->module_instance_id = module->instance_id; in audioreach_codec_dma_set_media_format()
[all …]
/linux-6.12.1/include/uapi/linux/surface_aggregator/
Dcdev.h59 __u8 instance_id; member
136 __u8 instance_id; member
/linux-6.12.1/sound/soc/sof/
Dipc4-priv.h101 int sof_ipc4_set_pipeline_state(struct snd_sof_dev *sdev, u32 instance_id, u32 state);
110 u32 module_id, int instance_id);
/linux-6.12.1/drivers/hid/surface-hid/
Dsurface_kbd.c43 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_descriptor()
73 rqst.instance_id = shid->uid.instance; in ssam_kbd_set_caps_led()
91 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_feature_report()
139 if (shid->uid.instance != event->instance_id) in ssam_kbd_event_fn()

1234