1CLK_GET_SYS(9) Clock Framework CLK_GET_SYS(9)
2
3
4
6 clk_get_sys - get a clock based upon the device name
7
9 struct clk * clk_get_sys(const char * dev_id, const char * con_id);
10
12 dev_id
13 device name
14
15 con_id
16 connection ID
17
19 Returns a struct clk corresponding to the clock producer, or valid
20 IS_ERR condition containing errno. The implementation uses dev_id and
21 con_id to determine the clock consumer, and thereby the clock producer.
22 In contrast to clk_get this function takes the device name instead of
23 the device itself for identification.
24
25 Drivers must assume that the clock source is not enabled.
26
27 clk_get_sys should not be called from within interrupt context.
28
30Kernel Hackers Manual 2.6. November 2011 CLK_GET_SYS(9)