Searched refs:clk_num (Results 1 – 17 of 17) sorted by relevance
/drivers/clk/tegra/ |
D | clk-periph-gate.c | 44 #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()
|
D | clk.h | 368 int clk_num; member 387 unsigned long flags, int clk_num, 447 .clk_num = _clk_num, \
|
D | clk-tegra20.c | 1335 clk_data.clk_num = ARRAY_SIZE(clks); in tegra20_clock_init()
|
D | clk-tegra30.c | 2001 clk_data.clk_num = ARRAY_SIZE(clks); in tegra30_clock_init()
|
D | clk-tegra114.c | 2079 clk_data.clk_num = ARRAY_SIZE(clks); in tegra114_clock_init()
|
/drivers/clk/ |
D | clk-zynq.c | 126 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()
|
D | clk-prima2.c | 1123 clk_data.clk_num = maxclk; in sirfsoc_of_clk_init()
|
D | clk-si5351.c | 1426 drvdata->onecell.clk_num = num_clocks; in si5351_i2c_probe()
|
D | clk.c | 2009 if (idx >= clk_data->clk_num) { in of_clk_src_onecell_get()
|
/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 264 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/ |
D | clk-core.c | 53 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()
|
D | clk-cpu.c | 162 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
|
/drivers/clk/mxs/ |
D | clk-imx23.c | 168 clk_data.clk_num = ARRAY_SIZE(clks); in mx23_clocks_init()
|
D | clk-imx28.c | 246 clk_data.clk_num = ARRAY_SIZE(clks); in mx28_clocks_init()
|
/drivers/clk/samsung/ |
D | clk.c | 91 clk_data.clk_num = nr_clks; in samsung_clk_init()
|
/drivers/clk/sunxi/ |
D | clk-sunxi.c | 396 clk_data->clk_num = i; in sunxi_gates_clk_setup()
|
/drivers/tty/serial/ |
D | samsung.c | 608 unsigned int *clk_num) in s3c24xx_serial_getclk() argument 658 *clk_num = cnt; in s3c24xx_serial_getclk()
|