Linux Kernel
3.7.1
|
Go to the source code of this file.
Enumerations | |
enum | dsp_clk_id { DSP_CLK_IVA2 = 0, DSP_CLK_GPT5, DSP_CLK_GPT6, DSP_CLK_GPT7, DSP_CLK_GPT8, DSP_CLK_WDT3, DSP_CLK_MCBSP1, DSP_CLK_MCBSP2, DSP_CLK_MCBSP3, DSP_CLK_MCBSP4, DSP_CLK_MCBSP5, DSP_CLK_SSI, DSP_CLK_NOT_DEFINED } |
Functions | |
void | dsp_clk_exit (void) |
void | dsp_clk_init (void) |
void | dsp_gpt_wait_overflow (short int clk_id, unsigned int load) |
int | dsp_clk_enable (enum dsp_clk_id clk_id) |
u32 | dsp_clock_enable_all (u32 dsp_per_clocks) |
int | dsp_clk_disable (enum dsp_clk_id clk_id) |
u32 | dsp_clk_get_iva2_rate (void) |
u32 | dsp_clock_disable_all (u32 dsp_per_clocks) |
void | ssi_clk_prepare (bool FLAG) |
enum dsp_clk_id |
int dsp_clk_disable | ( | enum dsp_clk_id | clk_id | ) |
Definition at line 278 of file dsp-clock.c.
int dsp_clk_enable | ( | enum dsp_clk_id | clk_id | ) |
Definition at line 202 of file dsp-clock.c.
Definition at line 115 of file dsp-clock.c.
Definition at line 343 of file dsp-clock.c.
Definition at line 135 of file dsp-clock.c.
dsp_clock_disable_all - Disable all active clocks Driver's device context structure
This function disables all the peripheral clocks that were enabled by DSP. It is meant to be called only when DSP is entering hibernation or when DSP is in error state.
Definition at line 330 of file dsp-clock.c.
dsp_clock_enable_all - Enable clocks used by the DSP Driver's device context strucure
This function enables all the peripheral clocks that were requested by DSP.
Definition at line 259 of file dsp-clock.c.
dsp_gpt_wait_overflow - set gpt overflow and wait for fixed timeout : GP Timer clock id. : Overflow value.
Sets an overflow interrupt for the desired GPT waiting for a timeout of 5 msecs for the interrupt to occur.
Definition at line 166 of file dsp-clock.c.
Definition at line 354 of file dsp-clock.c.