Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_power/
H A Dpower_common.c20 size_t end_idx; in cpufreq_check_scaling_driver() local
44 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()
/f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_aic.c337 int16_t start_idx, end_idx; in ar9300_aic_cal_post_process() local
349 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 …]
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_utils.c612 uint32_t i, idx = 0, end_idx = 0, roundoff; in ulp_blob_perform_encap_swap() local
621 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()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_acl_ctrl.c100 u16 end_idx, add_entries = 0; in ice_acl_tbl_calc_end_idx() local
102 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()