/drivers/accessibility/braille/ |
D | braille_console.c | 44 #define WIDTH 40 macro 46 static u16 console_buf[WIDTH]; 63 static u16 lastwrite[WIDTH]; in braille_write() 64 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c; in braille_write() 71 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf))) in braille_write() 73 memcpy(lastwrite, buf, WIDTH * sizeof(*buf)); in braille_write() 84 for (i = 0; i < WIDTH; i++) { in braille_write() 111 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor() 127 u16 buf[WIDTH]; in vc_refresh() 130 for (i = 0; i < WIDTH; i++) { in vc_refresh() [all …]
|
/drivers/staging/fbtft/ |
D | fb_tls8204.c | 22 #define WIDTH 84 macro 24 #define TXBUFLEN WIDTH 101 for (x = 0; x < WIDTH; x++) { in write_vmem() 104 for (i = 0; i < 8 * WIDTH; i += WIDTH) { in write_vmem() 106 if (vmem16[(y * 8 * WIDTH) + i + x]) in write_vmem() 113 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem() 138 .width = WIDTH,
|
D | fb_uc1701.c | 21 #define WIDTH 102 macro 127 for (x = 0; x < WIDTH; x++) { in write_vmem() 130 *buf |= (vmem16[((y * 8 * WIDTH) + in write_vmem() 131 (i * WIDTH)) + x] ? in write_vmem() 140 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem() 153 .width = WIDTH,
|
D | fb_upd161704.c | 20 #define WIDTH 240 macro 123 write_reg(par, 0x0006, WIDTH - 1 - xs); in set_addr_win() 127 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win() 166 .width = WIDTH,
|
D | fb_bd663474.c | 20 #define WIDTH 240 macro 114 write_reg(par, 0x0200, WIDTH - 1 - xs); in set_addr_win() 118 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win() 152 .width = WIDTH,
|
D | fb_sh1106.c | 17 #define WIDTH 128 macro 23 if (!par->info->var.xres || par->info->var.xres > WIDTH || in init_display() 159 .width = WIDTH, 161 .txbuflen = WIDTH,
|
D | fb_s6d1121.c | 20 #define WIDTH 240 macro 78 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win() 82 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 158 .width = WIDTH,
|
D | fb_ili9320.c | 17 #define WIDTH 240 macro 173 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win() 177 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 245 .width = WIDTH,
|
D | fb_ili9325.c | 18 #define WIDTH 240 macro 163 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win() 167 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win() 237 .width = WIDTH,
|
D | fb_ssd1305.c | 18 #define WIDTH 128 macro 183 .width = WIDTH, 185 .txbuflen = WIDTH * HEIGHT / 8,
|
D | fb_ili9486.c | 16 #define WIDTH 320 macro 85 .width = WIDTH,
|
D | fb_ssd1325.c | 16 #define WIDTH 128 macro 170 .width = WIDTH, 172 .txbuflen = WIDTH * HEIGHT / 2,
|
D | fb_ili9163.c | 20 #define WIDTH 128 macro 102 write_reg(par, MIPI_DCS_SET_COLUMN_ADDRESS, 0, 0, 0, WIDTH); in init_display() 232 .width = WIDTH,
|
D | fb_ili9481.c | 18 #define WIDTH 320 macro 85 .width = WIDTH,
|
D | fb_ili9340.c | 17 #define WIDTH 240 macro 121 .width = WIDTH,
|
D | fb_tinylcd.c | 17 #define WIDTH 320 macro 87 .width = WIDTH,
|
D | fb_pcd8544.c | 21 #define WIDTH 84 macro 145 .width = WIDTH,
|
D | fb_hx8357d.c | 22 #define WIDTH 320 macro 181 .width = WIDTH,
|
D | fb_hx8340bn.c | 24 #define WIDTH 176 macro 202 .width = WIDTH,
|
/drivers/usb/misc/ |
D | idmouse.c | 27 #define WIDTH 225 macro 30 #define IMGSIZE ((WIDTH * HEIGHT) + sizeof(HEADER)-1) 182 for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH) in idmouse_create_image() 187 for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++) in idmouse_create_image()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | wndwc67e.c | 44 NVVAL(NVC57E, SET_SIZE, WIDTH, asyw->image.w) | in wndwc67e_image_set() 68 NVVAL(NVC57E, SET_SIZE_IN, WIDTH, asyw->state.src_w >> 16) | in wndwc67e_image_set() 72 NVVAL(NVC57E, SET_SIZE_OUT, WIDTH, asyw->state.crtc_w) | in wndwc67e_image_set()
|
D | ovly507e.c | 47 NVVAL(NV507E, SET_SIZE_IN, WIDTH, asyw->scale.sw) | in ovly507e_scale_set() 51 NVVAL(NV507E, SET_SIZE_OUT, WIDTH, asyw->scale.dw)); in ovly507e_scale_set() 76 NVVAL(NV507E, SURFACE_SET_SIZE, WIDTH, asyw->image.w) | in ovly507e_image_set()
|
D | head907d.c | 223 NVVAL(NV907D, HEAD_SET_SIZE, WIDTH, asyh->core.w) | in head907d_core_set() 339 NVVAL(NV907D, HEAD_SET_RASTER_SIZE, WIDTH, m->h.active) | in head907d_mode() 395 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view() 399 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head907d_view() 403 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head907d_view() 407 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, WIDTH, asyh->view.oW) | in head907d_view()
|
D | wndwc57e.c | 47 NVVAL(NVC57E, SET_SIZE, WIDTH, asyw->image.w) | in wndwc57e_image_set() 72 NVVAL(NVC57E, SET_SIZE_IN, WIDTH, asyw->state.src_w >> 16) | in wndwc57e_image_set() 76 NVVAL(NVC57E, SET_SIZE_OUT, WIDTH, asyw->state.crtc_w) | in wndwc57e_image_set()
|
/drivers/video/fbdev/ |
D | hitfb.c | 30 #define WIDTH 640 macro 78 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest() 101 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt() 102 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt() 114 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt() 115 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()
|