Searched refs:end_idx (Results 1 – 4 of 4) sorted by relevance
20 size_t end_idx; in cpufreq_check_scaling_driver() local44 end_idx = strnlen(readbuf, sizeof(readbuf)); in cpufreq_check_scaling_driver()45 if (end_idx > 0 && readbuf[end_idx - 1] == '\n') { in cpufreq_check_scaling_driver()46 end_idx--; in cpufreq_check_scaling_driver()47 readbuf[end_idx] = '\0'; in cpufreq_check_scaling_driver()
337 int16_t start_idx, end_idx; in ar9300_aic_cal_post_process() local349 start_idx = end_idx; in ar9300_aic_cal_post_process()352 if (end_idx < 0) { in ar9300_aic_cal_post_process()363 (end_idx - i) + in ar9300_aic_cal_post_process()369 (end_idx - i) + in ar9300_aic_cal_post_process()372 if (end_idx < 0) in ar9300_aic_cal_post_process()377 if (end_idx < 0) { in ar9300_aic_cal_post_process()388 (start_idx - end_idx) + in ar9300_aic_cal_post_process()394 (start_idx - end_idx) + in ar9300_aic_cal_post_process()404 (end_idx - start_idx); in ar9300_aic_cal_post_process()[all …]
612 uint32_t i, idx = 0, end_idx = 0, roundoff; in ulp_blob_perform_encap_swap() local621 end_idx = ULP_BITS_2_BYTE(blob->write_idx); in ulp_blob_perform_encap_swap()622 roundoff = ULP_BYTE_2_BITS(ULP_BITS_2_BYTE(end_idx)); in ulp_blob_perform_encap_swap()623 if (roundoff > end_idx) { in ulp_blob_perform_encap_swap()624 blob->write_idx += ULP_BYTE_2_BITS(roundoff - end_idx); in ulp_blob_perform_encap_swap()625 end_idx = roundoff; in ulp_blob_perform_encap_swap()627 while (idx <= end_idx) { in ulp_blob_perform_encap_swap()
100 u16 end_idx, add_entries = 0; in ice_acl_tbl_calc_end_idx() local102 end_idx = start + (num_entries - 1); in ice_acl_tbl_calc_end_idx()135 return end_idx + add_entries; in ice_acl_tbl_calc_end_idx()