Searched refs:imin (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/media/dvb-frontends/ |
D | stv6111.c | 537 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()
|
D | stv0900_core.c | 595 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 …]
|
D | stv0910.c | 599 int imin = 0; in table_lookup() local 610 while ((imax - imin) > 1) { in table_lookup() 611 i = (imax + imin) / 2; in table_lookup() 612 if ((table[imin].reg_value >= reg_value) && in table_lookup() 616 imin = i; in table_lookup() 619 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup() 620 value = table[imin].value; in table_lookup() 622 value += ((s32)(reg_value - table[imin].reg_value) * in table_lookup() 624 - table[imin].value)) in table_lookup()
|
/Linux-v6.6/arch/riscv/kvm/ |
D | aia_imsic.c | 249 u32 i, imin, imax, ei, max_msi; in imsic_mrif_topei() local 269 imin = ei * BITS_PER_TYPE(u64); in imsic_mrif_topei() 270 imax = ((imin + BITS_PER_TYPE(u64)) < max_msi) ? in imsic_mrif_topei() 271 imin + BITS_PER_TYPE(u64) : max_msi; in imsic_mrif_topei() 272 for (i = (!imin) ? 1 : imin; i < imax; i++) { in imsic_mrif_topei() 273 if (test_bit(i - imin, eipend)) in imsic_mrif_topei()
|
/Linux-v6.6/arch/alpha/kernel/ |
D | sys_titan.c | 178 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()
|
D | sys_dp264.c | 260 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()
|