/linux/drivers/leds/ |
H A D | leds-aw200xx.c | 222 * Iled = Imax * (dim / 63) * ((fade + 1) / 256) * duty in aw200xx_imax_from_global() 273 * imax = coefficient * 10 276 * imax = coefficient * 3.3 291 u32 imax; in aw200xx_set_imax() local 294 imax = coeff_table[i] * AW200XX_IMAX_MULTIPLIER1; in aw200xx_set_imax() 295 if (g_imax_uA >= imax && imax > cur_imax) { in aw200xx_set_imax() 296 cur_imax = imax; in aw200xx_set_imax() 300 imax = coeff_table[i] * AW200XX_IMAX_MULTIPLIER2; in aw200xx_set_imax() 301 imax = DIV_ROUND_CLOSEST(imax, 100) * 100; in aw200xx_set_imax() 302 if (g_imax_uA >= imax && imax > cur_imax) { in aw200xx_set_imax() [all …]
|
H A D | leds-aw2013.c | 60 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 D | leds-lp3952.c | 54 * Using Imax to control brightness. There are 4 possible 55 * setting 25, 50, 75 and 100 % of Imax. Possible values are
|
/linux/drivers/mfd/ |
H A D | lm3533-ctrlbank.c | 69 * 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()
|
/linux/drivers/media/dvb-frontends/ |
H A D | stv0900_core.c | 596 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 D | stv0910.c | 595 int imax = table_size - 1; in table_lookup() local 599 /* Assumes Table[0].RegValue > Table[imax].RegValue */ in table_lookup() 602 } else if (reg_value <= table[imax].reg_value) { in table_lookup() 603 value = table[imax].value; in table_lookup() 605 while ((imax - imin) > 1) { in table_lookup() 606 i = (imax + imin) / 2; in table_lookup() 609 imax = i; in table_lookup() 614 reg_diff = table[imax].reg_value - table[imin].reg_value; in table_lookup() 618 (s32)(table[imax].value in table_lookup()
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | richtek,rt8515.yaml | 61 according to the formula Imax = 5500 / RFS. The lowest 73 according to the formula Imax = 5500 / RTS. The lowest
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | dlg,da7280.txt | 34 - dlg,imax-microamp: Actuator max current rating. 91 dlg,imax-microamp = <170000>;
|
/linux/drivers/input/misc/ |
H A D | da7280.c | 244 u32 imax; member 810 haptics->imax = DA7280_IMAX_DEFAULT; in da7280_parse_properties() 811 error = device_property_read_u32(dev, "dlg,imax-microamp", &val); in da7280_parse_properties() 813 haptics->imax = (val - 28600) / DA7280_IMAX_STEP + 1; in da7280_parse_properties() 1065 DA7280_IMAX_MASK, haptics->imax); in da7280_init() 1069 v2i_factor = haptics->impd * (haptics->imax + 4) / 1610400; in da7280_init()
|
/linux/include/linux/mfd/ |
H A D | lm3533.h | 91 u16 imax);
|
/linux/arch/alpha/kernel/ |
H A 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()
|
H A 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()
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 1685 int imax; in smc_ethtool_geteeprom() local 1689 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_geteeprom() 1694 if (offset > imax) in smc_ethtool_geteeprom() 1710 int imax; in smc_ethtool_seteeprom() local 1714 imax = smc_ethtool_geteeprom_len(dev); in smc_ethtool_seteeprom() 1719 if (offset > imax) in smc_ethtool_seteeprom()
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8150-microsoft-surface-duo.dts | 383 dlg,imax-microamp = <129000>;
|
/linux/drivers/power/supply/ |
H A D | twl6030_charger.c | 494 dev_info(&pdev->dev, "battery with vmax %d imax: %d\n", in twl6030_charger_probe()
|
/linux/tools/perf/ |
H A D | builtin-script.c | 412 int i, imax = ARRAY_SIZE(all_output_options); in output_field2str() local 415 for (i = 0; i < imax; ++i) { in output_field2str() 3121 int i, imax = ARRAY_SIZE(all_output_options); in parse_output_fields() 3210 for (i = 0; i < imax; ++i) { in parse_output_fields() 3214 if (i == imax && strcmp(tok, "flags") == 0) { in parse_output_fields() 3218 if (i == imax) { in parse_output_fields() 3120 int i, imax = ARRAY_SIZE(all_output_options); parse_output_fields() local
|
/linux/drivers/hwmon/pmbus/ |
H A D | max20730.c | 361 debugfs_create_file("imax", 0444, max20730_dir, in max20730_init_debugfs()
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 4339 iMin, iMed, iMax = [0, 0], [0, 0], [0, 0] 4356 list[lastmode]['idx'] = (iMin, iMed, iMax) 4358 iMin, iMed, iMax = [0, 0], [0, 0], [0, 0] 4387 iMax[i] = idx 4399 list[lastmode]['idx'] = (iMin, iMed, iMax) 4450 iMin, iMed, iMax = list[mode]['idx'] 4457 iMin = iMed = iMax = [-1, -1, -1] 4472 elif idx == iMax[i]:
|