Home
last modified time | relevance | path

Searched refs:clk_num (Results 1 – 17 of 17) sorted by relevance

/drivers/clk/tegra/
Dclk-periph-gate.c44 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32))
71 gate->enable_refcnt[gate->clk_num]++; in clk_periph_enable()
72 if (gate->enable_refcnt[gate->clk_num] > 1) { in clk_periph_enable()
107 gate->enable_refcnt[gate->clk_num]--; in clk_periph_disable()
108 if (gate->enable_refcnt[gate->clk_num] > 0) { in clk_periph_disable()
154 unsigned long flags, int clk_num, in tegra_clk_register_periph_gate() argument
175 gate->clk_num = clk_num; in tegra_clk_register_periph_gate()
Dclk.h368 int clk_num; member
387 unsigned long flags, int clk_num,
447 .clk_num = _clk_num, \
Dclk-tegra20.c1335 clk_data.clk_num = ARRAY_SIZE(clks); in tegra20_clock_init()
Dclk-tegra30.c2001 clk_data.clk_num = ARRAY_SIZE(clks); in tegra30_clock_init()
Dclk-tegra114.c2079 clk_data.clk_num = ARRAY_SIZE(clks); in tegra114_clock_init()
/drivers/clk/
Dclk-zynq.c126 int clk_num = 0, err; in zynq_periph_clk_setup() local
170 clk_num++; in zynq_periph_clk_setup()
181 clk_num++; in zynq_periph_clk_setup()
185 periph->onecell_data.clk_num = clk_num; in zynq_periph_clk_setup()
365 cpuclk->onecell_data.clk_num = i; in zynq_cpu_clk_setup()
Dclk-prima2.c1123 clk_data.clk_num = maxclk; in sirfsoc_of_clk_init()
Dclk-si5351.c1426 drvdata->onecell.clk_num = num_clocks; in si5351_i2c_probe()
Dclk.c2009 if (idx >= clk_data->clk_num) { in of_clk_src_onecell_get()
/drivers/usb/host/
Dfsl-mph-dr-of.c264 int base, clk_num; in fsl_usb2_mpc5121_init() local
268 clk_num = 1; in fsl_usb2_mpc5121_init()
270 clk_num = 2; in fsl_usb2_mpc5121_init()
274 snprintf(clk_name, sizeof(clk_name), "usb%d_clk", clk_num); in fsl_usb2_mpc5121_init()
/drivers/clk/mvebu/
Dclk-core.c53 clk_data.clk_num = 2 + coreclk->num_ratios; in mvebu_clk_core_setup()
54 clk_data.clks = kzalloc(clk_data.clk_num * sizeof(struct clk *), in mvebu_clk_core_setup()
Dclk-cpu.c162 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
/drivers/clk/mxs/
Dclk-imx23.c168 clk_data.clk_num = ARRAY_SIZE(clks); in mx23_clocks_init()
Dclk-imx28.c246 clk_data.clk_num = ARRAY_SIZE(clks); in mx28_clocks_init()
/drivers/clk/samsung/
Dclk.c91 clk_data.clk_num = nr_clks; in samsung_clk_init()
/drivers/clk/sunxi/
Dclk-sunxi.c396 clk_data->clk_num = i; in sunxi_gates_clk_setup()
/drivers/tty/serial/
Dsamsung.c608 unsigned int *clk_num) in s3c24xx_serial_getclk() argument
658 *clk_num = cnt; in s3c24xx_serial_getclk()