Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/backlight/
Daat2870_bl.c37 int max_current; member
47 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness()
173 if (pdata->max_current > 0) in aat2870_bl_probe()
174 aat2870_bl->max_current = pdata->max_current; in aat2870_bl_probe()
176 aat2870_bl->max_current = AAT2870_CURRENT_27_9; in aat2870_bl_probe()
Dlm3533_bl.c265 ret = lm3533_ctrlbank_set_max_current(&bl->cb, pdata->max_current); in lm3533_bl_setup()
/Linux-v4.19/Documentation/leds/
Dleds-lp5562.txt63 The 'led_current' and 'max_current' are used.
74 .max_current = 40,
80 .max_current = 40,
86 .max_current = 40,
92 .max_current = 40,
Dleds-lp5521.txt47 /sys/class/leds/lp5521:channel0/max_current - RO
62 .max_current = 130,
67 .max_current = 130,
72 .max_current = 130,
Dleds-lp5523.txt86 /sys/class/leds/lp5523:channel2/max_current - RO
98 .max_current = 130,
104 .max_current = 130,
/Linux-v4.19/drivers/mmc/core/
Dsd.c489 u32 voltage, max_current; in sd_get_host_max_current() local
494 max_current = host->max_current_180; in sd_get_host_max_current()
498 max_current = host->max_current_300; in sd_get_host_max_current()
502 max_current = host->max_current_330; in sd_get_host_max_current()
505 max_current = 0; in sd_get_host_max_current()
508 return max_current; in sd_get_host_max_current()
515 u32 max_current; in sd_set_current_limit() local
531 max_current = sd_get_host_max_current(card->host); in sd_set_current_limit()
548 if (max_current >= 800 && in sd_set_current_limit()
551 else if (max_current >= 600 && in sd_set_current_limit()
[all …]
/Linux-v4.19/include/linux/mfd/
Dlm3533.h51 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member
59 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member
Daat2870.h176 int max_current; member
/Linux-v4.19/drivers/leds/
Dleds-lp55xx-common.c104 if (curr > led->max_current) in lp55xx_store_current()
123 return scnprintf(buf, PAGE_SIZE, "%d\n", led->max_current); in lp55xx_show_max_current()
128 static DEVICE_ATTR(max_current, S_IRUGO , lp55xx_show_max_current, NULL);
166 led->max_current = pdata->led_config[chan].max_current; in lp55xx_init_led()
575 of_property_read_u8(child, "max-cur", &cfg[i].max_current); in lp55xx_of_populate_pdata()
Dleds-lp55xx-common.h174 u8 max_current; member
Dleds-lm3530.c240 ((pdata->max_current & 7) << LM3530_MAX_CURR_SHIFT); in lm3530_init_registers()
Dleds-lm3533.c644 ret = lm3533_ctrlbank_set_max_current(&led->cb, pdata->max_current); in lm3533_led_setup()
/Linux-v4.19/include/linux/platform_data/
Dleds-lp55xx.h28 u8 max_current; member
/Linux-v4.19/drivers/power/supply/
Dcpcap-charger.c443 int max_current; in cpcap_usb_detect() local
446 max_current = CPCAP_REG_CRM_ICHRG_1A596; in cpcap_usb_detect()
448 max_current = CPCAP_REG_CRM_ICHRG_0A532; in cpcap_usb_detect()
452 max_current, 0); in cpcap_usb_detect()
Dabx500_chargalg.c196 int max_current; member
823 di->ccm.max_current = di->bm->maxi->chg_curr; in init_maxim_chg_curr()
853 di->ccm.max_current = in abx500_chargalg_chg_curr_maxim()
855 di->ccm.current_iset = di->ccm.max_current; in abx500_chargalg_chg_curr_maxim()
886 di->ccm.max_current) { in abx500_chargalg_chg_curr_maxim()
/Linux-v4.19/include/linux/
Dled-lm3530.h102 u8 max_current; member