Searched refs:upper_idx (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/phy/mediatek/ |
| H A D | mtk-ge-soc.c | 646 u8 lower_idx, upper_idx, txreserve_val; in tx_vcm_cal_sw() local 708 upper_idx = TXRESERVE_MAX; in tx_vcm_cal_sw() 711 while ((upper_idx - lower_idx) > 1) { in tx_vcm_cal_sw() 712 txreserve_val = DIV_ROUND_CLOSEST(lower_idx + upper_idx, 2); in tx_vcm_cal_sw() 721 upper_idx = txreserve_val; in tx_vcm_cal_sw() 741 } else if (upper_idx == TXRESERVE_MAX) { in tx_vcm_cal_sw() 748 upper_idx << 12 | upper_idx << 8 | in tx_vcm_cal_sw() 749 upper_idx << 4 | upper_idx); in tx_vcm_cal_sw() 768 upper_idx << 12 | upper_idx << 8 | in tx_vcm_cal_sw() 769 upper_idx << 4 | upper_idx); in tx_vcm_cal_sw() [all …]
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_bitmap.c | 1253 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()
|
| H A D | drbd_int.h | 1303 extern int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local);
|
| /linux/fs/ntfs/ |
| H A D | attrib.c | 439 size_t lower_idx, upper_idx, idx; in __ntfs_attr_find_vcn_nolock() 473 upper_idx = runlist->count - 2; in __ntfs_attr_find_vcn_nolock() 475 while (lower_idx <= upper_idx) { in __ntfs_attr_find_vcn_nolock() 476 idx = (lower_idx + upper_idx) >> 1; in __ntfs_attr_find_vcn_nolock() 480 upper_idx = idx - 1; in __ntfs_attr_find_vcn_nolock() 438 size_t lower_idx, upper_idx, idx; __ntfs_attr_find_vcn_nolock() local
|