Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/video/backlight/
Daat2870_bl.c24 int max_current; member
34 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness()
155 if (pdata->max_current > 0) in aat2870_bl_probe()
156 aat2870_bl->max_current = pdata->max_current; in aat2870_bl_probe()
158 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()
/linux-6.6.21/Documentation/leds/
Dleds-lp5562.rst76 The 'led_current' and 'max_current' are used.
88 .max_current = 40,
94 .max_current = 40,
100 .max_current = 40,
106 .max_current = 40,
Dleds-lp5521.rst58 - /sys/class/leds/lp5521:channel0/max_current - RO
69 .max_current = 130,
74 .max_current = 130,
79 .max_current = 130,
Dleds-lp5523.rst101 - /sys/class/leds/lp5523:channel2/max_current - RO
112 .max_current = 130,
118 .max_current = 130,
/linux-6.6.21/include/linux/mfd/
Dlm3533.h47 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member
55 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member
Daat2870.h162 int max_current; member
/linux-6.6.21/drivers/usb/typec/
Drt1719.c102 u32 max_current; member
283 data->max_current = data->op_current = curr * 1000; in rt1719_attach()
302 data->voltage = data->max_current = data->op_current = 0; in rt1719_detach()
313 u32 voltage, max_current, op_current; in rt1719_update_operating_status() local
333 max_current = pdo_max_current(data->spdos[data->spdo_sel - 1]); in rt1719_update_operating_status()
355 op_current = min(max_current, pdo_max_current(data->snkcaps[snk_sel])); in rt1719_update_operating_status()
359 data->max_current = max_current * 1000; in rt1719_update_operating_status()
539 val->intval = data->max_current; in rt1719_psy_get_property()
/linux-6.6.21/drivers/mmc/core/
Dsd.c534 u32 voltage, max_current; in sd_get_host_max_current() local
539 max_current = host->max_current_180; in sd_get_host_max_current()
543 max_current = host->max_current_300; in sd_get_host_max_current()
547 max_current = host->max_current_330; in sd_get_host_max_current()
550 max_current = 0; in sd_get_host_max_current()
553 return max_current; in sd_get_host_max_current()
560 u32 max_current; in sd_set_current_limit() local
576 max_current = sd_get_host_max_current(card->host); in sd_set_current_limit()
593 if (max_current >= 800 && in sd_set_current_limit()
596 else if (max_current >= 600 && in sd_set_current_limit()
[all …]
/linux-6.6.21/drivers/leds/
Dleds-lp55xx-common.c106 if (curr > led->max_current) in led_current_store()
125 return sysfs_emit(buf, "%d\n", led->max_current); in max_current_show()
129 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()
/linux-6.6.21/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()
/linux-6.6.21/include/linux/platform_data/
Dleds-lp55xx.h30 u8 max_current; member
Dcros_ec_commands.h6309 int16_t max_current; member
/linux-6.6.21/include/linux/
Dled-lm3530.h101 u8 max_current; member
/linux-6.6.21/drivers/hwmon/pmbus/
Dmax20730.c439 static u32 max_current[][5] = { variable
469 max_c = max_current[data->id][(data->mfr_devset1 >> 5) & 0x3]; in max20730_read_word_data()
512 max_current[data->id], 4); in max20730_write_word_data()