Home
last modified time | relevance | path

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

/linux/drivers/net/phy/mediatek/
H A Dmtk-ge-soc.c655 u8 lower_idx, upper_idx, txreserve_val; in tx_vcm_cal_sw() local
716 lower_idx = TXRESERVE_MIN; in tx_vcm_cal_sw()
720 while ((upper_idx - lower_idx) > 1) { in tx_vcm_cal_sw()
721 txreserve_val = DIV_ROUND_CLOSEST(lower_idx + upper_idx, 2); in tx_vcm_cal_sw()
733 lower_idx = txreserve_val; in tx_vcm_cal_sw()
740 if (lower_idx == TXRESERVE_MIN) { in tx_vcm_cal_sw()
747 lower_idx << 12 | lower_idx << 8 | in tx_vcm_cal_sw()
748 lower_idx << 4 | lower_idx); in tx_vcm_cal_sw()
780 } else if (lower_idx == TXRESERVE_MIN && upper_ret == 1 && in tx_vcm_cal_sw()
788 lower_idx << 12 | lower_idx << 8 | in tx_vcm_cal_sw()
[all …]
/linux/fs/ntfs/
H A Dattrib.c442 size_t lower_idx, upper_idx, idx; in __ntfs_attr_find_vcn_nolock() local
455 lower_idx = rh + 1; in __ntfs_attr_find_vcn_nolock()
465 lower_idx = 1; in __ntfs_attr_find_vcn_nolock()
478 while (lower_idx <= upper_idx) { in __ntfs_attr_find_vcn_nolock()
479 idx = (lower_idx + upper_idx) >> 1; in __ntfs_attr_find_vcn_nolock()
485 lower_idx = idx + 1; in __ntfs_attr_find_vcn_nolock()