Lines Matching refs:tve

15 void tvencoder_mode_set(struct sunxi_tve_reg * const tve, enum tve_mode mode)  in tvencoder_mode_set()  argument
21 SUNXI_TVE_GCTRL_DAC_INPUT(2, 3), &tve->gctrl); in tvencoder_mode_set()
22 writel(SUNXI_TVE_CFG0_VGA, &tve->cfg0); in tvencoder_mode_set()
23 writel(SUNXI_TVE_DAC_CFG0_VGA, &tve->dac_cfg0); in tvencoder_mode_set()
24 writel(SUNXI_TVE_UNKNOWN1_VGA, &tve->unknown1); in tvencoder_mode_set()
27 writel(SUNXI_TVE_CHROMA_FREQ_PAL_NC, &tve->chroma_freq); in tvencoder_mode_set()
33 SUNXI_TVE_GCTRL_DAC_INPUT(3, 4), &tve->gctrl); in tvencoder_mode_set()
34 writel(SUNXI_TVE_CFG0_PAL, &tve->cfg0); in tvencoder_mode_set()
35 writel(SUNXI_TVE_DAC_CFG0_COMPOSITE, &tve->dac_cfg0); in tvencoder_mode_set()
36 writel(SUNXI_TVE_FILTER_COMPOSITE, &tve->filter); in tvencoder_mode_set()
37 writel(SUNXI_TVE_PORCH_NUM_PAL, &tve->porch_num); in tvencoder_mode_set()
38 writel(SUNXI_TVE_LINE_NUM_PAL, &tve->line_num); in tvencoder_mode_set()
40 &tve->blank_black_level); in tvencoder_mode_set()
41 writel(SUNXI_TVE_UNKNOWN1_COMPOSITE, &tve->unknown1); in tvencoder_mode_set()
42 writel(SUNXI_TVE_CBR_LEVEL_PAL, &tve->cbr_level); in tvencoder_mode_set()
43 writel(SUNXI_TVE_BURST_WIDTH_COMPOSITE, &tve->burst_width); in tvencoder_mode_set()
44 writel(SUNXI_TVE_UNKNOWN2_PAL, &tve->unknown2); in tvencoder_mode_set()
45 writel(SUNXI_TVE_ACTIVE_NUM_COMPOSITE, &tve->active_num); in tvencoder_mode_set()
46 writel(SUNXI_TVE_CHROMA_BW_GAIN_COMP, &tve->chroma_bw_gain); in tvencoder_mode_set()
47 writel(SUNXI_TVE_NOTCH_WIDTH_COMPOSITE, &tve->notch_width); in tvencoder_mode_set()
48 writel(SUNXI_TVE_RESYNC_NUM_PAL, &tve->resync_num); in tvencoder_mode_set()
49 writel(SUNXI_TVE_SLAVE_PARA_COMPOSITE, &tve->slave_para); in tvencoder_mode_set()
52 writel(SUNXI_TVE_CHROMA_FREQ_PAL_M, &tve->chroma_freq); in tvencoder_mode_set()
53 writel(SUNXI_TVE_COLOR_BURST_PAL_M, &tve->color_burst); in tvencoder_mode_set()
59 SUNXI_TVE_GCTRL_DAC_INPUT(3, 4), &tve->gctrl); in tvencoder_mode_set()
60 writel(SUNXI_TVE_CFG0_NTSC, &tve->cfg0); in tvencoder_mode_set()
61 writel(SUNXI_TVE_DAC_CFG0_COMPOSITE, &tve->dac_cfg0); in tvencoder_mode_set()
62 writel(SUNXI_TVE_FILTER_COMPOSITE, &tve->filter); in tvencoder_mode_set()
63 writel(SUNXI_TVE_PORCH_NUM_NTSC, &tve->porch_num); in tvencoder_mode_set()
64 writel(SUNXI_TVE_LINE_NUM_NTSC, &tve->line_num); in tvencoder_mode_set()
66 &tve->blank_black_level); in tvencoder_mode_set()
67 writel(SUNXI_TVE_UNKNOWN1_COMPOSITE, &tve->unknown1); in tvencoder_mode_set()
68 writel(SUNXI_TVE_CBR_LEVEL_NTSC, &tve->cbr_level); in tvencoder_mode_set()
69 writel(SUNXI_TVE_BURST_PHASE_NTSC, &tve->burst_phase); in tvencoder_mode_set()
70 writel(SUNXI_TVE_BURST_WIDTH_COMPOSITE, &tve->burst_width); in tvencoder_mode_set()
71 writel(SUNXI_TVE_UNKNOWN2_NTSC, &tve->unknown2); in tvencoder_mode_set()
72 writel(SUNXI_TVE_SYNC_VBI_LEVEL_NTSC, &tve->sync_vbi_level); in tvencoder_mode_set()
73 writel(SUNXI_TVE_ACTIVE_NUM_COMPOSITE, &tve->active_num); in tvencoder_mode_set()
74 writel(SUNXI_TVE_CHROMA_BW_GAIN_COMP, &tve->chroma_bw_gain); in tvencoder_mode_set()
75 writel(SUNXI_TVE_NOTCH_WIDTH_COMPOSITE, &tve->notch_width); in tvencoder_mode_set()
76 writel(SUNXI_TVE_RESYNC_NUM_NTSC, &tve->resync_num); in tvencoder_mode_set()
77 writel(SUNXI_TVE_SLAVE_PARA_COMPOSITE, &tve->slave_para); in tvencoder_mode_set()
82 void tvencoder_enable(struct sunxi_tve_reg * const tve) in tvencoder_enable() argument
84 setbits_le32(&tve->gctrl, SUNXI_TVE_GCTRL_ENABLE); in tvencoder_enable()