Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static int pphw_enable ( int  flag  )  [static]

Enable or disable PP.

flag Zero to disable PP, others to enable PP
Zero on success, others on failure

Definition at line 682 of file mx27_pp.c.

References pphw_reset().

Referenced by pp_enable(), pp_exit(), and pp_init().

      int ret = 0;

      if (flag)
            __raw_writel(__raw_readl(PP_CNTL) | 1, PP_CNTL);
            ret = pphw_reset();

      return ret;

Generated by  Doxygen 1.6.0   Back to index