Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Dqmi_encdec.c243 u32 string_len = 0; in qmi_encode_string_elem() local
246 string_len = strlen(buf_src); in qmi_encode_string_elem()
249 if (string_len > temp_ei->elem_len) { in qmi_encode_string_elem()
251 __func__, string_len, temp_ei->elem_len); in qmi_encode_string_elem()
256 if (string_len + TLV_LEN_SIZE + TLV_TYPE_SIZE > in qmi_encode_string_elem()
259 __func__, string_len, out_buf_len); in qmi_encode_string_elem()
263 if (string_len + string_len_sz > out_buf_len) { in qmi_encode_string_elem()
265 __func__, string_len, out_buf_len); in qmi_encode_string_elem()
268 rc = qmi_encode_basic_elem(buf_dst, &string_len, in qmi_encode_string_elem()
274 string_len, temp_ei->elem_size); in qmi_encode_string_elem()
[all …]
/drivers/video/backlight/
Dqcom-wled.c1309 int rc, i, j, string_len; in wled_configure() local
1497 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
1500 if (string_len > 0) { in wled_configure()
1501 if (string_len > wled->max_string_count) { in wled_configure()
1510 string_len); in wled_configure()
1513 string_len, rc); in wled_configure()
1517 for (i = 0; i < string_len; ++i) { in wled_configure()
1526 cfg->num_strings = string_len; in wled_configure()
1537 if (string_len > 0) { in wled_configure()
1540 if (val > string_len) { in wled_configure()