Home
last modified time | relevance | path

Searched refs:div0 (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/clk/samsung/
Dclk-cpu.c142 unsigned long div0; in exynos_set_safe_div() local
144 div0 = readl(base + E4210_DIV_CPU0); in exynos_set_safe_div()
145 div0 = (div0 & ~mask) | (div & mask); in exynos_set_safe_div()
146 writel(div0, base + E4210_DIV_CPU0); in exynos_set_safe_div()
157 unsigned long div0, div1 = 0, mux_reg; in exynos_cpuclk_pre_rate_change() local
174 div0 = cfg_data->div0; in exynos_cpuclk_pre_rate_change()
205 div0 |= alt_div; in exynos_cpuclk_pre_rate_change()
214 writel(div0, base + E4210_DIV_CPU0); in exynos_cpuclk_pre_rate_change()
253 div |= (cfg_data->div0 & E4210_DIV0_ATB_MASK); in exynos_cpuclk_post_rate_change()
270 unsigned long div0; in exynos5433_set_safe_div() local
[all …]
Dclk-cpu.h30 unsigned long div0; member
/Linux-v4.19/drivers/clk/uniphier/
Dclk-uniphier.h119 #define UNIPHIER_CLK_DIV2(parent, div0, div1) \ argument
120 UNIPHIER_CLK_DIV(parent, div0), \
123 #define UNIPHIER_CLK_DIV3(parent, div0, div1, div2) \ argument
124 UNIPHIER_CLK_DIV2(parent, div0, div1), \
127 #define UNIPHIER_CLK_DIV4(parent, div0, div1, div2, div3) \ argument
128 UNIPHIER_CLK_DIV2(parent, div0, div1), \
/Linux-v4.19/arch/microblaze/lib/
Dudivsi3.S46 bgti r6, div0
51 div0: label
Dumodsi3.S45 bgtid r6, div0
53 div0: label
Ddivsi3.S37 div0: label
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c278 u32 src0, div0, div1D, div1P = 0; in calc_clk() local
286 clk0 = calc_src(clk, idx, freq, &src0, &div0); in calc_clk()
301 if (div0) { in calc_clk()
303 info->ddiv |= div0 << 8; in calc_clk()
304 info->ddiv |= div0; in calc_clk()
Dgk104.c292 u32 src0, div0, div1D, div1P = 0; in calc_clk() local
300 clk0 = calc_src(clk, idx, freq, &src0, &div0); in calc_clk()
315 if (div0) { in calc_clk()
317 info->ddiv |= div0; in calc_clk()
/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc32xx.c1442 struct clk_hw_proto0 *mux0, *div0, *gate0; in lpc32xx_clk_register() local
1445 div0 = clk_hw->hw1.div; in lpc32xx_clk_register()
1451 if (div0) { in lpc32xx_clk_register()
1452 dops = div0->ops; in lpc32xx_clk_register()
1453 div_hw = &div0->clk.hw; in lpc32xx_clk_register()
/Linux-v4.19/drivers/i2c/busses/
Di2c-sprd.c336 u32 div0 = I2C_ADDR_DVD0_CALC(high, low); in sprd_i2c_set_clk() local
339 writel(div0, i2c_dev->base + ADDR_DVD0); in sprd_i2c_set_clk()
/Linux-v4.19/sound/pci/
Des1938.c464 unsigned int bits, div0; in snd_es1938_rate_set() local
472 div0 = 256 - 7160000*20/(8*82*runtime->rate); in snd_es1938_rate_set()
476 snd_es1938_mixer_write(chip, 0x72, div0); in snd_es1938_rate_set()
479 snd_es1938_write(chip, 0xA2, div0); in snd_es1938_rate_set()
/Linux-v4.19/sound/isa/
Des18xx.c417 unsigned int bits, div0; in snd_es18xx_rate_set() local
432 div0 = 256 - 7160000*20/(8*82*runtime->rate); in snd_es18xx_rate_set()
440 snd_es18xx_write(chip, 0xA2, div0); in snd_es18xx_rate_set()
441 snd_es18xx_mixer_write(chip, 0x72, div0); in snd_es18xx_rate_set()
444 snd_es18xx_write(chip, 0xA2, div0); in snd_es18xx_rate_set()