Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.cpp254 void encodeRWResponseHandler(uint8_t instance_id, uint8_t command, in encodeRWResponseHandler() argument
258 int rc = encode_rw_file_memory_resp(instance_id, command, completion_code, in encodeRWResponseHandler()
268 void encodeReadResponseHandler(uint8_t instance_id, uint8_t completion_code, in encodeReadResponseHandler() argument
271 int rc = encode_read_file_resp(instance_id, completion_code, length, msg); in encodeReadResponseHandler()
279 void encodeWriteResponseHandler(uint8_t instance_id, uint8_t completion_code, in encodeWriteResponseHandler() argument
282 int rc = encode_write_file_resp(instance_id, completion_code, length, msg); in encodeWriteResponseHandler()
291 uint8_t instance_id, uint8_t completion_code, uint32_t next_transfer_handle, in encodeGetFileResponseHandler() argument
295 int rc = encode_get_file_table_resp(instance_id, completion_code, in encodeGetFileResponseHandler()
305 void encodeRWTypeMemoryResponseHandler(uint8_t instance_id, uint8_t command, in encodeRWTypeMemoryResponseHandler() argument
309 int rc = encode_rw_file_by_type_memory_resp(instance_id, command, in encodeRWTypeMemoryResponseHandler()
[all …]
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A 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()
274 int instance_id, in hp_populate_string_package_data() argument
[all …]
H A 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()
127 int instance_id) in hp_populate_enumeration_elements_from_package() argument
138 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_elements_from_package()
312 int instance_id, in hp_populate_enumeration_package_data() argument
[all …]
H A 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()
285 int instance_id, in hp_populate_integer_package_data() argument
[all …]
H A 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()
131 int instance_id) in hp_populate_ordered_list_elements_from_package() argument
146 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_elements_from_package()
308 int hp_populate_ordered_list_package_data(union acpi_object *order_obj, int instance_id, in hp_populate_ordered_list_package_data() argument
311 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_package_data()
317 instance_id); in hp_populate_ordered_list_package_data()
328 int instance_id) in hp_populate_ordered_list_elements_from_buffer() argument
331 struct ordered_list_data *ordered_list_data = &bioscfg_drv.ordered_list_data[instance_id]; in hp_populate_ordered_list_elements_from_buffer()
[all …]
H A Dpasswdobj-attributes.c64 static int validate_password_input(int instance_id, const char *buf) in validate_password_input() argument
67 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in validate_password_input()
224 int instance_id) in hp_populate_password_elements_from_package() argument
235 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_elements_from_package()
396 int hp_populate_password_package_data(union acpi_object *password_obj, int instance_id, in hp_populate_password_package_data() argument
399 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_package_data()
405 instance_id); in hp_populate_password_package_data()
419 int instance_id) in hp_populate_password_elements_from_buffer() argument
423 struct password_data *password_data = &bioscfg_drv.password_data[instance_id]; in hp_populate_password_elements_from_buffer()
506 int hp_populate_password_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, in hp_populate_password_buffer_data() argument
[all …]
H A 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 …]
H A 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()
658 int instance_id) in hp_init_bios_package_attribute() argument
734 instance_id, in hp_init_bios_package_attribute()
739 instance_id, in hp_init_bios_package_attribute()
744 instance_id, in hp_init_bios_package_attribute()
749 instance_id, in hp_init_bios_package_attribute()
754 instance_id, in hp_init_bios_package_attribute()
770 int instance_id) in hp_init_bios_buffer_attribute() argument
831 instance_id, in hp_init_bios_buffer_attribute()
[all …]
/openbmc/libpldm/src/dsp/
H A Dbase.c44 msg->instance_id = hdr->instance; in pack_pldm_header_errno()
66 hdr->instance = msg->instance_id; in unpack_pldm_header_errno()
121 return req->instance_id == resp->instance_id && req->request && in pldm_msg_hdr_correlate_response()
127 int encode_get_types_req(uint8_t instance_id, struct pldm_msg *msg) in encode_get_types_req() argument
134 header.instance = instance_id; in encode_get_types_req()
142 int encode_get_commands_req(uint8_t instance_id, uint8_t type, ver32_t version, in encode_get_commands_req() argument
150 header.instance = instance_id; in encode_get_commands_req()
169 int encode_get_types_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_types_resp() argument
177 header.instance = instance_id; in encode_get_types_resp()
219 int encode_get_commands_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_commands_resp() argument
[all …]
H A Dbios.c10 int encode_get_date_time_req(uint8_t instance_id, struct pldm_msg *msg) in encode_get_date_time_req() argument
18 header.instance = instance_id; in encode_get_date_time_req()
25 int encode_get_date_time_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_date_time_resp() argument
36 header.instance = instance_id; in encode_get_date_time_resp()
95 int encode_set_date_time_req(uint8_t instance_id, uint8_t seconds, in encode_set_date_time_req() argument
112 header.instance = instance_id; in encode_set_date_time_req()
165 int encode_set_date_time_resp(uint8_t instance_id, uint8_t completion_code, in encode_set_date_time_resp() argument
176 header.instance = instance_id; in encode_set_date_time_resp()
214 int encode_get_bios_table_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_bios_table_resp() argument
225 header.instance = instance_id; in encode_get_bios_table_resp()
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dmessages.c87 u8 instance_id, bool lp, u16 attributes) in avs_ipc_create_pipeline() argument
95 msg.create_ppl.instance_id = instance_id; in avs_ipc_create_pipeline()
107 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id) in avs_ipc_delete_pipeline() argument
113 msg.ppl.instance_id = instance_id; in avs_ipc_delete_pipeline()
123 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_set_pipeline_state() argument
130 msg.set_ppl_state.ppl_id = instance_id; in avs_ipc_set_pipeline_state()
141 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_get_pipeline_state() argument
149 msg.get_ppl_state.ppl_id = instance_id; in avs_ipc_get_pipeline_state()
180 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id, in avs_ipc_init_instance() argument
189 msg.instance_id = instance_id; in avs_ipc_init_instance()
[all …]
H A Dpath.c261 ret = avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_copier_create()
263 &mod->instance_id); in avs_copier_create()
320 ret = avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, t->core_id, in avs_peakvol_create()
321 t->domain, cfg, size, &mod->instance_id); in avs_peakvol_create()
344 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_updown_mix_create()
346 &mod->instance_id); in avs_updown_mix_create()
361 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_src_create()
363 &mod->instance_id); in avs_src_create()
381 return avs_dsp_init_module(adev, mod->module_id, mod->owner->instance_id, in avs_asrc_create()
383 &mod->instance_id); in avs_asrc_create()
[all …]
H A 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()
H A Dmessages.h63 u32 instance_id:8; member
67 u32 instance_id:8; member
119 u32 instance_id:8; member
299 u8 instance_id, bool lp, u16 attributes);
300 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id);
301 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id,
303 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id,
307 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id,
310 int avs_ipc_delete_instance(struct avs_dev *adev, u16 module_id, u8 instance_id);
311 int avs_ipc_bind(struct avs_dev *adev, u16 module_id, u8 instance_id,
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst-ipc.h72 u32 instance_id; member
81 u32 instance_id; member
91 u32 instance_id; member
98 u32 instance_id; member
111 u16 ppl_mem_size, u8 ppl_type, u8 instance_id, u8 lp_mode);
113 int skl_ipc_delete_pipeline(struct sst_generic_ipc *ipc, u8 instance_id);
116 u8 instance_id, enum skl_ipc_pipeline_state state);
119 u8 instance_id, int dma_id);
121 int skl_ipc_restore_pipeline(struct sst_generic_ipc *ipc, u8 instance_id);
136 u8 instance_id, u16 module_id, struct skl_ipc_dxstate_info *dx);
/openbmc/libpldm/include/libpldm/oem/ibm/
H A Dfile_io.h152 int encode_rw_file_memory_resp(uint8_t instance_id, uint8_t command,
169 int encode_rw_file_memory_req(uint8_t instance_id, uint8_t command,
244 int encode_get_file_table_resp(uint8_t instance_id, uint8_t completion_code,
258 int encode_get_file_table_req(uint8_t instance_id, uint32_t transfer_handle,
344 int encode_read_file_req(uint8_t instance_id, uint32_t file_handle,
377 int encode_read_file_resp(uint8_t instance_id, uint8_t completion_code,
410 int encode_write_file_req(uint8_t instance_id, uint32_t file_handle,
435 int encode_write_file_resp(uint8_t instance_id, uint8_t completion_code,
491 int encode_rw_file_by_type_memory_resp(uint8_t instance_id, uint8_t command,
509 int encode_rw_file_by_type_memory_req(uint8_t instance_id, uint8_t command,
[all …]
/openbmc/libpldm/include/libpldm/
H A Dbase.h148 uint8_t instance_id : 5; //!< Instance ID
156 uint8_t instance_id : 5; //!< Instance ID
377 * @param[in] instance_id - Message's instance id
383 int encode_get_types_req(uint8_t instance_id, struct pldm_msg *msg);
407 * @param[in] instance_id - Message's instance id
415 int encode_get_commands_req(uint8_t instance_id, uint8_t type, ver32_t version,
440 * @param[in] instance_id - Message's instance id
452 int encode_get_version_req(uint8_t instance_id, uint32_t transfer_handle,
501 * @param[in] instance_id - Message's instance id
510 int encode_get_types_resp(uint8_t instance_id, uint8_
147 uint8_t instance_id : 5; //!< Instance ID global() member
[all...]
H A Dfirmware_update.h1135 int encode_query_device_identifiers_req(uint8_t instance_id,
1154 uint8_t instance_id, uint8_t descriptor_count,
1187 int encode_get_firmware_parameters_req(uint8_t instance_id,
1240 uint8_t instance_id,
1269 int encode_query_downstream_devices_req(uint8_t instance_id,
1305 uint8_t instance_id,
1343 uint8_t instance_id,
1487 int encode_request_update_req(uint8_t instance_id, uint32_t max_transfer_size,
1537 int encode_request_update_resp(uint8_t instance_id,
1562 uint8_t instance_id, uint8_t transfer_flag,
[all …]
H A Dbios.h217 int encode_get_date_time_req(uint8_t instance_id, struct pldm_msg *msg);
260 uint8_t instance_id, uint32_t transfer_handle, uint8_t transfer_flag,
302 int encode_set_bios_table_req(uint8_t instance_id, uint32_t transfer_handle,
346 int encode_get_date_time_resp(uint8_t instance_id, uint8_t completion_code,
366 int encode_get_bios_table_resp(uint8_t instance_id, uint8_t completion_code,
381 int encode_get_bios_table_req(uint8_t instance_id, uint32_t transfer_handle,
431 uint8_t instance_id, uint32_t transfer_handle, uint8_t transfer_op_flag,
480 int encode_get_bios_current_value_by_handle_resp(uint8_t instance_id,
514 int encode_set_bios_attribute_current_value_resp(uint8_t instance_id,
534 int encode_set_date_time_req(uint8_t instance_id, uint8_t seconds,
[all …]
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c34 int encode_rw_file_memory_resp(uint8_t instance_id, uint8_t command, in encode_rw_file_memory_resp() argument
44 header.instance = instance_id; in encode_rw_file_memory_resp()
63 int encode_rw_file_memory_req(uint8_t instance_id, uint8_t command, in encode_rw_file_memory_req() argument
74 header.instance = instance_id; in encode_rw_file_memory_req()
139 int encode_get_file_table_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_file_table_resp() argument
151 header.instance = instance_id; in encode_get_file_table_resp()
173 int encode_get_file_table_req(uint8_t instance_id, uint32_t transfer_handle, in encode_get_file_table_req() argument
183 header.instance = instance_id; in encode_get_file_table_req()
263 int encode_read_file_req(uint8_t instance_id, uint32_t file_handle, in encode_read_file_req() argument
276 header.instance = instance_id; in encode_read_file_req()
[all …]
/openbmc/linux/include/linux/surface_aggregator/
H A 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 …]

1234567