/linux-master/drivers/iio/test/ |
H A D | iio-test-gts.c | 306 bool in_range; local 319 ret = iio_find_closest_gain_low(>s, 2, &in_range); 321 KUNIT_EXPECT_EQ(test, true, in_range); 323 ret = iio_find_closest_gain_low(>s, 1, &in_range); 325 KUNIT_EXPECT_EQ(test, true, in_range); 327 ret = iio_find_closest_gain_low(>s, 4095, &in_range); 329 KUNIT_EXPECT_EQ(test, true, in_range); 331 ret = iio_find_closest_gain_low(>s, 4097, &in_range); 333 KUNIT_EXPECT_EQ(test, false, in_range); 343 ret = iio_find_closest_gain_low(>s, 3, &in_range); [all...] |
/linux-master/drivers/s390/cio/ |
H A D | blacklist.c | 286 int in_range; member in struct:ccwdev_iter 336 if (!iter->in_range) { 344 iter->in_range = 1; 351 iter->in_range = 0;
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_lpc.c | 122 int in_range = cros_ec_lpc_mec_in_range(offset, length); local 124 if (in_range < 0) 127 return in_range ? 141 int in_range = cros_ec_lpc_mec_in_range(offset, length); local 143 if (in_range < 0) 146 return in_range ?
|
/linux-master/include/linux/iio/ |
H A D | iio-gts-helper.h | 180 int iio_find_closest_gain_low(struct iio_gts *gts, int gain, bool *in_range);
|
/linux-master/lib/ |
H A D | logic_pio.c | 148 if (in_range(pio, range->io_start, range->size)) { 215 if (in_range(addr, range->hw_start, range->size)) {
|
/linux-master/fs/ext2/ |
H A D | balloc.c | 522 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || 523 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || 524 in_range (block, le32_to_cpu(desc->bg_inode_table), 526 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), 1370 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || 1371 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || 1372 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), 1374 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table),
|
/linux-master/drivers/iio/ |
H A D | industrialio-gts-helper.c | 769 * @in_range: indicate if the @gain was actually in the range of 781 int iio_find_closest_gain_low(struct iio_gts *gts, int gain, bool *in_range) argument 786 *in_range = false; 790 *in_range = true; 812 *in_range = true; 817 *in_range = false;
|
/linux-master/arch/s390/kernel/ |
H A D | stacktrace.c | 97 return in_range(ip, current->mm->context.vdso_base, vdso_text_size());
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_vrr.c | 132 crtc_state->vrr.in_range = 134 if (!crtc_state->vrr.in_range)
|
H A D | intel_display_types.h | 1393 bool enable, in_range; member in struct:intel_crtc_state::__anon618
|
/linux-master/drivers/pinctrl/renesas/ |
H A D | core.c | 347 int in_range; local 361 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); 362 if (!in_range) { 367 in_range = 1; 372 in_range = sh_pfc_enum_in_range(enum_id, range); 379 if (in_range && enum_id == range->force) 385 if (!in_range)
|
/linux-master/drivers/iio/light/ |
H A D | apds9306.c | 729 if (!in_range(period, 0, APDS9306_ALS_PERSIST_NUM_VALS)) 741 if (!in_range(val, 0, APDS9306_ALS_PERSIST_NUM_VALS)) 782 if (!in_range(val, 0, APDS9306_ALS_THRES_VAL_MAX)) 799 if (!in_range(thr_adpt, 0, APDS9306_ALS_THRES_VAR_NUM_VALS)) 811 if (!in_range(val, 0, APDS9306_ALS_THRES_VAR_NUM_VALS))
|
/linux-master/drivers/iio/imu/bmi323/ |
H A D | bmi323_core.c | 652 if (!in_range(raw, 0, 64)) 835 if (!in_range(val, 0, 2)) 846 if (val || !in_range(val2, 40000, 560001)) 857 if (val || !in_range(val2, 5000, 70001)) 877 if (!in_range(val, 0, 8)) 888 if (!in_range(val, 0, 163)) 900 if (!in_range(val, 0, 2)) 915 if (!in_range(val, 0, 20461))
|
/linux-master/drivers/iio/dac/ |
H A D | ad9739a.c | 280 if (!in_range(fsc, AD9739A_FSC_MIN, AD9739A_FSC_RANGE)) 382 if (!in_range(st->sample_rate, AD9739A_MIN_DAC_CLK,
|
/linux-master/include/linux/ |
H A D | minmax.h | 250 * in_range - Determine if a value lies within a range. 261 #define in_range(val, start, len) \ macro
|
/linux-master/fs/btrfs/ |
H A D | raid-stripe-tree.c | 205 if (in_range(logical, found_logical, found_length))
|
H A D | ordered-data.c | 136 if (in_range(file_offset, entry->file_offset, entry->num_bytes)) 553 if (!in_range(file_offset, entry->file_offset, entry->num_bytes)) 923 if (!in_range(file_offset, entry->file_offset, entry->num_bytes))
|
H A D | file-item.c | 305 if (in_range(disk_bytenr, csum_start, csum_len)) 322 ASSERT(in_range(disk_bytenr, csum_start, csum_len));
|
H A D | extent-io-tree.c | 1556 if (in_range(start, state->start, state->end - state->start + 1)) {
|
/linux-master/drivers/clk/ti/ |
H A D | clk.c | 379 if (!err && in_range(val, 0, 32))
|
/linux-master/fs/ext4/ |
H A D | extents_status.c | 274 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) { 647 if (in_range(es->es_lblk, ee_block, ee_len)) { 1002 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) {
|
H A D | extents.c | 3431 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); 4076 } else if (in_range(lblk, es.es_lblk, es.es_len)) { 4183 if (in_range(map->m_lblk, ee_block, ee_len)) { 5665 if (!in_range(lblk1, e1_blk, e1_len) || 5666 !in_range(lblk2, e2_blk, e2_len)) {
|
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gmu.c | 705 if (!in_range(blk->addr, bo->iova, bo->size)) 746 if (in_range(blk->addr, itcm_base, SZ_16K)) { 751 } else if (in_range(blk->addr, dtcm_base, SZ_16K)) {
|
/linux-master/mm/ |
H A D | internal.h | 827 if (!in_range(pgoff, vma->vm_pgoff, vma_pglen))
|
/linux-master/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 536 if (!in_range(pkg_id, 0, topology_max_packages()) || pkg_id > isst_common.max_index)
|