123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723 |
- // SPDX-License-Identifier: GPL-2.0
- /* Copyright (c) 2018, The Linux Foundation. All rights reserved.
- * Copyright (C) 2018-2022 Linaro Ltd.
- */
- #include <linux/stddef.h>
- #include <linux/soc/qcom/qmi.h>
- #include "ipa_qmi_msg.h"
- /* QMI message structure definition for struct ipa_indication_register_req */
- struct qmi_elem_info ipa_indication_register_req_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- master_driver_init_complete_valid),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_indication_register_req,
- master_driver_init_complete_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- master_driver_init_complete),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_indication_register_req,
- master_driver_init_complete),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- data_usage_quota_reached_valid),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_indication_register_req,
- data_usage_quota_reached_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- data_usage_quota_reached),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_indication_register_req,
- data_usage_quota_reached),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- ipa_mhi_ready_ind_valid),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_indication_register_req,
- ipa_mhi_ready_ind_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- ipa_mhi_ready_ind),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_indication_register_req,
- ipa_mhi_ready_ind),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- endpoint_desc_ind_valid),
- .tlv_type = 0x13,
- .offset = offsetof(struct ipa_indication_register_req,
- endpoint_desc_ind_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- endpoint_desc_ind),
- .tlv_type = 0x13,
- .offset = offsetof(struct ipa_indication_register_req,
- endpoint_desc_ind),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- bw_change_ind_valid),
- .tlv_type = 0x14,
- .offset = offsetof(struct ipa_indication_register_req,
- bw_change_ind_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_req,
- bw_change_ind),
- .tlv_type = 0x14,
- .offset = offsetof(struct ipa_indication_register_req,
- bw_change_ind),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_indication_register_rsp */
- struct qmi_elem_info ipa_indication_register_rsp_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_indication_register_rsp,
- rsp),
- .tlv_type = 0x02,
- .offset = offsetof(struct ipa_indication_register_rsp,
- rsp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_driver_init_complete_req */
- struct qmi_elem_info ipa_driver_init_complete_req_ei[] = {
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_driver_init_complete_req,
- status),
- .tlv_type = 0x01,
- .offset = offsetof(struct ipa_driver_init_complete_req,
- status),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_driver_init_complete_rsp */
- struct qmi_elem_info ipa_driver_init_complete_rsp_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_driver_init_complete_rsp,
- rsp),
- .tlv_type = 0x02,
- .offset = offsetof(struct ipa_driver_init_complete_rsp,
- rsp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_init_complete_ind */
- struct qmi_elem_info ipa_init_complete_ind_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_complete_ind,
- status),
- .tlv_type = 0x02,
- .offset = offsetof(struct ipa_init_complete_ind,
- status),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_mem_bounds */
- struct qmi_elem_info ipa_mem_bounds_ei[] = {
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_bounds, start),
- .offset = offsetof(struct ipa_mem_bounds, start),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_bounds, end),
- .offset = offsetof(struct ipa_mem_bounds, end),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_mem_array */
- struct qmi_elem_info ipa_mem_array_ei[] = {
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_array, start),
- .offset = offsetof(struct ipa_mem_array, start),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_array, count),
- .offset = offsetof(struct ipa_mem_array, count),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_mem_range */
- struct qmi_elem_info ipa_mem_range_ei[] = {
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_range, start),
- .offset = offsetof(struct ipa_mem_range, start),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_mem_range, size),
- .offset = offsetof(struct ipa_mem_range, size),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_init_modem_driver_req */
- struct qmi_elem_info ipa_init_modem_driver_req_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- platform_type_valid),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- platform_type_valid),
- },
- {
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- platform_type),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- platform_type),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hdr_tbl_info_valid),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hdr_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hdr_tbl_info),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hdr_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_route_tbl_info_valid),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_route_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_route_tbl_info),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_route_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_route_tbl_info_valid),
- .tlv_type = 0x13,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_route_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_route_tbl_info),
- .tlv_type = 0x13,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_route_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_filter_tbl_start_valid),
- .tlv_type = 0x14,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_filter_tbl_start_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_filter_tbl_start),
- .tlv_type = 0x14,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_filter_tbl_start),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_filter_tbl_start_valid),
- .tlv_type = 0x15,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_filter_tbl_start_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_filter_tbl_start),
- .tlv_type = 0x15,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_filter_tbl_start),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- modem_mem_info_valid),
- .tlv_type = 0x16,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- modem_mem_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- modem_mem_info),
- .tlv_type = 0x16,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- modem_mem_info),
- .ei_array = ipa_mem_range_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- ctrl_comm_dest_end_pt_valid),
- .tlv_type = 0x17,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- ctrl_comm_dest_end_pt_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- ctrl_comm_dest_end_pt),
- .tlv_type = 0x17,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- ctrl_comm_dest_end_pt),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- skip_uc_load_valid),
- .tlv_type = 0x18,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- skip_uc_load_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- skip_uc_load),
- .tlv_type = 0x18,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- skip_uc_load),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hdr_proc_ctx_tbl_info_valid),
- .tlv_type = 0x19,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hdr_proc_ctx_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hdr_proc_ctx_tbl_info),
- .tlv_type = 0x19,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hdr_proc_ctx_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- zip_tbl_info_valid),
- .tlv_type = 0x1a,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- zip_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- zip_tbl_info),
- .tlv_type = 0x1a,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- zip_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_hash_route_tbl_info_valid),
- .tlv_type = 0x1b,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_hash_route_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_hash_route_tbl_info),
- .tlv_type = 0x1b,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_hash_route_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_hash_route_tbl_info_valid),
- .tlv_type = 0x1c,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_hash_route_tbl_info_valid),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_hash_route_tbl_info),
- .tlv_type = 0x1c,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_hash_route_tbl_info),
- .ei_array = ipa_mem_bounds_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_hash_filter_tbl_start_valid),
- .tlv_type = 0x1d,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_hash_filter_tbl_start_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v4_hash_filter_tbl_start),
- .tlv_type = 0x1d,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v4_hash_filter_tbl_start),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_hash_filter_tbl_start_valid),
- .tlv_type = 0x1e,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_hash_filter_tbl_start_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- v6_hash_filter_tbl_start),
- .tlv_type = 0x1e,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- v6_hash_filter_tbl_start),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_quota_base_addr_valid),
- .tlv_type = 0x1f,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_quota_base_addr_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_quota_base_addr),
- .tlv_type = 0x1f,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_quota_base_addr),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_quota_size_valid),
- .tlv_type = 0x20,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_quota_size_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_quota_size),
- .tlv_type = 0x20,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_quota_size),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_drop_base_addr_valid),
- .tlv_type = 0x21,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_drop_base_addr_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_drop_base_addr),
- .tlv_type = 0x21,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_drop_base_addr),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_drop_size_valid),
- .tlv_type = 0x22,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_drop_size_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_req,
- hw_stats_drop_size),
- .tlv_type = 0x22,
- .offset = offsetof(struct ipa_init_modem_driver_req,
- hw_stats_drop_size),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
- /* QMI message structure definition for struct ipa_init_modem_driver_rsp */
- struct qmi_elem_info ipa_init_modem_driver_rsp_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- rsp),
- .tlv_type = 0x02,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- rsp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- ctrl_comm_dest_end_pt_valid),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- ctrl_comm_dest_end_pt_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- ctrl_comm_dest_end_pt),
- .tlv_type = 0x10,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- ctrl_comm_dest_end_pt),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- default_end_pt_valid),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- default_end_pt_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- default_end_pt),
- .tlv_type = 0x11,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- default_end_pt),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- modem_driver_init_pending_valid),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- modem_driver_init_pending_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size =
- sizeof_field(struct ipa_init_modem_driver_rsp,
- modem_driver_init_pending),
- .tlv_type = 0x12,
- .offset = offsetof(struct ipa_init_modem_driver_rsp,
- modem_driver_init_pending),
- },
- {
- .data_type = QMI_EOTI,
- },
- };
|