Lines Matching refs:buf_idx
198 uint32_t buf_idx = 0; in wmitlv_check_tlv_params() local
218 while ((buf_idx + WMI_TLV_HDR_SIZE) <= param_buf_len) { in wmitlv_check_tlv_params()
224 if ((buf_idx + WMI_TLV_HDR_SIZE + curr_tlv_len) > param_buf_len) { in wmitlv_check_tlv_params()
227 __func__, wmi_cmd_event_id, tlv_index, buf_idx, in wmitlv_check_tlv_params()
410 buf_idx += curr_tlv_len + WMI_TLV_HDR_SIZE; in wmitlv_check_tlv_params()
495 uint32_t buf_idx = 0; in wmitlv_check_and_pad_tlvs() local
558 while (((buf_idx + WMI_TLV_HDR_SIZE) <= param_buf_len) in wmitlv_check_and_pad_tlvs()
566 free_buf_len = param_buf_len - (buf_idx + WMI_TLV_HDR_SIZE); in wmitlv_check_and_pad_tlvs()
606 buf_idx += WMI_TLV_HDR_SIZE; in wmitlv_check_and_pad_tlvs()
770 buf_idx + curr_tlv_len + in wmitlv_check_and_pad_tlvs()
784 param_buf_len - (buf_idx + in wmitlv_check_and_pad_tlvs()
864 (buf_idx + curr_tlv_len)) { in wmitlv_check_and_pad_tlvs()
872 param_buf_len - (buf_idx + in wmitlv_check_and_pad_tlvs()
949 param_buf_len - (buf_idx + curr_tlv_len); in wmitlv_check_and_pad_tlvs()
968 buf_idx += curr_tlv_len + num_padding_bytes; in wmitlv_check_and_pad_tlvs()