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.c1311 int rc, i, j, string_len; in wled_configure() local
1499 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
1502 if (string_len > 0) { in wled_configure()
1503 if (string_len > wled->max_string_count) { in wled_configure()
1512 string_len); in wled_configure()
1515 string_len, rc); in wled_configure()
1519 for (i = 0; i < string_len; ++i) { in wled_configure()
1528 cfg->num_strings = string_len; in wled_configure()
1539 if (string_len > 0) { in wled_configure()
1542 if (val > string_len) { in wled_configure()