Lines Matching defs:clk
73 * @clk: the ID of the clock device to get
85 ti_prcm_clk_dev(clk_ident_t clk)
109 if (clk_dev->id == clk) {
116 printf("ti_prcm: Failed to find clock device (%d)\n", clk);
122 * @clk: identifier for the module to enable, see ti_prcm.h for a list
139 ti_prcm_clk_valid(clk_ident_t clk)
143 if (ti_prcm_clk_dev(clk) == NULL)
152 * @clk: identifier for the module to enable, see ti_prcm.h for a list
169 ti_prcm_clk_enable(clk_ident_t clk)
178 clk_dev = ti_prcm_clk_dev(clk);
196 * @clk: identifier for the module to enable, see ti_prcm.h for a list
213 ti_prcm_clk_disable(clk_ident_t clk)
222 clk_dev = ti_prcm_clk_dev(clk);
239 * @clk: identifier for the module to enable, see ti_prcm.h for a list
256 ti_prcm_clk_set_source(clk_ident_t clk, clk_src_t clksrc)
265 clk_dev = ti_prcm_clk_dev(clk);
283 * @clk: identifier for the module to enable, see ti_prcm.h for a list
300 ti_prcm_clk_get_source_freq(clk_ident_t clk, unsigned int *freq)
309 clk_dev = ti_prcm_clk_dev(clk);
326 * @clk: identifier for the module to enable, see ti_prcm.h for a list
337 ti_prcm_clk_set_source_freq(clk_ident_t clk, unsigned int freq)
342 clk_dev = ti_prcm_clk_dev(clk);