Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/sd/
Dsdmmc.c387 int max_current = -1; in sdmmc_set_current_limit() local
396 max_current = SD_SET_CURRENT_800MA; in sdmmc_set_current_limit()
399 max_current = SD_SET_CURRENT_600MA; in sdmmc_set_current_limit()
402 max_current = SD_SET_CURRENT_400MA; in sdmmc_set_current_limit()
405 max_current = SD_SET_CURRENT_200MA; in sdmmc_set_current_limit()
407 if (max_current != -1) { in sdmmc_set_current_limit()
408 LOG_DBG("Changing SD current limit: %d", max_current); in sdmmc_set_current_limit()
411 max_current, status); in sdmmc_set_current_limit()
416 if (((status[15] >> 4) & 0x0F) != max_current) { in sdmmc_set_current_limit()
/Zephyr-Core-3.4.0/include/zephyr/drivers/usb_c/
Dusbc_pd.h430 uint32_t max_current : 10; member
536 uint32_t max_current : 10; member
668 uint32_t max_current : 7; member
701 uint32_t max_current : 7; member
/Zephyr-Core-3.4.0/samples/subsys/usb_c/sink/src/
Dmain.c101 PD_CONVERT_FIXED_PDO_CURRENT_TO_MA(pdo.max_current)); in display_pdo()
142 PD_CONVERT_VARIABLE_PDO_CURRENT_TO_MA(pdo.max_current)); in display_pdo()
155 PD_CONVERT_AUGMENTED_PDO_CURRENT_TO_MA(pdo.max_current)); in display_pdo()
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/src/
Dmain.c168 if (dpm_data->sink_request.fixed.operating_current > pdo.max_current) { in port1_policy_cb_check_sink_request()
221 if (request.fixed.operating_current > pdo.max_current) { in port1_policy_cb_present_contract_is_valid()