Searched refs:periph_clk (Results 1 – 7 of 7) sorted by relevance
/drivers/clk/socfpga/ |
D | clk-periph-s10.c | 105 struct socfpga_periph_clk *periph_clk; in s10_register_periph() local 111 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph() 112 if (WARN_ON(!periph_clk)) in s10_register_periph() 115 periph_clk->hw.reg = reg + clks->offset; in s10_register_periph() 126 periph_clk->hw.hw.init = &init; in s10_register_periph() 127 hw_clk = &periph_clk->hw.hw; in s10_register_periph() 131 kfree(periph_clk); in s10_register_periph() 141 struct socfpga_periph_clk *periph_clk; in n5x_register_periph() local 147 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in n5x_register_periph() 148 if (WARN_ON(!periph_clk)) in n5x_register_periph() [all …]
|
D | clk-periph.c | 55 struct socfpga_periph_clk *periph_clk; in __socfpga_periph_init() local 65 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in __socfpga_periph_init() 66 if (WARN_ON(!periph_clk)) in __socfpga_periph_init() 69 periph_clk->hw.reg = clk_mgr_base_addr + reg; in __socfpga_periph_init() 73 periph_clk->div_reg = clk_mgr_base_addr + div_reg[0]; in __socfpga_periph_init() 74 periph_clk->shift = div_reg[1]; in __socfpga_periph_init() 75 periph_clk->width = div_reg[2]; in __socfpga_periph_init() 77 periph_clk->div_reg = NULL; in __socfpga_periph_init() 82 periph_clk->fixed_div = 0; in __socfpga_periph_init() 84 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init() [all …]
|
D | clk-periph-a10.c | 65 struct socfpga_periph_clk *periph_clk; in __socfpga_periph_init() local 75 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in __socfpga_periph_init() 76 if (WARN_ON(!periph_clk)) in __socfpga_periph_init() 79 periph_clk->hw.reg = clk_mgr_a10_base_addr + reg; in __socfpga_periph_init() 83 periph_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; in __socfpga_periph_init() 84 periph_clk->shift = div_reg[1]; in __socfpga_periph_init() 85 periph_clk->width = div_reg[2]; in __socfpga_periph_init() 87 periph_clk->div_reg = NULL; in __socfpga_periph_init() 92 periph_clk->fixed_div = 0; in __socfpga_periph_init() 94 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init() [all …]
|
/drivers/pwm/ |
D | pwm-atmel-hlcdc.c | 191 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_suspend() 206 ret = clk_prepare_enable(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_resume() 259 ret = clk_prepare_enable(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe() 274 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe() 289 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
|
/drivers/mfd/ |
D | atmel-hlcdc.c | 105 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe() 106 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe() 108 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 672 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load() 710 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load() 730 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload() 800 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend() 810 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
|
/drivers/clk/sprd/ |
D | sc9863a-clk.c | 703 static SPRD_COMP_CLK_DATA(periph_clk, "periph-clk", gic_parents, 0xa5c, 769 &periph_clk.common, 843 [CLK_PERIPH] = &periph_clk.common.hw,
|