Lines Matching +full:5 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Author: Chen Shunqing <csq@rock-chips.com>
29 #define RST_ANALOG_MASK BIT(6)
31 #define RST_DIGITAL_MASK BIT(5)
32 #define NOT_RST_DIGITAL(x) UPDATE(x, 5, 5)
33 #define REG_CLK_INV_MASK BIT(4)
35 #define VCLK_INV_MASK BIT(3)
37 #define REG_CLK_SOURCE_MASK BIT(2)
39 #define POWER_MASK BIT(1)
41 #define INT_POL_MASK BIT(0)
49 #define DE_SOURCE_MASK BIT(0)
57 #define VIDEO_INPUT_BITS_MASK GENMASK(5, 4)
58 #define VIDEO_INPUT_12BITS UPDATE(0x0, 5, 4)
59 #define VIDEO_INPUT_10BITS UPDATE(0x1, 5, 4)
60 #define VIDEO_INPUT_REVERT UPDATE(0x2, 5, 4)
61 #define VIDEO_INPUT_8BITS UPDATE(0x3, 5, 4)
62 #define VIDEO_INPUT_CSP_MASK BIT(1)
66 #define VIDEO_AUTO_CSC_MASK BIT(7)
68 #define VIDEO_C0_C2_SWAP_MASK BIT(0)
78 #define COLOR_DEPTH_NOT_INDICATED_MASK BIT(4)
80 #define SOF_MASK BIT(3)
82 #define CSC_MASK BIT(0)
86 #define AVMUTE_CLEAR_MASK BIT(7)
88 #define AVMUTE_ENABLE_MASK BIT(6)
90 #define AUDIO_PD_MASK BIT(2)
92 #define AUDIO_MUTE_MASK BIT(1)
94 #define VIDEO_BLACK_MASK BIT(0)
133 #define DOWN_SAMPLE(x) UPDATE(x, 6, 5)
171 #define I2S_CHANNEL(x) UPDATE(x, 5, 2)
192 #define AUDIO_STATUS_NLPCM_MASK BIT(7)
194 #define AUDIO_STATUS_USE_MASK BIT(6)
195 #define AUDIO_STATUS_COPYRIGHT_MASK BIT(5)
217 #define PACKET_GCP_EN_MASK BIT(7)
219 #define PACKET_MSI_EN_MASK BIT(6)
221 #define PACKET_SDI_EN_MASK BIT(5)
222 #define PACKET_SDI_EN(x) UPDATE(x, 5, 5)
223 #define PACKET_VSI_EN_MASK BIT(4)
256 #define HDMI_DVI_MASK BIT(1)
260 #define INT_EDID_READY_MASK BIT(2)
262 #define INT_ACTIVE_VSYNC_MASK BIT(5)
263 #define INT_EDID_READY BIT(2)
267 #define INT_HDCP_ERR BIT(7)
268 #define INT_BKSV_FLAG BIT(6)
269 #define INT_HDCP_OK BIT(4)
272 #define HOTPLUG_STATUS BIT(7)
273 #define MASK_INT_HOTPLUG_MASK BIT(5)
274 #define MASK_INT_HOTPLUG(x) UPDATE(x, 5, 5)
275 #define INT_HOTPLUG BIT(1)
281 #define TMDS_CLK_SOURCE_MASK BIT(5)
282 #define TMDS_CLK_SOURCE(x) UPDATE(x, 5, 5)
283 #define PHASE_CLK_MASK BIT(4)
285 #define TMDS_PHASE_SEL_MASK BIT(3)
287 #define BANDGAP_PWR_MASK BIT(2)
289 #define PLL_PWR_DOWN_MASK BIT(1)
291 #define TMDS_CHG_PWR_DOWN_MASK BIT(0)
316 #define ADJUST_FOR_HISENSE_MASK BIT(6)
317 #define REJECT_RX_BROADCAST_MASK BIT(5)
318 #define BUSFREETIME_ENABLE_MASK BIT(2)
319 #define REJECT_RX_MASK BIT(1)
320 #define START_TX_MASK BIT(0)
330 #define TX_DONE_MASK BIT(3)
331 #define TX_NOACK_MASK BIT(2)
332 #define TX_BROADCAST_REJ_MASK BIT(1)
333 #define TX_BUSNOTFREE_MASK BIT(0)
336 #define RX_LA_ERR_MASK BIT(4)
337 #define RX_GLITCH_MASK BIT(3)
338 #define RX_DONE_MASK BIT(0)