Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/x86/
Dsyscall_nt.c24 # define WIDTH "q" macro
26 # define WIDTH "l" macro
32 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
38 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH in set_eflags()
Dsingle_step_syscall.c58 # define WIDTH "q" macro
61 # define WIDTH "l" macro
67 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
73 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH in set_eflags()
133 asm volatile ("pushf" WIDTH "\n\t" in main()
134 "pop" WIDTH " %%r11\n\t" in main()
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-4.4.14/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-4.4.14/drivers/staging/fbtft/
Dfb_tls8204.c31 #define WIDTH 84 macro
33 #define TXBUFLEN WIDTH
109 for (x = 0; x < WIDTH; x++) { in write_vmem()
112 for (i = 0; i < 8 * WIDTH; i += WIDTH) { in write_vmem()
114 if (vmem16[(y * 8 * WIDTH) + i + x]) in write_vmem()
121 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem()
146 .width = WIDTH,
Dfb_uc1701.c30 #define WIDTH 102 macro
151 for (x = 0; x < WIDTH; x++) { in write_vmem()
154 *buf |= (vmem16[((y * 8 * WIDTH) + in write_vmem()
155 (i * WIDTH)) + x] ? in write_vmem()
172 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem()
185 .width = WIDTH,
Dfb_upd161704.c30 #define WIDTH 240 macro
136 write_reg(par, 0x0006, WIDTH - 1 - xs); in set_addr_win()
140 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win()
179 .width = WIDTH,
Dfb_bd663474.c30 #define WIDTH 240 macro
127 write_reg(par, 0x0200, WIDTH - 1 - xs); in set_addr_win()
131 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win()
165 .width = WIDTH,
Dfb_s6d1121.c30 #define WIDTH 240 macro
91 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
95 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
170 .width = WIDTH,
Dfb_ili9320.c27 #define WIDTH 240 macro
184 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
188 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
255 .width = WIDTH,
Dfb_ili9325.c28 #define WIDTH 240 macro
179 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
183 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
252 .width = WIDTH,
Dfb_ili9486.c24 #define WIDTH 320 macro
93 .width = WIDTH,
Dfb_ili9481.c26 #define WIDTH 320 macro
91 .width = WIDTH,
Dfb_tinylcd.c25 #define WIDTH 320 macro
96 .width = WIDTH,
Dfb_ili9340.c26 #define WIDTH 240 macro
133 .width = WIDTH,
Dfb_ili9163.c29 #define WIDTH 128 macro
138 write_reg(par, CMD_CLMADRS, 0, 0, 0, WIDTH); /* Set Column Address */ in init_display()
266 .width = WIDTH,
Dfb_hx8357d.c30 #define WIDTH 320 macro
192 .width = WIDTH,
Dfb_pcd8544.c30 #define WIDTH 84 macro
154 .width = WIDTH,
Dfb_ili9341.c31 #define WIDTH 240 macro
142 .width = WIDTH,
Dfb_hx8340bn.c32 #define WIDTH 176 macro
191 .width = WIDTH,
Dfb_ssd1306.c26 #define WIDTH 128 macro
193 .width = WIDTH,
Dfb_hx8347d.c27 #define WIDTH 320 macro
147 .width = WIDTH,
Dfb_ssd1289.c27 #define WIDTH 240 macro
169 .width = WIDTH,
Dfb_ssd1331.c11 #define WIDTH 96 macro
173 .width = WIDTH,
Dfb_ssd1351.c11 #define WIDTH 128 macro
168 .width = WIDTH,
Dfb_uc1611.c29 #define WIDTH 240 macro
318 .width = WIDTH,
Dfb_watterott.c26 #define WIDTH 320 macro
281 .width = WIDTH,
Dfb_agm1264k-fl.c33 #define WIDTH 64 macro
35 #define TOTALWIDTH (WIDTH * 2) /* because 2 x ks0108 in one display */
/linux-4.4.14/drivers/usb/misc/
Didmouse.c30 #define WIDTH 225 macro
33 #define IMGSIZE ((WIDTH * HEIGHT) + sizeof(HEADER)-1)
192 for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH) in idmouse_create_image()
197 for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++) in idmouse_create_image()
/linux-4.4.14/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()
Dau1200fb.h92 #define LCD_SCREEN_SX_N(WIDTH) ((WIDTH-1)<<19) argument
378 #define LCD_SCREEN_SX_N(WIDTH) ((WIDTH-1)<<19) argument
/linux-4.4.14/drivers/staging/sm750fb/
Dddk750_mode.c92 FIELD_VALUE(0, CRT_HORIZONTAL_SYNC, WIDTH, pModeParam->horizontal_sync_width) in programModeRegisters()
132 FIELD_VALUE(0, PANEL_HORIZONTAL_SYNC, WIDTH, pModeParam->horizontal_sync_width) in programModeRegisters()
Dsm750_hw.c322 FIELD_VALUE(0, PANEL_FB_WIDTH, WIDTH, reg)| in hw_sm750_crtc_setMode()
326 FIELD_VALUE(0, PANEL_WINDOW_WIDTH, WIDTH, var->xres - 1)| in hw_sm750_crtc_setMode()
354 FIELD_VALUE(0, CRT_FB_WIDTH, WIDTH, reg)| in hw_sm750_crtc_setMode()
/linux-4.4.14/arch/arm64/kernel/
Dcpufeature.c47 #define __ARM64_FTR_BITS(SIGNED, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
53 .width = WIDTH, \
58 #define ARM64_FTR_BITS(STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
59 __ARM64_FTR_BITS(FTR_SIGNED, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
62 #define U_ARM64_FTR_BITS(STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
63 __ARM64_FTR_BITS(FTR_UNSIGNED, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
/linux-4.4.14/Documentation/devicetree/bindings/mips/cavium/
Dbootbus.txt59 - cavium,bus-width: A cell specifying the WIDTH parameter (in bits) of
/linux-4.4.14/Documentation/input/
Dmulti-touch-protocol.txt169 The TOUCH and WIDTH parameters have a geometrical interpretation; imagine
256 of TOUCH and WIDTH for pressure-based devices or any device with a spatial
395 In the specific application of creating gesture events, the TOUCH and WIDTH
/linux-4.4.14/drivers/net/ethernet/sfc/
Dbitfield.h52 #define EFX_WIDTH(field) EFX_VAL(field, WIDTH)
Dfalcon.c141 hw_name ## _ ## WIDTH == 48 ? 64 : hw_name ## _ ## WIDTH, \
/linux-4.4.14/arch/blackfin/kernel/
Ddebug-mmrs.c281 __GPTIMER(WIDTH, width); in bfin_debug_mmrs_gptimer()