Home
last modified time | relevance | path

Searched refs:imin (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/media/dvb-frontends/
Dstv6111.c537 int imin = 0; in table_lookup() local
547 while ((imax - imin) > 1) { in table_lookup()
548 i = (imax + imin) / 2; in table_lookup()
549 if ((table[imin].reg_value <= reg_value) && in table_lookup()
553 imin = i; in table_lookup()
555 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
556 gain = table[imin].value; in table_lookup()
558 gain += ((s32)(reg_value - table[imin].reg_value) * in table_lookup()
560 - table[imin].value)) / reg_diff; in table_lookup()
Dstv0900_core.c595 imin, in stv0900_get_rf_level() local
608 imin = 0; in stv0900_get_rf_level()
610 if (INRANGE(lookup->table[imin].regval, agc_gain, in stv0900_get_rf_level()
612 while ((imax - imin) > 1) { in stv0900_get_rf_level()
613 i = (imax + imin) >> 1; in stv0900_get_rf_level()
615 if (INRANGE(lookup->table[imin].regval, in stv0900_get_rf_level()
620 imin = i; in stv0900_get_rf_level()
623 rf_lvl = (s32)agc_gain - lookup->table[imin].regval; in stv0900_get_rf_level()
625 lookup->table[imin].realval); in stv0900_get_rf_level()
627 lookup->table[imin].regval); in stv0900_get_rf_level()
[all …]
Dstv0910.c594 int imin = 0; in table_lookup() local
605 while ((imax - imin) > 1) { in table_lookup()
606 i = (imax + imin) / 2; in table_lookup()
607 if ((table[imin].reg_value >= reg_value) && in table_lookup()
611 imin = i; in table_lookup()
614 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
615 value = table[imin].value; in table_lookup()
617 value += ((s32)(reg_value - table[imin].reg_value) * in table_lookup()
619 - table[imin].value)) in table_lookup()
/linux-6.12.1/arch/riscv/kvm/
Daia_imsic.c250 u32 i, imin, imax, ei, max_msi; in imsic_mrif_topei() local
270 imin = ei * BITS_PER_TYPE(u64); in imsic_mrif_topei()
271 imax = ((imin + BITS_PER_TYPE(u64)) < max_msi) ? in imsic_mrif_topei()
272 imin + BITS_PER_TYPE(u64) : max_msi; in imsic_mrif_topei()
273 for (i = (!imin) ? 1 : imin; i < imax; i++) { in imsic_mrif_topei()
274 if (test_bit(i - imin, eipend)) in imsic_mrif_topei()
/linux-6.12.1/arch/alpha/kernel/
Dsys_titan.c178 init_titan_irqs(struct irq_chip * ops, int imin, int imax) in init_titan_irqs() argument
181 for (i = imin; i <= imax; ++i) { in init_titan_irqs()
Dsys_dp264.c260 init_tsunami_irqs(struct irq_chip * ops, int imin, int imax) in init_tsunami_irqs() argument
263 for (i = imin; i <= imax; ++i) { in init_tsunami_irqs()