Home
last modified time | relevance | path

Searched refs:min_msg_len (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/soc/qcom/
H A Dqmi_encdec.c107 int min_msg_len = 0; in qmi_calc_min_msg_len() local
111 return min_msg_len; in qmi_calc_min_msg_len()
121 min_msg_len += (temp_ei->elem_size == sizeof(u8) ? in qmi_calc_min_msg_len()
126 min_msg_len += qmi_calc_min_msg_len(temp_ei->ei_array, in qmi_calc_min_msg_len()
131 min_msg_len += temp_ei->elem_len <= U8_MAX ? in qmi_calc_min_msg_len()
133 min_msg_len += temp_ei->elem_len * temp_ei->elem_size; in qmi_calc_min_msg_len()
136 min_msg_len += (temp_ei->elem_len * temp_ei->elem_size); in qmi_calc_min_msg_len()
145 min_msg_len += (TLV_TYPE_SIZE + TLV_LEN_SIZE); in qmi_calc_min_msg_len()
148 return min_msg_len; in qmi_calc_min_msg_len()