Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <plat/clock.h>
#include "soc.h"
#include "clock.h"
#include "clock44xx.h"
#include "cm-regbits-44xx.h"
Go to the source code of this file.
Functions | |
int | omap4_dpllmx_gatectrl_read (struct clk *clk) |
void | omap4_dpllmx_allow_gatectrl (struct clk *clk) |
void | omap4_dpllmx_deny_gatectrl (struct clk *clk) |
unsigned long | omap4_dpll_regm4xen_recalc (struct clk *clk) |
long | omap4_dpll_regm4xen_round_rate (struct clk *clk, unsigned long target_rate) |
Variables | |
struct clkops | clkops_omap4_dpllmx_ops |
omap4_dpll_regm4xen_recalc - compute DPLL rate, considering REGM4XEN bit : struct clk * of the DPLL to compute the rate for
Compute the output rate for the OMAP4 DPLL represented by . Takes the REGM4XEN bit into consideration, which is needed for the OMAP4 ABE DPLL. Returns the DPLL's output rate (before M-dividers) upon success, or 0 upon error.
Definition at line 95 of file dpll44xx.c.
omap4_dpll_regm4xen_round_rate - round DPLL rate, considering REGM4XEN bit : struct clk * of the DPLL to round a rate for : the desired rate of the DPLL
Compute the rate that would be programmed into the DPLL hardware for if set_rate() were to be provided with the rate . Takes the REGM4XEN bit into consideration, which is needed for the OMAP4 ABE DPLL. Returns the rounded rate (before M-dividers) upon success, -EINVAL if is null or not a DPLL, or ~0 if an error occurred in omap2_dpll_round_rate().
Definition at line 128 of file dpll44xx.c.
Definition at line 45 of file dpll44xx.c.
Definition at line 63 of file dpll44xx.c.
Definition at line 26 of file dpll44xx.c.
Definition at line 81 of file dpll44xx.c.