/Linux-v4.19/drivers/accessibility/braille/ |
D | braille_console.c | 58 #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/ |
D | single_step_syscall.c | 58 # 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()
|
D | syscall_nt.c | 27 # 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()
|
D | unwind_vdso.c | 66 # 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/ |
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 | 21 #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,
|
D | fb_bd663474.c | 21 #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,
|
D | fb_sh1106.c | 18 #define WIDTH 128 macro 24 if (!par->info->var.xres || par->info->var.xres > WIDTH || in init_display() 160 .width = WIDTH, 162 .txbuflen = WIDTH,
|
D | fb_s6d1121.c | 21 #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,
|
D | fb_ili9320.c | 18 #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,
|
D | fb_ili9325.c | 19 #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,
|
D | fb_ili9486.c | 16 #define WIDTH 320 macro 85 .width = WIDTH,
|
D | fb_ssd1305.c | 18 #define WIDTH 128 macro 183 .width = WIDTH, 185 .txbuflen = WIDTH * HEIGHT / 8,
|
D | fb_ili9481.c | 18 #define WIDTH 320 macro 85 .width = WIDTH,
|
D | fb_ili9163.c | 21 #define WIDTH 128 macro 106 write_reg(par, MIPI_DCS_SET_COLUMN_ADDRESS, 0, 0, 0, WIDTH); in init_display() 236 .width = WIDTH,
|
D | fb_ssd1325.c | 16 #define WIDTH 128 macro 172 .width = WIDTH, 174 .txbuflen = WIDTH * HEIGHT / 2,
|
D | fb_ili9340.c | 18 #define WIDTH 240 macro 122 .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,
|
D | fb_ili9341.c | 23 #define WIDTH 240 macro 134 .width = WIDTH,
|
/Linux-v4.19/drivers/usb/misc/ |
D | idmouse.c | 27 #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/ |
D | hitfb.c | 31 #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()
|