/hal_nxp-latest/mcux/mcux-sdk/components/pf3000/ |
D | fsl_pf3000.c | 173 …t8_t PF3000_GetRegulatorSetPoint(pf3000_handle_t *handle, pf3000_module_t module, uint32_t voltage) in PF3000_GetRegulatorSetPoint() argument 195 if (3300000U <= voltage) in PF3000_GetRegulatorSetPoint() 199 else if (1800000U <= voltage) in PF3000_GetRegulatorSetPoint() 207 … if ((PF3000_SW1A_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW1A_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 219 … if ((PF3000_SW1B_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW1B_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 238 … if ((PF3000_SW2_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW2_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 247 if (3300000 <= voltage) in PF3000_GetRegulatorSetPoint() 251 else if (3200000 <= voltage) in PF3000_GetRegulatorSetPoint() 255 else if (3150000 <= voltage) in PF3000_GetRegulatorSetPoint() 259 else if (3100000 <= voltage) in PF3000_GetRegulatorSetPoint() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/boards/evkmimx8ulp/ |
D | clock_config.c | 436 int voltage = 0; in BOARD_GetRtdDriveMode() local 444 status = UPOWER_GetPmicVoltage(PMIC_BUCK2, &voltage); in BOARD_GetRtdDriveMode() 446 switch (voltage) in BOARD_GetRtdDriveMode() 494 int voltage = 0; in BOARD_UpdateM33CoreFreq() local 543 status = UPOWER_GetPmicVoltage(PMIC_BUCK2, &voltage); in BOARD_UpdateM33CoreFreq() 568 if (voltage != PMIC_VOLTAGE_1_0V) in BOARD_UpdateM33CoreFreq() 576 status = UPOWER_GetPmicVoltage(PMIC_BUCK2, &voltage); in BOARD_UpdateM33CoreFreq() 577 if (status == 0 && voltage == PMIC_VOLTAGE_1_0V) in BOARD_UpdateM33CoreFreq() 597 if (voltage != PMIC_VOLTAGE_0_9V) in BOARD_UpdateM33CoreFreq() 605 status = UPOWER_GetPmicVoltage(PMIC_BUCK2, &voltage); in BOARD_UpdateM33CoreFreq() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/components/pf1550/ |
D | fsl_pf1550.c | 154 …t8_t PF1550_GetRegulatorSetPoint(pf1550_handle_t *handle, pf1550_module_t module, uint32_t voltage) in PF1550_GetRegulatorSetPoint() argument 172 … if ((PF1550_SWX_OUTPUT_LIMIT_LOW_DVS + (PF1550_SWX_OUTPUT_STEP_DVS * index)) >= voltage) in PF1550_GetRegulatorSetPoint() 190 if ((PF1550_SWY_OUTPUT_LIMIT_LOW + (PF1550_SWY_OUTPUT_STEP * index)) >= voltage) in PF1550_GetRegulatorSetPoint() 207 if ((PF1550_LDOX_OUTPUT_LIMIT_LOW + (PF1550_LDOX_OUTPUT_STEP * index)) >= voltage) in PF1550_GetRegulatorSetPoint() 226 … ((PF1550_LDOY_OUTPUT_LIMIT_LOW + (PF1550_LDOY_OUTPUT_STEP_LOW * index)) >= voltage)) || in PF1550_GetRegulatorSetPoint() 229 … (PF1550_LDOY_OUTPUT_STEP_HIGH * (index - PF1550_LDOY_SET_POINT_LOW_NUM))) >= voltage))) in PF1550_GetRegulatorSetPoint() 252 uint32_t voltage; in PF1550_GetRegulatorOutputVolt() local 267 … voltage = PF1550_SWX_OUTPUT_LIMIT_LOW_DVS + (uint32_t)PF1550_SWX_OUTPUT_STEP_DVS * voltRegContent; in PF1550_GetRegulatorOutputVolt() 274 voltage = regulatorSwVoltSetPonitTab[(sizeof(regulatorSwVoltSetPonitTab) / in PF1550_GetRegulatorOutputVolt() 280 voltage = regulatorSwVoltSetPonitTab[voltRegContent]; in PF1550_GetRegulatorOutputVolt() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/drivers/gdet/ |
D | fsl_gdet.c | 139 status_t GDET_ReconfigureVoltageMode(GDET_Type *base, gdet_core_voltage_t voltage) in GDET_ReconfigureVoltageMode() argument 144 …if ((voltage != kGDET_MidVoltage) && (voltage != kGDET_NormalVoltage) && (voltage != kGDET_OverDri… in GDET_ReconfigureVoltageMode() 151 tmp0 = (((uint32_t)voltage) << GDET_GDET_DLY_CTRL_VOL_SEL_SHIFT); in GDET_ReconfigureVoltageMode()
|
D | fsl_gdet.h | 106 status_t GDET_ReconfigureVoltageMode(GDET_Type *base, gdet_core_voltage_t voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/boards/evkmimxrt685/wireless_config_template/ |
D | sdmmc_config.c | 22 void BOARD_SDCardIoVoltageControl(sdmmc_operation_voltage_t voltage); 119 void BOARD_SDCardIoVoltageControl(sdmmc_operation_voltage_t voltage) in BOARD_SDCardIoVoltageControl() argument 121 if (voltage == kSDMMC_OperationVoltage330V) in BOARD_SDCardIoVoltageControl() 129 else if (voltage == kSDMMC_OperationVoltage180V) in BOARD_SDCardIoVoltageControl()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD5/drivers/ |
D | fsl_upower.c | 636 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage) in UPOWER_ChngPmicVoltage() argument 643 status = upwr_vtm_chng_pmic_voltage(rail, (uint32_t)voltage, UPOWER_Callback); in UPOWER_ChngPmicVoltage() 814 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage) in UPOWER_GetPmicVoltage() argument 823 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, voltage, 0U); in UPOWER_GetPmicVoltage()
|
D | fsl_upower.h | 430 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage); 460 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD3/drivers/ |
D | fsl_upower.c | 636 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage) in UPOWER_ChngPmicVoltage() argument 643 status = upwr_vtm_chng_pmic_voltage(rail, (uint32_t)voltage, UPOWER_Callback); in UPOWER_ChngPmicVoltage() 814 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage) in UPOWER_GetPmicVoltage() argument 823 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, voltage, 0U); in UPOWER_GetPmicVoltage()
|
D | fsl_upower.h | 430 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage); 460 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD7/drivers/ |
D | fsl_upower.c | 636 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage) in UPOWER_ChngPmicVoltage() argument 643 status = upwr_vtm_chng_pmic_voltage(rail, (uint32_t)voltage, UPOWER_Callback); in UPOWER_ChngPmicVoltage() 814 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage) in UPOWER_GetPmicVoltage() argument 823 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, voltage, 0U); in UPOWER_GetPmicVoltage()
|
D | fsl_upower.h | 430 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage); 460 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US3/drivers/ |
D | fsl_upower.c | 636 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage) in UPOWER_ChngPmicVoltage() argument 643 status = upwr_vtm_chng_pmic_voltage(rail, (uint32_t)voltage, UPOWER_Callback); in UPOWER_ChngPmicVoltage() 814 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage) in UPOWER_GetPmicVoltage() argument 823 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, voltage, 0U); in UPOWER_GetPmicVoltage()
|
D | fsl_upower.h | 430 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage); 460 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US5/drivers/ |
D | fsl_upower.c | 636 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage) in UPOWER_ChngPmicVoltage() argument 643 status = upwr_vtm_chng_pmic_voltage(rail, (uint32_t)voltage, UPOWER_Callback); in UPOWER_ChngPmicVoltage() 814 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage) in UPOWER_GetPmicVoltage() argument 823 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, voltage, 0U); in UPOWER_GetPmicVoltage()
|
D | fsl_upower.h | 430 int UPOWER_ChngPmicVoltage(uint32_t rail, int voltage); 460 int UPOWER_GetPmicVoltage(uint32_t rail, int *voltage);
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/Driver/DriverTemplates/ |
D | Driver_MCI.c | 101 static int32_t ARM_MCI_CardPower(uint32_t voltage) in ARM_MCI_CardPower() argument 103 switch (voltage & ARM_MCI_POWER_VDD_Msk) in ARM_MCI_CardPower()
|
D | Driver_NAND.c | 93 static int32_t ARM_NAND_DevicePower (uint32_t voltage) { in ARM_NAND_DevicePower() argument
|
/hal_nxp-latest/mcux/mcux-sdk/boards/evkmimxrt595/wireless_config_template/ |
D | sdmmc_config.c | 20 void BOARD_SDCardIoVoltageControl(sdmmc_operation_voltage_t voltage); 99 void BOARD_SDCardIoVoltageControl(sdmmc_operation_voltage_t voltage) in BOARD_SDCardIoVoltageControl() argument
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S66/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5526/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S28/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5528/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S26/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S69/drivers/ |
D | fsl_power.c | 772 uint32_t ldo_ao_trim, voltage; in lf_set_ldo_ao_ldo_mem_voltage() local 838 voltage = in lf_set_ldo_ao_ldo_mem_voltage() 848 return (voltage); in lf_set_ldo_ao_ldo_mem_voltage()
|