Home
last modified time | relevance | path

Searched refs:upper_idx (Results 1 – 3 of 3) 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
717 upper_idx = TXRESERVE_MAX; 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()
730 upper_idx = txreserve_val; in tx_vcm_cal_sw()
750 } else if (upper_idx == TXRESERVE_MAX) { in tx_vcm_cal_sw()
757 upper_idx << 12 | upper_idx << 8 | in tx_vcm_cal_sw()
758 upper_idx << 4 | upper_idx); in tx_vcm_cal_sw()
777 upper_idx << 12 | upper_idx << 8 | in tx_vcm_cal_sw()
778 upper_idx << 4 | upper_idx); in tx_vcm_cal_sw()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c1253 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy() argument
1255 return bm_rw(device, BM_AIO_COPY_PAGES, upper_idx); in drbd_bm_write_lazy()
/linux/fs/ntfs/
H A Dattrib.c442 size_t lower_idx, upper_idx, idx; in __ntfs_attr_find_vcn_nolock() local
476 upper_idx = runlist->count - 2; 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()
483 upper_idx = idx - 1; in __ntfs_attr_find_vcn_nolock()