Home
last modified time | relevance | path

Searched refs:imax (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/mfd/
Dlm3533-ctrlbank.c71 int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u16 imax) in lm3533_ctrlbank_set_max_current() argument
77 if (imax < LM3533_MAX_CURRENT_MIN || imax > LM3533_MAX_CURRENT_MAX) in lm3533_ctrlbank_set_max_current()
80 val = (imax - LM3533_MAX_CURRENT_MIN) / LM3533_MAX_CURRENT_STEP; in lm3533_ctrlbank_set_max_current()
/Linux-v5.10/drivers/leds/
Dleds-aw2013.c60 unsigned int imax; member
88 chip->leds[i].imax); in aw2013_chip_init()
277 u32 imax; in aw2013_probe_dt() local
292 if (!of_property_read_u32(child, "led-max-microamp", &imax)) { in aw2013_probe_dt()
293 led->imax = min_t(u32, imax / 5000, 3); in aw2013_probe_dt()
295 led->imax = 1; // 5mA in aw2013_probe_dt()
/Linux-v5.10/drivers/media/dvb-frontends/
Dstv6111.c547 int imax = table_size - 1; in table_lookup() local
553 } else if (reg_value >= table[imax].reg_value) { in table_lookup()
554 gain = table[imax].value; in table_lookup()
556 while ((imax - imin) > 1) { in table_lookup()
557 i = (imax + imin) / 2; in table_lookup()
560 imax = i; in table_lookup()
564 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
568 (s32)(table[imax].value in table_lookup()
Dstv0900_core.c596 imax, in stv0900_get_rf_level() local
609 imax = lookup->size - 1; in stv0900_get_rf_level()
611 lookup->table[imax].regval)) { 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()
618 imax = i; in stv0900_get_rf_level()
624 rf_lvl *= (lookup->table[imax].realval - in stv0900_get_rf_level()
626 rf_lvl /= (lookup->table[imax].regval - in stv0900_get_rf_level()
668 imax, in stv0900_carr_get_quality() local
697 imax = lookup->size - 1; in stv0900_carr_get_quality()
[all …]
Dstv0910.c609 int imax = table_size - 1; in table_lookup() local
616 } else if (reg_value <= table[imax].reg_value) { in table_lookup()
617 value = table[imax].value; in table_lookup()
619 while ((imax - imin) > 1) { in table_lookup()
620 i = (imax + imin) / 2; in table_lookup()
623 imax = i; in table_lookup()
628 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
632 (s32)(table[imax].value in table_lookup()
/Linux-v5.10/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()
/Linux-v5.10/include/linux/mfd/
Dlm3533.h92 u16 imax);
/Linux-v5.10/drivers/net/ethernet/smsc/
Dsmc91x.c1687 int imax; in smc_ethtool_geteeprom() local
1691 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_geteeprom()
1696 if (offset > imax) in smc_ethtool_geteeprom()
1712 int imax; in smc_ethtool_seteeprom() local
1716 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_seteeprom()
1721 if (offset > imax) in smc_ethtool_seteeprom()
/Linux-v5.10/tools/perf/
Dbuiltin-script.c368 int i, imax = ARRAY_SIZE(all_output_options); in output_field2str() local
371 for (i = 0; i < imax; ++i) { in output_field2str()
2667 int i, imax = ARRAY_SIZE(all_output_options); in parse_output_fields() local
2756 for (i = 0; i < imax; ++i) { in parse_output_fields()
2760 if (i == imax && strcmp(tok, "flags") == 0) { in parse_output_fields()
2764 if (i == imax) { in parse_output_fields()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_sli.c15045 lpfc_eq_create(struct lpfc_hba *phba, struct lpfc_queue *eq, uint32_t imax) in lpfc_eq_create() argument