Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.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.7.0/subsys/sd/
Dsdmmc.c421 int max_current = -1; in sdmmc_set_current_limit() local
429 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()
/Zephyr-Core-3.7.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(var_pdo.max_current)); in display_pdo()
155 PD_CONVERT_AUGMENTED_PDO_CURRENT_TO_MA(aug_pdo.max_current)); in display_pdo()
/Zephyr-Core-3.7.0/samples/subsys/usb_c/source/src/
Dmain.c168 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()