Lines Matching refs:disp_no

96 static u32 build_command(int disp_no, u32 reg, u32 val)  in build_command()  argument
98 return ((disp_no << 26) | BIT(25) | (val << 16) | (disp_no << 10) | in build_command()
102 static u32 build_double_index(int disp_no, u32 val) in build_double_index() argument
104 return ((disp_no << 26) | (val << 16) | (disp_no << 10) | (val << 0)); in build_double_index()
226 (u16) ((ch_setup->disp_no << 4) | (BIT(3)) | (ch_setup->format)); in dum_ch_setup()
251 build_command(ch_setup->disp_no, DISP_XMIN_L_REG, 0x99); in dum_ch_setup()
253 build_command(ch_setup->disp_no, DISP_XMIN_L_REG, in dum_ch_setup()
256 build_command(ch_setup->disp_no, DISP_XMIN_H_REG, in dum_ch_setup()
259 build_command(ch_setup->disp_no, DISP_YMIN_REG, dw.ymin); in dum_ch_setup()
261 build_command(ch_setup->disp_no, DISP_XMAX_L_REG, in dum_ch_setup()
264 build_command(ch_setup->disp_no, DISP_XMAX_H_REG, in dum_ch_setup()
267 build_command(ch_setup->disp_no, DISP_YMAX_REG, dw.ymax); in dum_ch_setup()
269 build_double_index(ch_setup->disp_no, DISP_PIXEL_REG); in dum_ch_setup()
273 build_command(ch_setup->disp_no, DISP_XMIN_L_REG, in dum_ch_setup()
277 build_command(ch_setup->disp_no, DISP_XMIN_L_REG, in dum_ch_setup()
281 build_command(ch_setup->disp_no, DISP_XMIN_L_REG, in dum_ch_setup()
284 build_command(ch_setup->disp_no, DISP_XMIN_H_REG, in dum_ch_setup()
287 build_command(ch_setup->disp_no, DISP_YMIN_REG, dw.ymin); in dum_ch_setup()
289 build_command(ch_setup->disp_no, DISP_XMAX_L_REG, in dum_ch_setup()
292 build_command(ch_setup->disp_no, DISP_XMAX_H_REG, in dum_ch_setup()
295 build_command(ch_setup->disp_no, DISP_YMAX_REG, dw.ymax); in dum_ch_setup()
297 build_command(ch_setup->disp_no, DISP_1_REG, orientation); in dum_ch_setup()
299 build_double_index(ch_setup->disp_no, DISP_PIXEL_REG); in dum_ch_setup()
301 build_double_index(ch_setup->disp_no, DISP_PIXEL_REG); in dum_ch_setup()
303 build_double_index(ch_setup->disp_no, DISP_PIXEL_REG); in dum_ch_setup()
305 build_double_index(ch_setup->disp_no, DISP_PIXEL_REG); in dum_ch_setup()
307 build_command(ch_setup->disp_no, DISP_1_REG, BIT(1)); in dum_ch_setup()
309 build_command(ch_setup->disp_no, DISP_DUMMY1_REG, 1); in dum_ch_setup()
311 build_command(ch_setup->disp_no, DISP_DUMMY1_REG, 2); in dum_ch_setup()
313 build_command(ch_setup->disp_no, DISP_DUMMY1_REG, 3); in dum_ch_setup()
346 k.disp_no = 0; in display_open()