Searched refs:imax (Results 1 – 9 of 9) sorted by relevance
| /drivers/leds/ |
| A D | leds-aw200xx.c | 291 u32 imax; in aw200xx_set_imax() local 295 if (g_imax_uA >= imax && imax > cur_imax) { in aw200xx_set_imax() 296 cur_imax = imax; 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() 303 cur_imax = imax; in aw200xx_set_imax() 429 u32 source, imax; in aw200xx_probe_fw() local 446 &imax); in aw200xx_probe_fw() 450 } else if (imax < current_min || imax > current_max) { in aw200xx_probe_fw() 452 imax); in aw200xx_probe_fw() [all …]
|
| 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()
|
| /drivers/media/dvb-frontends/ |
| A D | stv6111.c | 538 int imax = table_size - 1; in table_lookup() local 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()
|
| 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() 668 imax, in stv0900_carr_get_quality() local 697 imax = lookup->size - 1; in stv0900_carr_get_quality() 701 while ((imax - imin) > 1) { in stv0900_carr_get_quality() 702 i = (imax + imin) >> 1; in stv0900_carr_get_quality() [all …]
|
| A D | stv0910.c | 595 int imax = table_size - 1; in table_lookup() local 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()
|
| /drivers/mfd/ |
| A D | lm3533-ctrlbank.c | 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()
|
| /drivers/input/misc/ |
| A D | da7280.c | 244 u32 imax; member 810 haptics->imax = DA7280_IMAX_DEFAULT; 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()
|
| /drivers/net/ethernet/smsc/ |
| 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()
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_sli.c | 16059 lpfc_eq_create(struct lpfc_hba *phba, struct lpfc_queue *eq, uint32_t imax) in lpfc_eq_create() argument
|
Completed in 86 milliseconds