Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 82) sorted by relevance

1234

/hal_nxp-3.6.0/mcux/mcux-sdk/components/pf3000/
Dfsl_pf3000.c173 static uint8_t PF3000_GetRegulatorSetPoint(pf3000_handle_t *handle, pf3000_module_t module, uint32_… in PF3000_GetRegulatorSetPoint() argument
179 assert((kPF3000_ModuleSwitch1A == module) || (kPF3000_ModuleSwitch1B == module) || in PF3000_GetRegulatorSetPoint()
180 (kPF3000_ModuleSwitch2 == module) || (kPF3000_ModuleSwitch3 == module) || in PF3000_GetRegulatorSetPoint()
181 …(kPF3000_ModuleSwitchBoost == module) || (kPF3000_ModuleLdo1 == module) || (kPF3000_ModuleLdo2 == in PF3000_GetRegulatorSetPoint()
182 …(kPF3000_ModuleLdo3 == module) || (kPF3000_ModuleLdo4 == module) || (kPF3000_ModuleVcc_sd == modul… in PF3000_GetRegulatorSetPoint()
183 (kPF3000_ModuleV33 == module)); in PF3000_GetRegulatorSetPoint()
185 switch (module) in PF3000_GetRegulatorSetPoint()
192 … ((handle->switch1Mode == kPF3000_SW1IndependentMode) && (module == kPF3000_ModuleSwitch1A))) in PF3000_GetRegulatorSetPoint()
214 …else if ((handle->switch1Mode == kPF3000_SW1IndependentMode) && (module == kPF3000_ModuleSwitch1B)) in PF3000_GetRegulatorSetPoint()
377 static uint32_t PF3000_GetRegulatorOutputVolt(pf3000_handle_t *handle, pf3000_module_t module, uint… in PF3000_GetRegulatorOutputVolt() argument
[all …]
Dfsl_pf3000.h519 void PF3000_EnableRegulator(pf3000_handle_t *handle, pf3000_module_t module, bool enable);
532 bool PF3000_IsRegulatorEnabled(pf3000_handle_t *handle, pf3000_module_t module);
553 pf3000_module_t module,
572 pf3000_module_t module,
586 pf3000_module_t module,
610 void PF3000_SetLdoAttribute(pf3000_handle_t *handle, pf3000_module_t module, const pf3000_ldo_attri…
/hal_nxp-3.6.0/mcux/mcux-sdk/components/pf1550/
Dfsl_pf1550.c154 static uint8_t PF1550_GetRegulatorSetPoint(pf1550_handle_t *handle, pf1550_module_t module, uint32_… in PF1550_GetRegulatorSetPoint() argument
160 assert((kPF1550_ModuleSwitch1 == module) || (kPF1550_ModuleSwitch2 == module) || in PF1550_GetRegulatorSetPoint()
161 …(kPF1550_ModuleSwitch3 == module) || (kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == modu… in PF1550_GetRegulatorSetPoint()
162 (kPF1550_ModuleLdo3 == module)); in PF1550_GetRegulatorSetPoint()
164 switch (module) in PF1550_GetRegulatorSetPoint()
250 static uint32_t PF1550_GetRegulatorOutputVolt(pf1550_handle_t *handle, pf1550_module_t module, uint… in PF1550_GetRegulatorOutputVolt() argument
255 assert((kPF1550_ModuleSwitch1 == module) || (kPF1550_ModuleSwitch2 == module) || in PF1550_GetRegulatorOutputVolt()
256 …(kPF1550_ModuleSwitch3 == module) || (kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == modu… in PF1550_GetRegulatorOutputVolt()
257 (kPF1550_ModuleLdo3 == module)); in PF1550_GetRegulatorOutputVolt()
259 switch (module) in PF1550_GetRegulatorOutputVolt()
[all …]
Dfsl_pf1550.h663 pf1550_module_t module,
681 bool PF1550_IsRegulatorEnabled(pf1550_handle_t *handle, pf1550_module_t module, pf1550_operating_st…
699 pf1550_module_t module,
719 pf1550_module_t module,
734 pf1550_module_t module,
748 void PF1550_SetLdoAttribute(pf1550_handle_t *handle, pf1550_module_t module, const pf1550_ldo_attri…
851 bool PF1550_IsRegulatorSupportDvs(pf1550_handle_t *handle, pf1550_module_t module);
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/wm8960/
Dfsl_codec_wm8960_adapter.c45 #define HAL_WM8960_MAP_MODULE(module) \ argument
46 ((module) == (uint32_t)kCODEC_ModuleADC ? \
48 (module) == (uint32_t)kCODEC_ModuleDAC ? \
50 (module) == (uint32_t)kCODEC_ModuleVref ? \
52 (module) == (uint32_t)kCODEC_ModuleHeadphone ? \
54 (module) == (uint32_t)kCODEC_ModuleMicbias ? \
56 (module) == (uint32_t)kCODEC_ModuleMic ? \
58 (module) == (uint32_t)kCODEC_ModuleLinein ? \
60 (module) == (uint32_t)kCODEC_ModuleSpeaker ? \
62 (module) == (uint32_t)kCODEC_ModuleMixer ? \
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE04Z4/drivers/
Dfsl_port.c62 void PORT_SetPinSelect(port_module_t module, port_pin_select_t pin) in PORT_SetPinSelect() argument
66 if (module > kPORT_SWDE) in PORT_SetPinSelect()
68 SIM->PINSEL |= (uint32_t)module; in PORT_SetPinSelect()
72 SIM->SOPT |= (uint32_t)module; in PORT_SetPinSelect()
77 if (module > kPORT_SWDE) in PORT_SetPinSelect()
79 SIM->PINSEL &= ~ (uint32_t)module; in PORT_SetPinSelect()
83 SIM->SOPT &= ~ (uint32_t)module; in PORT_SetPinSelect()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/sgtl5000/
Dfsl_codec_sgtl_adapter.c27 #define HAL_SGTL_MAP_MODULE(module) \ argument
28 ((module) == (uint32_t)kCODEC_ModuleADC ? \
30 (module) == (uint32_t)kCODEC_ModuleDAC ? \
32 (module) == (uint32_t)kCODEC_ModuleHeadphone ? \
34 (module) == (uint32_t)kCODEC_ModuleI2SIn ? \
36 (module) == (uint32_t)kCODEC_ModuleI2SOut ? \
38 (module) == (uint32_t)kCODEC_ModuleLinein ? \
40 (module) == (uint32_t)kCODEC_ModuleLineout ? kSGTL_ModuleLineOut : kSGTL_ModuleMicin)
211 status_t HAL_CODEC_SGTL5000_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SGTL5000_SetPower() argument
218 HAL_SGTL_MAP_MODULE(module)); in HAL_CODEC_SGTL5000_SetPower()
[all …]
Dfsl_codec_sgtl_adapter.h88 status_t HAL_CODEC_SGTL5000_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_SGTL5000_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE02Z4/drivers/
Dfsl_port.c73 void PORT_SetPinSelect(port_module_t module, port_pin_select_t pin) in PORT_SetPinSelect() argument
77 if (module > kPORT_SWDE) in PORT_SetPinSelect()
79 SIM->PINSEL |= (uint32_t)module; in PORT_SetPinSelect()
83 SIM->SOPT |= (uint32_t)module; in PORT_SetPinSelect()
88 if (module > kPORT_SWDE) in PORT_SetPinSelect()
90 SIM->PINSEL &= ~(uint32_t)module; in PORT_SetPinSelect()
94 SIM->SOPT &= ~(uint32_t)module; in PORT_SetPinSelect()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/wm8962/
Dfsl_codec_wm8962_adapter.c44 #define HAL_WM8962_MAP_MODULE(module) \ argument
45 ((module) == (uint32_t)kCODEC_ModuleADC ? \
47 (module) == (uint32_t)kCODEC_ModuleDAC ? \
49 (module) == (uint32_t)kCODEC_ModuleHeadphone ? \
51 (module) == (uint32_t)kCODEC_ModuleMicbias ? \
53 (module) == (uint32_t)kCODEC_ModuleMic ? \
55 (module) == (uint32_t)kCODEC_ModuleLinein ? \
57 (module) == (uint32_t)kCODEC_ModuleSpeaker ? kWM8962_ModuleSpeaker : kWM8962_ModuleADC)
221 status_t HAL_CODEC_WM8962_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_WM8962_SetPower() argument
226 HAL_WM8962_MAP_MODULE(module), powerOn); in HAL_CODEC_WM8962_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE04Z1284/drivers/
Dfsl_port.c65 void PORT_SetPinSelect(port_module_t module, port_pin_select_t pin) in PORT_SetPinSelect() argument
68 …uint32_t bitwidth = ((uint32_t)module >> PORT_MODULEPS_BITWIDTH_OFFSET) & PORT_MODULEPS_BITWIDTH_M… in PORT_SetPinSelect()
69 …uint32_t shift = (uint32_t)module & ~((uint32_t)PORT_PINSEL_REG_OFFSET | ((uint32_t)PORT_MODULEPS_… in PORT_SetPinSelect()
71 if (module > kPORT_SWDE) in PORT_SetPinSelect()
73 if (((uint32_t)module & PORT_PINSEL_REG_OFFSET) == 0U) in PORT_SetPinSelect()
86 … SIM->SOPT0 = (SIM->SOPT0 & ~(1UL << (uint32_t)module)) | ((uint32_t)pin << (uint32_t)module); in PORT_SetPinSelect()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE06Z4/drivers/
Dfsl_port.c65 void PORT_SetPinSelect(port_module_t module, port_pin_select_t pin) in PORT_SetPinSelect() argument
68 …uint32_t bitwidth = ((uint32_t)module >> PORT_MODULEPS_BITWIDTH_OFFSET) & PORT_MODULEPS_BITWIDTH_M… in PORT_SetPinSelect()
69 …uint32_t shift = (uint32_t)module & ~(PORT_PINSEL_REG_OFFSET | (PORT_MODULEPS_BITWIDTH_MASK << POR… in PORT_SetPinSelect()
71 if (module > kPORT_SWDE) in PORT_SetPinSelect()
73 if (((uint32_t)module & PORT_PINSEL_REG_OFFSET) == 0U) in PORT_SetPinSelect()
86 … SIM->SOPT0 = (SIM->SOPT0 & ~(1UL << (uint32_t)module)) | ((uint32_t)pin << (uint32_t)module); in PORT_SetPinSelect()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/wm8904/
Dfsl_codec_wm8904_adapter.c42 #define HAL_WM8904_MAP_MODULE(module) \ argument
43 ((module) == kCODEC_ModuleADC ? \
45 (module) == kCODEC_ModuleDAC ? \
47 (module) == kCODEC_ModulePGA ? kWM8904_ModulePGA : \
48 (module) == kCODEC_ModuleHeadphone ? \
50 … (module) == kCODEC_ModuleLineout ? kWM8904_ModuleLineout : kWM8904_ModuleADC)
217 status_t HAL_CODEC_WM8904_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_WM8904_SetPower() argument
223 HAL_WM8904_MAP_MODULE((codec_module_t)module), powerOn); in HAL_CODEC_WM8904_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/
Dfsl_codec_adapter.c528 status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
537 retVal = HAL_CODEC_WM8904_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
543 retVal = HAL_CODEC_WM8960_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
549 retVal = HAL_CODEC_WM8962_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
555 retVal = HAL_CODEC_WM8524_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
561 retVal = HAL_CODEC_SGTL5000_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
567 retVal = HAL_CODEC_DA7212_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
573 retVal = HAL_CODEC_CS42888_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
579 retVal = HAL_CODEC_CS42448_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
585 retVal = HAL_CODEC_AK4497_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/tools/cmake_toolchain_files/
Dmcux_config.cmake76 function(include_if_use module)
78 if(${CONFIG_USE_${module}})
81 # In case that module file name has device/board/kit suffix
83 string(REGEX REPLACE ".${CONFIG_DEVICE}$" "" replVar ${module})
89 string(REGEX REPLACE ".${CONFIG_BOARD}$" "" replVar ${module})
95 string(REGEX REPLACE ".${CONFIG_KIT}$" "" replVar ${module})
102 include(${module} OPTIONAL RESULT_VARIABLE loaded_file)
106 message(SEND_ERROR "${module}.cmake does not exist.")
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/sgtl5000/
Dfsl_sgtl5000.c173 status_t SGTL_EnableModule(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_EnableModule() argument
176 switch (module) in SGTL_EnableModule()
219 status_t SGTL_DisableModule(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_DisableModule() argument
222 switch (module) in SGTL_DisableModule()
373 status_t SGTL_SetVolume(sgtl_handle_t *handle, sgtl_module_t module, uint32_t volume) in SGTL_SetVolume() argument
377 switch (module) in SGTL_SetVolume()
420 uint32_t SGTL_GetVolume(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_GetVolume() argument
425 switch (module) in SGTL_GetVolume()
450 status_t SGTL_SetMute(sgtl_handle_t *handle, sgtl_module_t module, bool mute) in SGTL_SetMute() argument
453 switch (module) in SGTL_SetMute()
/hal_nxp-3.6.0/s32/
DCMakeLists.txt31 # redefine RTD module's peripheral access layers and its register masks to be
34 # define SoC module's features
36 # redefine RTD module's base addresses/pointers/interrupts to be compatible
50 function(include_mcux_driver_ifdef feature_toggle directory module)
56 include(${module})
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/ak4497/
Dfsl_codec_ak4497_adapter.h88 status_t HAL_CODEC_AK4497_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_AK4497_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/cs42448/
Dfsl_codec_cs42448_adapter.h88 status_t HAL_CODEC_CS42448_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_CS42448_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/cs42888/
Dfsl_codec_cs42888_adapter.h88 status_t HAL_CODEC_CS42888_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_CS42888_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/da7212/
Dfsl_codec_da7212_adapter.h88 status_t HAL_CODEC_DA7212_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_DA7212_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/pcm186x/
Dfsl_codec_pcm186x_adapter.h88 status_t HAL_CODEC_PCM186x_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_PCM186x_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/pcm512x/
Dfsl_codec_pcm512x_adapter.h88 status_t HAL_CODEC_PCM512x_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_PCM512x_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/tfa9896/
Dfsl_codec_tfa9896_adapter.h88 status_t HAL_CODEC_TFA9896_SetPower(void *handle, uint32_t module, bool powerOn);
207 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
209 return HAL_CODEC_TFA9896_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/tfa9xxx/
Dfsl_codec_tfa9xxx_adapter.h88 status_t HAL_CODEC_TFA9XXX_SetPower(void *handle, uint32_t module, bool powerOn);
210 static inline status_t HAL_CODEC_SetPower(void *handle, uint32_t module, bool powerOn) in HAL_CODEC_SetPower() argument
212 return HAL_CODEC_TFA9XXX_SetPower(handle, module, powerOn); in HAL_CODEC_SetPower()

1234