/linux-4.4.14/drivers/media/rc/ |
H A D | sunxi-cir.c | 95 struct clk *apb_clk; member in struct:sunxi_ir 164 ir->apb_clk = devm_clk_get(dev, "apb"); sunxi_ir_probe() 165 if (IS_ERR(ir->apb_clk)) { sunxi_ir_probe() 167 return PTR_ERR(ir->apb_clk); sunxi_ir_probe() 194 if (clk_prepare_enable(ir->apb_clk)) { sunxi_ir_probe() 293 clk_disable_unprepare(ir->apb_clk); sunxi_ir_probe() 307 clk_disable_unprepare(ir->apb_clk); sunxi_ir_remove()
|
/linux-4.4.14/drivers/clk/spear/ |
H A D | spear6xx_clock.c | 286 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", spear6xx_clk_init() 289 clk_register_clkdev(clk, "apb_clk", NULL); spear6xx_clk_init() 316 clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init() 320 clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1); spear6xx_clk_init() 323 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init() 327 clk = clk_register_gate(NULL, "gpio2_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init() 331 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init() 335 clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init() 339 clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init()
|
H A D | spear1310_clock.c | 359 static const char *gpt_parents[] = { "osc_24m_clk", "apb_clk", }; 511 clk = clk_register_fixed_factor(NULL, "apb_clk", "pll1_clk", 0, 1, spear1310_clk_init() 513 clk_register_clkdev(clk, "apb_clk", NULL); spear1310_clk_init() 781 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, spear1310_clk_init() 786 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, spear1310_clk_init() 791 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, spear1310_clk_init() 796 clk = clk_register_gate(NULL, "i2s0_clk", "apb_clk", 0, spear1310_clk_init() 801 clk = clk_register_gate(NULL, "i2s1_clk", "apb_clk", 0, spear1310_clk_init() 806 clk = clk_register_gate(NULL, "kbd_clk", "apb_clk", 0, spear1310_clk_init() 895 clk = clk_register_gate(NULL, "ras_apb_clk", "apb_clk", 0, spear1310_clk_init() 906 clk = clk_register_gate(NULL, "can0_clk", "apb_clk", 0, spear1310_clk_init() 911 clk = clk_register_gate(NULL, "can1_clk", "apb_clk", 0, spear1310_clk_init()
|
H A D | spear3xx_clock.c | 567 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", spear3xx_clk_init() 570 clk_register_clkdev(clk, "apb_clk", NULL); spear3xx_clk_init() 601 clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear3xx_clk_init() 605 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear3xx_clk_init() 609 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, spear3xx_clk_init() 618 clk = clk_register_gate(NULL, "ras_apb_clk", "apb_clk", 0, RAS_CLK_ENB, spear3xx_clk_init()
|
H A D | spear1340_clock.c | 420 static const char *gpt_parents[] = { "osc_24m_clk", "apb_clk", }; 590 clk = clk_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, spear1340_clk_init() 592 clk_register_clkdev(clk, "apb_clk", NULL); spear1340_clk_init() 866 clk = clk_register_gate(NULL, "ssp_clk", "apb_clk", 0, spear1340_clk_init() 871 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, spear1340_clk_init() 876 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, spear1340_clk_init() 881 clk = clk_register_gate(NULL, "i2s_play_clk", "apb_clk", 0, spear1340_clk_init() 886 clk = clk_register_gate(NULL, "i2s_rec_clk", "apb_clk", 0, spear1340_clk_init() 891 clk = clk_register_gate(NULL, "kbd_clk", "apb_clk", 0, spear1340_clk_init()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-ls1x.c | 154 clk = clk_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, ls1x_clk_init() 156 clk_register_clkdev(clk, "apb_clk", NULL); ls1x_clk_init()
|
/linux-4.4.14/drivers/staging/iio/adc/ |
H A D | spear_adc.c | 99 u32 apb_clk = clk_get_rate(st->clk); spear_adc_set_clk() local 101 count = DIV_ROUND_UP(apb_clk, val); spear_adc_set_clk() 104 st->current_clk = apb_clk / count; spear_adc_set_clk()
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-tegra20.c | 1904 FUNCTION(apb_clk),
|