chip/npcx/apm_chip.h: Format with clang-format
BRANCH=none
TEST=none
#define APM_CLEAR_VAD_INTERRUPT SET_BIT(NPCX_APM_IFR, NPCX_APM_IFR_VAD_DTC)
/* Indirect registers. */
-enum apm_indirect_reg_offset {
- APM_MIX_REG = 0,
- APM_ADC_AGC_REG,
- APM_VAD_REG
-};
+enum apm_indirect_reg_offset { APM_MIX_REG = 0, APM_ADC_AGC_REG, APM_VAD_REG };
/* ADC wind noise filter modes. */
enum apm_adc_wind_noise_filter_mode {
@@ -422,7 +418,8 @@ void apm_vad_restart(void);
* @return EC_ERROR_INVAL or EC_SUCCESS
*/
enum ec_error_list apm_adc_gain_config(enum apm_adc_gain_coupling gain_coupling,
- uint8_t left_chan_gain, uint8_t right_chan_gain);
+ uint8_t left_chan_gain,
+ uint8_t right_chan_gain);
/**
* Enables/Disables the automatic gain.
@@ -438,8 +435,8 @@ void apm_auto_gain_cntrl_enable(int enable);
* @param gain_cfg - struct of apm auto gain config
* @return EC_ERROR_INVAL or EC_SUCCESS
*/
-enum ec_error_list apm_adc_auto_gain_config(
- struct apm_auto_gain_config *gain_cfg);
+enum ec_error_list
+apm_adc_auto_gain_config(struct apm_auto_gain_config *gain_cfg);
/**
* Sets APM mode (enables & disables APN sub modules accordingly
