| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/s5p-common/ |
| H A D | pwm.c | 20 unsigned long tcon; in pwm_enable() local 22 tcon = readl(&pwm->tcon); in pwm_enable() 23 tcon |= TCON_START(pwm_id); in pwm_enable() 25 writel(tcon, &pwm->tcon); in pwm_enable() 34 unsigned long tcon; in pwm_disable() local 36 tcon = readl(&pwm->tcon); in pwm_disable() 37 tcon &= ~TCON_START(pwm_id); in pwm_disable() 39 writel(tcon, &pwm->tcon); in pwm_disable() 67 unsigned long tcon; in pwm_config() local 101 tcon = readl(&pwm->tcon); in pwm_config() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/rk_eink/ |
| H A D | rk_ebc_tcon.c | 264 static inline void regs_dump(struct ebc_tcon_priv *tcon) in regs_dump() argument 271 printf("\n 0x%p:\t", tcon->reg + i); in regs_dump() 272 printf("0x%x\t", readl(tcon->reg + i)); in regs_dump() 277 printf("\n 0x%p:\t", tcon->reg + i); in regs_dump() 278 printf("0x%x\t", readl(tcon->reg + i)); in regs_dump() 313 static inline void tcon_write(struct ebc_tcon_priv *tcon, unsigned int reg, in tcon_write() argument 316 unsigned int *cache = tcon->regcache + (reg >> 2); in tcon_write() 318 writel(value, tcon->reg + reg); in tcon_write() 322 static inline unsigned int tcon_read(struct ebc_tcon_priv *tcon, in tcon_read() argument 325 return readl(tcon->reg + reg); in tcon_read() [all …]
|
| H A D | Kconfig | 2 bool "Rockchip ebc tcon Support"
|
| /rk3399_rockchip-uboot/drivers/pwm/ |
| H A D | exynos_pwm.c | 29 u32 tcnt, tcmp, tcon; in exynos_pwm_set_config() local 53 tcon = readl(®s->tcon); in exynos_pwm_set_config() 54 tcon |= TCON_UPDATE(channel); in exynos_pwm_set_config() 56 tcon |= TCON_AUTO_RELOAD(channel); in exynos_pwm_set_config() 58 tcon |= TCON4_AUTO_RELOAD; in exynos_pwm_set_config() 59 writel(tcon, ®s->tcon); in exynos_pwm_set_config() 61 tcon &= ~TCON_UPDATE(channel); in exynos_pwm_set_config() 62 writel(tcon, ®s->tcon); in exynos_pwm_set_config() 78 clrsetbits_le32(®s->tcon, mask, enable ? mask : 0); in exynos_pwm_set_enable()
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | sun5i-a13.dtsi | 195 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 198 clock-output-names = "tcon-ch0-sclk"; 203 compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; 206 clock-output-names = "tcon-ch1-sclk"; 217 compatible = "allwinner,sun5i-a13-tcon"; 226 "tcon-ch0", 227 "tcon-ch1"; 228 clock-output-names = "tcon-pixel-clock";
|
| H A D | sun5i-gr8.dtsi | 455 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 458 clock-output-names = "tcon-ch0-sclk"; 463 compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; 466 clock-output-names = "tcon-ch1-sclk"; 595 compatible = "allwinner,sun5i-a13-tcon"; 604 "tcon-ch0", 605 "tcon-ch1"; 606 clock-output-names = "tcon-pixel-clock";
|
| H A D | sun4i-a10.dtsi | 621 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 631 compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; 640 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 649 compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
|
| H A D | sun7i-a20.dtsi | 671 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 681 compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; 690 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 699 compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
|
| H A D | rk3568.dtsi | 876 compatible = "rockchip,rk3568-ebc-tcon"; 977 compatible = "rockchip,rk3568-eink-tcon";
|
| H A D | rk3576.dtsi | 1731 compatible = "rockchip,rk3576-ebc-tcon";
|
| /rk3399_rockchip-uboot/arch/arm/mach-s5pc1xx/include/mach/ |
| H A D | pwm.h | 36 unsigned int tcon; member
|
| /rk3399_rockchip-uboot/arch/arm/mach-exynos/include/mach/ |
| H A D | pwm.h | 36 unsigned int tcon; member
|
| /rk3399_rockchip-uboot/drivers/video/sunxi/ |
| H A D | lcdc.c | 16 static int lcdc_get_clk_delay(const struct display_timing *mode, int tcon) in lcdc_get_clk_delay() argument 24 if (tcon == 1) in lcdc_get_clk_delay()
|
| H A D | sunxi_display.c | 521 static void sunxi_lcdc_pll_set(int tcon, int dotclock, in sunxi_lcdc_pll_set() argument 531 if (tcon == 0) { in sunxi_lcdc_pll_set() 585 if (tcon == 0 && best_n == 0) { in sunxi_lcdc_pll_set() 605 if (tcon == 0) { in sunxi_lcdc_pll_set()
|