/linux/drivers/video/backlight/ |
H A D | aat2870_bl.c | 23 int max_current; member 33 val = brightness * (aat2870_bl->max_current - 1); in aat2870_brightness() 148 if (pdata->max_current > 0) in aat2870_bl_probe() 149 aat2870_bl->max_current = pdata->max_current; in aat2870_bl_probe() 151 aat2870_bl->max_current = AAT2870_CURRENT_27_9; in aat2870_bl_probe()
|
H A D | lm3533_bl.c | 254 ret = lm3533_ctrlbank_set_max_current(&bl->cb, pdata->max_current); in lm3533_bl_setup()
|
/linux/drivers/hwmon/pmbus/ |
H A D | ina233.c | 87 u32 max_current; in ina233_probe() local 125 ret = device_property_read_u32(dev, "ti,maximum-expected-current-microamp", &max_current); in ina233_probe() 130 max_current = INA233_MAX_CURRENT_DEFAULT; in ina233_probe() 132 if (max_current < 32768) in ina233_probe() 137 current_lsb = max_current / 32768; in ina233_probe()
|
H A D | max20730.c | 439 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()
|
/linux/Documentation/leds/ |
H A D | leds-lp5562.rst | 76 The 'led_current' and 'max_current' are used. 88 .max_current = 40, 94 .max_current = 40, 100 .max_current = 40, 106 .max_current = 40,
|
H A D | leds-lp5521.rst | 58 - /sys/class/leds/lp5521:channel0/max_current - RO 69 .max_current = 130, 74 .max_current = 130, 79 .max_current = 130,
|
H A D | leds-lp5523.rst | 101 - /sys/class/leds/lp5523:channel2/max_current - RO 112 .max_current = 130, 118 .max_current = 130,
|
/linux/include/linux/mfd/ |
H A D | lm3533.h | 48 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member 56 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ member
|
H A D | aat2870.h | 159 int max_current; member
|
/linux/drivers/usb/typec/ |
H A D | rt1719.c | 102 u32 max_current; member 277 data->max_current = data->op_current = curr * 1000; in rt1719_attach() 296 data->voltage = data->max_current = data->op_current = 0; in rt1719_detach() 307 u32 voltage, max_current, op_current; in rt1719_update_operating_status() local 327 max_current = pdo_max_current(data->spdos[data->spdo_sel - 1]); in rt1719_update_operating_status() 349 op_current = min(max_current, pdo_max_current(data->snkcaps[snk_sel])); in rt1719_update_operating_status() 353 data->max_current = max_current * 1000; in rt1719_update_operating_status() 533 val->intval = data->max_current; in rt1719_psy_get_property()
|
/linux/drivers/mmc/core/ |
H A D | sd.c | 533 u32 voltage, max_current; in sd_get_host_max_current() local 538 max_current = host->max_current_180; in sd_get_host_max_current() 542 max_current = host->max_current_300; in sd_get_host_max_current() 546 max_current = host->max_current_330; in sd_get_host_max_current() 549 max_current = 0; in sd_get_host_max_current() 552 return max_current; in sd_get_host_max_current() 559 u32 max_current; in sd_set_current_limit() local 575 max_current = sd_get_host_max_current(card->host); in sd_set_current_limit() 592 if (max_current >= 800 && in sd_set_current_limit() 595 else if (max_current > in sd_set_current_limit() 834 u32 max_current; mmc_sd_get_cid() local [all...] |
/linux/drivers/power/supply/ |
H A D | cpcap-charger.c | 686 int max_current; in cpcap_usb_detect() local 703 max_current = 1596000; in cpcap_usb_detect() 706 max_current = 0; in cpcap_usb_detect() 709 if (max_current > ddata->limit_current) in cpcap_usb_detect() 710 max_current = ddata->limit_current; in cpcap_usb_detect() 712 ichrg = cpcap_charger_current_to_regval(max_current); in cpcap_usb_detect()
|
/linux/include/linux/platform_data/ |
H A D | leds-lp55xx.h | 30 u8 max_current; member
|
H A D | cros_ec_commands.h | 6514 * @max_current: Charger current (mA). Positive to allow base to draw up to 6515 * max_current and (possibly) charge battery, negative to request current 6517 * @otg_voltage: Voltage (mV) to use in OTG mode, ignored if max_current is 6520 * max_current > 0). 6523 int16_t max_current; member
|
/linux/include/linux/ |
H A D | led-lm3530.h | 84 * @max_current: full scale LED current 101 u8 max_current; member
|
/linux/drivers/leds/ |
H A D | leds-lm3530.c | 239 ((pdata->max_current & 7) << LM3530_MAX_CURR_SHIFT); in lm3530_init_registers()
|
H A D | leds-lm3533.c | 640 ret = lm3533_ctrlbank_set_max_current(&led->cb, pdata->max_current); in lm3533_led_setup()
|