/linux-6.6.21/drivers/power/supply/ |
D | max8997_charger.c | 103 int current_limit; in max8997_battery_extcon_evt_worker() local 107 current_limit = 450000; in max8997_battery_extcon_evt_worker() 110 current_limit = 650000; in max8997_battery_extcon_evt_worker() 113 current_limit = 650000; in max8997_battery_extcon_evt_worker() 116 current_limit = 650000; in max8997_battery_extcon_evt_worker() 119 current_limit = 650000; in max8997_battery_extcon_evt_worker() 122 current_limit = -1; in max8997_battery_extcon_evt_worker() 125 if (current_limit > 0) { in max8997_battery_extcon_evt_worker() 126 int ret = regulator_set_current_limit(charger->reg, current_limit, current_limit); in max8997_battery_extcon_evt_worker()
|
D | axp288_charger.c | 621 int ret, current_limit; in axp288_charger_extcon_evt_worker() local 646 current_limit = 3000000; in axp288_charger_extcon_evt_worker() 649 current_limit = 500000; in axp288_charger_extcon_evt_worker() 652 current_limit = 1500000; in axp288_charger_extcon_evt_worker() 655 current_limit = 2000000; in axp288_charger_extcon_evt_worker() 662 ret = axp288_charger_set_vbus_inlmt(info, current_limit); in axp288_charger_extcon_evt_worker()
|
D | qcom_battmgr.c | 271 unsigned int current_limit; member 777 val->intval = battmgr->usb.current_limit; in qcom_battmgr_usb_get_property() 1210 battmgr->usb.current_limit = le32_to_cpu(resp->intval.value); in qcom_battmgr_sm8350_callback()
|
D | bq2415x_charger.c | 705 bq2415x_set_default_value(bq, current_limit); in bq2415x_set_defaults() 1407 static DEVICE_ATTR(current_limit, S_IWUSR | S_IRUGO, 1590 &bq->init_data.current_limit); in bq2415x_probe()
|
/linux-6.6.21/drivers/leds/ |
D | leds-cpcap.c | 70 u32 current_limit; member 73 static u16 cpcap_led_val(u8 current_limit, u8 duty_cycle) in cpcap_led_val() argument 75 current_limit &= 0x1f; /* 5 bit */ in cpcap_led_val() 78 return current_limit << 4 | duty_cycle; in cpcap_led_val()
|
/linux-6.6.21/include/linux/power/ |
D | bq2415x_charger.h | 36 int current_limit; /* mA */ member
|
/linux-6.6.21/drivers/mmc/core/ |
D | sd.c | 558 int current_limit = SD_SET_CURRENT_NO_CHANGE; in sd_set_current_limit() local 595 current_limit = SD_SET_CURRENT_LIMIT_800; in sd_set_current_limit() 598 current_limit = SD_SET_CURRENT_LIMIT_600; in sd_set_current_limit() 601 current_limit = SD_SET_CURRENT_LIMIT_400; in sd_set_current_limit() 604 current_limit = SD_SET_CURRENT_LIMIT_200; in sd_set_current_limit() 606 if (current_limit != SD_SET_CURRENT_NO_CHANGE) { in sd_set_current_limit() 607 err = mmc_sd_switch(card, 1, 3, current_limit, status); in sd_set_current_limit() 611 if (((status[15] >> 4) & 0x0F) != current_limit) in sd_set_current_limit()
|
/linux-6.6.21/mm/ |
D | memblock.c | 127 .current_limit = MEMBLOCK_ALLOC_ANYWHERE, 301 end = memblock.current_limit; in memblock_find_in_range_node() 456 memblock.current_limit, in memblock_double_array() 460 min(new_area_start, memblock.current_limit), in memblock_double_array() 1535 if (max_addr > memblock.current_limit) in memblock_alloc_internal() 1536 max_addr = memblock.current_limit; in memblock_alloc_internal() 1909 memblock.current_limit = limit; in memblock_set_current_limit() 1914 return memblock.current_limit; in memblock_get_current_limit()
|
/linux-6.6.21/drivers/staging/media/atomisp/include/media/ |
D | lm3554.h | 127 unsigned int current_limit; member
|
/linux-6.6.21/tools/testing/memblock/tests/ |
D | common.c | 59 memblock.current_limit = MEMBLOCK_ALLOC_ANYWHERE; in reset_memblock_attributes()
|
D | basic_api.c | 28 ASSERT_EQ(memblock.current_limit, MEMBLOCK_ALLOC_ANYWHERE); in memblock_initialization_check()
|
/linux-6.6.21/drivers/usb/typec/tcpm/ |
D | fusb302.c | 440 int current_limit = 0; in tcpm_get_current_limit() local 453 current_limit = 500; in tcpm_get_current_limit() 457 current_limit = 1500; in tcpm_get_current_limit() 460 current_limit = 2000; in tcpm_get_current_limit() 463 } while (current_limit == 0 && time_before(jiffies, timeout)); in tcpm_get_current_limit() 465 return current_limit; in tcpm_get_current_limit()
|
D | tcpm.c | 431 u32 current_limit; member 1029 port->current_limit = max_ma; in tcpm_set_current_limit() 2727 port->pps_data.req_op_curr = port->current_limit; in tcpm_pd_ctrl_request() 4376 port->current_limit * port->supply_voltage / 1000 > PD_P_SNK_STDBY_MW) { in run_state_machine() 5875 target_mw = (port->current_limit * req_out_volt) / 1000; in tcpm_pps_set_out_volt() 5951 port->pps_data.req_op_curr = port->current_limit; in tcpm_pps_activate() 6314 val->intval = port->current_limit * 1000; in tcpm_psy_get_current_max() 6322 val->intval = port->current_limit * 1000; in tcpm_psy_get_current_now()
|
/linux-6.6.21/drivers/staging/media/atomisp/i2c/ |
D | atomisp-lm3554.c | 153 (flash->pdata->current_limit << LM3554_CURRENT_LIMIT_SHIFT); in lm3554_set_duration() 828 platform_data.current_limit = 0; in lm3554_platform_data_func()
|
/linux-6.6.21/include/linux/ |
D | memblock.h | 93 phys_addr_t current_limit; member
|