Searched refs:max_current (Results 1 – 4 of 4) sorted by relevance
430 uint32_t max_current : 10; member536 uint32_t max_current : 10; member668 uint32_t max_current : 7; member701 uint32_t max_current : 7; member
421 int max_current = -1; in sdmmc_set_current_limit() local429 max_current = SD_SET_CURRENT_800MA; in sdmmc_set_current_limit()432 max_current = SD_SET_CURRENT_600MA; in sdmmc_set_current_limit()435 max_current = SD_SET_CURRENT_400MA; in sdmmc_set_current_limit()438 max_current = SD_SET_CURRENT_200MA; in sdmmc_set_current_limit()440 if (max_current != -1) { in sdmmc_set_current_limit()441 LOG_DBG("Changing SD current limit: %d", max_current); in sdmmc_set_current_limit()443 ret = sdmmc_switch(card, SD_SWITCH_SET, SD_GRP_CURRENT_LIMIT_MODE, max_current, in sdmmc_set_current_limit()449 if (((status[15] >> 4) & 0x0F) != max_current) { in sdmmc_set_current_limit()
101 PD_CONVERT_FIXED_PDO_CURRENT_TO_MA(pdo.max_current)); in display_pdo()142 PD_CONVERT_VARIABLE_PDO_CURRENT_TO_MA(var_pdo.max_current)); in display_pdo()155 PD_CONVERT_AUGMENTED_PDO_CURRENT_TO_MA(aug_pdo.max_current)); in display_pdo()
168 if (dpm_data->sink_request.fixed.operating_current > pdo.max_current) { in port0_policy_cb_check_sink_request()221 if (request.fixed.operating_current > pdo.max_current) { in port0_policy_cb_present_contract_is_valid()