Home
last modified time | relevance | path

Searched full:imax (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-aw200xx.c220 * Iled = Imax * (dim / 63) * ((fade + 1) / 256) * duty in aw200xx_imax_from_global()
271 * imax = coefficient * 10
274 * imax = coefficient * 3.3
289 u32 imax; in aw200xx_set_imax() local
292 imax = coeff_table[i] * AW200XX_IMAX_MULTIPLIER1; in aw200xx_set_imax()
293 if (g_imax_uA >= imax && imax > cur_imax) { in aw200xx_set_imax()
294 cur_imax = imax; in aw200xx_set_imax()
298 imax = coeff_table[i] * AW200XX_IMAX_MULTIPLIER2; in aw200xx_set_imax()
299 imax = DIV_ROUND_CLOSEST(imax, 100) * 100; in aw200xx_set_imax()
300 if (g_imax_uA >= imax && imax > cur_imax) { in aw200xx_set_imax()
[all …]
H A Dleds-aw2013.c60 unsigned int imax; member
88 chip->leds[i].imax); in aw2013_chip_init()
279 u32 imax; in aw2013_probe_dt() local
294 if (!of_property_read_u32(child, "led-max-microamp", &imax)) { in aw2013_probe_dt()
295 led->imax = min_t(u32, imax / 5000, 3); in aw2013_probe_dt()
297 led->imax = 1; // 5mA in aw2013_probe_dt()
H A Dleds-lp3952.c54 * Using Imax to control brightness. There are 4 possible
55 * setting 25, 50, 75 and 100 % of Imax. Possible values are
/openbmc/linux/drivers/mfd/
H A Dlm3533-ctrlbank.c69 * imax 5000 - 29800 uA (800 uA step)
71 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()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv6111.c538 int imax = table_size - 1; in table_lookup() local
541 /* Assumes Table[0].RegValue < Table[imax].RegValue */ in table_lookup()
544 } else if (reg_value >= table[imax].reg_value) { in table_lookup()
545 gain = table[imax].value; in table_lookup()
547 while ((imax - imin) > 1) { in table_lookup()
548 i = (imax + imin) / 2; in table_lookup()
551 imax = i; in table_lookup()
555 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
559 (s32)(table[imax].value in table_lookup()
H A 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 …]
H A Dstv0910.c600 int imax = table_size - 1; in table_lookup() local
604 /* Assumes Table[0].RegValue > Table[imax].RegValue */ in table_lookup()
607 } else if (reg_value <= table[imax].reg_value) { in table_lookup()
608 value = table[imax].value; in table_lookup()
610 while ((imax - imin) > 1) { in table_lookup()
611 i = (imax + imin) / 2; in table_lookup()
614 imax = i; in table_lookup()
619 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup()
623 (s32)(table[imax].value in table_lookup()
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Drichtek,rt8515.yaml61 according to the formula Imax = 5500 / RFS. The lowest
73 according to the formula Imax = 5500 / RTS. The lowest
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Ddlg,da7280.txt34 - dlg,imax-microamp: Actuator max current rating.
91 dlg,imax-microamp = <170000>;
/openbmc/openbmc/poky/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/
H A D0002-musl-does-not-provide-printf-h.patch179 + IMAX,
202 + [IMAX] = PA_INT | PA_FLAG_LONG_LONG,
257 + S('d') = E(IMAX), S('i') = E(IMAX),
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0002-add-fallback-parse_printf_format-implementation.patch164 + IMAX,
187 + [IMAX] = PA_INT | PA_FLAG_LONG_LONG,
242 + S('d') = E(IMAX), S('i') = E(IMAX),
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0005-add-fallback-parse_printf_format-implementation.patch164 + IMAX,
187 + [IMAX] = PA_INT | PA_FLAG_LONG_LONG,
242 + S('d') = E(IMAX), S('i') = E(IMAX),
/openbmc/linux/include/linux/mfd/
H A Dlm3533.h92 u16 imax);
/openbmc/linux/drivers/input/misc/
H A Dda7280.c245 u32 imax; member
811 haptics->imax = DA7280_IMAX_DEFAULT; in da7280_parse_properties()
812 error = device_property_read_u32(dev, "dlg,imax-microamp", &val); in da7280_parse_properties()
814 haptics->imax = (val - 28600) / DA7280_IMAX_STEP + 1; in da7280_parse_properties()
1066 DA7280_IMAX_MASK, haptics->imax); in da7280_init()
1070 v2i_factor = haptics->impd * (haptics->imax + 4) / 1610400; in da7280_init()
/openbmc/linux/arch/alpha/kernel/
H A 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()
H A 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()
/openbmc/linux/arch/riscv/kvm/
H A Daia_imsic.c250 u32 i, imin, imax, ei, max_msi; in imsic_mrif_topei() local
271 imax = ((imin + BITS_PER_TYPE(u64)) < max_msi) ? in imsic_mrif_topei()
273 for (i = (!imin) ? 1 : imin; i < imax; i++) { in imsic_mrif_topei()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.c1688 int imax; in smc_ethtool_geteeprom() local
1692 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_geteeprom()
1697 if (offset > imax) in smc_ethtool_geteeprom()
1713 int imax; in smc_ethtool_seteeprom() local
1717 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_seteeprom()
1722 if (offset > imax) in smc_ethtool_seteeprom()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm8150-microsoft-surface-duo.dts383 dlg,imax-microamp = <129000>;
/openbmc/linux/tools/perf/
H A Dbuiltin-script.c403 int i, imax = ARRAY_SIZE(all_output_options); in output_field2str() local
406 for (i = 0; i < imax; ++i) { in output_field2str()
3009 int i, imax = ARRAY_SIZE(all_output_options); in parse_output_fields() local
3098 for (i = 0; i < imax; ++i) { in parse_output_fields()
3102 if (i == imax && strcmp(tok, "flags") == 0) { in parse_output_fields()
3106 if (i == imax) { in parse_output_fields()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dmax20730.c361 debugfs_create_file("imax", 0444, max20730_dir, in max20730_init_debugfs()
/openbmc/linux/tools/power/pm-graph/
H A Dsleepgraph.py4315 iMin, iMed, iMax = [0, 0], [0, 0], [0, 0]
4332 list[lastmode]['idx'] = (iMin, iMed, iMax)
4334 iMin, iMed, iMax = [0, 0], [0, 0], [0, 0]
4362 iMax[i] = idx
4374 list[lastmode]['idx'] = (iMin, iMed, iMax)
4425 iMin, iMed, iMax = list[mode]['idx']
4432 iMin = iMed = iMax = [-1, -1, -1]
4447 elif idx == iMax[i]:
/openbmc/qemu/pc-bios/
HDhppa-firmware.img(NULL) p ` P @ 0HALT 8 | t l d X Lj g g <n ...
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c16060 * @imax: The maximum interrupt per second limit.
16077 lpfc_eq_create(struct lpfc_hba *phba, struct lpfc_queue *eq, uint32_t imax) in lpfc_eq_create() argument
/openbmc/qemu/target/arm/
H A Dhelper.c4550 { .name = "IMAX", .cp = 15, .crn = 15, .crm = 2, .opc1 = 0, .opc2 = 0,