Lines Matching +full:x +full:- +full:mask +full:-

1 /* SPDX-License-Identifier: GPL-2.0 */
36 #define LCCR3_BPP(x) ((((x) & 0x7) << 24) | (((x) & 0x8) ? (1 << 29) : 0)) argument
65 #define LCCR0_LDM (1 << 3) /* LCD Disable Done Mask */
66 #define LCCR0_SFM (1 << 4) /* Start of frame mask */
67 #define LCCR0_IUM (1 << 5) /* Input FIFO underrun mask */
68 #define LCCR0_EFM (1 << 6) /* End of Frame mask */
73 #define LCCR0_4PixMono (LCCR0_DPD*0) /* 4-Pixel/clock Monochrome display */
74 #define LCCR0_8PixMono (LCCR0_DPD*1) /* 8-Pixel/clock Monochrome display */
76 #define LCCR0_QDM (1 << 11) /* LCD Quick Disable mask */
79 #define LCCR0_BM (1 << 20) /* Branch mask */
80 #define LCCR0_OUM (1 << 21) /* Output FIFO underrun mask */
82 #define LCCR0_RDSTM (1 << 23) /* Read status interrupt mask */
83 #define LCCR0_CMDIM (1 << 24) /* Command interrupt mask */
90 #define LCCR1_PPL Fld (10, 0) /* Pixels Per Line - 1 */
91 #define LCCR1_DisWdth(Pixel) (((Pixel) - 1) << FShft (LCCR1_PPL))
94 #define LCCR1_HorSnchWdth(Tpix) (((Tpix) - 1) << FShft (LCCR1_HSW))
96 #define LCCR1_ELW Fld (8, 16) /* End-of-Line pixel clock Wait - 1 */
97 #define LCCR1_EndLnDel(Tpix) (((Tpix) - 1) << FShft (LCCR1_ELW))
99 #define LCCR1_BLW Fld (8, 24) /* Beginning-of-Line pixel clock */
100 #define LCCR1_BegLnDel(Tpix) (((Tpix) - 1) << FShft (LCCR1_BLW))
102 #define LCCR2_LPP Fld (10, 0) /* Line Per Panel - 1 */
103 #define LCCR2_DisHght(Line) (((Line) - 1) << FShft (LCCR2_LPP))
105 #define LCCR2_VSW Fld (6, 10) /* Vertical Synchronization pulse - 1 */
106 #define LCCR2_VrtSnchWdth(Tln) (((Tln) - 1) << FShft (LCCR2_VSW))
108 #define LCCR2_EFW Fld (8, 16) /* End-of-Frame line clock Wait */
111 #define LCCR2_BFW Fld (8, 24) /* Beginning-of-Frame line clock */
119 #define LCCR3_PixRsEdg (LCCR3_PCP*0) /* Pixel clock Rising-Edge */
120 #define LCCR3_PixFlEdg (LCCR3_PCP*1) /* Pixel clock Falling-Edge */
139 #define LCCR5_IUM(x) (1 << ((x) + 23)) /* input underrun mask */ argument
140 #define LCCR5_BSM(x) (1 << ((x) + 15)) /* branch mask */ argument
141 #define LCCR5_EOFM(x) (1 << ((x) + 7)) /* end of frame mask */ argument
142 #define LCCR5_SOFM(x) (1 << ((x) + 0)) /* start of frame mask */ argument
158 #define LCSR1_IU(x) (1 << ((x) + 23)) /* Input FIFO underrun */ argument
159 #define LCSR1_BS(x) (1 << ((x) + 15)) /* Branch Status */ argument
160 #define LCSR1_EOF(x) (1 << ((x) + 7)) /* End of Frame Status */ argument
161 #define LCSR1_SOF(x) (1 << ((x) - 1)) /* Start of Frame Status */ argument
166 #define OVLxC1_PPL(x) ((((x) - 1) & 0x3ff) << 0) /* Pixels Per Line */ argument
167 #define OVLxC1_LPO(x) ((((x) - 1) & 0x3ff) << 10) /* Number of Lines */ argument
168 #define OVLxC1_BPP(x) (((x) & 0xf) << 20) /* Bits Per Pixel */ argument
170 #define OVLxC2_XPOS(x) (((x) & 0x3ff) << 0) /* Horizontal Position */ argument
171 #define OVLxC2_YPOS(x) (((x) & 0x3ff) << 10) /* Vertical Position */ argument
172 #define OVL2C2_PFOR(x) (((x) & 0x7) << 20) /* Pixel Format */ argument
175 #define PRSR_DATA(x) ((x) & 0xff) /* Panel Data */ argument