Lines Matching +full:enable +full:- +full:mask
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
5 * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net>
99 void viafb_irq_enable(u32 mask);
100 void viafb_irq_disable(u32 mask);
117 #define VDE_I_HQV1EN 0x00000800 /* Second HQV engine enable */
122 #define VDE_I_DVISNSEN 0x00010000 /* DVI sense enable */
123 #define VDE_I_VSYNC2EN 0x00020000 /* Sec Disp VSYNC enable */
124 #define VDE_I_MCCFIEN 0x00040000 /* MC comp frame int mask enable */
125 #define VDE_I_VSYNCEN 0x00080000 /* VSYNC enable */
126 #define VDE_I_DMA0DDEN 0x00100000 /* DMA 0 descr done enable */
127 #define VDE_I_DMA0TDEN 0x00200000 /* DMA 0 trans done enable */
128 #define VDE_I_DMA1DDEN 0x00400000 /* DMA 1 descr done enable */
129 #define VDE_I_DMA1TDEN 0x00800000 /* DMA 1 trans done enable */
130 #define VDE_I_C1AVEN 0x01000000 /* cap 1 act vid end enable */
131 #define VDE_I_HQV0EN 0x02000000 /* First hqv engine enable */
132 #define VDE_I_C1VBIEN 0x04000000 /* Cap 1 VBI end enable */
134 #define VDE_I_C0AVEN 0x10000000 /* Cap 0 act vid end enable */
135 #define VDE_I_C0VBIEN 0x20000000 /* Cap 0 VBI end enable */
136 #define VDE_I_LVDSSIEN 0x40000000 /* LVDS Sense enable */
137 #define VDE_I_ENABLE 0x80000000 /* Global interrupt enable */
153 #define VDMA_MR_TDIE 0x02 /* Transfer done int enable */
155 #define VDMA_C_ENABLE 0x01 /* DMA Enable */
162 #define VDMA_DQWCR0 0xe2c /* Count (16-byte) */
177 * Indexed port operations. Note that these are all multi-op
182 #define VIAStatus 0x3DA /* Non-indexed port */
200 static inline void via_write_reg_mask(u16 port, u8 index, u8 data, u8 mask) in via_write_reg_mask() argument
206 outb((data & mask) | (old & ~mask), port + 1); in via_write_reg_mask()
212 static inline void via_write_misc_reg_mask(u8 data, u8 mask) in via_write_misc_reg_mask() argument
215 outb((data & mask) | (old & ~mask), VIA_MISC_REG_WRITE); in via_write_misc_reg_mask()