Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/accessibility/braille/
Dbraille_console.c58 #define WIDTH 40 macro
60 static u16 console_buf[WIDTH];
77 static u16 lastwrite[WIDTH]; in braille_write()
78 unsigned char data[1 + 1 + 2*WIDTH + 2 + 1], csum = 0, *c; in braille_write()
85 if (!memcmp(lastwrite, buf, WIDTH * sizeof(*buf))) in braille_write()
87 memcpy(lastwrite, buf, WIDTH * sizeof(*buf)); in braille_write()
98 for (i = 0; i < WIDTH; i++) { in braille_write()
125 vc_x = vc->vc_x - (vc->vc_x % WIDTH); in vc_follow_cursor()
141 u16 buf[WIDTH]; in vc_refresh()
144 for (i = 0; i < WIDTH; i++) { in vc_refresh()
[all …]
/Linux-v4.19/tools/testing/selftests/x86/
Dsingle_step_syscall.c58 # define WIDTH "q" macro
62 # define WIDTH "l" macro
69 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
75 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH in set_eflags()
137 asm volatile ("pushf" WIDTH "\n\t" in main()
138 "pop" WIDTH " %%r11\n\t" in main()
Dsyscall_nt.c27 # define WIDTH "q" macro
29 # define WIDTH "l" macro
37 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
43 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH in set_eflags()
Dunwind_vdso.c66 # define WIDTH "q" macro
68 # define WIDTH "l" macro
74 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
80 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH in set_eflags()
/Linux-v4.19/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.c21 #define WIDTH 240 macro
127 write_reg(par, 0x0006, WIDTH - 1 - xs); in set_addr_win()
131 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win()
170 .width = WIDTH,
Dfb_bd663474.c21 #define WIDTH 240 macro
118 write_reg(par, 0x0200, WIDTH - 1 - xs); in set_addr_win()
122 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win()
156 .width = WIDTH,
Dfb_sh1106.c18 #define WIDTH 128 macro
24 if (!par->info->var.xres || par->info->var.xres > WIDTH || in init_display()
160 .width = WIDTH,
162 .txbuflen = WIDTH,
Dfb_s6d1121.c21 #define WIDTH 240 macro
82 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
86 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
162 .width = WIDTH,
Dfb_ili9320.c18 #define WIDTH 240 macro
175 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
179 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
247 .width = WIDTH,
Dfb_ili9325.c19 #define WIDTH 240 macro
167 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
171 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
241 .width = WIDTH,
Dfb_ili9486.c16 #define WIDTH 320 macro
85 .width = WIDTH,
Dfb_ssd1305.c18 #define WIDTH 128 macro
183 .width = WIDTH,
185 .txbuflen = WIDTH * HEIGHT / 8,
Dfb_ili9481.c18 #define WIDTH 320 macro
85 .width = WIDTH,
Dfb_ili9163.c21 #define WIDTH 128 macro
106 write_reg(par, MIPI_DCS_SET_COLUMN_ADDRESS, 0, 0, 0, WIDTH); in init_display()
236 .width = WIDTH,
Dfb_ssd1325.c16 #define WIDTH 128 macro
172 .width = WIDTH,
174 .txbuflen = WIDTH * HEIGHT / 2,
Dfb_ili9340.c18 #define WIDTH 240 macro
122 .width = WIDTH,
Dfb_tinylcd.c17 #define WIDTH 320 macro
87 .width = WIDTH,
Dfb_pcd8544.c21 #define WIDTH 84 macro
145 .width = WIDTH,
Dfb_hx8357d.c22 #define WIDTH 320 macro
181 .width = WIDTH,
Dfb_hx8340bn.c24 #define WIDTH 176 macro
202 .width = WIDTH,
Dfb_ili9341.c23 #define WIDTH 240 macro
134 .width = WIDTH,
/Linux-v4.19/drivers/usb/misc/
Didmouse.c27 #define WIDTH 225 macro
30 #define IMGSIZE ((WIDTH * HEIGHT) + sizeof(HEADER)-1)
187 for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH) in idmouse_create_image()
192 for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++) in idmouse_create_image()
/Linux-v4.19/drivers/video/fbdev/
Dhitfb.c31 #define WIDTH 640 macro
63 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest()
86 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt()
87 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
99 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt()
100 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()

12