Searched refs:periph_clk (Results 1 – 7 of 7) sorted by relevance
| /drivers/clk/socfpga/ |
| A D | clk-periph-s10.c | 111 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph() 112 if (WARN_ON(!periph_clk)) in s10_register_periph() 127 hw_clk = &periph_clk->hw.hw; in s10_register_periph() 131 kfree(periph_clk); in s10_register_periph() 147 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in n5x_register_periph() 148 if (WARN_ON(!periph_clk)) in n5x_register_periph() 166 kfree(periph_clk); in n5x_register_periph() 182 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_cnt_periph() 183 if (WARN_ON(!periph_clk)) in s10_register_cnt_periph() 189 periph_clk->hw.reg = NULL; in s10_register_cnt_periph() [all …]
|
| A 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() 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() 96 periph_clk->hw.hw.init = &init; in __socfpga_periph_init() 97 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init() [all …]
|
| A 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() 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() 105 periph_clk->hw.hw.init = &init; in __socfpga_periph_init() 107 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init() [all …]
|
| /drivers/pwm/ |
| A D | pwm-atmel-hlcdc.c | 190 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_suspend() 204 ret = clk_prepare_enable(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_resume() 257 ret = clk_prepare_enable(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe() 270 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe() 286 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
|
| /drivers/mfd/ |
| A 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/ |
| A D | atmel_hlcdc_dc.c | 779 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load() 817 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load() 837 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload() 912 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend() 922 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
|
| /drivers/clk/sprd/ |
| A 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,
|
Completed in 15 milliseconds