Home
last modified time | relevance | path

Searched refs:WIDTH (Results 1 – 25 of 57) sorted by relevance

123

/linux-5.19.10/drivers/accessibility/braille/
Dbraille_console.c45 #define WIDTH 40 macro
47 static u16 console_buf[WIDTH];
64 static u16 lastwrite[WIDTH]; in braille_write()
65 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c; in braille_write()
72 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf))) in braille_write()
74 memcpy(lastwrite, buf, WIDTH * sizeof(*buf)); in braille_write()
85 for (i = 0; i < WIDTH; i++) { in braille_write()
112 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
128 u16 buf[WIDTH]; in vc_refresh()
131 for (i = 0; i < WIDTH; i++) { in vc_refresh()
[all …]
/linux-5.19.10/drivers/staging/fbtft/
Dfb_tls8204.c22 #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,
Dfb_uc1701.c21 #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,
Dfb_upd161704.c20 #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,
Dfb_bd663474.c20 #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,
Dfb_sh1106.c17 #define WIDTH 128 macro
23 if (!par->info->var.xres || par->info->var.xres > WIDTH || in init_display()
159 .width = WIDTH,
161 .txbuflen = WIDTH,
Dfb_s6d1121.c20 #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,
Dfb_ili9320.c17 #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,
Dfb_ili9325.c18 #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,
Dfb_ssd1305.c18 #define WIDTH 128 macro
183 .width = WIDTH,
185 .txbuflen = WIDTH * HEIGHT / 8,
Dfb_ili9486.c16 #define WIDTH 320 macro
85 .width = WIDTH,
Dfb_ili9481.c18 #define WIDTH 320 macro
85 .width = WIDTH,
Dfb_ili9163.c20 #define WIDTH 128 macro
102 write_reg(par, MIPI_DCS_SET_COLUMN_ADDRESS, 0, 0, 0, WIDTH); in init_display()
232 .width = WIDTH,
Dfb_ssd1325.c16 #define WIDTH 128 macro
170 .width = WIDTH,
172 .txbuflen = WIDTH * HEIGHT / 2,
Dfb_ili9340.c17 #define WIDTH 240 macro
121 .width = WIDTH,
Dfb_tinylcd.c17 #define WIDTH 320 macro
87 .width = WIDTH,
Dfb_hx8357d.c22 #define WIDTH 320 macro
181 .width = WIDTH,
Dfb_pcd8544.c21 #define WIDTH 84 macro
145 .width = WIDTH,
Dfb_hx8340bn.c24 #define WIDTH 176 macro
202 .width = WIDTH,
/linux-5.19.10/tools/testing/selftests/x86/
Dsingle_step_syscall.c63 # define WIDTH "q" macro
67 # define WIDTH "l" macro
162 asm volatile ("pushf" WIDTH "\n\t" in main()
163 "pop" WIDTH " %%r11\n\t" in main()
/linux-5.19.10/drivers/usb/misc/
Didmouse.c27 #define WIDTH 225 macro
30 #define IMGSIZE ((WIDTH * HEIGHT) + sizeof(HEADER)-1)
186 for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH) in idmouse_create_image()
191 for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++) in idmouse_create_image()
/linux-5.19.10/drivers/gpu/drm/nouveau/dispnv50/
Dwndwc67e.c44 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()
Dovly507e.c49 NVVAL(NV507E, SET_SIZE_IN, WIDTH, asyw->scale.sw) | in ovly507e_scale_set()
53 NVVAL(NV507E, SET_SIZE_OUT, WIDTH, asyw->scale.dw)); in ovly507e_scale_set()
78 NVVAL(NV507E, SURFACE_SET_SIZE, WIDTH, asyw->image.w) | in ovly507e_image_set()
Dhead907d.c223 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()
/linux-5.19.10/drivers/video/fbdev/
Dhitfb.c30 #define WIDTH 640 macro
62 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest()
85 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt()
86 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
98 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt()
99 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()

123