/drivers/staging/fbtft/ |
D | flexfb.c | 234 int xs, int ys, int xe, int ye) in flexfb_set_addr_win_1() argument 241 write_reg(par, 0x0021, ys); in flexfb_set_addr_win_1() 245 write_reg(par, 0x0021, height - 1 - ys); in flexfb_set_addr_win_1() 248 write_reg(par, 0x0020, width - 1 - ys); in flexfb_set_addr_win_1() 252 write_reg(par, 0x0020, ys); in flexfb_set_addr_win_1() 261 int xs, int ys, int xe, int ye) in flexfb_set_addr_win_2() argument 268 write_reg(par, 0x4f, ys); in flexfb_set_addr_win_2() 272 write_reg(par, 0x4f, par->info->var.yres - 1 - ys); in flexfb_set_addr_win_2() 275 write_reg(par, 0x4e, par->info->var.yres - 1 - ys); in flexfb_set_addr_win_2() 279 write_reg(par, 0x4e, ys); in flexfb_set_addr_win_2() [all …]
|
D | fb_ili9163.c | 124 static void set_addr_win(struct fbtft_par *par, int xs, int ys, in set_addr_win() argument 132 (ys + __OFFSET) >> 8, (ys + __OFFSET) & 0xff, in set_addr_win() 140 ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win() 147 ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win()
|
D | fb_upd161704.c | 126 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 133 write_reg(par, 0x0007, ys); in set_addr_win() 137 write_reg(par, 0x0007, HEIGHT - 1 - ys); in set_addr_win() 140 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win() 144 write_reg(par, 0x0006, ys); in set_addr_win()
|
D | fb_bd663474.c | 117 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 124 write_reg(par, 0x0201, ys); in set_addr_win() 128 write_reg(par, 0x0201, HEIGHT - 1 - ys); in set_addr_win() 131 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win() 135 write_reg(par, 0x0200, ys); in set_addr_win()
|
D | fb_ssd1289.c | 78 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 85 write_reg(par, 0x4f, ys); in set_addr_win() 89 write_reg(par, 0x4f, par->info->var.yres - 1 - ys); in set_addr_win() 92 write_reg(par, 0x4e, par->info->var.yres - 1 - ys); in set_addr_win() 96 write_reg(par, 0x4e, ys); in set_addr_win()
|
D | fb_s6d1121.c | 81 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 88 write_reg(par, 0x0021, ys); in set_addr_win() 92 write_reg(par, 0x0021, HEIGHT - 1 - ys); in set_addr_win() 95 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 99 write_reg(par, 0x0020, ys); in set_addr_win()
|
D | fb_ra8875.c | 182 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 187 write_reg(par, 0x32, ys & 0x00FF); in set_addr_win() 188 write_reg(par, 0x33, (ys & 0xFF00) >> 8); in set_addr_win() 191 write_reg(par, 0x36, (ys + ye) & 0x00FF); in set_addr_win() 192 write_reg(par, 0x37, ((ys + ye) & 0xFF00) >> 8); in set_addr_win() 197 write_reg(par, 0x48, ys & 0xff); in set_addr_win() 198 write_reg(par, 0x49, (ys >> 8) & 0x01); in set_addr_win()
|
D | fb_ili9320.c | 174 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 181 write_reg(par, 0x0021, ys); in set_addr_win() 185 write_reg(par, 0x0021, HEIGHT - 1 - ys); in set_addr_win() 188 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 192 write_reg(par, 0x0020, ys); in set_addr_win()
|
D | fb_ili9325.c | 169 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 176 write_reg(par, 0x0021, ys); in set_addr_win() 180 write_reg(par, 0x0021, HEIGHT - 1 - ys); in set_addr_win() 183 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 187 write_reg(par, 0x0020, ys); in set_addr_win()
|
D | fb_ili9486.c | 55 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 61 ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); in set_addr_win()
|
D | fb_ili9481.c | 54 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 60 ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win()
|
D | fb_s6d02a1.c | 100 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 106 ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); in set_addr_win()
|
D | fb_uc1611.c | 114 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 120 write_reg(par, ys & 0x0F); in set_addr_win() 121 write_reg(par, 0x10 | (ys >> 4)); in set_addr_win() 133 write_reg(par, 0x60 | ((ys >> 1) & 0x0F)); in set_addr_win() 134 write_reg(par, 0x70 | (ys >> 5)); in set_addr_win()
|
D | fb_ili9340.c | 91 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 97 ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); in set_addr_win()
|
D | fb_tinylcd.c | 59 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 65 ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); in set_addr_win()
|
D | fb_hx8353d.c | 73 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 79 write_reg(par, 0x2b, ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win()
|
D | fb_hx8357d.c | 141 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 148 ys >> 8, ys & 0xff, /* YSTART */ in set_addr_win()
|
D | fb_st7735r.c | 95 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 101 ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); in set_addr_win()
|
D | fb_ili9341.c | 77 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 83 (ys >> 8) & 0xFF, ys & 0xFF, (ye >> 8) & 0xFF, ye & 0xFF); in set_addr_win()
|
D | fb_hx8347d.c | 86 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 92 write_reg(par, 0x06, (ys >> 8) & 0xFF); in set_addr_win() 93 write_reg(par, 0x07, ys & 0xFF); in set_addr_win()
|
D | fb_hx8340bn.c | 118 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 121 write_reg(par, MIPI_DCS_SET_PAGE_ADDRESS, 0x00, ys, 0x00, ye); in set_addr_win()
|
D | fb_ssd1325.c | 84 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 87 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, in set_addr_win()
|
D | fb_ssd1331.c | 53 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument 56 write_reg(par, 0x75, ys, ye); in set_addr_win()
|
/drivers/tty/vt/ |
D | selection.c | 170 { unsigned short xs, ys, xe, ye; in set_selection() local 175 __get_user(ys, &sel->ys); in set_selection() 179 xs--; ys--; xe--; ye--; in set_selection() 181 ys = limit(ys, vc->vc_rows - 1); in set_selection() 184 ps = ys * vc->vc_size_row + (xs << 1); in set_selection() 194 mouse_report(tty, sel_mode & TIOCL_SELBUTTONMASK, xs, ys); in set_selection()
|
/drivers/input/touchscreen/ |
D | lpc32xx_ts.c | 89 u32 tmp, rv[4], xs[4], ys[4]; in lpc32xx_ts_interrupt() local 114 ys[idx] = LPC32XX_TSC_ADCDAT_VALUE_MASK - in lpc32xx_ts_interrupt() 124 input_report_abs(input, ABS_Y, (ys[1] + ys[2]) / 2); in lpc32xx_ts_interrupt()
|