Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/tools/testing/selftests/x86/
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()
/linux-4.1.27/drivers/staging/fbtft/
Dfb_tls8204.c35 #define WIDTH 84 macro
37 #define TXBUFLEN WIDTH
116 for (x = 0; x < WIDTH; x++) { in write_vmem()
118 for (i = 0; i < 8*WIDTH; i += WIDTH) { in write_vmem()
120 if (vmem16[(y*8*WIDTH)+i+x]) in write_vmem()
127 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem()
155 .width = WIDTH,
Dfb_uc1701.c34 #define WIDTH 102 macro
162 for (x = 0; x < WIDTH; x++) { in write_vmem()
165 *buf |= (vmem16[((y*8*WIDTH)+(i*WIDTH))+x] ? 1 : 0) << i; in write_vmem()
181 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem()
195 .width = WIDTH,
Dfb_upd161704.c34 #define WIDTH 240 macro
144 write_reg(par, 0x0006, WIDTH - 1 - xs); in set_addr_win()
148 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win()
189 .width = WIDTH,
Dfb_bd663474.c34 #define WIDTH 240 macro
135 write_reg(par, 0x0200, WIDTH - 1 - xs); in set_addr_win()
139 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win()
175 .width = WIDTH,
Dfb_s6d1121.c34 #define WIDTH 240 macro
99 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
103 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
183 .width = WIDTH,
Dfb_ili9325.c32 #define WIDTH 240 macro
189 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
193 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
267 .width = WIDTH,
Dfb_ili9320.c31 #define WIDTH 240 macro
137 write_reg(par, 0x0020, WIDTH - 1 - xs); in set_addr_win()
141 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
213 .width = WIDTH,
Dfb_ili9486.c28 #define WIDTH 320 macro
104 .width = WIDTH,
Dfb_ili9481.c30 #define WIDTH 320 macro
100 .width = WIDTH,
Dfb_tinylcd.c29 #define WIDTH 320 macro
109 .width = WIDTH,
Dfb_ili9340.c30 #define WIDTH 240 macro
146 .width = WIDTH,
Dfb_ili9163.c29 #define WIDTH 128 macro
140 write_reg(par, CMD_CLMADRS, 0, 0, 0, WIDTH); /* Set Column Address */ in init_display()
275 .width = WIDTH,
Dfb_pcd8544.c34 #define WIDTH 84 macro
168 .width = WIDTH,
Dfb_hx8340bn.c36 #define WIDTH 176 macro
198 .width = WIDTH,
Dfb_ili9341.c35 #define WIDTH 240 macro
157 .width = WIDTH,
Dfb_ssd1306.c30 #define WIDTH 128 macro
205 .width = WIDTH,
Dfb_hx8347d.c31 #define WIDTH 320 macro
160 .width = WIDTH,
Dfb_ssd1289.c31 #define WIDTH 240 macro
184 .width = WIDTH,
Dfb_ssd1331.c11 #define WIDTH 96 macro
182 .width = WIDTH,
Dfb_ssd1351.c11 #define WIDTH 128 macro
179 .width = WIDTH,
Dfb_watterott.c30 #define WIDTH 320 macro
304 .width = WIDTH,
Dfb_agm1264k-fl.c33 #define WIDTH 64 macro
35 #define TOTALWIDTH (WIDTH * 2) /* because 2 x ks0108 in one display */
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/sm750fb/
Dddk750_mode.c92 FIELD_VALUE(0, CRT_HORIZONTAL_SYNC, WIDTH, pModeParam->horizontal_sync_width) in programModeRegisters()
133 FIELD_VALUE(0, PANEL_HORIZONTAL_SYNC, WIDTH, pModeParam->horizontal_sync_width) in programModeRegisters()
Dsm750_hw.c371 FIELD_VALUE(0, PANEL_FB_WIDTH, WIDTH, reg)| in hw_sm750_crtc_setMode()
375 FIELD_VALUE(0, PANEL_WINDOW_WIDTH, WIDTH, var->xres -1)| in hw_sm750_crtc_setMode()
403 FIELD_VALUE(0, CRT_FB_WIDTH, WIDTH, reg)| in hw_sm750_crtc_setMode()
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/
Dbootbus.txt59 - cavium,bus-width: A cell specifying the WIDTH parameter (in bits) of
/linux-4.1.27/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.1.27/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.1.27/arch/blackfin/kernel/
Ddebug-mmrs.c281 __GPTIMER(WIDTH, width); in bfin_debug_mmrs_gptimer()