Home
last modified time | relevance | path

Searched refs:con1 (Results 1 – 25 of 25) sorted by relevance

/u-boot/drivers/adc/
A Dexynos-adc.c49 cfg = readl(&regs->con1); in exynos_adc_start_channel()
50 writel(cfg | ADC_V2_CON1_STC_EN, &regs->con1); in exynos_adc_start_channel()
64 cfg = readl(&regs->con1); in exynos_adc_stop()
67 writel(cfg, &regs->con1); in exynos_adc_stop()
87 writel(ADC_V2_CON1_SOFT_RESET, &regs->con1); in exynos_adc_probe()
/u-boot/drivers/clk/exynos/
A Dclk-pll.c19 unsigned long pll145x_get_rate(unsigned int *con1, unsigned long fin_freq) in pll145x_get_rate() argument
21 unsigned long pll_con1 = readl(con1); in pll145x_get_rate()
A Dclk-pll.h8 unsigned long pll145x_get_rate(unsigned int *con1, unsigned long fin_freq);
/u-boot/drivers/net/
A Dpic32_eth.c77 writel(ETHCON_ON, &ectl_p->con1.set); in pic32_mii_init()
252 writel(ETHCON_BUFCDEC, &ectl_p->con1.set); in pic32_ctrl_reset()
276 writel(ETHCON_ON, &ectl_p->con1.set); in pic32_ctrl_reset()
303 writel(ETHCON_BUFCDEC, &ectl_p->con1.set); in pic32_rx_desc_init()
325 writel(ETHCON_RXEN, &ectl_p->con1.set); in pic32_rx_desc_init()
362 if (readl(&ectl_p->con1.raw) & ETHCON_ON) in pic32_eth_stop()
369 writel(ETHCON_TXRTS | ETHCON_RXEN, &ectl_p->con1.clr); in pic32_eth_stop()
380 writel(ETHCON_ON, &ectl_p->con1.clr); in pic32_eth_stop()
420 writel(ETHCON_TXRTS | ETHCON_ON, &ectl_p->con1.set); in pic32_eth_send()
435 if (readl(&ectl_p->con1.raw) & ETHCON_TXRTS) { in pic32_eth_send()
[all …]
A Dpic32_eth.h15 struct pic32_reg_atomic con1; /* 0x00 */ member
/u-boot/arch/arm/mach-exynos/include/mach/
A Dadc.h58 unsigned int con1; member
/u-boot/drivers/clk/rockchip/
A Dclk_rk322x.c64 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkclk_set_pll()
66 rk_setreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
71 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll()
76 rk_clrreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
79 while (readl(&pll->con1) & (1 << PLL_LOCK_STATUS_SHIFT)) in rkclk_set_pll()
207 con = readl(&pll->con1); in rkclk_pll_get_rate()
A Dclk_rk3128.c59 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkclk_set_pll()
61 rk_setreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
66 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll()
71 rk_clrreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
74 while (readl(&pll->con1) & (1 << PLL_LOCK_STATUS_SHIFT)) in rkclk_set_pll()
272 con = readl(&pll->con1); in rkclk_pll_get_rate()
A Dclk_rk3036.c67 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkclk_set_pll()
72 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll()
77 while (readl(&pll->con1) & (1 << PLL_LOCK_STATUS_SHIFT)) in rkclk_set_pll()
205 con = readl(&pll->con1); in rkclk_pll_get_rate()
A Dclk_rv1108.c100 rk_clrsetreg(&pll->con1, POSTDIV1_MASK | POSTDIV2_MASK | REFDIV_MASK, in rkclk_set_pll()
127 uint32_t con0, con1, con3; in rkclk_pll_get_rate() local
136 con1 = readl(&pll->con1); in rkclk_pll_get_rate()
138 postdiv1 = (con1 & POSTDIV1_MASK) >> POSTDIV1_SHIFT; in rkclk_pll_get_rate()
139 postdiv2 = (con1 & POSTDIV2_MASK) >> POSTDIV2_SHIFT; in rkclk_pll_get_rate()
140 refdiv = (con1 >> REFDIV_SHIFT) & REFDIV_MASK; in rkclk_pll_get_rate()
A Dclk_rk3368.c82 con = readl(&pll->con1); in rkclk_pll_get_rate()
111 writel((div->nf - 1) << PLL_NF_SHIFT, &pll->con1); in rkclk_set_pll()
124 while (!(readl(&pll->con1) & PLL_LOCK_STA)) in rkclk_set_pll()
A Dclk_px30.c237 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkclk_set_pll()
239 rk_setreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
244 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll()
249 rk_clrreg(&pll->con1, 1 << PLL_PD_SHIFT); in rkclk_set_pll()
252 while (!(readl(&pll->con1) & (1 << PLL_LOCK_STATUS_SHIFT))) in rkclk_set_pll()
279 con = readl(&pll->con1); in rkclk_pll_get_rate()
A Dclk_rk3188.c111 rk_clrsetreg(&pll->con1, CLKF_MASK, div->nf - 1); in rkclk_set_pll()
253 con = readl(&pll->con1); in rkclk_pll_get_rate()
A Dclk_rk3288.c171 rk_clrsetreg(&pll->con1, CLKF_MASK, div->nf - 1); in rkclk_set_pll()
567 con = readl(&pll->con1); in rkclk_pll_get_rate()
/u-boot/arch/arm/include/asm/arch-rockchip/
A Dcru_rk3188.h36 u32 con1; member
A Dcru_rk3368.h27 unsigned int con1; member
A Dcru_rk3036.h33 unsigned int con1; member
A Dcru_rk3128.h38 unsigned int con1; member
A Dcru_rk322x.h34 unsigned int con1; member
A Dcru_rk3288.h37 u32 con1; member
A Dcru_rv1108.h30 unsigned int con1; member
A Dcru_px30.h44 unsigned int con1; member
/u-boot/arch/arm/mach-rockchip/rk3036/
A Dsdram_rk3036.c337 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkdclk_init()
343 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkdclk_init()
348 while (readl(&pll->con1) & (1 << PLL_LOCK_STATUS_SHIFT)) in rkdclk_init()
/u-boot/arch/arm/include/asm/arch-rk3308/
A Dcru_rk3308.h56 unsigned int con1; member
/u-boot/drivers/ram/rockchip/
A Dsdram_px30.c186 &dram->cru->pll[1].con1); in rkclk_set_dpll()
190 if (LOCK(readl(&dram->cru->pll[1].con1))) in rkclk_set_dpll()

Completed in 38 milliseconds