Home
last modified time | relevance | path

Searched refs:max_current (Results 1 – 10 of 10) sorted by relevance

/drivers/video/backlight/
Daat2870_bl.c24 int max_current; member
34 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness()
160 if (pdata->max_current > 0) in aat2870_bl_probe()
161 aat2870_bl->max_current = pdata->max_current; in aat2870_bl_probe()
163 aat2870_bl->max_current = AAT2870_CURRENT_27_9; in aat2870_bl_probe()
Dlm3533_bl.c255 ret = lm3533_ctrlbank_set_max_current(&bl->cb, pdata->max_current); in lm3533_bl_setup()
/drivers/mmc/core/
Dsd.c529 u32 voltage, max_current; in sd_get_host_max_current() local
534 max_current = host->max_current_180; in sd_get_host_max_current()
538 max_current = host->max_current_300; in sd_get_host_max_current()
542 max_current = host->max_current_330; in sd_get_host_max_current()
545 max_current = 0; in sd_get_host_max_current()
548 return max_current; in sd_get_host_max_current()
555 u32 max_current; in sd_set_current_limit() local
571 max_current = sd_get_host_max_current(card->host); in sd_set_current_limit()
588 if (max_current >= 800 && in sd_set_current_limit()
591 else if (max_current >= 600 && in sd_set_current_limit()
[all …]
/drivers/leds/
Dleds-lp55xx-common.c105 if (curr > led->max_current) in led_current_store()
124 return scnprintf(buf, PAGE_SIZE, "%d\n", led->max_current); in max_current_show()
128 static DEVICE_ATTR_RO(max_current);
215 led->max_current = pdata->led_config[chan].max_current; in lp55xx_init_led()
577 &cfg[led_number].max_current); in lp55xx_parse_common_child()
Dleds-lp55xx-common.h180 u8 max_current; member
Dleds-lm3530.c239 ((pdata->max_current & 7) << LM3530_MAX_CURR_SHIFT); in lm3530_init_registers()
Dleds-lm3533.c640 ret = lm3533_ctrlbank_set_max_current(&led->cb, pdata->max_current); in lm3533_led_setup()
/drivers/power/supply/
Dcpcap-charger.c686 int max_current; in cpcap_usb_detect() local
704 max_current = 1596000; in cpcap_usb_detect()
707 max_current = 0; in cpcap_usb_detect()
710 if (max_current > ddata->limit_current) in cpcap_usb_detect()
711 max_current = ddata->limit_current; in cpcap_usb_detect()
713 ichrg = cpcap_charger_current_to_regval(max_current); in cpcap_usb_detect()
Dab8500_chargalg.c198 int max_current; member
824 di->ccm.max_current = di->bm->maxi->chg_curr; in init_maxim_chg_curr()
854 di->ccm.max_current = in ab8500_chargalg_chg_curr_maxim()
856 di->ccm.current_iset = di->ccm.max_current; in ab8500_chargalg_chg_curr_maxim()
887 di->ccm.max_current) { in ab8500_chargalg_chg_curr_maxim()
/drivers/hwmon/pmbus/
Dmax20730.c437 static u32 max_current[][5] = { variable
467 max_c = max_current[data->id][(data->mfr_devset1 >> 5) & 0x3]; in max20730_read_word_data()
510 max_current[data->id], 4); in max20730_write_word_data()