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|
FINDF_CLK ,
|
|
FM_INSIDE_CLK,
|
|
BT_CONN_CLK ,
|
|
|
|
EQ_CLK ,
|
|
EQ_DRC_CLK ,
|
|
EQ_ONLINE_CLK,
|
|
REVERB_CLK ,
|
|
REVERB_HOWLING_CLK,
|
|
REVERB_PITCH_CLK,
|
|
|
|
DEC_MP3PICK_CLK ,
|
|
DEC_WMAPICK_CLK ,
|
|
DEC_M4APICK_CLK ,
|
|
DEC_MIX_CLK,
|
|
|
|
DEC_IIS_CLK,
|
|
DEC_UI_CLK,
|
|
DEC_MIDI_CLK,
|
|
|
|
DEC_3D_CLK,
|
|
DEC_VBASS_CLK,
|
|
DEC_LOUDNES_CLK,
|
|
|
|
DONGLE_ENC_CLK,
|
|
|
|
LCD_UI_CLK,
|
|
SCAN_DISK_CLK,
|
|
SPECTRUM_CLK,
|
|
|
|
LOCALTWS_CLK,
|
|
|
|
AI_SPEECH_CLK,
|
|
SMARTBOX_ACTION_CLK,
|
|
|
|
ADAPTER_PROCESS_CLK,
|
|
|
|
ENUM_MAX_CLK = 63 ,
|
|
};
|
|
|
|
void clock_pause_play(u8 mode);
|
|
|
|
|
|
void clock_idle(u32 type);
|
|
void clock_add(u32 type);
|
|
void clock_remove(u32 type);
|
|
void clock_set_cur(void);
|
|
void clock_add_set(u32 type);
|
|
void clock_remove_set(u32 type);
|
|
|
|
|
|
#endif
|