Linux Kernel
3.7.1
|
#include <asm/clkdev.h>
Go to the source code of this file.
Data Structures | |
struct | clk_lookup |
Macros | |
#define | CLKDEV_INIT(d, n, c) |
Functions | |
struct clk_lookup * | clkdev_alloc (struct clk *clk, const char *con_id, const char *dev_fmt,...) |
void | clkdev_add (struct clk_lookup *cl) |
void | clkdev_drop (struct clk_lookup *cl) |
void | clkdev_add_table (struct clk_lookup *, size_t) |
int | clk_add_alias (const char *, const char *, char *, struct device *) |
int | clk_register_clkdev (struct clk *, const char *, const char *,...) |
int | clk_register_clkdevs (struct clk *, struct clk_lookup *, size_t) |
clk_register_clkdev - register one clock lookup for a struct clk : struct clk to associate with all clk_lookups : connection ID string on device : format string describing device name
con_id or dev_id may be NULL as a wildcard, just as in the rest of clkdev.
To make things easier for mass registration, we detect error clks from a previous clk_register() call, and return the error code for those. This is to permit this function to be called immediately after clk_register().
clk_register_clkdevs - register a set of clk_lookup for a struct clk : struct clk to associate with all clk_lookups : array of clk_lookup structures with con_id and dev_id pre-initialized : number of clk_lookup structures to register
To make things easier for mass registration, we detect error clks from a previous clk_register() call, and return the error code for those. This is to permit this function to be called immediately after clk_register().
void clkdev_add | ( | struct clk_lookup * | cl | ) |
void clkdev_drop | ( | struct clk_lookup * | cl | ) |