arch/alpha/include/asm/mmu_context.h
191
#define activate_mm(x,y) ev5_activate_mm((x),(y))
arch/alpha/include/asm/pal.h
109
#define tbi(x,y) __tbi(x,__r17=(y),"1" (__r17))
arch/alpha/kernel/machvec_impl.h
42
#define CAT1(x,y) x##y
arch/alpha/kernel/machvec_impl.h
43
#define CAT(x,y) CAT1(x,y)
arch/alpha/lib/csum_partial_copy.c
19
#define ldq_u(x,y) \
arch/alpha/lib/csum_partial_copy.c
20
__asm__ __volatile__("ldq_u %0,%1":"=r" (x):"m" (*(const unsigned long *)(y)))
arch/alpha/lib/csum_partial_copy.c
22
#define stq_u(x,y) \
arch/alpha/lib/csum_partial_copy.c
23
__asm__ __volatile__("stq_u %1,%0":"=m" (*(unsigned long *)(y)):"r" (x))
arch/alpha/lib/csum_partial_copy.c
25
#define extql(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
26
__asm__ __volatile__("extql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/alpha/lib/csum_partial_copy.c
28
#define extqh(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
29
__asm__ __volatile__("extqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/alpha/lib/csum_partial_copy.c
31
#define mskql(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
32
__asm__ __volatile__("mskql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/alpha/lib/csum_partial_copy.c
34
#define mskqh(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
35
__asm__ __volatile__("mskqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/alpha/lib/csum_partial_copy.c
37
#define insql(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
38
__asm__ __volatile__("insql %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/alpha/lib/csum_partial_copy.c
40
#define insqh(x,y,z) \
arch/alpha/lib/csum_partial_copy.c
41
__asm__ __volatile__("insqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
arch/arc/plat-axs10x/axs10x.c
78
unsigned int pad:11, y:12, m:4, d:5;
arch/arc/plat-axs10x/axs10x.c
80
unsigned int d:5, m:4, y:12, pad:11;
arch/arc/plat-axs10x/axs10x.c
88
board.y);
arch/arm/include/asm/compiler.h
15
#define __asmeq(x, y) \
arch/arm/include/asm/compiler.h
16
".ifnc " x "," y "; " \
arch/arm/include/asm/compiler.h
17
".ifnc " x y ",fpr11; " \
arch/arm/include/asm/compiler.h
18
".ifnc " x y ",r11fp; " \
arch/arm/include/asm/compiler.h
19
".ifnc " x y ",ipr12; " \
arch/arm/include/asm/compiler.h
20
".ifnc " x y ",r12ip; " \
arch/arm/include/asm/memory.h
207
#define __pv_add_carry_stub(x, y) \
arch/arm/include/asm/memory.h
216
: "=&r" (y) \
arch/arm/include/asm/memory.h
232
#define __pv_add_carry_stub(x, y) \
arch/arm/include/asm/memory.h
242
: "=&r" (y) \
arch/arm/include/asm/vga.h
13
#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
arch/arm/include/uapi/asm/setup.h
52
__u8 y;
arch/arm/kernel/atags_compat.c
175
tag->u.videotext.y = params->u1.s.video_y;
arch/arm/kernel/atags_parse.c
76
vgacon_screen_info.orig_y = tag->u.videotext.y;
arch/arm/kernel/module-plts.c
101
const Elf32_Rel *x = a, *y = b;
arch/arm/kernel/module-plts.c
105
i = cmp_3way(ELF32_R_TYPE(x->r_info), ELF32_R_TYPE(y->r_info));
arch/arm/kernel/module-plts.c
107
i = cmp_3way(ELF32_R_SYM(x->r_info), ELF32_R_SYM(y->r_info));
arch/arm/mach-lpc32xx/lpc32xx.h
543
#define LPC32XX_CLKPWR_UART_Y_DIV(y) ((y) & 0xFF)
arch/arm/mach-lpc32xx/lpc32xx.h
550
#define LPC32XX_CLKPWR_IRDA_Y_DIV(y) ((y) & 0xFF)
arch/arm/mach-omap2/control.h
532
#define omap_ctrl_writeb(x, y) WARN_ON(1)
arch/arm/mach-omap2/control.h
533
#define omap_ctrl_writew(x, y) WARN_ON(1)
arch/arm/mach-omap2/control.h
534
#define omap_ctrl_writel(x, y) WARN_ON(1)
arch/arm/mach-omap2/control.h
535
#define omap4_ctrl_pad_writel(x, y) WARN_ON(1)
arch/arm/mach-pxa/pxa-regs.h
39
# define __REG2(x,y) \
arch/arm/mach-pxa/pxa-regs.h
40
(*(volatile u32 __iomem*)((u32)&__REG(x) + (y)))
arch/arm/mach-rpc/include/mach/uncompress.h
102
video_y = y;
arch/arm/mach-rpc/include/mach/uncompress.h
124
video_y = t->u.videotext.y;
arch/arm/mach-rpc/include/mach/uncompress.h
79
int x,y;
arch/arm/mach-rpc/include/mach/uncompress.h
83
y = video_y;
arch/arm/mach-rpc/include/mach/uncompress.h
86
if (++y >= video_num_rows)
arch/arm/mach-rpc/include/mach/uncompress.h
87
y--;
arch/arm/mach-rpc/include/mach/uncompress.h
91
ptr = VIDMEM + ((y*video_num_cols*bytes_per_char_v+x)*bytes_per_char_h);
arch/arm/mach-rpc/include/mach/uncompress.h
95
if ( ++y >= video_num_rows ) {
arch/arm/mach-rpc/include/mach/uncompress.h
96
y--;
arch/arm/mach-sa1100/include/mach/assabet.h
70
#define ASSABET_BCR_frob(x,y) do { } while (0)
arch/arm64/boot/dts/apple/multi-die-cpp.h
15
#define __concat_1(x, y...) x ## y
arch/arm64/boot/dts/apple/multi-die-cpp.h
16
#define __concat(x, y...) __concat_1(x, y)
arch/arm64/crypto/aes-glue.c
773
static void cmac_gf128_mul_by_x(be128 *y, const be128 *x)
arch/arm64/crypto/aes-glue.c
778
y->a = cpu_to_be64((a << 1) | (b >> 63));
arch/arm64/crypto/aes-glue.c
779
y->b = cpu_to_be64((b << 1) ^ ((a >> 63) ? 0x87 : 0));
arch/arm64/include/asm/kvm_host.h
428
#define __MAX__(x,y) ((x) ^ (((x) ^ (y)) & -((x) < (y))))
arch/arm64/kernel/module-plts.c
135
const Elf64_Rela *x = a, *y = b;
arch/arm64/kernel/module-plts.c
139
i = cmp_3way(ELF64_R_TYPE(x->r_info), ELF64_R_TYPE(y->r_info));
arch/arm64/kernel/module-plts.c
141
i = cmp_3way(ELF64_R_SYM(x->r_info), ELF64_R_SYM(y->r_info));
arch/arm64/kernel/module-plts.c
143
i = cmp_3way(x->r_addend, y->r_addend);
arch/hexagon/lib/checksum.c
21
#define SIGN(x, y) ((0x8000ULL*x)<<y)
arch/hexagon/lib/checksum.c
22
#define CARRY(x, y) ((0x0002ULL*x)<<y)
arch/hexagon/lib/checksum.c
23
#define SELECT(x, y) ((0x0001ULL*x)<<y)
arch/loongarch/kernel/module-sections.c
67
static int compare_rela(const void *x, const void *y)
arch/loongarch/kernel/module-sections.c
70
const Elf_Rela *rela_x = x, *rela_y = y;
arch/m68k/atari/atakeyb.c
381
void ikbd_mouse_thresh(int x, int y)
arch/m68k/atari/atakeyb.c
383
char cmd[3] = { 0x0B, x, y };
arch/m68k/atari/atakeyb.c
390
void ikbd_mouse_scale(int x, int y)
arch/m68k/atari/atakeyb.c
392
char cmd[3] = { 0x0C, x, y };
arch/m68k/atari/atakeyb.c
398
void ikbd_mouse_pos_get(int *x, int *y)
arch/m68k/atari/atakeyb.c
408
void ikbd_mouse_pos_set(int x, int y)
arch/m68k/atari/atakeyb.c
410
char cmd[6] = { 0x0E, 0x00, x>>8, x&0xFF, y>>8, y&0xFF };
arch/m68k/include/asm/atarikb.h
23
void ikbd_mouse_thresh(int x, int y);
arch/m68k/include/asm/atarikb.h
24
void ikbd_mouse_scale(int x, int y);
arch/m68k/include/asm/atarikb.h
25
void ikbd_mouse_pos_get(int *x, int *y);
arch/m68k/include/asm/atarikb.h
26
void ikbd_mouse_pos_set(int x, int y);
arch/m68k/include/asm/dvma.h
24
#define dvma_map(x, y) dvma_map_align(x, y, 0)
arch/m68k/include/asm/dvma.h
25
#define dvma_map_vme(x, y) (dvma_map(x, y) & 0xfffff)
arch/m68k/include/asm/dvma.h
26
#define dvma_map_align_vme(x, y, z) (dvma_map_align (x, y, z) & 0xfffff)
arch/m68k/mac/misc.c
559
int days, rem, y, wday;
arch/m68k/mac/misc.c
579
y = 1970;
arch/m68k/mac/misc.c
582
#define LEAPS_THRU_END_OF(y) (DIV (y, 4) - DIV (y, 100) + DIV (y, 400))
arch/m68k/mac/misc.c
586
while (days < 0 || days >= (__isleap (y) ? 366 : 365))
arch/m68k/mac/misc.c
589
long int yg = y + days / 365 - (days % 365 < 0);
arch/m68k/mac/misc.c
592
days -= (yg - y) * 365 +
arch/m68k/mac/misc.c
593
LEAPS_THRU_END_OF(yg - 1) - LEAPS_THRU_END_OF(y - 1);
arch/m68k/mac/misc.c
594
y = yg;
arch/m68k/mac/misc.c
596
*yearp = y - 1900;
arch/m68k/mac/misc.c
597
ip = __mon_yday[__isleap(y)];
arch/m68k/mac/misc.c
598
for (y = 11; days < (long int) ip[y]; --y)
arch/m68k/mac/misc.c
600
days -= ip[y];
arch/m68k/mac/misc.c
601
*monp = y;
arch/mips/include/asm/kvm_host.h
276
#define TLB_HI_VPN2_HIT(x, y) ((TLB_VPN2(x) & ~(x).tlb_mask) == \
arch/mips/include/asm/kvm_host.h
277
((y) & VPN2_MASK & ~(x).tlb_mask))
arch/mips/include/asm/kvm_host.h
278
#define TLB_HI_ASID_HIT(x, y) (TLB_IS_GLOBAL(x) || \
arch/mips/include/asm/kvm_host.h
279
TLB_ASID(x) == ((y) & KVM_ENTRYHI_ASID))
arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
50
#define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y))
arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
53
#define ltq_sys1_w32(x, y) ltq_w32((x), ltq_sys1_membase + (y))
arch/mips/include/asm/mach-lantiq/lantiq.h
22
#define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y))
arch/mips/include/asm/mach-lantiq/lantiq.h
24
#define ltq_ebu_w32_mask(x, y, z) \
arch/mips/include/asm/mach-lantiq/lantiq.h
25
ltq_w32_mask(x, y, ltq_ebu_membase + (z))
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
70
#define ltq_cgu_w32(x, y) ltq_w32((x), ltq_cgu_membase + (y))
arch/mips/include/asm/octeon/octeon-model.h
316
#define __OCTEON_MATCH_MASK__(x, y, z) (((x) & (z)) == ((y) & (z)))
arch/mips/include/asm/vga.h
22
#define vga_writeb(x, y) (*(y) = (x))
arch/mips/lantiq/falcon/sysctrl.c
65
#define sysctl_w32(m, x, y) ltq_w32((x), sysctl_membase[m] + (y))
arch/mips/lantiq/falcon/sysctrl.c
70
#define status_w32(x, y) ltq_w32((x), status_membase + (y))
arch/mips/lantiq/irq.c
51
#define ltq_icu_w32(vpe, m, x, y) \
arch/mips/lantiq/irq.c
52
ltq_w32((x), ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (y))
arch/mips/lantiq/irq.c
57
#define ltq_eiu_w32(x, y) ltq_w32((x), ltq_eiu_membase + (y))
arch/mips/lantiq/xway/dcdc.c
19
#define dcdc_w8(x, y) ltq_w8((x), dcdc_membase + (y))
arch/mips/lantiq/xway/dma.c
53
#define ltq_dma_w32(x, y) ltq_w32(x, ltq_dma_membase + (y))
arch/mips/lantiq/xway/dma.c
54
#define ltq_dma_w32_mask(x, y, z) ltq_w32_mask(x, y, \
arch/mips/lantiq/xway/gptu.c
59
#define gptu_w32(x, y) ltq_w32((x), gptu_membase + (y))
arch/mips/lantiq/xway/sysctrl.c
146
#define pmu_w32(x, y) ltq_w32((x), pmu_membase + (y))
arch/mips/math-emu/dp_add.c
12
union ieee754dp ieee754dp_add(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_add.c
33
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_add.c
47
return y;
arch/mips/math-emu/dp_add.c
69
return y;
arch/mips/math-emu/dp_add.c
91
return y;
arch/mips/math-emu/dp_cmp.c
12
int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cmp, int sig)
arch/mips/math-emu/dp_cmp.c
33
vy = y.bits;
arch/mips/math-emu/dp_div.c
12
union ieee754dp ieee754dp_div(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_div.c
35
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_div.c
49
return y;
arch/mips/math-emu/dp_fmax.c
112
return y;
arch/mips/math-emu/dp_fmax.c
122
return y;
arch/mips/math-emu/dp_fmax.c
126
return y;
arch/mips/math-emu/dp_fmax.c
135
return y;
arch/mips/math-emu/dp_fmax.c
141
return y;
arch/mips/math-emu/dp_fmax.c
144
union ieee754dp ieee754dp_fmaxa(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_fmax.c
163
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_fmax.c
18
union ieee754dp ieee754dp_fmax(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_fmax.c
197
return y;
arch/mips/math-emu/dp_fmax.c
217
return y;
arch/mips/math-emu/dp_fmax.c
242
return y;
arch/mips/math-emu/dp_fmax.c
246
return y;
arch/mips/math-emu/dp_fmax.c
251
return y;
arch/mips/math-emu/dp_fmax.c
37
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_fmax.c
71
return y;
arch/mips/math-emu/dp_fmax.c
81
return xs ? y : x;
arch/mips/math-emu/dp_fmax.c
89
return ys ? x : y;
arch/mips/math-emu/dp_fmin.c
114
return y;
arch/mips/math-emu/dp_fmin.c
120
return y;
arch/mips/math-emu/dp_fmin.c
128
return y;
arch/mips/math-emu/dp_fmin.c
136
return y;
arch/mips/math-emu/dp_fmin.c
140
return y;
arch/mips/math-emu/dp_fmin.c
144
union ieee754dp ieee754dp_fmina(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_fmin.c
163
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_fmin.c
18
union ieee754dp ieee754dp_fmin(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_fmin.c
197
return y;
arch/mips/math-emu/dp_fmin.c
210
return y;
arch/mips/math-emu/dp_fmin.c
240
return y;
arch/mips/math-emu/dp_fmin.c
248
return y;
arch/mips/math-emu/dp_fmin.c
251
return y;
arch/mips/math-emu/dp_fmin.c
37
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_fmin.c
71
return y;
arch/mips/math-emu/dp_fmin.c
81
return xs ? x : y;
arch/mips/math-emu/dp_fmin.c
89
return ys ? y : x;
arch/mips/math-emu/dp_maddf.c
325
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
327
return _dp_maddf(z, x, y, 0);
arch/mips/math-emu/dp_maddf.c
331
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
333
return _dp_maddf(z, x, y, MADDF_NEGATE_PRODUCT);
arch/mips/math-emu/dp_maddf.c
337
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
339
return _dp_maddf(z, x, y, 0);
arch/mips/math-emu/dp_maddf.c
343
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
345
return _dp_maddf(z, x, y, MADDF_NEGATE_ADDITION);
arch/mips/math-emu/dp_maddf.c
349
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
351
return _dp_maddf(z, x, y, MADDF_NEGATE_PRODUCT|MADDF_NEGATE_ADDITION);
arch/mips/math-emu/dp_maddf.c
355
union ieee754dp y)
arch/mips/math-emu/dp_maddf.c
357
return _dp_maddf(z, x, y, MADDF_NEGATE_PRODUCT);
arch/mips/math-emu/dp_maddf.c
41
union ieee754dp y, enum maddf_flags flags)
arch/mips/math-emu/dp_maddf.c
86
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_maddf.c
92
return y;
arch/mips/math-emu/dp_mul.c
12
union ieee754dp ieee754dp_mul(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_mul.c
43
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_mul.c
57
return y;
arch/mips/math-emu/dp_simple.c
14
union ieee754dp y;
arch/mips/math-emu/dp_simple.c
17
y = x;
arch/mips/math-emu/dp_simple.c
18
DPSIGN(y) = !DPSIGN(x);
arch/mips/math-emu/dp_simple.c
24
y = ieee754dp_sub(ieee754dp_zero(0), x);
arch/mips/math-emu/dp_simple.c
27
return y;
arch/mips/math-emu/dp_simple.c
32
union ieee754dp y;
arch/mips/math-emu/dp_simple.c
35
y = x;
arch/mips/math-emu/dp_simple.c
36
DPSIGN(y) = 0;
arch/mips/math-emu/dp_simple.c
43
y = ieee754dp_sub(ieee754dp_zero(0), x);
arch/mips/math-emu/dp_simple.c
45
y = ieee754dp_add(ieee754dp_zero(0), x);
arch/mips/math-emu/dp_simple.c
48
return y;
arch/mips/math-emu/dp_sqrt.c
103
z = ieee754dp_mul(ieee754dp_sub(x, z), y);
arch/mips/math-emu/dp_sqrt.c
108
y = ieee754dp_add(y, t);
arch/mips/math-emu/dp_sqrt.c
117
t = ieee754dp_div(x, y);
arch/mips/math-emu/dp_sqrt.c
119
if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) {
arch/mips/math-emu/dp_sqrt.c
131
y.bits += 1;
arch/mips/math-emu/dp_sqrt.c
139
y = ieee754dp_add(y, t);
arch/mips/math-emu/dp_sqrt.c
146
y.bexp += scalx;
arch/mips/math-emu/dp_sqrt.c
151
return y;
arch/mips/math-emu/dp_sqrt.c
23
union ieee754dp y, z, t;
arch/mips/math-emu/dp_sqrt.c
82
y = x;
arch/mips/math-emu/dp_sqrt.c
85
yh = y.bits >> 32;
arch/mips/math-emu/dp_sqrt.c
88
y.bits = ((u64) yh << 32) | (y.bits & 0xffffffff);
arch/mips/math-emu/dp_sqrt.c
92
t = ieee754dp_div(x, y);
arch/mips/math-emu/dp_sqrt.c
93
y = ieee754dp_add(y, t);
arch/mips/math-emu/dp_sqrt.c
94
y.bits -= 0x0010000600000000LL;
arch/mips/math-emu/dp_sqrt.c
95
y.bits &= 0xffffffff00000000LL;
arch/mips/math-emu/dp_sqrt.c
99
t = ieee754dp_mul(y, y);
arch/mips/math-emu/dp_sub.c
12
union ieee754dp ieee754dp_sub(union ieee754dp x, union ieee754dp y)
arch/mips/math-emu/dp_sub.c
33
return ieee754dp_nanxcpt(y);
arch/mips/math-emu/dp_sub.c
47
return y;
arch/mips/math-emu/dp_sub.c
92
DPSIGN(y) ^= 1;
arch/mips/math-emu/dp_sub.c
93
return y;
arch/mips/math-emu/ieee754.h
106
int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cop, int sig);
arch/mips/math-emu/ieee754.h
111
union ieee754dp y);
arch/mips/math-emu/ieee754.h
113
union ieee754dp y);
arch/mips/math-emu/ieee754.h
115
union ieee754dp y);
arch/mips/math-emu/ieee754.h
117
union ieee754dp y);
arch/mips/math-emu/ieee754.h
119
union ieee754dp y);
arch/mips/math-emu/ieee754.h
121
union ieee754dp y);
arch/mips/math-emu/ieee754.h
123
union ieee754dp ieee754dp_fmin(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
124
union ieee754dp ieee754dp_fmina(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
125
union ieee754dp ieee754dp_fmax(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
126
union ieee754dp ieee754dp_fmaxa(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
50
union ieee754sp ieee754sp_add(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
51
union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
52
union ieee754sp ieee754sp_mul(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
53
union ieee754sp ieee754sp_div(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
63
int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cop, int sig);
arch/mips/math-emu/ieee754.h
68
union ieee754sp y);
arch/mips/math-emu/ieee754.h
70
union ieee754sp y);
arch/mips/math-emu/ieee754.h
72
union ieee754sp y);
arch/mips/math-emu/ieee754.h
74
union ieee754sp y);
arch/mips/math-emu/ieee754.h
76
union ieee754sp y);
arch/mips/math-emu/ieee754.h
78
union ieee754sp y);
arch/mips/math-emu/ieee754.h
80
union ieee754sp ieee754sp_fmin(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
81
union ieee754sp ieee754sp_fmina(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
82
union ieee754sp ieee754sp_fmax(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
83
union ieee754sp ieee754sp_fmaxa(union ieee754sp x, union ieee754sp y);
arch/mips/math-emu/ieee754.h
90
union ieee754dp ieee754dp_add(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
91
union ieee754dp ieee754dp_sub(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
92
union ieee754dp ieee754dp_mul(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754.h
93
union ieee754dp ieee754dp_div(union ieee754dp x, union ieee754dp y);
arch/mips/math-emu/ieee754dp.h
47
#define DPXMULT(x, y) ((u64)(x) * (u64)y)
arch/mips/math-emu/ieee754int.h
117
#define EXPLODEYDP EXPLODEDP(y, yc, ys, ye, ym)
arch/mips/math-emu/ieee754int.h
143
#define FLUSHYDP FLUSHDP(y, yc, ys, ye, ym)
arch/mips/math-emu/ieee754int.h
146
#define FLUSHYSP FLUSHSP(y, yc, ys, ye, ym)
arch/mips/math-emu/ieee754int.h
15
#define CLPAIR(x, y) ((x)*6+(y))
arch/mips/math-emu/ieee754int.h
79
#define EXPLODEYSP EXPLODESP(y, yc, ys, ye, ym)
arch/mips/math-emu/sp_add.c
12
union ieee754sp ieee754sp_add(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_add.c
33
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_add.c
47
return y;
arch/mips/math-emu/sp_add.c
69
return y;
arch/mips/math-emu/sp_add.c
91
return y;
arch/mips/math-emu/sp_cmp.c
12
int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cmp, int sig)
arch/mips/math-emu/sp_cmp.c
33
vy = y.bits;
arch/mips/math-emu/sp_div.c
12
union ieee754sp ieee754sp_div(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_div.c
35
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_div.c
49
return y;
arch/mips/math-emu/sp_fdp.c
21
union ieee754sp y;
arch/mips/math-emu/sp_fdp.c
39
y = ieee754sp_nan_fdp(xs, xm);
arch/mips/math-emu/sp_fdp.c
43
y = ieee754sp_indef();
arch/mips/math-emu/sp_fdp.c
45
return y;
arch/mips/math-emu/sp_fmax.c
112
return y;
arch/mips/math-emu/sp_fmax.c
122
return y;
arch/mips/math-emu/sp_fmax.c
126
return y;
arch/mips/math-emu/sp_fmax.c
135
return y;
arch/mips/math-emu/sp_fmax.c
141
return y;
arch/mips/math-emu/sp_fmax.c
144
union ieee754sp ieee754sp_fmaxa(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_fmax.c
163
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_fmax.c
18
union ieee754sp ieee754sp_fmax(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_fmax.c
197
return y;
arch/mips/math-emu/sp_fmax.c
217
return y;
arch/mips/math-emu/sp_fmax.c
242
return y;
arch/mips/math-emu/sp_fmax.c
246
return y;
arch/mips/math-emu/sp_fmax.c
251
return y;
arch/mips/math-emu/sp_fmax.c
37
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_fmax.c
71
return y;
arch/mips/math-emu/sp_fmax.c
81
return xs ? y : x;
arch/mips/math-emu/sp_fmax.c
89
return ys ? x : y;
arch/mips/math-emu/sp_fmin.c
114
return y;
arch/mips/math-emu/sp_fmin.c
120
return y;
arch/mips/math-emu/sp_fmin.c
128
return y;
arch/mips/math-emu/sp_fmin.c
136
return y;
arch/mips/math-emu/sp_fmin.c
140
return y;
arch/mips/math-emu/sp_fmin.c
144
union ieee754sp ieee754sp_fmina(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_fmin.c
163
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_fmin.c
18
union ieee754sp ieee754sp_fmin(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_fmin.c
197
return y;
arch/mips/math-emu/sp_fmin.c
210
return y;
arch/mips/math-emu/sp_fmin.c
240
return y;
arch/mips/math-emu/sp_fmin.c
248
return y;
arch/mips/math-emu/sp_fmin.c
251
return y;
arch/mips/math-emu/sp_fmin.c
37
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_fmin.c
71
return y;
arch/mips/math-emu/sp_fmin.c
81
return xs ? x : y;
arch/mips/math-emu/sp_fmin.c
89
return ys ? y : x;
arch/mips/math-emu/sp_maddf.c
16
union ieee754sp y, enum maddf_flags flags)
arch/mips/math-emu/sp_maddf.c
245
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
247
return _sp_maddf(z, x, y, 0);
arch/mips/math-emu/sp_maddf.c
251
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
253
return _sp_maddf(z, x, y, MADDF_NEGATE_PRODUCT);
arch/mips/math-emu/sp_maddf.c
257
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
259
return _sp_maddf(z, x, y, 0);
arch/mips/math-emu/sp_maddf.c
263
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
265
return _sp_maddf(z, x, y, MADDF_NEGATE_ADDITION);
arch/mips/math-emu/sp_maddf.c
269
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
271
return _sp_maddf(z, x, y, MADDF_NEGATE_PRODUCT|MADDF_NEGATE_ADDITION);
arch/mips/math-emu/sp_maddf.c
275
union ieee754sp y)
arch/mips/math-emu/sp_maddf.c
277
return _sp_maddf(z, x, y, MADDF_NEGATE_PRODUCT);
arch/mips/math-emu/sp_maddf.c
54
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_maddf.c
60
return y;
arch/mips/math-emu/sp_mul.c
12
union ieee754sp ieee754sp_mul(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_mul.c
43
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_mul.c
57
return y;
arch/mips/math-emu/sp_simple.c
14
union ieee754sp y;
arch/mips/math-emu/sp_simple.c
17
y = x;
arch/mips/math-emu/sp_simple.c
18
SPSIGN(y) = !SPSIGN(x);
arch/mips/math-emu/sp_simple.c
24
y = ieee754sp_sub(ieee754sp_zero(0), x);
arch/mips/math-emu/sp_simple.c
27
return y;
arch/mips/math-emu/sp_simple.c
32
union ieee754sp y;
arch/mips/math-emu/sp_simple.c
35
y = x;
arch/mips/math-emu/sp_simple.c
36
SPSIGN(y) = 0;
arch/mips/math-emu/sp_simple.c
43
y = ieee754sp_sub(ieee754sp_zero(0), x);
arch/mips/math-emu/sp_simple.c
45
y = ieee754sp_add(ieee754sp_zero(0), x);
arch/mips/math-emu/sp_simple.c
48
return y;
arch/mips/math-emu/sp_sub.c
12
union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y)
arch/mips/math-emu/sp_sub.c
33
return ieee754sp_nanxcpt(y);
arch/mips/math-emu/sp_sub.c
47
return y;
arch/mips/math-emu/sp_sub.c
92
SPSIGN(y) ^= 1;
arch/mips/math-emu/sp_sub.c
93
return y;
arch/mips/pci/pci-lantiq.c
56
#define ltq_pci_w32(x, y) ltq_w32((x), ltq_pci_membase + (y))
arch/mips/pci/pci-lantiq.c
59
#define ltq_pci_cfg_w32(x, y) ltq_w32((x), ltq_pci_mapped_cfg + (y))
arch/parisc/include/asm/io.h
195
#define outb(x, y) ({(void)(x); (void)(y); BUG(); 0;})
arch/parisc/include/asm/io.h
196
#define outw(x, y) ({(void)(x); (void)(y); BUG(); 0;})
arch/parisc/include/asm/io.h
197
#define outl(x, y) ({(void)(x); (void)(y); BUG(); 0;})
arch/parisc/include/asm/psw.h
67
unsigned int y:1;
arch/parisc/kernel/asm-offsets.c
39
#define align_frame(x,y) (((x)+FRAME_SIZE+(y)-1) - (((x)+(y)-1)%(y)))
arch/parisc/kernel/ptrace.c
83
pa_psw(task)->y = 0;
arch/powerpc/boot/types.h
28
#define min(x,y) ({ \
arch/powerpc/boot/types.h
30
typeof(y) _y = (y); \
arch/powerpc/boot/types.h
34
#define max(x,y) ({ \
arch/powerpc/boot/types.h
36
typeof(y) _y = (y); \
arch/powerpc/include/asm/book3s/64/mmu-hash.h
74
#define HPTE_V_COMPARE(x,y) (!(((x) ^ (y)) & 0xffffffffffffff80UL))
arch/powerpc/include/asm/inst.h
103
return ppc_inst_suffix(x) == ppc_inst_suffix(y);
arch/powerpc/include/asm/inst.h
62
#define ppc_inst_prefix(x, y) ((ppc_inst_t){ .val = (x), .suffix = (y) })
arch/powerpc/include/asm/inst.h
70
#define ppc_inst_prefix(x, y) ((void)y, ppc_inst(x))
arch/powerpc/include/asm/inst.h
97
static inline bool ppc_inst_equal(ppc_inst_t x, ppc_inst_t y)
arch/powerpc/include/asm/inst.h
99
if (ppc_inst_val(x) != ppc_inst_val(y))
arch/powerpc/include/asm/time.h
86
#define mulhwu(x,y) \
arch/powerpc/include/asm/time.h
87
({unsigned z; asm ("mulhwu %0,%1,%2" : "=r" (z) : "r" (x), "r" (y)); z;})
arch/powerpc/include/asm/time.h
90
#define mulhdu(x,y) \
arch/powerpc/include/asm/time.h
91
({unsigned long z; asm ("mulhdu %0,%1,%2" : "=r" (z) : "r" (x), "r" (y)); z;})
arch/powerpc/include/asm/time.h
93
#define mulhdu(x, y) mul_u64_u64_shr(x, y, 64)
arch/powerpc/include/asm/vga.h
52
#define vga_writeb(x,y) (*(y) = (x))
arch/powerpc/kernel/btext.c
251
static unsigned char * calc_base(int x, int y)
arch/powerpc/kernel/btext.c
259
base += (y + dispDeviceRect[1]) * dispDeviceRowBytes;
arch/powerpc/kernel/module_32.c
50
const Elf32_Rela *x, *y;
arch/powerpc/kernel/module_32.c
52
y = (Elf32_Rela *)_x;
arch/powerpc/kernel/module_32.c
59
if (x->r_info < y->r_info)
arch/powerpc/kernel/module_32.c
61
else if (x->r_info > y->r_info)
arch/powerpc/kernel/module_32.c
63
else if (x->r_addend < y->r_addend)
arch/powerpc/kernel/module_32.c
65
else if (x->r_addend > y->r_addend)
arch/powerpc/kernel/module_64.c
185
const Elf64_Rela *x, *y;
arch/powerpc/kernel/module_64.c
187
y = (Elf64_Rela *)_x;
arch/powerpc/kernel/module_64.c
194
if (x->r_info < y->r_info)
arch/powerpc/kernel/module_64.c
196
else if (x->r_info > y->r_info)
arch/powerpc/kernel/module_64.c
198
else if (x->r_addend < y->r_addend)
arch/powerpc/kernel/module_64.c
200
else if (x->r_addend > y->r_addend)
arch/powerpc/kernel/time.c
918
unsigned long w, x, y, z;
arch/powerpc/kernel/time.c
933
y = rb;
arch/powerpc/kernel/time.c
939
dr->result_low = ((u64)y << 32) + z;
arch/powerpc/kexec/ranges.c
130
const struct range *x = _x, *y = _y;
arch/powerpc/kexec/ranges.c
132
if (x->start > y->start)
arch/powerpc/kexec/ranges.c
134
if (x->start < y->start)
arch/powerpc/xmon/ppc-opc.c
2798
#define XLYLK(op, xop, y, lk) (XLLK ((op), (xop), (lk)) | ((((unsigned long)(y)) & 1) << 21))
arch/riscv/include/asm/insn.h
394
#define SHIFT_RIGHT(x, y) \
arch/riscv/include/asm/insn.h
395
((y) < 0 ? ((x) << -(y)) : ((x) >> (y)))
arch/riscv/include/asm/page.h
135
#define kernel_mapping_pa_to_va(y) ({ \
arch/riscv/include/asm/page.h
136
unsigned long _y = (unsigned long)(y); \
arch/riscv/include/asm/page.h
142
#define kernel_mapping_pa_to_va(y) ((void *)((unsigned long)(y) + kernel_map.va_kernel_pa_offset))
arch/riscv/include/asm/page.h
154
#define kernel_mapping_va_to_pa(y) ({ \
arch/riscv/include/asm/page.h
155
unsigned long _y = (unsigned long)(y); \
arch/riscv/include/asm/page.h
161
#define kernel_mapping_va_to_pa(y) ((unsigned long)(y) - kernel_map.va_kernel_pa_offset)
arch/riscv/kernel/module-sections.c
63
const Elf_Rela *x = a, *y = b;
arch/riscv/kernel/module-sections.c
67
i = cmp_3way(x->r_info, y->r_info);
arch/riscv/kernel/module-sections.c
69
i = cmp_3way(x->r_addend, y->r_addend);
arch/s390/crypto/hmac_s390.c
115
#define PARAM_INIT(x, y, z) \
arch/s390/crypto/hmac_s390.c
116
param.sha##x.h[0] = SHA##y ## _H0; \
arch/s390/crypto/hmac_s390.c
117
param.sha##x.h[1] = SHA##y ## _H1; \
arch/s390/crypto/hmac_s390.c
118
param.sha##x.h[2] = SHA##y ## _H2; \
arch/s390/crypto/hmac_s390.c
119
param.sha##x.h[3] = SHA##y ## _H3; \
arch/s390/crypto/hmac_s390.c
120
param.sha##x.h[4] = SHA##y ## _H4; \
arch/s390/crypto/hmac_s390.c
121
param.sha##x.h[5] = SHA##y ## _H5; \
arch/s390/crypto/hmac_s390.c
122
param.sha##x.h[6] = SHA##y ## _H6; \
arch/s390/crypto/hmac_s390.c
123
param.sha##x.h[7] = SHA##y ## _H7; \
arch/s390/crypto/phmac_s390.c
217
#define PARAM_INIT(x, y, z) \
arch/s390/crypto/phmac_s390.c
218
param.sha##x.h[0] = SHA##y ## _H0; \
arch/s390/crypto/phmac_s390.c
219
param.sha##x.h[1] = SHA##y ## _H1; \
arch/s390/crypto/phmac_s390.c
220
param.sha##x.h[2] = SHA##y ## _H2; \
arch/s390/crypto/phmac_s390.c
221
param.sha##x.h[3] = SHA##y ## _H3; \
arch/s390/crypto/phmac_s390.c
222
param.sha##x.h[4] = SHA##y ## _H4; \
arch/s390/crypto/phmac_s390.c
223
param.sha##x.h[5] = SHA##y ## _H5; \
arch/s390/crypto/phmac_s390.c
224
param.sha##x.h[6] = SHA##y ## _H6; \
arch/s390/crypto/phmac_s390.c
225
param.sha##x.h[7] = SHA##y ## _H7; \
arch/s390/kernel/crash_dump.c
28
#define PTR_ADD(x, y) (((char *) (x)) + ((unsigned long) (y)))
arch/s390/kernel/crash_dump.c
29
#define PTR_SUB(x, y) (((char *) (x)) - ((unsigned long) (y)))
arch/s390/kernel/crash_dump.c
30
#define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y))))
arch/s390/kvm/dat.c
260
init.s.y = old.s.fc1.y;
arch/s390/kvm/dat.c
970
return ptep->s.y;
arch/s390/kvm/dat.c
976
return crstep->h.fc && crstep->s.fc1.y;
arch/s390/kvm/dat.h
167
unsigned long y : 1; /* Young */
arch/s390/kvm/dat.h
190
unsigned long y : 1; /* Young */
arch/s390/kvm/dat.h
261
unsigned long y : 1; /* Young */
arch/s390/kvm/dat.h
398
res.s.y = 1;
arch/s390/kvm/dat.h
438
res.s.fc1.y = 1;
arch/s390/kvm/dat.h
81
unsigned long y : 1; /* Young */
arch/s390/kvm/gmap.c
290
if (!pte.s.pr || (!pte.s.y && pte.h.i))
arch/s390/kvm/gmap.c
297
new.s.y = 0;
arch/s390/kvm/gmap.c
321
if (!crste.s.fc1.y && crste.h.i)
arch/s390/kvm/gmap.c
328
new.s.fc1.y = 0;
arch/s390/kvm/gmap.c
541
newcrste.s.fc1.y = 1;
arch/s390/kvm/gmap.c
571
newpte.s.y = 1;
arch/sh/kernel/cpu/sh2a/fpu.c
127
static void mult64(unsigned long long x, unsigned long long y,
arch/sh/kernel/cpu/sh2a/fpu.c
133
sub0 = (x >> 32) * (unsigned long) (y >> 32);
arch/sh/kernel/cpu/sh2a/fpu.c
134
sub1 = (x & 0xffffffffLL) * (unsigned long) (y >> 32);
arch/sh/kernel/cpu/sh2a/fpu.c
135
sub2 = (x >> 32) * (unsigned long) (y & 0xffffffffLL);
arch/sh/kernel/cpu/sh2a/fpu.c
136
sub3 = (x & 0xffffffffLL) * (unsigned long) (y & 0xffffffffLL);
arch/sh/lib/div64-generic.c
11
uint32_t __div64_32(u64 *xp, u32 y)
arch/sh/lib/div64-generic.c
14
uint64_t q = __xdiv64_32(*xp, y);
arch/sh/lib/div64-generic.c
16
rem = *xp - q * y;
arch/sparc/include/asm/opcodes.h
7
#define F3F(x,y,z) (((x)<<30)|((y)<<19)|((z)<<5))
arch/sparc/include/asm/processor_32.h
64
regs->y = 0;
arch/sparc/include/asm/processor_64.h
143
regs->y = 0; \
arch/sparc/include/asm/processor_64.h
99
regs->y = 0; \
arch/sparc/include/asm/sigcontext.h
43
unsigned int y;
arch/sparc/include/asm/sigcontext.h
80
unsigned int y;
arch/sparc/include/asm/winmacro.h
52
wr %scratch, 0x0, %y;
arch/sparc/include/asm/winmacro.h
78
rd %y, %scratch; \
arch/sparc/include/uapi/asm/ptrace.h
108
unsigned long y;
arch/sparc/include/uapi/asm/ptrace.h
27
unsigned int y;
arch/sparc/include/uapi/asm/ptrace.h
47
unsigned int y;
arch/sparc/kernel/btext.c
85
static unsigned char * calc_base(int x, int y)
arch/sparc/kernel/btext.c
90
base += (y + dispDeviceRect[1]) * dispDeviceRowBytes;
arch/sparc/kernel/kgdb_32.c
101
regs->y = gdb_regs[GDB_Y];
arch/sparc/kernel/kgdb_32.c
37
gdb_regs[GDB_Y] = regs->y;
arch/sparc/kernel/kgdb_64.c
107
regs->y = gdb_regs[GDB_Y];
arch/sparc/kernel/kgdb_64.c
42
gdb_regs[GDB_Y] = regs->y;
arch/sparc/kernel/pci_schizo.c
1397
static inline int portid_compare(u32 x, u32 y, int chip_type)
arch/sparc/kernel/pci_schizo.c
1400
if (x == (y ^ 1))
arch/sparc/kernel/pci_schizo.c
1404
return (x == y);
arch/sparc/kernel/process_32.c
123
r->psr, r->pc, r->npc, r->y, print_tainted());
arch/sparc/kernel/process_64.c
169
regs->tpc, regs->tnpc, regs->y, print_tainted());
arch/sparc/kernel/ptrace_32.c
102
membuf_store(&to, regs->y);
arch/sparc/kernel/ptrace_32.c
157
®s->y,
arch/sparc/kernel/ptrace_32.c
256
membuf_store(&to, regs->y);
arch/sparc/kernel/ptrace_32.c
281
regs->y = v[3];
arch/sparc/kernel/ptrace_64.c
264
return membuf_store(&to, (u64)regs->y);
arch/sparc/kernel/ptrace_64.c
324
unsigned long y = regs->y;
arch/sparc/kernel/ptrace_64.c
327
&y,
arch/sparc/kernel/ptrace_64.c
331
regs->y = y;
arch/sparc/kernel/ptrace_64.c
454
return membuf_store(&to, (u64)regs->y);
arch/sparc/kernel/ptrace_64.c
463
unsigned long y = regs->y;
arch/sparc/kernel/ptrace_64.c
501
&y,
arch/sparc/kernel/ptrace_64.c
505
regs->y = y;
arch/sparc/kernel/ptrace_64.c
554
membuf_store(&to, (u32)(regs->y));
arch/sparc/kernel/ptrace_64.c
655
regs->y = reg;
arch/sparc/kernel/ptrace_64.c
789
membuf_store(&to, (u32)(regs->y));
arch/sparc/kernel/ptrace_64.c
822
regs->y = uregs[3];
arch/sparc/kernel/signal32.c
127
err = __get_user(regs->y, &sf->info.si_regs.y);
arch/sparc/kernel/signal32.c
215
err = __get_user(regs->y, &sf->regs.y);
arch/sparc/kernel/signal32.c
395
err |= __put_user(regs->y, &sf->info.si_regs.y);
arch/sparc/kernel/signal32.c
529
err |= __put_user(regs->y, &sf->regs.y);
arch/sparc/kernel/signal_32.c
165
err |= __get_user(regs->y, &sf->regs.y);
arch/sparc/kernel/signal_32.c
346
err |= __put_user(regs->y, &sf->regs.y);
arch/sparc/kernel/signal_64.c
183
err |= __put_user(regs->y, &((*grp)[MC_Y]));
arch/sparc/kernel/signal_64.c
290
err |= __get_user(regs->y, &sf->regs.y);
arch/sparc/kernel/signal_64.c
80
err |= __get_user(regs->y, &((*grp)[MC_Y]));
arch/sparc/mm/init_64.c
100
const struct linux_prom64_registers *x = a, *y = b;
arch/sparc/mm/init_64.c
102
if (x->phys_addr > y->phys_addr)
arch/sparc/mm/init_64.c
104
if (x->phys_addr < y->phys_addr)
arch/sparc/mm/init_64.c
582
const struct linux_prom_translation *x = a, *y = b;
arch/sparc/mm/init_64.c
584
if (x->virt > y->virt)
arch/sparc/mm/init_64.c
586
if (x->virt < y->virt)
arch/sparc/prom/memory.c
52
const struct sparc_phys_banks *x = a, *y = b;
arch/sparc/prom/memory.c
54
if (x->base_addr > y->base_addr)
arch/sparc/prom/memory.c
56
if (x->base_addr < y->base_addr)
arch/x86/boot/compressed/misc.c
120
int x, y, pos;
arch/x86/boot/compressed/misc.c
136
y = boot_params_ptr->screen_info.orig_y;
arch/x86/boot/compressed/misc.c
141
if (++y >= lines) {
arch/x86/boot/compressed/misc.c
143
y--;
arch/x86/boot/compressed/misc.c
146
vidmem[(x + cols * y) * 2] = c;
arch/x86/boot/compressed/misc.c
149
if (++y >= lines) {
arch/x86/boot/compressed/misc.c
151
y--;
arch/x86/boot/compressed/misc.c
158
boot_params_ptr->screen_info.orig_y = y;
arch/x86/boot/compressed/misc.c
160
pos = (x + cols * y) * 2; /* Update cursor position */
arch/x86/boot/video-bios.c
109
mi->y = rdfs8(0x484)+1;
arch/x86/boot/video-mode.c
104
mix.x = mix.y = 0;
arch/x86/boot/video-mode.c
84
int visible = mi->x || mi->y;
arch/x86/boot/video-mode.c
88
mode == (mi->y << 8)+mi->x) {
arch/x86/boot/video-vesa.c
147
force_y = mode->y;
arch/x86/boot/video-vesa.c
80
mi->y = vminfo.v_res;
arch/x86/boot/video-vesa.c
95
mi->y = vminfo.v_res;
arch/x86/boot/video-vga.c
198
force_y = mode->y;
arch/x86/boot/video.c
165
int visible = mi->x && mi->y;
arch/x86/boot/video.c
167
(mi->y << 8)+mi->x;
arch/x86/boot/video.c
173
sprintf(resbuf, "%dx%d", mi->y, mi->depth);
arch/x86/boot/video.c
175
sprintf(resbuf, "%d", mi->y);
arch/x86/boot/video.c
234
int x, y;
arch/x86/boot/video.c
243
saved.y = boot_params.screen_info.orig_video_lines;
arch/x86/boot/video.c
247
if (!heap_free(saved.x*saved.y*sizeof(u16)+512))
arch/x86/boot/video.c
250
saved.data = GET_HEAP(u16, saved.x*saved.y);
arch/x86/boot/video.c
253
copy_from_fs(saved.data, 0, saved.x*saved.y*sizeof(u16));
arch/x86/boot/video.c
261
int y;
arch/x86/boot/video.c
275
for (y = 0; y < ys; y++) {
arch/x86/boot/video.c
278
if (y < saved.y) {
arch/x86/boot/video.c
64
int x, y;
arch/x86/boot/video.c
87
y = (adapter == ADAPTER_CGA) ? 25 : rdfs8(0x484)+1;
arch/x86/boot/video.c
92
y = force_y;
arch/x86/boot/video.c
95
boot_params.screen_info.orig_video_lines = y;
arch/x86/boot/video.h
66
u16 x, y; /* Width, height */
arch/x86/crypto/camellia_glue.c
780
#define CAMELLIA_F(x, kl, kr, y) ({ \
arch/x86/crypto/camellia_glue.c
782
y = camellia_sp11101110[(uint8_t)ii]; \
arch/x86/crypto/camellia_glue.c
783
y ^= camellia_sp44044404[(uint8_t)(ii >> 8)]; \
arch/x86/crypto/camellia_glue.c
785
y ^= camellia_sp30333033[(uint8_t)ii]; \
arch/x86/crypto/camellia_glue.c
786
y ^= camellia_sp02220222[(uint8_t)(ii >> 8)]; \
arch/x86/crypto/camellia_glue.c
788
y ^= camellia_sp00444404[(uint8_t)ii]; \
arch/x86/crypto/camellia_glue.c
789
y ^= camellia_sp03303033[(uint8_t)(ii >> 8)]; \
arch/x86/crypto/camellia_glue.c
791
y ^= camellia_sp22000222[(uint8_t)ii]; \
arch/x86/crypto/camellia_glue.c
792
y ^= camellia_sp10011110[(uint8_t)(ii >> 8)]; \
arch/x86/crypto/camellia_glue.c
793
y = ror64(y, 32); \
arch/x86/events/intel/pt.c
1427
#define clamp_to_ge_canonical_addr(x, y) (x)
arch/x86/events/intel/pt.c
1428
#define clamp_to_le_canonical_addr(x, y) (x)
arch/x86/include/asm/apicdef.h
117
#define SET_APIC_DELIVERY_MODE(x, y) (((x) & ~0x700) | ((y) << 8))
arch/x86/include/asm/i8259.h
10
#define __byte(x, y) (((unsigned char *)&(y))[x])
arch/x86/include/asm/kmsan.h
66
unsigned long y = x - __START_KERNEL_map;
arch/x86/include/asm/kmsan.h
70
if (unlikely(x > y)) {
arch/x86/include/asm/kmsan.h
71
x = y + phys_base;
arch/x86/include/asm/kmsan.h
73
if (y >= KERNEL_IMAGE_SIZE)
arch/x86/include/asm/kmsan.h
76
x = y + (__START_KERNEL_map - PAGE_OFFSET);
arch/x86/include/asm/kmsan.h
79
if ((x > y) || !kmsan_phys_addr_valid(x))
arch/x86/include/asm/mce.h
140
#define MSR_AMD64_SMCA_MCx_MISCy(x, y) ((MSR_AMD64_SMCA_MC0_MISC1 + y) + (0x10*(x)))
arch/x86/include/asm/page_64.h
25
unsigned long y = x - __START_KERNEL_map;
arch/x86/include/asm/page_64.h
28
x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET));
arch/x86/include/asm/page_64.h
41
unsigned long y = x - __START_KERNEL_map;
arch/x86/include/asm/page_64.h
44
VIRTUAL_BUG_ON(y >= KERNEL_IMAGE_SIZE);
arch/x86/include/asm/page_64.h
46
return y + phys_base;
arch/x86/include/asm/svm.h
557
#define BUILD_BUG_RESERVED_OFFSET(x, y) \
arch/x86/include/asm/svm.h
558
ASSERT_STRUCT_OFFSET(struct x, reserved ## _ ## y, y)
arch/x86/include/asm/vdso/sys_call.h
16
# define __sys_nr(x,y) __NR_ ## x
arch/x86/include/asm/vdso/sys_call.h
27
# define __sys_nr(x,y) __NR_ ## x ## y
arch/x86/include/asm/vga.h
31
#define vga_writeb(x, y) (*(y) = (x))
arch/x86/include/asm/xor.h
40
#define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n"
arch/x86/include/asm/xor.h
41
#define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n"
arch/x86/include/asm/xor.h
46
#define XO1(x, y) " xorps "OFFS(x)"(%[p2]), %%xmm"#y" ;\n"
arch/x86/include/asm/xor.h
47
#define XO2(x, y) " xorps "OFFS(x)"(%[p3]), %%xmm"#y" ;\n"
arch/x86/include/asm/xor.h
48
#define XO3(x, y) " xorps "OFFS(x)"(%[p4]), %%xmm"#y" ;\n"
arch/x86/include/asm/xor.h
49
#define XO4(x, y) " xorps "OFFS(x)"(%[p5]), %%xmm"#y" ;\n"
arch/x86/include/asm/xor_32.h
14
#define LD(x, y) " movq 8*("#x")(%1), %%mm"#y" ;\n"
arch/x86/include/asm/xor_32.h
15
#define ST(x, y) " movq %%mm"#y", 8*("#x")(%1) ;\n"
arch/x86/include/asm/xor_32.h
16
#define XO1(x, y) " pxor 8*("#x")(%2), %%mm"#y" ;\n"
arch/x86/include/asm/xor_32.h
17
#define XO2(x, y) " pxor 8*("#x")(%3), %%mm"#y" ;\n"
arch/x86/include/asm/xor_32.h
18
#define XO3(x, y) " pxor 8*("#x")(%4), %%mm"#y" ;\n"
arch/x86/include/asm/xor_32.h
19
#define XO4(x, y) " pxor 8*("#x")(%5), %%mm"#y" ;\n"
arch/x86/kernel/cpu/mce/severity.c
65
#define MCGMASK(x, y) .mcgmask = x, .mcgres = y
arch/x86/kernel/cpu/mce/severity.c
66
#define MASK(x, y) .mask = x, .result = y
arch/x86/kernel/fpu/bugs.c
15
static double __initdata y = 3145727.0;
arch/x86/kernel/fpu/bugs.c
54
: "m" (*&x), "m" (*&y));
arch/x86/kernel/smpboot.c
619
int x, y;
arch/x86/kernel/smpboot.c
642
y = j - (j % u);
arch/x86/kernel/smpboot.c
645
for (j = y; j < y + u; j++) {
arch/x86/kvm/i8254.c
44
#define mod_64(x, y) ((x) - (y) * div64_u64(x, y))
arch/x86/kvm/i8254.c
46
#define mod_64(x, y) ((x) % (y))
arch/x86/kvm/lapic.c
51
#define mod_64(x, y) ((x) - (y) * div64_u64(x, y))
arch/x86/kvm/lapic.c
53
#define mod_64(x, y) ((x) % (y))
arch/x86/kvm/vmx/nested.c
5716
#define SHADOW_FIELD_RW(x, y) case x:
arch/x86/kvm/vmx/nested.c
5728
#define SHADOW_FIELD_RO(x, y) case x:
arch/x86/kvm/vmx/nested.c
59
#define SHADOW_FIELD_RO(x, y) { x, offsetof(struct vmcs12, y) },
arch/x86/kvm/vmx/nested.c
66
#define SHADOW_FIELD_RW(x, y) { x, offsetof(struct vmcs12, y) },
arch/x86/kvm/vmx/vmcs_shadow_fields.h
6
#define SHADOW_FIELD_RO(x, y)
arch/x86/kvm/vmx/vmcs_shadow_fields.h
9
#define SHADOW_FIELD_RW(x, y)
arch/x86/math-emu/fpu_emu.h
170
static inline void reg_copy(FPU_REG const *x, FPU_REG *y)
arch/x86/math-emu/fpu_emu.h
172
*(short *)&(y->exp) = *(const short *)&(x->exp);
arch/x86/math-emu/fpu_emu.h
173
*(long long *)&(y->sigl) = *(const long long *)&(x->sigl);
arch/x86/math-emu/fpu_emu.h
177
#define setexponentpos(x,y) { (*(short *)&((x)->exp)) = \
arch/x86/math-emu/fpu_emu.h
178
((y) + EXTENDED_Ebias) & 0x7fff; }
arch/x86/math-emu/fpu_emu.h
180
#define setexponent16(x,y) { (*(short *)&((x)->exp)) = (u16)(y); }
arch/x86/math-emu/fpu_emu.h
181
#define addexponent(x,y) { (*(short *)&((x)->exp)) += (y); }
arch/x86/math-emu/fpu_emu.h
208
asmlinkage unsigned long FPU_div_small(unsigned long long *x, unsigned long y);
arch/x86/math-emu/fpu_system.h
107
#define FPU_access_ok(y,z) if ( !access_ok(y,z) ) \
arch/x86/math-emu/fpu_system.h
127
#define FPU_get_user(x,y) do { if (get_user((x),(y))) FPU_abort; } while (0)
arch/x86/math-emu/fpu_system.h
128
#define FPU_put_user(x,y) do { if (put_user((x),(y))) FPU_abort; } while (0)
arch/x86/math-emu/fpu_trig.c
21
static void rem_kernel(unsigned long long st0, unsigned long long *y,
arch/x86/math-emu/fpu_trig.c
751
static void rem_kernel(unsigned long long st0, unsigned long long *y,
arch/x86/math-emu/fpu_trig.c
778
*y = x;
arch/x86/math-emu/reg_add_sub.c
103
FPU_REG x, y;
arch/x86/math-emu/reg_add_sub.c
109
FPU_to_exp16(b, &y);
arch/x86/math-emu/reg_add_sub.c
111
b = &y;
arch/x86/math-emu/reg_add_sub.c
234
FPU_REG x, y;
arch/x86/math-emu/reg_add_sub.c
240
FPU_to_exp16(b, &y);
arch/x86/math-emu/reg_add_sub.c
242
b = &y;
arch/x86/math-emu/reg_compare.c
124
FPU_to_exp16(b, &y);
arch/x86/math-emu/reg_compare.c
126
b = &y;
arch/x86/math-emu/reg_compare.c
29
FPU_REG x, y;
arch/x86/math-emu/reg_divide.c
102
FPU_to_exp16(b, &y);
arch/x86/math-emu/reg_divide.c
103
tag = FPU_u_div(&x, &y, dest, control_w, sign);
arch/x86/math-emu/reg_divide.c
30
FPU_REG x, y;
arch/x86/math-emu/reg_divide.c
78
reg_copy(b, &y);
arch/x86/math-emu/reg_divide.c
80
setpositive(&y);
arch/x86/math-emu/reg_divide.c
81
tag = FPU_u_div(&x, &y, dest, control_w, sign);
arch/x86/math-emu/reg_mul.c
61
FPU_REG x, y;
arch/x86/math-emu/reg_mul.c
66
FPU_to_exp16(b, &y);
arch/x86/math-emu/reg_mul.c
67
tag = FPU_u_mul(&x, &y, dest, control_w, sign,
arch/x86/math-emu/reg_mul.c
68
exponent16(&x) + exponent16(&y));
arch/x86/mm/physaddr.c
17
unsigned long y = x - __START_KERNEL_map;
arch/x86/mm/physaddr.c
20
if (unlikely(x > y)) {
arch/x86/mm/physaddr.c
21
x = y + phys_base;
arch/x86/mm/physaddr.c
23
VIRTUAL_BUG_ON(y >= KERNEL_IMAGE_SIZE);
arch/x86/mm/physaddr.c
25
x = y + (__START_KERNEL_map - PAGE_OFFSET);
arch/x86/mm/physaddr.c
28
VIRTUAL_BUG_ON((x > y) || !phys_addr_valid(x));
arch/x86/mm/physaddr.c
38
unsigned long y = x - __START_KERNEL_map;
arch/x86/mm/physaddr.c
41
if (unlikely(x > y)) {
arch/x86/mm/physaddr.c
42
x = y + phys_base;
arch/x86/mm/physaddr.c
44
if (y >= KERNEL_IMAGE_SIZE)
arch/x86/mm/physaddr.c
47
x = y + (__START_KERNEL_map - PAGE_OFFSET);
arch/x86/mm/physaddr.c
50
if ((x > y) || !phys_addr_valid(x))
arch/xtensa/include/asm/coprocessor.h
101
#define XCHAL_SA_REG(list,cc,abi,type,y,name,z,align,size,...) \
crypto/adiantum.c
176
u64 y = le64_to_cpu(v2->b);
crypto/adiantum.c
178
r->b = cpu_to_le64(x + y);
crypto/adiantum.c
180
(x + y < x));
crypto/adiantum.c
187
u64 y = le64_to_cpu(v2->b);
crypto/adiantum.c
189
r->b = cpu_to_le64(x - y);
crypto/adiantum.c
191
(x - y > x));
crypto/dh.c
107
static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y)
crypto/dh.c
126
if (mpi_cmp_ui(y, 1) < 1 || mpi_cmp(y, ctx->p) >= 0)
crypto/dh.c
149
mpi_powm(val, y, q, ctx->p);
crypto/ecc.c
110
p->y = kmalloc(ndigits_sz, GFP_KERNEL);
crypto/ecc.c
111
if (!p->y)
crypto/ecc.c
1111
vli_is_zero(point->y, point->ndigits));
crypto/ecc.c
132
kfree_sensitive(p->y);
crypto/ecc.c
1344
vli_set(ry[1], point->y, ndigits);
crypto/ecc.c
1369
vli_mod_mult_fast(z, z, point->y, curve);
crypto/ecc.c
1379
vli_set(result->y, ry[0], ndigits);
crypto/ecc.c
1393
vli_set(result->y, q->y, ndigits);
crypto/ecc.c
1396
vli_set(py, p->y, ndigits);
crypto/ecc.c
1397
xycz_add(px, py, result->x, result->y, curve);
crypto/ecc.c
1399
apply_z(result->x, result->y, z, curve);
crypto/ecc.c
1413
u64 *ry = result->y;
crypto/ecc.c
1435
vli_set(ry, point->y, ndigits);
crypto/ecc.c
1450
vli_set(ty, point->y, ndigits);
crypto/ecc.c
1584
ecc_swap_digits(pk->y, &public_key[ndigits], ndigits);
crypto/ecc.c
1609
if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1)
crypto/ecc.c
1613
vli_mod_square_fast(yy, pk->y, curve); /* y^2 */
crypto/ecc.c
1679
ecc_swap_digits(&public_key[ndigits], pk->y, ndigits);
crypto/ecc_curve_defs.h
128
.y = nist_p521_g_y,
crypto/ecc_curve_defs.h
23
.y = nist_p192_g_y,
crypto/ecc_curve_defs.h
50
.y = nist_p256_g_y,
crypto/ecc_curve_defs.h
83
.y = nist_p384_g_y,
crypto/ecdsa.c
113
ctx->pub_key = ECC_POINT_INIT(ctx->x, ctx->y,
crypto/ecdsa.c
150
ecc_digits_from_bytes(&d[digitlen], digitlen, ctx->pub_key.y, ndigits);
crypto/ecdsa.c
19
u64 y[ECC_MAX_DIGITS];
crypto/ecrdsa.c
235
vli_from_le64(ctx->pub_key.y, ctx->key + ndigits * sizeof(u64),
crypto/ecrdsa_defs.h
125
.y = cp256c_g_y,
crypto/ecrdsa_defs.h
175
.y = tc512a_g_y,
crypto/ecrdsa_defs.h
221
.y = tc512b_g_y,
crypto/ecrdsa_defs.h
53
.y = cp256a_g_y,
crypto/ecrdsa_defs.h
87
.y = cp256b_g_y,
crypto/md4.c
48
static inline u32 F(u32 x, u32 y, u32 z)
crypto/md4.c
50
return (x & y) | ((~x) & z);
crypto/md4.c
53
static inline u32 G(u32 x, u32 y, u32 z)
crypto/md4.c
55
return (x & y) | (x & z) | (y & z);
crypto/md4.c
58
static inline u32 H(u32 x, u32 y, u32 z)
crypto/md4.c
60
return x ^ y ^ z;
crypto/rmd160.c
33
#define F1(x, y, z) (x ^ y ^ z) /* XOR */
crypto/rmd160.c
34
#define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */
crypto/rmd160.c
35
#define F3(x, y, z) ((x | ~y) ^ z)
crypto/rmd160.c
36
#define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */
crypto/rmd160.c
37
#define F5(x, y, z) (x ^ (y | ~z))
crypto/streebog_generic.c
853
const struct streebog_uint512 *y,
crypto/streebog_generic.c
856
z->qword[0] = x->qword[0] ^ y->qword[0];
crypto/streebog_generic.c
857
z->qword[1] = x->qword[1] ^ y->qword[1];
crypto/streebog_generic.c
858
z->qword[2] = x->qword[2] ^ y->qword[2];
crypto/streebog_generic.c
859
z->qword[3] = x->qword[3] ^ y->qword[3];
crypto/streebog_generic.c
860
z->qword[4] = x->qword[4] ^ y->qword[4];
crypto/streebog_generic.c
861
z->qword[5] = x->qword[5] ^ y->qword[5];
crypto/streebog_generic.c
862
z->qword[6] = x->qword[6] ^ y->qword[6];
crypto/streebog_generic.c
863
z->qword[7] = x->qword[7] ^ y->qword[7];
crypto/streebog_generic.c
867
const struct streebog_uint512 *y,
crypto/streebog_generic.c
873
r0 = le64_to_cpu(x->qword[0] ^ y->qword[0]);
crypto/streebog_generic.c
874
r1 = le64_to_cpu(x->qword[1] ^ y->qword[1]);
crypto/streebog_generic.c
875
r2 = le64_to_cpu(x->qword[2] ^ y->qword[2]);
crypto/streebog_generic.c
876
r3 = le64_to_cpu(x->qword[3] ^ y->qword[3]);
crypto/streebog_generic.c
877
r4 = le64_to_cpu(x->qword[4] ^ y->qword[4]);
crypto/streebog_generic.c
878
r5 = le64_to_cpu(x->qword[5] ^ y->qword[5]);
crypto/streebog_generic.c
879
r6 = le64_to_cpu(x->qword[6] ^ y->qword[6]);
crypto/streebog_generic.c
880
r7 = le64_to_cpu(x->qword[7] ^ y->qword[7]);
crypto/streebog_generic.c
924
const struct streebog_uint512 *y,
crypto/streebog_generic.c
934
sum = left + le64_to_cpu(y->qword[i]) + carry;
crypto/tea.c
101
z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3);
crypto/tea.c
102
y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1);
crypto/tea.c
106
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
126
u32 y, z, sum = 0;
crypto/tea.c
130
y = get_unaligned_le32(&src[0]);
crypto/tea.c
134
y += ((z << 4 ^ z >> 5) + z) ^ (sum + ctx->KEY[sum&3]);
crypto/tea.c
136
z += ((y << 4 ^ y >> 5) + y) ^ (sum + ctx->KEY[sum>>11 &3]);
crypto/tea.c
139
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
145
u32 y, z, sum;
crypto/tea.c
148
y = get_unaligned_le32(&src[0]);
crypto/tea.c
154
z -= ((y << 4 ^ y >> 5) + y) ^ (sum + ctx->KEY[sum>>11 & 3]);
crypto/tea.c
156
y -= ((z << 4 ^ z >> 5) + z) ^ (sum + ctx->KEY[sum & 3]);
crypto/tea.c
159
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
166
u32 y, z, sum = 0;
crypto/tea.c
170
y = get_unaligned_le32(&src[0]);
crypto/tea.c
174
y += (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum&3];
crypto/tea.c
176
z += (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 &3];
crypto/tea.c
179
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
185
u32 y, z, sum;
crypto/tea.c
188
y = get_unaligned_le32(&src[0]);
crypto/tea.c
194
z -= (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 & 3];
crypto/tea.c
196
y -= (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum & 3];
crypto/tea.c
199
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
58
u32 y, z, n, sum = 0;
crypto/tea.c
62
y = get_unaligned_le32(&src[0]);
crypto/tea.c
74
y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1);
crypto/tea.c
75
z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3);
crypto/tea.c
78
put_unaligned_le32(y, &dst[0]);
crypto/tea.c
84
u32 y, z, n, sum;
crypto/tea.c
88
y = get_unaligned_le32(&src[0]);
crypto/twofish_common.c
468
#define CALC_S(a, b, c, d, i, w, x, y, z) \
crypto/twofish_common.c
473
(c) ^= exp_to_poly[tmp + (y)]; \
crypto/twofish_common.c
537
y = CALC_K_2 (m, n, m, n, 4); \
crypto/twofish_common.c
538
y = rol32(y, 8); \
crypto/twofish_common.c
539
x += y; y += x; ctx->a[j] = x; \
crypto/twofish_common.c
540
ctx->a[(j) + 1] = rol32(y, 9)
crypto/twofish_common.c
550
y = CALC_K192_2 (n, n, m, m, 4); \
crypto/twofish_common.c
551
y = rol32(y, 8); \
crypto/twofish_common.c
552
x += y; y += x; ctx->a[j] = x; \
crypto/twofish_common.c
553
ctx->a[(j) + 1] = rol32(y, 9)
crypto/twofish_common.c
563
y = CALC_K256_2 (m, n, 4); \
crypto/twofish_common.c
564
y = rol32(y, 8); \
crypto/twofish_common.c
565
x += y; y += x; ctx->a[j] = x; \
crypto/twofish_common.c
566
ctx->a[(j) + 1] = rol32(y, 9)
crypto/twofish_common.c
575
u32 x, y;
crypto/twofish_generic.c
103
u32 x, y;
crypto/twofish_generic.c
138
u32 x, y;
crypto/twofish_generic.c
54
x = G1 (a); y = G2 (b); \
crypto/twofish_generic.c
55
x += y; y += x + ctx->k[2 * (n) + 1]; \
crypto/twofish_generic.c
58
(d) = rol32((d), 1) ^ y
crypto/twofish_generic.c
61
x = G1 (a); y = G2 (b); \
crypto/twofish_generic.c
62
x += y; y += x; \
crypto/twofish_generic.c
63
(d) ^= y + ctx->k[2 * (n) + 1]; \
drivers/accel/ethosu/ethosu_gem.c
183
u32 x, u32 y, u32 c)
drivers/accel/ethosu/ethosu_gem.c
198
if (y >= fm->height[tile] + 1) {
drivers/accel/ethosu/ethosu_gem.c
199
y -= fm->height[tile] + 1;
drivers/accel/ethosu/ethosu_gem.c
204
if (y >= fm->height[1] + 1) {
drivers/accel/ethosu/ethosu_gem.c
205
y -= fm->height[1] + 1;
drivers/accel/ethosu/ethosu_gem.c
207
} else if (y >= fm->height[0] + 1) {
drivers/accel/ethosu/ethosu_gem.c
208
y -= fm->height[0] + 1;
drivers/accel/ethosu/ethosu_gem.c
216
addr = fm->base[tile] + y * fm->stride_y;
drivers/accel/habanalabs/gaudi2/gaudi2.c
151
#define RAZWI_INITIATOR_ID_X_Y_LOW(x, y) \
drivers/accel/habanalabs/gaudi2/gaudi2.c
152
((((y) & RAZWI_INITIATOR_AXUER_L_Y_MASK) << RAZWI_INITIATOR_AXUER_L_Y_SHIFT) | \
drivers/accel/habanalabs/gaudi2/gaudi2P.h
219
#define RTR_ID_X_Y(x, y) \
drivers/accel/habanalabs/gaudi2/gaudi2P.h
220
((((y) & RAZWI_INITIATOR_Y_MASK) << RAZWI_INITIATOR_Y_SHIFT) | \
drivers/accel/habanalabs/include/gaudi/gaudi_masks.h
366
#define RAZWI_INITIATOR_ID_X_Y(x, y) \
drivers/accel/habanalabs/include/gaudi/gaudi_masks.h
367
((((y) & RAZWI_INITIATOR_Y_MASK) << RAZWI_INITIATOR_Y_SHIFT) | \
drivers/accessibility/braille/braille_console.c
112
vc_y = vc->state.y;
drivers/accessibility/braille/braille_console.c
114
lastvc_y = vc->state.y;
drivers/accessibility/braille/braille_console.c
120
if (vc->state.x != lastvc_x || vc->state.y != lastvc_y)
drivers/accessibility/speakup/main.c
1562
old_cursor_y = vc->state.y;
drivers/accessibility/speakup/main.c
1563
speakup_console[vc->vc_num]->ht.cy = vc->state.y;
drivers/accessibility/speakup/main.c
1585
speakup_console[vc_num]->ht.ry[bi] = vc->state.y;
drivers/accessibility/speakup/main.c
1674
d = vc->state.y - speakup_console[vc_num]->ht.cy;
drivers/accessibility/speakup/main.c
1676
if (speakup_console[vc_num]->ht.ry[hc] != vc->state.y)
drivers/accessibility/speakup/main.c
1704
vc->state.y >= win_top && vc->state.y <= win_bottom) {
drivers/accessibility/speakup/main.c
1781
vc->state.y >= win_top && vc->state.y <= win_bottom) {
drivers/accessibility/speakup/main.c
267
spk_y = spk_cy = vc->state.y;
drivers/ata/pata_cs5536.c
38
#define rdmsr(x, y, z) do { } while (0)
drivers/ata/pata_cs5536.c
39
#define wrmsr(x, y, z) do { } while (0)
drivers/ata/pata_parport/on26.c
134
int i, m, d, x = 0, y = 0;
drivers/ata/pata_parport/on26.c
168
y = on26_read_regr(pi, 0, 7);
drivers/ata/pata_parport/on26.c
169
if (!((x & 0x80) || (y & 0x80)))
drivers/ata/pata_parport/on26.c
176
"on26: Device reset failed (%x,%x)\n", x, y);
drivers/auxdisplay/charlcd.c
110
lcd->addr.y = 0;
drivers/auxdisplay/charlcd.c
127
lcd->ops->gotoxy(lcd, lcd->addr.x - 1, lcd->addr.y);
drivers/auxdisplay/charlcd.c
134
lcd->addr.y = 0;
drivers/auxdisplay/charlcd.c
157
static bool parse_xy(const char *s, unsigned long *x, unsigned long *y)
drivers/auxdisplay/charlcd.c
160
unsigned long new_y = *y;
drivers/auxdisplay/charlcd.c
186
*y = new_y;
drivers/auxdisplay/charlcd.c
326
ys = lcd->addr.y;
drivers/auxdisplay/charlcd.c
332
lcd->addr.y = ys;
drivers/auxdisplay/charlcd.c
333
lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y);
drivers/auxdisplay/charlcd.c
356
if (parse_xy(esc, &lcd->addr.x, &lcd->addr.y))
drivers/auxdisplay/charlcd.c
357
lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y);
drivers/auxdisplay/charlcd.c
414
lcd->addr.y = (lcd->addr.y + 1) % lcd->height;
drivers/auxdisplay/charlcd.c
415
lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y);
drivers/auxdisplay/charlcd.c
420
lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y);
drivers/auxdisplay/charlcd.c
510
priv->lcd.addr.y = 0;
drivers/auxdisplay/charlcd.h
51
unsigned long y;
drivers/auxdisplay/charlcd.h
83
int (*gotoxy)(struct charlcd *lcd, unsigned int x, unsigned int y);
drivers/auxdisplay/hd44780_common.c
350
lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y);
drivers/auxdisplay/hd44780_common.c
53
int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y)
drivers/auxdisplay/hd44780_common.c
63
if (y & 1)
drivers/auxdisplay/hd44780_common.c
65
if (y & 2)
drivers/auxdisplay/hd44780_common.h
19
int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y);
drivers/auxdisplay/lcd2s.c
112
static int lcd2s_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y)
drivers/auxdisplay/lcd2s.c
115
u8 buf[3] = { LCD2S_CMD_CUR_POS, y + 1, x + 1 };
drivers/auxdisplay/panel.c
119
#define w_ctr(x, y) (parport_write_control((x)->port, (y)))
drivers/auxdisplay/panel.c
120
#define w_dtr(x, y) (parport_write_data((x)->port, (y)))
drivers/base/power/main.c
595
#define dpm_watchdog_set(x, y)
drivers/base/regmap/regcache.c
28
const struct reg_default *y = b;
drivers/base/regmap/regcache.c
30
if (x->reg > y->reg)
drivers/base/regmap/regcache.c
32
else if (x->reg < y->reg)
drivers/block/drbd/drbd_proc.c
101
y = 20-x;
drivers/block/drbd/drbd_proc.c
106
for (i = 0; i < y; i++)
drivers/block/drbd/drbd_proc.c
95
int i, x, y;
drivers/block/floppy.c
2136
#define FM_MODE(x, y) ((y) & ~(((x)->rate & 0x80) >> 1))
drivers/char/agp/agp.h
38
#define DBG(x,y...) printk (KERN_DEBUG PFX "%s: " x "\n", __func__ , ## y)
drivers/char/agp/agp.h
40
#define DBG(x,y...) do { } while (0)
drivers/char/agp/isoch.c
125
target.y = (tnistat >> 6) & 0x3;
drivers/char/agp/isoch.c
129
y_max = target.y;
drivers/char/agp/isoch.c
144
master[cdev].y = (mnistat >> 6) & 0x3;
drivers/char/agp/isoch.c
148
y_max = max(y_max, master[cdev].y);
drivers/char/agp/isoch.c
162
target.y = y_max;
drivers/char/agp/isoch.c
172
tnicmd |= target.y << 6;
drivers/char/agp/isoch.c
181
master[cdev].y = target.y;
drivers/char/agp/isoch.c
182
master[cdev].n = master[cdev].maxbw / (master[cdev].y + 1);
drivers/char/agp/isoch.c
216
if (master[cdev].y > 0x1)
drivers/char/agp/isoch.c
217
master[cdev].rq *= (1 << (master[cdev].y - 1));
drivers/char/agp/isoch.c
225
rq_isoch = (target.y > 0x1) ? target.n * (1 << (target.y - 1)) : target.n;
drivers/char/agp/isoch.c
262
mnicmd |= master[cdev].y << 6;
drivers/char/agp/isoch.c
74
u32 y;
drivers/char/lp.c
166
#define w_ctr(x,y) do { parport_write_control(lp_table[(x)].dev->port, (y)); } while (0)
drivers/char/lp.c
167
#define w_dtr(x,y) do { parport_write_data(lp_table[(x)].dev->port, (y)); } while (0)
drivers/char/tpm/tpm2-sessions.c
496
u8 encoded_key[EC_PT_SZ], *x, *y;
drivers/char/tpm/tpm2-sessions.c
511
y = &buf->data[tpm_buf_length(buf)];
drivers/char/tpm/tpm2-sessions.c
515
sg_set_buf(&s[1], y, EC_PT_SZ);
drivers/clk/nxp/clk-lpc32xx.c
773
u32 val, x, y;
drivers/clk/nxp/clk-lpc32xx.c
777
y = val & 0xFF;
drivers/clk/nxp/clk-lpc32xx.c
779
if (x && y)
drivers/clk/nxp/clk-lpc32xx.c
780
return (parent_rate * x) / y;
drivers/clocksource/timer-tegra186.c
23
#define TKEIE_WDT_MASK(x, y) ((y) << (16 + 4 * (x)))
drivers/cpufreq/intel_pstate.c
63
static inline int32_t mul_fp(int32_t x, int32_t y)
drivers/cpufreq/intel_pstate.c
65
return ((int64_t)x * (int64_t)y) >> FRAC_BITS;
drivers/cpufreq/intel_pstate.c
68
static inline int32_t div_fp(s64 x, s64 y)
drivers/cpufreq/intel_pstate.c
70
return div64_s64((int64_t)x << FRAC_BITS, y);
drivers/cpufreq/intel_pstate.c
84
static inline u64 mul_ext_fp(u64 x, u64 y)
drivers/cpufreq/intel_pstate.c
86
return (x * y) >> EXT_FRAC_BITS;
drivers/cpufreq/intel_pstate.c
89
static inline u64 div_ext_fp(u64 x, u64 y)
drivers/cpufreq/intel_pstate.c
91
return div64_u64(x << EXT_FRAC_BITS, y);
drivers/crypto/ccp/ccp-ops.c
2290
!ecc->u.pm.point_1.y ||
drivers/crypto/ccp/ccp-ops.c
2297
!ecc->u.pm.point_2.y ||
drivers/crypto/ccp/ccp-ops.c
2313
!ecc->u.pm.result.y ||
drivers/crypto/ccp/ccp-ops.c
2348
ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_1.y, 0,
drivers/crypto/ccp/ccp-ops.c
2365
ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_2.y, 0,
drivers/crypto/ccp/ccp-ops.c
2434
ccp_reverse_get_dm_area(&dst, 0, ecc->u.pm.result.y, 0,
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1233
void *y = ctx->ecdh.g + shifta - cur_sz;
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1248
fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits);
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
256
point->y, nbytes);
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
288
ocs_ecc_read_cy_out(ecc_dev, result->y, nbytes);
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
369
if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1)
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
376
rc = kmb_ecc_do_scalar_op(ecc_dev, yy, pk->y, pk->y, curve, pk->ndigits,
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
604
ecc_swap_digits(&pubk_buf[curve->g.ndigits], pk->y, curve->g.ndigits);
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
689
ecc_swap_digits(pk->y, &pubk_buf[pk->ndigits], pk->ndigits);
drivers/crypto/intel/qat/qat_common/qat_bl.c
107
bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left,
drivers/crypto/intel/qat/qat_common/qat_bl.c
110
bufl->buffers[y].len = sg->length;
drivers/crypto/intel/qat/qat_common/qat_bl.c
111
if (unlikely(dma_mapping_error(dev, bufl->buffers[y].addr)))
drivers/crypto/intel/qat/qat_common/qat_bl.c
115
bufl->buffers[y].len -= left;
drivers/crypto/intel/qat/qat_common/qat_bl.c
154
int y = sg_nctr;
drivers/crypto/intel/qat/qat_common/qat_bl.c
163
buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left,
drivers/crypto/intel/qat/qat_common/qat_bl.c
166
if (unlikely(dma_mapping_error(dev, buffers[y].addr)))
drivers/crypto/intel/qat/qat_common/qat_bl.c
168
buffers[y].len = sg->length;
drivers/crypto/intel/qat/qat_common/qat_bl.c
171
buffers[y].len -= left;
drivers/crypto/intel/qat/qat_common/qat_bl.c
98
int y = sg_nctr;
drivers/crypto/tegra/tegra-se.h
586
#define se_host1x_opcode_incr(x, y) host1x_opcode_incr((x) / 4, y)
drivers/crypto/tegra/tegra-se.h
587
#define se_host1x_opcode_nonincr(x, y) host1x_opcode_nonincr((x) / 4, y)
drivers/cxl/core/cdat.c
467
u16 y = le16_to_cpu((__force __le16)tbl->entries[i].porty_id);
drivers/cxl/core/cdat.c
475
dsp_id = y;
drivers/cxl/core/cdat.c
478
switch (y) {
drivers/cxl/core/cdat.c
486
dsp_id = y;
drivers/dma/dmatest.c
454
static unsigned int min_odd(unsigned int x, unsigned int y)
drivers/dma/dmatest.c
456
unsigned int val = min(x, y);
drivers/dma/imx-dma.c
135
unsigned int y;
drivers/dma/imx-dma.c
504
(imxdma->slots_2d[i].ysr != d->y) ||
drivers/dma/imx-dma.c
514
imxdma->slots_2d[slot].ysr = d->y;
drivers/dma/imx-dma.c
525
imx_dmav1_writel(imxdma, d->y, DMA_YSRA);
drivers/dma/imx-dma.c
531
imx_dmav1_writel(imxdma, d->y, DMA_YSRB);
drivers/dma/imx-dma.c
963
desc->y = xt->numf;
drivers/dma/imx-dma.c
965
desc->len = desc->x * desc->y;
drivers/dma/mediatek/mtk-hsdma.c
41
#define MTK_HSDMA_NEXT_DESP_IDX(x, y) (((x) + 1) & ((y) - 1))
drivers/dma/mediatek/mtk-hsdma.c
42
#define MTK_HSDMA_LAST_DESP_IDX(x, y) (((x) - 1) & ((y) - 1))
drivers/dma/ste_dma40_ll.h
132
#define D40_DREG_GCC_EVTGRP_ENA(x, y) \
drivers/dma/ste_dma40_ll.h
133
(1 << (D40_DREG_GCC_EVTGRP_POS + 2 * x + y))
drivers/edac/thunderx_edac.c
963
#define OCX_LNE_STAT(x, y) (0x8040 + (x) * 0x100 + (y) * 8)
drivers/firmware/dmi_scan.c
1038
const char *s, *y;
drivers/firmware/dmi_scan.c
1052
y = strrchr(s, '/');
drivers/firmware/dmi_scan.c
1053
if (!y)
drivers/firmware/dmi_scan.c
1056
y++;
drivers/firmware/dmi_scan.c
1057
year = simple_strtoul(y, &e, 10);
drivers/firmware/dmi_scan.c
1058
if (y != e && year < 100) { /* 2-digit year */
drivers/firmware/dmi_scan.c
1075
if (s == y || s == e || *e != '/' || day > 31)
drivers/firmware/efi/earlycon.c
75
static void efi_earlycon_clear_scanline(unsigned int y, const struct screen_info *si)
drivers/firmware/efi/earlycon.c
81
dst = efi_earlycon_map(y*len, len);
drivers/gpio/gpio-lpc32xx.c
50
#define GPIO012_PIN_IN_SEL(x, y) (((x) >> (y)) & 1)
drivers/gpio/gpio-lpc32xx.c
52
#define GPIO3_PIN_IN_SEL(x, y) (((x) >> GPIO3_PIN_IN_SHIFT(y)) & 1)
drivers/gpio/gpio-lpc32xx.c
54
#define GPI3_PIN_IN_SEL(x, y) (((x) >> (y)) & 1)
drivers/gpio/gpio-lpc32xx.c
55
#define GPO3_PIN_IN_SEL(x, y) (((x) >> (y)) & 1)
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
97
crtc->x, crtc->y, crtc->primary->fb);
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
1860
unsigned int y,
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
1869
offset = x * 4 + y * sb->pitch[0];
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
1841
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2055
y &= ~1;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2057
(x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2312
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2319
amdgpu_crtc->cursor_y = y;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2323
y += crtc->y;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2324
DRM_DEBUG("x %d y %d c->x %d c->y %d\n", x, y, crtc->x, crtc->y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2330
if (y < 0) {
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2331
yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2332
y = 0;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2335
WREG32(mmCUR_POSITION + amdgpu_crtc->crtc_offset, (x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2344
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2349
ret = dce_v10_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2410
int x, y;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2413
y = amdgpu_crtc->cursor_y + amdgpu_crtc->cursor_hot_y - hot_y;
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2415
dce_v10_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2600
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2609
dce_v10_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2654
static int dce_v10_0_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2657
return dce_v10_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
1879
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2069
y &= ~1;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2071
(x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2283
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2292
amdgpu_crtc->cursor_y = y;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2296
y += crtc->y;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2297
DRM_DEBUG("x %d y %d c->x %d c->y %d\n", x, y, crtc->x, crtc->y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2303
if (y < 0) {
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2304
yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2305
y = 0;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2308
WREG32(mmCUR_POSITION + amdgpu_crtc->crtc_offset, (x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2317
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2322
ret = dce_v6_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2383
int x, y;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2386
y = amdgpu_crtc->cursor_y + amdgpu_crtc->cursor_hot_y - hot_y;
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2388
dce_v6_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2567
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2576
dce_v6_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2621
static int dce_v6_0_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2624
return dce_v6_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
1788
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
1982
y &= ~1;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
1984
(x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2231
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2238
amdgpu_crtc->cursor_y = y;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2242
y += crtc->y;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2243
DRM_DEBUG("x %d y %d c->x %d c->y %d\n", x, y, crtc->x, crtc->y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2249
if (y < 0) {
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2250
yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2251
y = 0;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2254
WREG32(mmCUR_POSITION + amdgpu_crtc->crtc_offset, (x << 16) | y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2263
int x, int y)
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2268
ret = dce_v8_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2329
int x, y;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2332
y = amdgpu_crtc->cursor_y + amdgpu_crtc->cursor_hot_y - hot_y;
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2334
dce_v8_0_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2526
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2535
dce_v8_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2580
static int dce_v8_0_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2583
return dce_v8_0_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6293
s32 y, s32 width, s32 height,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6299
dirty_rect->y = y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6310
plane->base.id, x, y, width, height);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6490
dst.y = (stream->timing.v_addressable - dst.height) / 2;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6494
dst.y += dm_state->underscan_vborder / 2;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6504
dst.x, dst.y, dst.width, dst.height);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
877
crtc_ctx->roi[i].rect.y = crc_window.windowa_y_start;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1157
scaling_info->src_rect.y = state->src_y >> 16;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1174
(scaling_info->src_rect.x != 0 || scaling_info->src_rect.y != 0)))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1186
scaling_info->dst_rect.y = state->crtc_y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1306
int x, y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1322
y = plane->state->crtc_y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1325
y <= -amdgpu_crtc->max_cursor_height)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1332
if (y < 0) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1333
yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1334
y = 0;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
1338
position->y = y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
864
plane_size->surface_size.y = 0;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
878
plane_size->surface_size.y = 0;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
885
plane_size->chroma_size.y = 0;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
429
__entry->dst_y = plane_state->dst_rect.y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
433
__entry->src_y = plane_state->src_rect.y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
437
__entry->clip_y = plane_state->clip_rect.y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
441
__entry->recout_y = plane_res->scl_data.recout.y;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
445
__entry->viewport_y = plane_res->scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/core/dc.c
2825
|| u->scaling_info->src_rect.y != u->surface->src_rect.y
drivers/gpu/drm/amd/display/dc/core/dc.c
2827
|| u->scaling_info->clip_rect.y != u->surface->clip_rect.y
drivers/gpu/drm/amd/display/dc/core/dc.c
2829
|| u->scaling_info->dst_rect.y != u->surface->dst_rect.y) {
drivers/gpu/drm/amd/display/dc/core/dc.c
574
cmd.secure_display.roi_info.y_start = rect->y;
drivers/gpu/drm/amd/display/dc/core/dc.c
576
cmd.secure_display.roi_info.y_end = rect->y + rect->height;
drivers/gpu/drm/amd/display/dc/core/dc.c
649
cmd.secure_display.mul_roi_ctl.roi_ctl[i].y_start = window[i].rect.y;
drivers/gpu/drm/amd/display/dc/core/dc.c
651
cmd.secure_display.mul_roi_ctl.roi_ctl[i].y_end = window[i].rect.y + window[i].rect.height;
drivers/gpu/drm/amd/display/dc/core/dc.c
6654
state->hubp[i].pri_viewport_y_start = pipe_ctx->plane_state->src_rect.y;
drivers/gpu/drm/amd/display/dc/core/dc.c
6781
state->dpp[i].recout_start_y = dscl_data->recout.y;
drivers/gpu/drm/amd/display/dc/core/dc_debug.c
155
update->scaling_info->src_rect.y,
drivers/gpu/drm/amd/display/dc/core/dc_debug.c
159
update->scaling_info->dst_rect.y,
drivers/gpu/drm/amd/display/dc/core/dc_debug.c
163
update->scaling_info->clip_rect.y,
drivers/gpu/drm/amd/display/dc/core/dc_debug.c
94
update->plane_info->plane_size.surface_size.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1168
-odm_slice_src.x, -odm_slice_src.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1311
&data->recout, odm_slice_src.x, odm_slice_src.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1320
-recout_dst_in_active_timing.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1361
recout_clip_in_recout_dst.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1367
&data->viewport.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1371
recout_clip_in_recout_dst.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1377
&data->viewport_c.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1380
swap(data->viewport.x, data->viewport.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1382
swap(data->viewport_c.x, data->viewport_c.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1386
data->viewport.y += src.y;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1387
ASSERT(src.x % vpc_div == 0 && src.y % vpc_div == 0);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1389
data->viewport_c.y += src.y / vpc_div;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1511
pipe_ctx->stream->dst.y += timing->v_border_top;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1637
pipe_ctx->plane_res.scl_data.recout.y += pipe_ctx->plane_res.scl_data.recout.height;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1657
pipe_ctx->plane_res.scl_data.viewport.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1661
pipe_ctx->plane_res.scl_data.recout.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1667
plane_state->src_rect.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1671
plane_state->dst_rect.y,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1675
plane_state->clip_rect.y);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1678
pipe_ctx->stream->dst.y -= timing->v_border_top;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1692
r1_bottom = r1.y + r1.height;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1712
r2_bottom = r2.y + r2.height;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1728
r2_bottom = min(r2_bottom, r2_half.y + r2_half.height);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1732
if (r1.x >= r2.x && r1.y >= r2.y && r1_right <= r2_right && r1_bottom <= r2_bottom)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
2225
odm_slice_dst.y = 0;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
826
int r0_y_end = r0->y + r0->height;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
827
int r1_y_end = r1->y + r1->height;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
831
rec.y = r0->y > r1->y ? r0->y : r1->y;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
832
rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
841
static struct rect shift_rec(const struct rect *rec_in, int x, int y)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
846
rec_out.y += y;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
929
temp = dc_fixpt_from_fraction(rec_in->y * (long long)stream->dst.height,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
931
rec_out.y = stream->dst.y + dc_fixpt_round(temp);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
934
(rec_in->y + rec_in->height) * (long long)stream->dst.height,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
936
rec_out.height = stream->dst.y + dc_fixpt_round(temp) - rec_out.y;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
954
mpc_rec.y = plane_clip_rec->y;
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
42
#define MAX(x, y) ((x > y) ? x : y)
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
898
stream->src.y,
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
902
stream->dst.y,
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
1055
payload->cursor_rect.y = hubp->cur_rect.y;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
137
int y;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
471
uint32_t y;
drivers/gpu/drm/amd/display/dc/dc_spl_translate.c
22
spl_rect->y = rect->y;
drivers/gpu/drm/amd/display/dc/dc_spl_translate.c
29
rect->y = spl_rect->y;
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
953
y_start = rect->y;
drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c
57
CURSOR_Y_POSITION, position->y);
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
499
hw_rect.x = in_rect->y;
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
500
hw_rect.y = in_rect->x;
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
510
GRPH_Y_START, hw_rect.y);
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
540
GRPH_Y_START, hw_rect.y);
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
703
uint32_t y = dc_fixpt_ceil(
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
713
DP_MSE_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
186
- data->recout.y - data->recout.height;
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
206
EXT_OVERSCAN_TOP, data->recout.y,
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
271
VIEWPORT_Y_START, view_port->y);
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
240
local_size.surface_size.y);
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
244
local_size.chroma_size.y);
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
317
set_reg_field_value(value, local_size.surface_size.y +
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
326
set_reg_field_value(value, local_size.chroma_size.y +
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
126
chroma_view_port->y,
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
235
int overscan_bottom = data->v_active - data->recout.y - data->recout.height;
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
257
set_reg_field_value(overscan_top_bottom, data->recout.y,
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
54
luma_viewport->y = scl_data->viewport.y - scl_data->viewport.y % 2;
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
60
chroma_viewport->y = luma_viewport->y;
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
71
chroma_viewport->y = luma_viewport->y / 2;
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
96
luma_view_port->y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
236
dc_fixpt_clamp_u0d14(corner_points[1].red.y);
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
238
dc_fixpt_clamp_u0d14(corner_points[1].green.y);
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
240
dc_fixpt_clamp_u0d14(corner_points[1].blue.y);
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
242
if (!convert_to_custom_float_format(corner_points[1].red.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
247
if (!convert_to_custom_float_format(corner_points[1].green.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
252
if (!convert_to_custom_float_format(corner_points[1].blue.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
433
corner_points[0].red.y = rgb_resulted[0].red;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
434
corner_points[0].green.y = rgb_resulted[0].green;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
435
corner_points[0].blue.y = rgb_resulted[0].blue;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
437
corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
439
corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
441
corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
447
corner_points[1].red.y = rgb_resulted[hw_points - 1].red;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
448
corner_points[1].green.y = rgb_resulted[hw_points - 1].green;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
449
corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
462
dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y),
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
465
dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y),
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
468
dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y),
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
617
corner_points[0].red.y = rgb_resulted[0].red;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
618
corner_points[0].green.y = rgb_resulted[0].green;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
619
corner_points[0].blue.y = rgb_resulted[0].blue;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
624
corner_points[1].red.y = rgb_resulted[hw_points - 1].red;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
625
corner_points[1].green.y = rgb_resulted[hw_points - 1].green;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
626
corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
639
dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y),
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
642
dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y),
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
645
dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y),
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
213
corner_points[0].red.y = rgb_resulted[0].red;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
214
corner_points[0].green.y = rgb_resulted[0].green;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
215
corner_points[0].blue.y = rgb_resulted[0].blue;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
217
corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
219
corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
221
corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
227
corner_points[1].red.y = rgb_resulted[hw_points].red;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
228
corner_points[1].green.y = rgb_resulted[hw_points].green;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
229
corner_points[1].blue.y = rgb_resulted[hw_points].blue;
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
373
dc_fixpt_clamp_u0d14(corner_points[1].red.y);
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
375
dc_fixpt_clamp_u0d14(corner_points[1].green.y);
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
377
dc_fixpt_clamp_u0d14(corner_points[1].blue.y);
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
379
if (!convert_to_custom_float_format(corner_points[1].red.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
384
if (!convert_to_custom_float_format(corner_points[1].green.y,
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
389
if (!convert_to_custom_float_format(corner_points[1].blue.y,
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
632
uint32_t y = dc_fixpt_ceil(
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
640
if (y >> 26) {
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
642
y = 0;
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
647
DP_MSE_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
961
+ pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
963
+ pipe->bottom_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
967
- pipe->bottom_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
970
- pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1622
pipes[pipe_cnt].pipe.src.viewport_y_y = scl->viewport.y;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1623
pipes[pipe_cnt].pipe.src.viewport_y_c = scl->viewport_c.y;
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
529
phantom_stream->dst.y = 0;
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
536
phantom_stream->src.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
124
dml_float_t dml_min(dml_float_t x, dml_float_t y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
127
return y;
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
128
if (y != y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
130
if (x < y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
133
return y;
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
136
dml_float_t dml_min3(dml_float_t x, dml_float_t y, dml_float_t z)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
138
return dml_min(dml_min(x, y), z);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
141
dml_float_t dml_min4(dml_float_t x, dml_float_t y, dml_float_t z, dml_float_t w)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
143
return dml_min(dml_min(dml_min(x, y), z), w);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
146
dml_float_t dml_max(dml_float_t x, dml_float_t y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
149
return y;
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
150
if (y != y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
152
if (x > y)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
155
return y;
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
157
dml_float_t dml_max3(dml_float_t x, dml_float_t y, dml_float_t z)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
159
return dml_max(dml_max(x, y), z);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h
39
__DML_DLL_EXPORT__ dml_float_t dml_min(dml_float_t x, dml_float_t y);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h
40
__DML_DLL_EXPORT__ dml_float_t dml_min3(dml_float_t x, dml_float_t y, dml_float_t z);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h
41
__DML_DLL_EXPORT__ dml_float_t dml_min4(dml_float_t x, dml_float_t y, dml_float_t z, dml_float_t w);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h
42
__DML_DLL_EXPORT__ dml_float_t dml_max(dml_float_t x, dml_float_t y);
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h
43
__DML_DLL_EXPORT__ dml_float_t dml_max3(dml_float_t x, dml_float_t y, dml_float_t z);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
542
plane->composition.viewport.plane0.y_start = scaler_data->viewport.y;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
544
plane->composition.viewport.plane1.y_start = scaler_data->viewport_c.y;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
265
phantom_stream->dst.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
268
phantom_stream->src.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
312
phantom_plane->clip_rect.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
700
phantom_stream->dst.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
702
phantom_stream->src.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
773
phantom_plane->clip_rect.y = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1078
out->ViewportYStart[location] = scaler_data->viewport.y;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1080
out->ViewportYStartC[location] = scaler_data->viewport_c.y;
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp.c
445
int y_pos = pos->y - param->viewport.y;
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c
594
RECOUT_START_Y, recout->y);
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
641
RECOUT_START_Y, recout->y);
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
391
uint32_t y = dc_fixpt_ceil(
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
399
if (y >> 25) {
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
401
y = 0;
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
408
STREAM_VC_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
413
STREAM_VC_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
418
STREAM_VC_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
423
STREAM_VC_RATE_Y, y);
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
1205
int y_pos = pos->y - param->viewport.y;
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
1280
CURSOR_Y_POSITION, pos->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
860
PRI_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
869
SEC_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
878
PRI_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c
886
SEC_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c
1076
CURSOR_Y_POSITION, pos->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c
1090
hubp->pos.position.bits.y_pos = pos->y;
drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c
1107
hubp->cur_rect.y = 0;
drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c
1112
hubp->cur_rect.y = src_y_offset + param->viewport.y;
drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c
996
int y_pos = pos->y - param->viewport.y;
drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
199
PRI_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
208
SEC_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
217
PRI_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
225
SEC_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
661
PRI_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
670
SEC_VIEWPORT_Y_START, viewport->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
679
PRI_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
687
SEC_VIEWPORT_Y_START_C, viewport_c->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
737
int rec_y_offset = pos->y - pos->y_hotspot;
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
792
CURSOR_Y_POSITION, pos->y);
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
804
hubp->pos.position.bits.y_pos = pos->y;
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
819
hubp->cur_rect.y = rec_y_offset + param->recout.y;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
2993
pipe_ctx->plane_state->src_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
2997
pipe_ctx->plane_state->dst_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3001
pipe_ctx->plane_state->clip_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3013
pipe_ctx->plane_res.scl_data.viewport.y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3017
pipe_ctx->plane_res.scl_data.recout.y);
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3142
pos_cpy.y += pipe_ctx->plane_state->src_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
371
if (!convert_to_custom_float_format(arr_points[1].y, &fmt,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
536
arr_points[0].y = y1_min;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
537
arr_points[0].slope = dc_fixpt_div(arr_points[0].y,
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
549
arr_points[1].y = y3_max;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
560
dc_fixpt_sub(dc_fixpt_one, arr_points[1].y),
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
354
pipe_ctx->plane_state->src_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
358
pipe_ctx->plane_state->dst_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
362
pipe_ctx->plane_state->clip_rect.y,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
374
pipe_ctx->plane_res.scl_data.viewport.y,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
378
pipe_ctx->plane_res.scl_data.recout.y);
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3666
int y_plane = pipe_ctx->plane_state->dst_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3668
int y_pos = pos_cpy.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3730
y_pos += pipe_ctx->plane_state->src_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3749
pos_cpy.y = (uint32_t)y_pos;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3779
(pos_cpy.y - pipe_ctx->plane_res.scl_data.viewport.x) + pipe_ctx->plane_res.scl_data.viewport.x;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3780
pos_cpy.y = temp_x;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3784
uint32_t temp_y = pos_cpy.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3788
pipe_ctx->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3810
pipe_ctx->bottom_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3813
pipe_ctx->top_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3818
pipe_ctx->next_odm_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3821
pipe_ctx->prev_odm_pipe->plane_res.scl_data.viewport.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3829
pos_cpy.y = viewport_height - pos_cpy.x;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3831
pos_cpy.y = 2 * viewport_height - pos_cpy.x;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3833
pos_cpy.y += pos_cpy_x_offset;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3835
pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3862
pos_cpy.y = (2 * pipe_ctx->plane_res.scl_data.viewport.y) +
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3863
pipe_ctx->plane_res.scl_data.viewport.height - pos_cpy.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
1451
phantom_plane->src_rect.y = pipe->plane_state->src_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
1454
phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1106
int y_pos = pos_cpy.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1139
y_pos = pipe_ctx->stream->dst.y + y_pos * pipe_ctx->stream->dst.height /
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1155
y_pos += pipe_ctx->plane_state->src_rect.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1206
pos_cpy.y = (uint32_t)y_pos;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1212
y_pos = pos_cpy.y - param.recout.y;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1230
pos_cpy.y = y_pos;
drivers/gpu/drm/amd/display/dc/inc/hw/cursor_reg_cache.h
70
uint32_t y;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
115
struct fixed31_32 y;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
1708
phantom_plane->clip_rect.y = 0;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
175
rec_in->y * (long long)stream_dst->height,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
177
rec_out.y = stream_dst->y + spl_fixpt_round(temp);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
180
(rec_in->y + rec_in->height) * (long long)stream_dst->height,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
182
rec_out.height = stream_dst->y + spl_fixpt_round(temp) - rec_out.y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
205
mpc_rec.y = plane_clip_rec->y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
214
mpc_rec.y = plane_clip_rec->y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
220
mpc_rec.y = plane_clip_rec->y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
267
odm_rec.y = 0;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
421
-odm_slice.x, -odm_slice.y);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
53
int r0_y_end = r0->y + r0->height;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
54
int r1_y_end = r1->y + r1->height;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
58
rec.y = r0->y > r1->y ? r0->y : r1->y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
59
rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
621
&spl_scratch->scl_data.recout, odm_slice.x, odm_slice.y);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
630
-recout_dst_in_active_timing.y);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
68
static struct spl_rect shift_rec(const struct spl_rect *rec_in, int x, int y)
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
697
recout_clip_in_recout_dst.y,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
704
&spl_scratch->scl_data.viewport.y,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
708
recout_clip_in_recout_dst.y,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
715
&spl_scratch->scl_data.viewport_c.y,
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
718
spl_swap(spl_scratch->scl_data.viewport.x, spl_scratch->scl_data.viewport.y);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
720
spl_swap(spl_scratch->scl_data.viewport_c.x, spl_scratch->scl_data.viewport_c.y);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
724
spl_scratch->scl_data.viewport.y += src.y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
725
SPL_ASSERT(src.x % vpc_div == 0 && src.y % vpc_div == 0);
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
727
spl_scratch->scl_data.viewport_c.y += src.y / vpc_div;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
73
rec_out.y += y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
742
recout->y += recout->height;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
83
if ((rec->y + adjust->y) >= 0)
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
84
rec->y += adjust->y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl_types.h
19
int y;
drivers/gpu/drm/amd/display/dc/sspl/dc_spl_types.h
433
int y;
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
2502
uint16_t y;
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
368
uint32_t y;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
368
struct fixed31_32 y;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
383
compute_de_pq(coordinates_x[i].x, &y);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
384
de_pq_table[i] = dc_fixpt_mul(y, scaling_factor);
drivers/gpu/drm/arm/display/komeda/d71/d71_regs.h
469
#define SC_COEFF_DATA(x, y) (((y) & 0xFFFF) | (((x) & 0xFFFF) << 16))
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
241
komeda_fb_get_pixel_addr(struct komeda_fb *kfb, int x, int y, int plane)
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
259
plane_y = y / (plane ? fb->format->vsub : 1);
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h
45
komeda_fb_get_pixel_addr(struct komeda_fb *kfb, int x, int y, int plane);
drivers/gpu/drm/armada/armada_crtc.c
556
unsigned y;
drivers/gpu/drm/armada/armada_crtc.c
559
for (y = 0; y < height; y++) {
drivers/gpu/drm/armada/armada_crtc.c
560
uint32_t *p = &pix[y * stride];
drivers/gpu/drm/armada/armada_crtc.c
752
static int armada_drm_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/armada/armada_crtc.c
762
dcrtc->cursor_y = y;
drivers/gpu/drm/armada/armada_plane.c
45
unsigned int y = state->src.y1 >> 16;
drivers/gpu/drm/armada/armada_plane.c
50
fb->pitches[0], x, y, format->cpp[0] * 8);
drivers/gpu/drm/armada/armada_plane.c
55
addrs[0][0] = addr + fb->offsets[0] + y * fb->pitches[0] +
drivers/gpu/drm/armada/armada_plane.c
59
y /= format->vsub;
drivers/gpu/drm/armada/armada_plane.c
63
addrs[0][i] = addr + fb->offsets[i] + y * fb->pitches[i] +
drivers/gpu/drm/ast/ast_cursor.c
128
static void ast_set_cursor_location(struct ast_device *ast, u16 x, u16 y,
drivers/gpu/drm/ast/ast_cursor.c
133
u8 y0 = (y & 0x00ff);
drivers/gpu/drm/ast/ast_cursor.c
134
u8 y1 = (y & 0x0700) >> 8;
drivers/gpu/drm/ast/ast_cursor.c
261
u16 x, y;
drivers/gpu/drm/ast/ast_cursor.c
299
y = 0;
drivers/gpu/drm/ast/ast_cursor.c
302
y = plane_state->crtc_y;
drivers/gpu/drm/ast/ast_cursor.c
305
ast_set_cursor_location(ast, x, y, x_offset, y_offset);
drivers/gpu/drm/ast/ast_cursor.c
71
unsigned int x, y;
drivers/gpu/drm/ast/ast_cursor.c
73
for (y = 0; y < height; y++) {
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
236
.y = 33,
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
355
.y = 33,
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
451
.y = 33,
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h
115
#define ATMEL_HLCDC_LAYER_DISC_POS(x, y) ((x) | ((y) << 16))
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h
118
#define ATMEL_HLCDC_LAYER_SCALER_FACTORS(x, y) ((x) | ((y) << 16))
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h
217
int y;
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h
94
#define ATMEL_HLCDC_LAYER_POS(x, y) ((x) | ((y) << 16))
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c
321
desc->layout.phicoeffs.y);
drivers/gpu/drm/drm_atomic.c
1958
primary_state->src_y = set->y << 16;
drivers/gpu/drm/drm_atomic_helper.c
1452
crtc->y = new_plane_state->src_y >> 16;
drivers/gpu/drm/drm_client_modeset.c
34
int x, y;
drivers/gpu/drm/drm_client_modeset.c
411
offsets[idx].y = voffset;
drivers/gpu/drm/drm_client_modeset.c
908
mode->name, offset->x, offset->y);
drivers/gpu/drm/drm_client_modeset.c
926
modeset->y = offset->y;
drivers/gpu/drm/drm_crtc.c
573
crtc_resp->y = plane->state->src_y >> 16;
drivers/gpu/drm/drm_crtc.c
587
crtc_resp->y = crtc->y;
drivers/gpu/drm/drm_crtc.c
679
int x, int y,
drivers/gpu/drm/drm_crtc.c
692
return drm_framebuffer_check_src_coords(x << 16, y << 16,
drivers/gpu/drm/drm_crtc.c
733
if (crtc_req->x & 0xffff0000 || crtc_req->y & 0xffff0000)
drivers/gpu/drm/drm_crtc.c
819
ret = drm_crtc_check_viewport(crtc, crtc_req->x, crtc_req->y,
drivers/gpu/drm/drm_crtc.c
880
set.y = crtc_req->y;
drivers/gpu/drm/drm_crtc_helper.c
285
int x, int y,
drivers/gpu/drm/drm_crtc_helper.c
315
saved_y = crtc->y;
drivers/gpu/drm/drm_crtc_helper.c
322
crtc->y = y;
drivers/gpu/drm/drm_crtc_helper.c
381
ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb);
drivers/gpu/drm/drm_crtc_helper.c
430
crtc->y = saved_y;
drivers/gpu/drm/drm_crtc_helper.c
591
(int)set->num_connectors, set->x, set->y);
drivers/gpu/drm/drm_crtc_helper.c
636
save_set.y = set->crtc->y;
drivers/gpu/drm/drm_crtc_helper.c
653
if (set->x != set->crtc->x || set->y != set->crtc->y)
drivers/gpu/drm/drm_crtc_helper.c
772
set->x, set->y,
drivers/gpu/drm/drm_crtc_helper.c
791
set->crtc->y = set->y;
drivers/gpu/drm/drm_crtc_helper.c
794
set->x, set->y, save_set.fb);
drivers/gpu/drm/drm_crtc_helper.c
797
set->crtc->y = save_set.y;
drivers/gpu/drm/drm_crtc_helper.c
832
save_set.y, save_set.fb))
drivers/gpu/drm/drm_crtc_helper.c
999
crtc->x, crtc->y, crtc->primary->fb);
drivers/gpu/drm/drm_crtc_internal.h
76
int x, int y,
drivers/gpu/drm/drm_draw.c
101
if (drm_draw_is_pixel_fg(sbuf8, spitch, x / scale, y / scale))
drivers/gpu/drm/drm_draw.c
102
iosys_map_wr(dmap, y * dpitch + x * sizeof(u16), u16, fg16);
drivers/gpu/drm/drm_draw.c
111
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
113
for (y = 0; y < height; y++) {
drivers/gpu/drm/drm_draw.c
115
u32 off = y * dpitch + x * 3;
drivers/gpu/drm/drm_draw.c
117
if (drm_draw_is_pixel_fg(sbuf8, spitch, x / scale, y / scale)) {
drivers/gpu/drm/drm_draw.c
133
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
135
for (y = 0; y < height; y++)
drivers/gpu/drm/drm_draw.c
137
if (drm_draw_is_pixel_fg(sbuf8, spitch, x / scale, y / scale))
drivers/gpu/drm/drm_draw.c
138
iosys_map_wr(dmap, y * dpitch + x * sizeof(u32), u32, fg32);
drivers/gpu/drm/drm_draw.c
149
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
151
for (y = 0; y < height; y++)
drivers/gpu/drm/drm_draw.c
153
iosys_map_wr(dmap, y * dpitch + x * sizeof(u16), u16, color);
drivers/gpu/drm/drm_draw.c
161
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
163
for (y = 0; y < height; y++) {
drivers/gpu/drm/drm_draw.c
165
unsigned int off = y * dpitch + x * 3;
drivers/gpu/drm/drm_draw.c
180
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
182
for (y = 0; y < height; y++)
drivers/gpu/drm/drm_draw.c
184
iosys_map_wr(dmap, y * dpitch + x * sizeof(u32), u32, color);
drivers/gpu/drm/drm_draw.c
97
unsigned int y, x;
drivers/gpu/drm/drm_draw.c
99
for (y = 0; y < height; y++)
drivers/gpu/drm/drm_draw_internal.h
16
static inline bool drm_draw_is_pixel_fg(const u8 *sbuf8, unsigned int spitch, int x, int y)
drivers/gpu/drm/drm_draw_internal.h
18
return (sbuf8[(y * spitch) + x / 8] & (0x80 >> (x % 8))) != 0;
drivers/gpu/drm/drm_fb_helper.c
1192
mode_set->y += dy;
drivers/gpu/drm/drm_fb_helper.c
1229
modeset->y = var->yoffset;
drivers/gpu/drm/drm_fb_helper.c
1369
int x, y, j;
drivers/gpu/drm/drm_fb_helper.c
1384
y = mode_set->y;
drivers/gpu/drm/drm_fb_helper.c
1389
max_t(u32, desired_mode->vdisplay + y, sizes->surface_height);
drivers/gpu/drm/drm_fb_helper.c
1407
sizes->fb_height = min_t(u32, desired_mode->vdisplay + y, sizes->fb_height);
drivers/gpu/drm/drm_fb_helper.c
446
static void drm_fb_helper_add_damage_clip(struct drm_fb_helper *helper, u32 x, u32 y,
drivers/gpu/drm/drm_fb_helper.c
454
clip->y1 = min_t(u32, clip->y1, y);
drivers/gpu/drm/drm_fb_helper.c
456
clip->y2 = max_t(u32, clip->y2, y + height);
drivers/gpu/drm/drm_fb_helper.c
460
static void drm_fb_helper_damage(struct drm_fb_helper *helper, u32 x, u32 y,
drivers/gpu/drm/drm_fb_helper.c
474
drm_fb_helper_add_damage_clip(helper, x, y, width, height);
drivers/gpu/drm/drm_fb_helper.c
530
void drm_fb_helper_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height)
drivers/gpu/drm/drm_fb_helper.c
534
drm_fb_helper_damage(fb_helper, x, y, width, height);
drivers/gpu/drm/drm_fbdev_dma.c
116
unsigned int y;
drivers/gpu/drm/drm_fbdev_dma.c
141
for (y = clip->y1; y < clip->y2; y++) {
drivers/gpu/drm/drm_fbdev_ttm.c
74
unsigned int y;
drivers/gpu/drm/drm_fbdev_ttm.c
99
for (y = clip->y1; y < clip->y2; y++) {
drivers/gpu/drm/drm_format_helper.c
1249
unsigned int y;
drivers/gpu/drm/drm_format_helper.c
1284
for (y = 0; y < lines; y++) {
drivers/gpu/drm/drm_format_helper.c
1337
unsigned int y;
drivers/gpu/drm/drm_format_helper.c
1372
for (y = 0; y < lines; y++) {
drivers/gpu/drm/drm_format_helper.c
423
unsigned int i, y, lines = drm_rect_height(clip);
drivers/gpu/drm/drm_format_helper.c
440
for (y = 0; y < lines; y++) {
drivers/gpu/drm/drm_panic.c
145
unsigned int y, x;
drivers/gpu/drm/drm_panic.c
147
for (y = 0; y < drm_rect_height(clip); y++)
drivers/gpu/drm/drm_panic.c
149
if (drm_draw_is_pixel_fg(sbuf8, spitch, x / scale, y / scale))
drivers/gpu/drm/drm_panic.c
150
sb->set_pixel(sb, clip->x1 + x, clip->y1 + y, fg_color);
drivers/gpu/drm/drm_panic.c
232
unsigned int y, x;
drivers/gpu/drm/drm_panic.c
238
for (y = 0; y < height; y++) {
drivers/gpu/drm/drm_panic.c
240
if (drm_draw_is_pixel_fg(sbuf8, spitch, x / scale, y / scale)) {
drivers/gpu/drm/drm_panic.c
244
offset = (y + clip->y1) * dpitch + (x + clip->x1) * cpp;
drivers/gpu/drm/drm_panic.c
323
unsigned int y, x;
drivers/gpu/drm/drm_panic.c
325
for (y = 0; y < drm_rect_height(clip); y++)
drivers/gpu/drm/drm_panic.c
327
sb->set_pixel(sb, clip->x1 + x, clip->y1 + y, color);
drivers/gpu/drm/drm_panic.c
334
unsigned int y, x;
drivers/gpu/drm/drm_panic.c
338
for (y = clip->y1; y < clip->y2; y++) {
drivers/gpu/drm/drm_panic.c
343
offset = y * dpitch + x * cpp;
drivers/gpu/drm/drm_plane.c
1242
crtc_y = req->y;
drivers/gpu/drm/drm_plane.c
1270
crtc->cursor_y = req->y;
drivers/gpu/drm/drm_plane.c
1335
ret = crtc->funcs->cursor_move(crtc, req->x, req->y);
drivers/gpu/drm/drm_plane.c
1497
ret = drm_crtc_check_viewport(crtc, crtc->x, crtc->y,
drivers/gpu/drm/drm_plane_helper.c
178
.y = src_y >> 16,
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
416
COORDINATE_Y(state->crtc.y / 2);
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
420
COORDINATE_Y((state->crtc.y + state->crtc.h) / 2 - 1);
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
423
val = COORDINATE_X(state->crtc.x) | COORDINATE_Y(state->crtc.y);
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
427
COORDINATE_Y(state->crtc.y + state->crtc.h - 1);
drivers/gpu/drm/exynos/exynos7_drm_decon.c
437
writel(state->src.y, ctx->regs + VIDW_OFFSET_Y(win));
drivers/gpu/drm/exynos/exynos7_drm_decon.c
445
VIDOSDxA_TOPLEFT_Y(state->crtc.y);
drivers/gpu/drm/exynos/exynos7_drm_decon.c
451
last_y = state->crtc.y + state->crtc.h;
drivers/gpu/drm/exynos/exynos7_drm_decon.c
460
state->crtc.x, state->crtc.y, last_x, last_y);
drivers/gpu/drm/exynos/exynos_drm_drv.h
44
unsigned int x, y;
drivers/gpu/drm/exynos/exynos_drm_fimc.c
476
v1 = buf->rect.y;
drivers/gpu/drm/exynos/exynos_drm_fimc.c
477
v2 = buf->buf.height - buf->rect.h - buf->rect.y;
drivers/gpu/drm/exynos/exynos_drm_fimc.c
480
buf->rect.x, buf->rect.y, buf->rect.w, buf->rect.h,
drivers/gpu/drm/exynos/exynos_drm_fimc.c
518
buf->rect.y, buf->rect.w, buf->rect.h);
drivers/gpu/drm/exynos/exynos_drm_fimc.c
539
EXYNOS_CIIYOFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimc.c
542
EXYNOS_CIICBOFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimc.c
545
EXYNOS_CIICROFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimc.c
860
buf->rect.y,
drivers/gpu/drm/exynos/exynos_drm_fimc.c
894
EXYNOS_CIOYOFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimc.c
897
EXYNOS_CIOCBOFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimc.c
900
EXYNOS_CIOCROFF_VERTICAL(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_fimd.c
849
offset += state->src.y * pitch;
drivers/gpu/drm/exynos/exynos_drm_fimd.c
878
VIDOSDxA_TOPLEFT_Y(state->crtc.y) |
drivers/gpu/drm/exynos/exynos_drm_fimd.c
880
VIDOSDxA_TOPLEFT_Y_E(state->crtc.y);
drivers/gpu/drm/exynos/exynos_drm_fimd.c
886
last_y = state->crtc.y + state->crtc.h;
drivers/gpu/drm/exynos/exynos_drm_fimd.c
897
state->crtc.x, state->crtc.y, last_x, last_y);
drivers/gpu/drm/exynos/exynos_drm_gsc.c
572
GSC_SRCIMG_OFFSET_Y(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_gsc.c
872
GSC_DSTIMG_OFFSET_Y(buf->rect.y));
drivers/gpu/drm/exynos/exynos_drm_ipp.c
501
!__align_check(buf->rect.y, lv->align))
drivers/gpu/drm/exynos/exynos_drm_ipp.c
625
src->rect.y + src->rect.h > (src->buf.height) ||
drivers/gpu/drm/exynos/exynos_drm_ipp.c
627
dst->rect.y + dst->rect.h > (dst->buf.height)) {
drivers/gpu/drm/exynos/exynos_drm_ipp.c
641
(src->rect.x || src->rect.y || dst->rect.x || dst->rect.y)) ||
drivers/gpu/drm/exynos/exynos_drm_plane.c
109
exynos_state->src.y = src_y;
drivers/gpu/drm/exynos/exynos_drm_plane.c
115
exynos_state->crtc.y = crtc_y;
drivers/gpu/drm/exynos/exynos_drm_plane.c
121
exynos_state->crtc.x, exynos_state->crtc.y,
drivers/gpu/drm/exynos/exynos_drm_rotator.c
149
val = ROT_CROP_POS_Y(buf->rect.y) | ROT_CROP_POS_X(buf->rect.x);
drivers/gpu/drm/exynos/exynos_drm_rotator.c
197
val = ROT_CROP_POS_Y(buf->rect.y) | ROT_CROP_POS_X(buf->rect.x);
drivers/gpu/drm/exynos/exynos_drm_scaler.c
187
val |= SCALER_SRC_Y_POS_SET_YV_POS(src_pos->y << 2);
drivers/gpu/drm/exynos/exynos_drm_scaler.c
192
(src_pos->y * fmt->chroma_tile_h / 16) << 2);
drivers/gpu/drm/exynos/exynos_drm_scaler.c
259
val |= SCALER_DST_POS_SET_V_POS(dst_pos->y);
drivers/gpu/drm/exynos/exynos_mixer.c
571
vp_reg_write(ctx, VP_SRC_V_POSITION, state->src.y / 2);
drivers/gpu/drm/exynos/exynos_mixer.c
573
vp_reg_write(ctx, VP_DST_V_POSITION, state->crtc.y / 2);
drivers/gpu/drm/exynos/exynos_mixer.c
576
vp_reg_write(ctx, VP_SRC_V_POSITION, state->src.y);
drivers/gpu/drm/exynos/exynos_mixer.c
578
vp_reg_write(ctx, VP_DST_V_POSITION, state->crtc.y);
drivers/gpu/drm/exynos/exynos_mixer.c
59
#define MXR_YCBCR_VAL(y, cb, cr) (((y) << 16) | ((cb) << 8) | ((cr) << 0))
drivers/gpu/drm/exynos/exynos_mixer.c
649
dst_y_offset = state->crtc.y;
drivers/gpu/drm/exynos/exynos_mixer.c
654
+ (state->src.y * fb->pitches[0]);
drivers/gpu/drm/exynos/regs-scaler.h
89
#define SCALER_CSC_COEF(x, y) (0x220 + (y) * 0xc + (x) * 0x4)
drivers/gpu/drm/gma500/cdv_intel_display.c
575
int x, int y,
drivers/gpu/drm/gma500/cdv_intel_display.c
815
crtc_funcs->mode_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/gma500/cdv_intel_dp.c
1851
crtc->x, crtc->y,
drivers/gpu/drm/gma500/cdv_intel_hdmi.c
195
encoder->crtc->x, encoder->crtc->y, encoder->crtc->primary->fb))
drivers/gpu/drm/gma500/cdv_intel_lvds.c
378
encoder->crtc->y,
drivers/gpu/drm/gma500/gma_display.c
118
"Writing base %08lX %08lX %d %d\n", start, offset, x, y);
drivers/gpu/drm/gma500/gma_display.c
444
static int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/gma500/gma_display.c
456
if (y < 0) {
drivers/gpu/drm/gma500/gma_display.c
458
y = -y;
drivers/gpu/drm/gma500/gma_display.c
462
temp |= ((y & CURSOR_POS_MASK) << CURSOR_Y_SHIFT);
drivers/gpu/drm/gma500/gma_display.c
540
ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb);
drivers/gpu/drm/gma500/gma_display.c
550
ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb);
drivers/gpu/drm/gma500/gma_display.c
58
int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/gma500/gma_display.c
89
offset = y * fb->pitches[0] + x * fb->format->cpp[0];
drivers/gpu/drm/gma500/gma_display.h
59
extern int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/gma500/oaktrail.h
243
struct drm_display_mode *adjusted_mode, int x, int y,
drivers/gpu/drm/gma500/oaktrail_crtc.c
363
int x, int y,
drivers/gpu/drm/gma500/oaktrail_crtc.c
386
return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb);
drivers/gpu/drm/gma500/oaktrail_crtc.c
485
crtc_funcs->mode_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/gma500/oaktrail_crtc.c
594
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/gma500/oaktrail_crtc.c
617
offset = y * fb->pitches[0] + x * fb->format->cpp[0];
drivers/gpu/drm/gma500/oaktrail_hdmi.c
267
int x, int y,
drivers/gpu/drm/gma500/oaktrail_hdmi.c
356
crtc_funcs->mode_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/gma500/psb_intel_display.c
117
crtc_funcs->mode_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/gma500/psb_intel_display.c
296
crtc_funcs->mode_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/gma500/psb_intel_display.c
97
int x, int y,
drivers/gpu/drm/gma500/psb_intel_lvds.c
573
encoder->crtc->y,
drivers/gpu/drm/gma500/psb_intel_sdvo.c
1731
crtc->y, crtc->primary->fb);
drivers/gpu/drm/gma500/psb_intel_sdvo.c
1759
drm_crtc_helper_set_mode(crtc, &crtc->mode, crtc->x, crtc->y,
drivers/gpu/drm/gud/gud_pipe.c
108
unsigned int x, y, width;
drivers/gpu/drm/gud/gud_pipe.c
118
for (y = rect->y1; y < rect->y2; y++) {
drivers/gpu/drm/gud/gud_pipe.c
119
sbuf32 = src + (y * fb->pitches[0]);
drivers/gpu/drm/gud/gud_pipe.c
213
req->y = cpu_to_le32(rect->y1);
drivers/gpu/drm/gud/gud_pipe.c
58
unsigned int x, y, width, height;
drivers/gpu/drm/gud/gud_pipe.c
81
for (y = 0; y < height; y++) {
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
284
static void get_pll_config(u64 x, u64 y, u32 *pll1, u32 *pll2)
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
291
hibmc_pll_table[i].vdisplay == y) {
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
314
u64 x, y;
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
320
y = mode->vdisplay;
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
322
get_pll_config(x, y, &pll1, &pll2);
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
336
writel(HIBMC_FIELD(HIBMC_CRT_AUTO_CENTERING_BR_BOTTOM, y - 1) |
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c
33
#define ROUND(x, y) ((x) / (y) + \
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c
34
((x) % (y) * 10 / (y) >= 5 ? 1 : 0))
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
551
u32 ch, u32 y, u32 in_h, u32 fmt)
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
556
u32 addr = (u32) obj->dma_addr + y * stride;
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
559
ch + 1, y, in_h, stride, (u32) obj->dma_addr);
drivers/gpu/drm/i915/display/i9xx_plane.c
322
plane_state->view.color_plane[0].y = src_y;
drivers/gpu/drm/i915/display/i9xx_plane.c
364
int y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/i9xx_plane.c
366
return intel_fb_xy_to_linear(x, y, plane_state, 0);
drivers/gpu/drm/i915/display/i9xx_plane.c
476
int y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/i9xx_plane.c
502
DISP_OFFSET_Y(y) | DISP_OFFSET_X(x));
drivers/gpu/drm/i915/display/i9xx_plane.c
505
intel_fb_xy_to_linear(x, y, plane_state, 0));
drivers/gpu/drm/i915/display/i9xx_plane.c
507
DISP_OFFSET_Y(y) | DISP_OFFSET_X(x));
drivers/gpu/drm/i915/display/i9xx_plane_regs.h
60
#define DISP_POS_Y(y) REG_FIELD_PREP(DISP_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/i9xx_plane_regs.h
78
#define DISP_OFFSET_Y(y) REG_FIELD_PREP(DISP_OFFSET_Y_MASK, (y))
drivers/gpu/drm/i915/display/i9xx_plane_regs.h
95
#define PRIM_POS_Y(y) REG_FIELD_PREP(PRIM_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_cursor.c
132
plane_state->view.color_plane[0].y = src_y;
drivers/gpu/drm/i915/display/intel_cursor.c
46
int y = plane_state->uapi.dst.y1;
drivers/gpu/drm/i915/display/intel_cursor.c
55
y = max(-1 * drm_rect_height(&plane_state->uapi.dst) + 1,
drivers/gpu/drm/i915/display/intel_cursor.c
56
y - crtc_state->psr2_su_area.y1);
drivers/gpu/drm/i915/display/intel_cursor.c
64
if (y < 0) {
drivers/gpu/drm/i915/display/intel_cursor.c
66
y = -y;
drivers/gpu/drm/i915/display/intel_cursor.c
68
pos |= CURSOR_POS_Y(y);
drivers/gpu/drm/i915/display/intel_cursor_regs.h
50
#define CURSOR_POS_Y(y) REG_FIELD_PREP(CURSOR_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_display.c
671
int x = 0, y = 0;
drivers/gpu/drm/i915/display/intel_display.c
673
intel_plane_adjust_aligned_offset(&x, &y, plane_state, 0,
drivers/gpu/drm/i915/display/intel_display.c
676
return y;
drivers/gpu/drm/i915/display/intel_display_regs.h
1145
#define PS_WIN_YPOS(y) REG_FIELD_PREP(PS_WIN_YPOS_MASK, (y))
drivers/gpu/drm/i915/display/intel_display_trace.h
503
int scaler_id, int x, int y, int w, int h),
drivers/gpu/drm/i915/display/intel_display_trace.h
504
TP_ARGS(plane, scaler_id, x, y, w, h),
drivers/gpu/drm/i915/display/intel_display_trace.h
513
__field(int, y)
drivers/gpu/drm/i915/display/intel_display_trace.h
529
__entry->y = y;
drivers/gpu/drm/i915/display/intel_display_trace.h
537
__entry->w, __entry->h, __entry->x, __entry->y)
drivers/gpu/drm/i915/display/intel_display_trace.h
542
int x, int y, int w, int h),
drivers/gpu/drm/i915/display/intel_display_trace.h
543
TP_ARGS(crtc, scaler_id, x, y, w, h),
drivers/gpu/drm/i915/display/intel_display_trace.h
552
__field(int, y)
drivers/gpu/drm/i915/display/intel_display_trace.h
564
__entry->y = y;
drivers/gpu/drm/i915/display/intel_display_trace.h
572
__entry->w, __entry->h, __entry->x, __entry->y)
drivers/gpu/drm/i915/display/intel_display_types.h
126
unsigned int x, y;
drivers/gpu/drm/i915/display/intel_display_types.h
153
unsigned int (*panic_tiling)(unsigned int x, unsigned int y, unsigned int width);
drivers/gpu/drm/i915/display/intel_fb.c
1003
old_offset += *y * pitch + *x * cpp;
drivers/gpu/drm/i915/display/intel_fb.c
1005
*y = (old_offset - new_offset) / pitch;
drivers/gpu/drm/i915/display/intel_fb.c
1006
*x = ((old_offset - new_offset) - *y * pitch) / cpp;
drivers/gpu/drm/i915/display/intel_fb.c
1011
static u32 intel_adjust_aligned_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1037
intel_adjust_tile_offset(x, y, tile_width, tile_height,
drivers/gpu/drm/i915/display/intel_fb.c
1041
intel_adjust_linear_offset(x, y, cpp, pitch,
drivers/gpu/drm/i915/display/intel_fb.c
1052
u32 intel_plane_adjust_aligned_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1057
return intel_adjust_aligned_offset(x, y, plane_state->hw.fb, color_plane,
drivers/gpu/drm/i915/display/intel_fb.c
1078
int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1102
tile_rows = *y / tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
1103
*y %= tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
1114
intel_adjust_tile_offset(x, y, tile_width, tile_height,
drivers/gpu/drm/i915/display/intel_fb.c
1118
offset = *y * pitch + *x * cpp;
drivers/gpu/drm/i915/display/intel_fb.c
1122
*y = (offset % alignment) / pitch;
drivers/gpu/drm/i915/display/intel_fb.c
1123
*x = ((offset % alignment) - *y * pitch) / cpp;
drivers/gpu/drm/i915/display/intel_fb.c
1125
*y = *x = 0;
drivers/gpu/drm/i915/display/intel_fb.c
1132
u32 intel_plane_compute_aligned_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1143
return intel_compute_aligned_offset(display, x, y, fb, color_plane,
drivers/gpu/drm/i915/display/intel_fb.c
1148
static int intel_fb_offset_to_xy(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1181
*y = 0;
drivers/gpu/drm/i915/display/intel_fb.c
1183
intel_adjust_aligned_offset(x, y,
drivers/gpu/drm/i915/display/intel_fb.c
1191
static int intel_fb_check_ccs_xy(const struct drm_framebuffer *fb, int ccs_plane, int x, int y)
drivers/gpu/drm/i915/display/intel_fb.c
1216
ccs_y = (y * vsub) % tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
1220
main_y = intel_fb->normal_view.color_plane[main_plane].y % tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
1231
intel_fb->normal_view.color_plane[main_plane].y,
drivers/gpu/drm/i915/display/intel_fb.c
1232
x, y);
drivers/gpu/drm/i915/display/intel_fb.c
1336
int plane_width, int *x, int *y)
drivers/gpu/drm/i915/display/intel_fb.c
1342
ret = intel_fb_offset_to_xy(x, y, &fb->base, color_plane);
drivers/gpu/drm/i915/display/intel_fb.c
1350
ret = intel_fb_check_ccs_xy(&fb->base, color_plane, *x, *y);
drivers/gpu/drm/i915/display/intel_fb.c
1374
static u32 calc_plane_aligned_offset(const struct intel_framebuffer *fb, int color_plane, int *x, int *y)
drivers/gpu/drm/i915/display/intel_fb.c
1380
offset = intel_compute_aligned_offset(display, x, y, &fb->base, color_plane,
drivers/gpu/drm/i915/display/intel_fb.c
1454
int y)
drivers/gpu/drm/i915/display/intel_fb.c
1456
return DIV_ROUND_UP(y + dims->height, dims->tile_height);
drivers/gpu/drm/i915/display/intel_fb.c
1462
int x, int y)
drivers/gpu/drm/i915/display/intel_fb.c
1467
size = (y + dims->height) * fb->base.pitches[color_plane] +
drivers/gpu/drm/i915/display/intel_fb.c
1486
u32 obj_offset, u32 gtt_offset, int x, int y,
drivers/gpu/drm/i915/display/intel_fb.c
1504
plane_view_linear_tiles(fb, color_plane, dims, x, y));
drivers/gpu/drm/i915/display/intel_fb.c
1513
plane_view_height_tiles(fb, color_plane, dims, y));
drivers/gpu/drm/i915/display/intel_fb.c
1524
drm_rect_init(&r, x, y, dims->width, dims->height);
drivers/gpu/drm/i915/display/intel_fb.c
1531
color_plane_info->y = r.y1;
drivers/gpu/drm/i915/display/intel_fb.c
1554
color_plane_info->y = y;
drivers/gpu/drm/i915/display/intel_fb.c
1596
intel_adjust_linear_offset(&color_plane_info->x, &color_plane_info->y,
drivers/gpu/drm/i915/display/intel_fb.c
1601
intel_adjust_tile_offset(&color_plane_info->x, &color_plane_info->y,
drivers/gpu/drm/i915/display/intel_fb.c
1615
int x, int y)
drivers/gpu/drm/i915/display/intel_fb.c
1620
tiles = plane_view_linear_tiles(fb, color_plane, dims, x, y);
drivers/gpu/drm/i915/display/intel_fb.c
1623
plane_view_height_tiles(fb, color_plane, dims, y);
drivers/gpu/drm/i915/display/intel_fb.c
1725
int x, y;
drivers/gpu/drm/i915/display/intel_fb.c
1756
ret = convert_plane_offset_to_xy(fb, i, width, &x, &y);
drivers/gpu/drm/i915/display/intel_fb.c
1767
fb->normal_view.color_plane[i].y = y;
drivers/gpu/drm/i915/display/intel_fb.c
1772
offset = calc_plane_aligned_offset(fb, i, &x, &y);
drivers/gpu/drm/i915/display/intel_fb.c
1776
offset, gtt_offset_rotated, x, y,
drivers/gpu/drm/i915/display/intel_fb.c
1781
offset, gtt_offset_remapped, x, y,
drivers/gpu/drm/i915/display/intel_fb.c
1784
size = calc_plane_normal_size(fb, i, &view_dims, x, y);
drivers/gpu/drm/i915/display/intel_fb.c
1870
unsigned int x, y;
drivers/gpu/drm/i915/display/intel_fb.c
1874
y = src_y / vsub;
drivers/gpu/drm/i915/display/intel_fb.c
1885
y += intel_fb->normal_view.color_plane[i].y;
drivers/gpu/drm/i915/display/intel_fb.c
1887
offset = calc_plane_aligned_offset(intel_fb, i, &x, &y);
drivers/gpu/drm/i915/display/intel_fb.c
1890
offset, gtt_offset, x, y,
drivers/gpu/drm/i915/display/intel_fb.c
1948
u32 intel_fb_xy_to_linear(int x, int y,
drivers/gpu/drm/i915/display/intel_fb.c
1956
return y * pitch + x * cpp;
drivers/gpu/drm/i915/display/intel_fb.c
1964
void intel_add_fb_offsets(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
1970
*y += plane_state->view.color_plane[color_plane].y;
drivers/gpu/drm/i915/display/intel_fb.c
970
static u32 intel_adjust_tile_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.c
987
*y += tiles / pitch_tiles * tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
991
*y += *x / pitch_pixels * tile_height;
drivers/gpu/drm/i915/display/intel_fb.c
997
static u32 intel_adjust_linear_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.h
73
u32 intel_plane_adjust_aligned_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.h
77
u32 intel_plane_compute_aligned_offset(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fb.h
96
unsigned int intel_fb_xy_to_linear(int x, int y,
drivers/gpu/drm/i915/display/intel_fb.h
99
void intel_add_fb_offsets(int *x, int *y,
drivers/gpu/drm/i915/display/intel_fbc.c
1313
effective_h = plane_state->view.color_plane[0].y +
drivers/gpu/drm/i915/display/intel_fbc.c
1523
int y_offset = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/intel_fbc.c
1718
plane_state->view.color_plane[0].y & 3) {
drivers/gpu/drm/i915/display/intel_fbc.c
1725
(plane_state->view.color_plane[0].y +
drivers/gpu/drm/i915/display/intel_lt_phy.c
1411
int ppm_cnt, dco_count, y;
drivers/gpu/drm/i915/display/intel_lt_phy.c
1420
for (y = 2; y <= 255; y += 2) {
drivers/gpu/drm/i915/display/intel_lt_phy.c
1421
val = div64_u64((u64)y * frequency_khz, 200);
drivers/gpu/drm/i915/display/intel_lt_phy.c
1438
*loop_cnt = y;
drivers/gpu/drm/i915/display/intel_lt_phy_regs.h
49
#define LT_PHY_VDR_X_DATAY(idx, y) ((0xC06 + (3 - (y))) + 0x6 * (idx))
drivers/gpu/drm/i915/display/intel_pfit.c
193
int ret, x, y, width, height;
drivers/gpu/drm/i915/display/intel_pfit.c
206
y = (adjusted_mode->crtc_vdisplay - height + 1)/2;
drivers/gpu/drm/i915/display/intel_pfit.c
220
y = 0;
drivers/gpu/drm/i915/display/intel_pfit.c
226
y = (adjusted_mode->crtc_vdisplay - height + 1) / 2;
drivers/gpu/drm/i915/display/intel_pfit.c
230
x = y = 0;
drivers/gpu/drm/i915/display/intel_pfit.c
242
x = y = 0;
drivers/gpu/drm/i915/display/intel_pfit.c
253
x, y, width, height);
drivers/gpu/drm/i915/display/intel_pfit.c
29
int y = dst->y1;
drivers/gpu/drm/i915/display/intel_pfit.c
32
(y & 1 || height & 1)) {
drivers/gpu/drm/i915/display/intel_pfit.c
49
adjusted_mode->crtc_vdisplay != 2 * y + height) {
drivers/gpu/drm/i915/display/intel_pfit.c
580
int y = dst->y1;
drivers/gpu/drm/i915/display/intel_pfit.c
596
PF_WIN_XPOS(x) | PF_WIN_YPOS(y));
drivers/gpu/drm/i915/display/intel_pfit_regs.h
69
#define PF_WIN_YPOS(y) REG_FIELD_PREP(PF_WIN_YPOS_MASK, (y))
drivers/gpu/drm/i915/display/intel_plane.c
1305
static unsigned int intel_ytile_get_offset(unsigned int width, unsigned int x, unsigned int y)
drivers/gpu/drm/i915/display/intel_plane.c
1312
offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE;
drivers/gpu/drm/i915/display/intel_plane.c
1315
y = y % YTILE_HEIGHT;
drivers/gpu/drm/i915/display/intel_plane.c
1318
swizzle = (x & 3) | ((y & 0x1f) << 2) | ((x & 0x1c) << 5);
drivers/gpu/drm/i915/display/intel_plane.c
1323
static unsigned int intel_4tile_get_offset(unsigned int width, unsigned int x, unsigned int y)
drivers/gpu/drm/i915/display/intel_plane.c
1330
offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE;
drivers/gpu/drm/i915/display/intel_plane.c
1333
y = y % YTILE_HEIGHT;
drivers/gpu/drm/i915/display/intel_plane.c
1336
swizzle = (x & 3) | ((y & 3) << 2) | ((x & 0xc) << 2) | (y & 4) << 4 |
drivers/gpu/drm/i915/display/intel_plane.c
1337
((x & 0x10) << 3) | ((y & 0x18) << 5);
drivers/gpu/drm/i915/display/intel_plane.c
1373
unsigned int y)
drivers/gpu/drm/i915/display/intel_psr.c
503
u8 y;
drivers/gpu/drm/i915/display/intel_psr.c
512
y = 4;
drivers/gpu/drm/i915/display/intel_psr.c
527
r = drm_dp_dpcd_read(&intel_dp->aux, DP_PSR2_SU_Y_GRANULARITY, &y, 1);
drivers/gpu/drm/i915/display/intel_psr.c
531
y = 4;
drivers/gpu/drm/i915/display/intel_psr.c
533
if (y == 0)
drivers/gpu/drm/i915/display/intel_psr.c
534
y = 1;
drivers/gpu/drm/i915/display/intel_psr.c
538
connector->dp.psr_caps.su_y_granularity = y;
drivers/gpu/drm/i915/display/intel_psr.c
582
u8 y;
drivers/gpu/drm/i915/display/intel_psr.c
587
y = 4;
drivers/gpu/drm/i915/display/intel_psr.c
596
y = connector->dp.panel_replay_caps.dpcd[INTEL_PR_DPCD_INDEX(DP_PANEL_REPLAY_CAP_Y_GRANULARITY)] ? : 1;
drivers/gpu/drm/i915/display/intel_psr.c
600
connector->dp.panel_replay_caps.su_y_granularity = y;
drivers/gpu/drm/i915/display/intel_sprite.c
1174
u32 y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/intel_sprite.c
1187
intel_fb_xy_to_linear(x, y, plane_state, 0));
drivers/gpu/drm/i915/display/intel_sprite.c
1189
DVS_OFFSET_Y(y) | DVS_OFFSET_X(x));
drivers/gpu/drm/i915/display/intel_sprite.c
398
u32 y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/intel_sprite.c
418
intel_fb_xy_to_linear(x, y, plane_state, 0));
drivers/gpu/drm/i915/display/intel_sprite.c
420
SP_OFFSET_Y(y) | SP_OFFSET_X(x));
drivers/gpu/drm/i915/display/intel_sprite.c
829
u32 y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/intel_sprite.c
845
SPRITE_OFFSET_Y(y) | SPRITE_OFFSET_X(x));
drivers/gpu/drm/i915/display/intel_sprite.c
848
intel_fb_xy_to_linear(x, y, plane_state, 0));
drivers/gpu/drm/i915/display/intel_sprite.c
850
SPRITE_OFFSET_Y(y) | SPRITE_OFFSET_X(x));
drivers/gpu/drm/i915/display/intel_sprite_regs.h
157
#define SPRITE_POS_Y(y) REG_FIELD_PREP(SPRITE_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_sprite_regs.h
190
#define SPRITE_OFFSET_Y(y) REG_FIELD_PREP(SPRITE_OFFSET_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_sprite_regs.h
276
#define SP_POS_Y(y) REG_FIELD_PREP(SP_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_sprite_regs.h
309
#define SP_OFFSET_Y(y) REG_FIELD_PREP(SP_OFFSET_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_sprite_regs.h
47
#define DVS_POS_Y(y) REG_FIELD_PREP(DVS_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/intel_sprite_regs.h
80
#define DVS_OFFSET_Y(y) REG_FIELD_PREP(DVS_OFFSET_Y_MASK, (y))
drivers/gpu/drm/i915/display/skl_scaler.c
772
int x = 0, y = 0;
drivers/gpu/drm/i915/display/skl_scaler.c
779
drm_rect_init(&dest, x, y, width, height);
drivers/gpu/drm/i915/display/skl_scaler.c
789
trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
drivers/gpu/drm/i915/display/skl_scaler.c
796
PS_WIN_XPOS(x) | PS_WIN_YPOS(y));
drivers/gpu/drm/i915/display/skl_scaler.c
813
int y = dst->y1;
drivers/gpu/drm/i915/display/skl_scaler.c
844
trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
drivers/gpu/drm/i915/display/skl_scaler.c
856
PS_WIN_XPOS(x) | PS_WIN_YPOS(y));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1444
u32 y = plane_state->view.color_plane[0].y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1467
PLANE_OFFSET_Y(y) | PLANE_OFFSET_X(x));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1473
PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) |
drivers/gpu/drm/i915/display/skl_universal_plane.c
1511
int x, y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1519
y = max(0, plane_state->uapi.dst.y1 - crtc_state->psr2_su_area.y1);
drivers/gpu/drm/i915/display/skl_universal_plane.c
1521
y = (clip->y1 + plane_state->uapi.dst.y1);
drivers/gpu/drm/i915/display/skl_universal_plane.c
1522
val = y << 16;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1533
y = plane_state->view.color_plane[color_plane].y + clip->y1;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1535
y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1537
val = y << 16 | x;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1562
int y = plane_state->view.color_plane[color_plane].y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1593
PLANE_OFFSET_Y(y) | PLANE_OFFSET_X(x));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1965
int aux_y = plane_state->view.color_plane[ccs_plane].y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1973
int x, y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1982
y = aux_y / vsub;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1983
aux_offset = intel_plane_adjust_aligned_offset(&x, &y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
1989
aux_y = y * vsub + aux_y % vsub;
drivers/gpu/drm/i915/display/skl_universal_plane.c
1997
plane_state->view.color_plane[ccs_plane].y = aux_y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2004
int *x, int *y, u32 *offset)
drivers/gpu/drm/i915/display/skl_universal_plane.c
2014
intel_add_fb_offsets(x, y, plane_state, 0);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2015
*offset = intel_plane_compute_aligned_offset(x, y, plane_state, 0);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2025
*offset = intel_plane_adjust_aligned_offset(x, y, plane_state, 0,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2046
*offset = intel_plane_adjust_aligned_offset(x, y, plane_state, 0,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2062
int y = plane_state->uapi.src.y1 >> 16;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2082
ret = skl_calc_main_surface_offset(plane_state, &x, &y, &offset);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2092
while (!skl_check_main_ccs_coordinates(plane_state, x, y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2097
offset = intel_plane_adjust_aligned_offset(&x, &y, plane_state, 0,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2102
y != plane_state->view.color_plane[aux_plane].y) {
drivers/gpu/drm/i915/display/skl_universal_plane.c
2111
drm_WARN_ON(display->drm, x > 65535 || y > 65535);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2113
drm_WARN_ON(display->drm, x > 8191 || y > 8191);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2117
plane_state->view.color_plane[0].y = y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2124
x << 16, y << 16);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2143
int y = plane_state->uapi.src.y1 >> 17;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2157
intel_add_fb_offsets(&x, &y, plane_state, uv_plane);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2158
offset = intel_plane_compute_aligned_offset(&x, &y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2166
offset = intel_plane_adjust_aligned_offset(&x, &y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2172
while (!skl_check_main_ccs_coordinates(plane_state, x, y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2177
offset = intel_plane_adjust_aligned_offset(&x, &y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2184
y != plane_state->view.color_plane[ccs_plane].y) {
drivers/gpu/drm/i915/display/skl_universal_plane.c
2193
drm_WARN_ON(display->drm, x > 65535 || y > 65535);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2195
drm_WARN_ON(display->drm, x > 8191 || y > 8191);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2199
plane_state->view.color_plane[uv_plane].y = y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2215
int x, y;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2227
y = src_y / vsub;
drivers/gpu/drm/i915/display/skl_universal_plane.c
2229
intel_add_fb_offsets(&x, &y, plane_state, ccs_plane);
drivers/gpu/drm/i915/display/skl_universal_plane.c
2231
offset = intel_plane_compute_aligned_offset(&x, &y,
drivers/gpu/drm/i915/display/skl_universal_plane.c
2237
plane_state->view.color_plane[ccs_plane].y = (y * vsub + src_y % vsub) / main_vsub;
drivers/gpu/drm/i915/display/skl_universal_plane.h
33
int *x, int *y, u32 *offset);
drivers/gpu/drm/i915/display/skl_universal_plane_regs.h
120
#define PLANE_POS_Y(y) REG_FIELD_PREP(PLANE_POS_Y_MASK, (y))
drivers/gpu/drm/i915/display/skl_universal_plane_regs.h
182
#define PLANE_OFFSET_Y(y) REG_FIELD_PREP(PLANE_OFFSET_Y_MASK, (y))
drivers/gpu/drm/i915/gem/i915_gem_pages.c
396
unsigned int y, u32 color)
drivers/gpu/drm/i915/gem/i915_gem_pages.c
399
unsigned int offset = fb->panic_tiling(sb->width, x, y);
drivers/gpu/drm/i915/gem/i915_gem_pages.c
410
unsigned int y, u32 color)
drivers/gpu/drm/i915/gem/i915_gem_pages.c
418
offset = fb->panic_tiling(sb->width, x, y);
drivers/gpu/drm/i915/gem/i915_gem_pages.c
420
offset = y * sb->pitch[0] + x * sb->format->cpp[0];
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
33
static int linear_x_y_to_ftiled_pos(int x, int y, u32 stride, int bpp)
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
358
u64 x, y;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
363
y = div64_u64_rem(v, stride, &x);
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
366
v = div64_u64_rem(y, 8, &y) * stride * 8;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
367
v += y * 512;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
382
v = div64_u64_rem(y, 32, &y) * stride * 32;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
383
v += y * ytile_span;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
424
int x, y, p;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
427
y = i915_prandom_u32_max_state(t->height, prng);
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
428
p = y * t->width + x;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
439
buf->tiling, x, y);
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
447
x, y, buf->start_val);
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
62
y / F_TILE_HEIGHT * stride * F_TILE_HEIGHT +
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
67
tile_y = y % F_TILE_HEIGHT;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
1435
unsigned long x, y;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
1480
err = __get_user(y, ptr);
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
1487
if (x != A || y != B) {
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
1490
x, y);
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
48
u64 x, y;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
53
y = div64_u64_rem(v, tile->stride, &x);
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
54
v = div64_u64_rem(y, tile->height, &y) * tile->stride * tile->height;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
57
v += y * tile->width;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
64
v += y * ytile_span;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
71
v += y * ytile_span;
drivers/gpu/drm/i915/gt/intel_engine_user.c
102
#define MAP(x, y) { ilog2(I915_ENGINE_##x), ilog2(I915_SCHEDULER_CAP_##y) }
drivers/gpu/drm/i915/gt/selftest_rps.c
601
static bool scaled_within(u64 x, u64 y, u32 f_n, u32 f_d)
drivers/gpu/drm/i915/gt/selftest_rps.c
603
return f_d * x > f_n * y && f_n * x < f_d * y;
drivers/gpu/drm/i915/i915_hwmon.c
174
u32 r, x, y, x_w = 2; /* 2 bits */
drivers/gpu/drm/i915/i915_hwmon.c
181
y = REG_FIELD_GET(PKG_PWR_LIM_1_TIME_Y, r);
drivers/gpu/drm/i915/i915_hwmon.c
190
tau4 = (u64)((1 << x_w) | x) << y;
drivers/gpu/drm/i915/i915_hwmon.c
204
u32 x, y, rxy, x_w = 2; /* 2 bits */
drivers/gpu/drm/i915/i915_hwmon.c
225
y = REG_FIELD_GET(PKG_MAX_WIN_Y, r);
drivers/gpu/drm/i915/i915_hwmon.c
226
tau4 = (u64)((1 << x_w) | x) << y;
drivers/gpu/drm/i915/i915_hwmon.c
237
y = 0;
drivers/gpu/drm/i915/i915_hwmon.c
240
y = ilog2(val);
drivers/gpu/drm/i915/i915_hwmon.c
242
x = (val - (1ul << y)) << x_w >> y;
drivers/gpu/drm/i915/i915_hwmon.c
245
rxy = REG_FIELD_PREP(PKG_PWR_LIM_1_TIME_X, x) | REG_FIELD_PREP(PKG_PWR_LIM_1_TIME_Y, y);
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_cmn.h
11
#define PXP_APIVER(x, y) (((x) & 0xFFFF) << 16 | ((y) & 0xFFFF))
drivers/gpu/drm/i915/selftests/i915_live_selftests.h
4
#define selftest(x, y)
drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
4
#define selftest(x, y)
drivers/gpu/drm/i915/selftests/i915_perf_selftests.h
4
#define selftest(x, y)
drivers/gpu/drm/i915/selftests/i915_vma.c
1011
unsigned int x, y;
drivers/gpu/drm/i915/selftests/i915_vma.c
1038
for (y = 0 ; y < plane_info[0].height; y++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
1041
u32 val = y << 16 | x;
drivers/gpu/drm/i915/selftests/i915_vma.c
1044
offset = (x * plane_info[0].dst_stride + y) * PAGE_SIZE;
drivers/gpu/drm/i915/selftests/i915_vma.c
1046
offset = (y * plane_info[0].dst_stride + x) * PAGE_SIZE;
drivers/gpu/drm/i915/selftests/i915_vma.c
1069
for (y = 0 ; y < plane_info[0].height; y++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
1072
u32 exp = y << 16 | x;
drivers/gpu/drm/i915/selftests/i915_vma.c
1076
src_idx = rotated_index(&view.rotated, 0, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
1078
src_idx = remapped_index(&view.remapped, 0, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
366
unsigned int y)
drivers/gpu/drm/i915/selftests/i915_vma.c
368
return (r->plane[n].src_stride * (r->plane[n].height - y - 1) +
drivers/gpu/drm/i915/selftests/i915_vma.c
377
unsigned int x, y;
drivers/gpu/drm/i915/selftests/i915_vma.c
382
for (y = 0; y < r->plane[n].height; y++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
388
n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
392
src_idx = rotated_index(r, n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
398
x, y, src_idx);
drivers/gpu/drm/i915/selftests/i915_vma.c
404
x, y, src_idx);
drivers/gpu/drm/i915/selftests/i915_vma.c
411
left = (r->plane[n].dst_stride - y) * PAGE_SIZE;
drivers/gpu/drm/i915/selftests/i915_vma.c
418
n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
424
sg_dma_len(sg), left, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
430
&sg_dma_address(sg), x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
443
unsigned int y)
drivers/gpu/drm/i915/selftests/i915_vma.c
445
return (r->plane[n].src_stride * y +
drivers/gpu/drm/i915/selftests/i915_vma.c
454
unsigned int x, y;
drivers/gpu/drm/i915/selftests/i915_vma.c
458
for (y = 0; y < r->plane[n].height; y++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
465
n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
473
src_idx = remapped_index(r, n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
479
x, y, src_idx);
drivers/gpu/drm/i915/selftests/i915_vma.c
485
x, y, src_idx);
drivers/gpu/drm/i915/selftests/i915_vma.c
500
x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
511
n, x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
518
x, y);
drivers/gpu/drm/i915/selftests/i915_vma.c
525
x, y);
drivers/gpu/drm/imagination/pvr_hwrt.c
109
y <<= 1;
drivers/gpu/drm/imagination/pvr_hwrt.c
114
y <<= 1;
drivers/gpu/drm/imagination/pvr_hwrt.c
117
y <<= 1;
drivers/gpu/drm/imagination/pvr_hwrt.c
124
((y << ROGUE_CR_ISP_MTILE_SIZE_Y_SHIFT) & ~ROGUE_CR_ISP_MTILE_SIZE_Y_CLRMSK);
drivers/gpu/drm/imagination/pvr_hwrt.c
134
u8 y[8];
drivers/gpu/drm/imagination/pvr_hwrt.c
139
.y = { 8 },
drivers/gpu/drm/imagination/pvr_hwrt.c
144
.y = { 12, 4 },
drivers/gpu/drm/imagination/pvr_hwrt.c
149
.y = { 2, 6, 10, 14 },
drivers/gpu/drm/imagination/pvr_hwrt.c
154
.y = { 5, 11, 9, 3, 13, 7, 15, 1 },
drivers/gpu/drm/imagination/pvr_hwrt.c
166
value |= (((u64)(16 - sample_positions[idx].y[i]) & 0xf)) << (i * 8 + 4);
drivers/gpu/drm/imagination/pvr_hwrt.c
168
value |= ((u64)sample_positions[idx].y[i]) << (i * 8 + 4);
drivers/gpu/drm/imagination/pvr_hwrt.c
97
u32 y = info->mtile_y[0];
drivers/gpu/drm/imx/dc/dc-fu.c
166
unsigned int x, unsigned int y)
drivers/gpu/drm/imx/dc/dc-fu.c
169
LAYERXOFFSET(x) | LAYERYOFFSET(y));
drivers/gpu/drm/imx/dc/dc-fu.c
173
unsigned int x, unsigned int y)
drivers/gpu/drm/imx/dc/dc-fu.c
176
CLIPWINDOWXOFFSET(x) | CLIPWINDOWYOFFSET(y));
drivers/gpu/drm/imx/dc/dc-lb.c
224
void dc_lb_position(struct dc_lb *lb, int x, int y)
drivers/gpu/drm/imx/dc/dc-lb.c
226
regmap_write(lb->reg_cfg, POSITION, XPOS(x) | YPOS(y));
drivers/gpu/drm/imx/dc/dc-pe.h
97
void dc_lb_position(struct dc_lb *lb, int x, int y);
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
131
int y = state->src.y1 >> 16;
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
136
return dma_obj->dma_addr + fb->offsets[plane] + fb->pitches[plane] * y +
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
147
int y = state->src.y1 >> 16;
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
153
y /= fb->format->vsub;
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
155
return dma_obj->dma_addr + fb->offsets[1] + fb->pitches[1] * y +
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
166
int y = state->src.y1 >> 16;
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
172
y /= fb->format->vsub;
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
174
return dma_obj->dma_addr + fb->offsets[2] + fb->pitches[2] * y +
drivers/gpu/drm/loongson/lsdc_crtc.c
553
int x, y;
drivers/gpu/drm/loongson/lsdc_crtc.c
555
lcrtc->hw_ops->get_scan_pos(lcrtc, &x, &y);
drivers/gpu/drm/loongson/lsdc_crtc.c
556
seq_printf(m, "Scanout position: x: %08u, y: %08u\n", x, y);
drivers/gpu/drm/loongson/lsdc_crtc.c
910
int x, y;
drivers/gpu/drm/loongson/lsdc_crtc.c
924
ops->get_scan_pos(lcrtc, &x, &y);
drivers/gpu/drm/loongson/lsdc_crtc.c
926
if (y > vactive_end)
drivers/gpu/drm/loongson/lsdc_crtc.c
927
y = y - vfp_end - vactive_start;
drivers/gpu/drm/loongson/lsdc_crtc.c
929
y -= vactive_start;
drivers/gpu/drm/loongson/lsdc_crtc.c
931
*vpos = y;
drivers/gpu/drm/loongson/lsdc_drv.h
161
void (*update_position)(struct lsdc_cursor *plane, int x, int y);
drivers/gpu/drm/loongson/lsdc_plane.c
587
static void lsdc_cursor0_update_position(struct lsdc_cursor *cursor, int x, int y)
drivers/gpu/drm/loongson/lsdc_plane.c
594
if (y < 0)
drivers/gpu/drm/loongson/lsdc_plane.c
595
y = 0;
drivers/gpu/drm/loongson/lsdc_plane.c
597
lsdc_wreg32(ldev, LSDC_CURSOR0_POSITION_REG, (y << 16) | x);
drivers/gpu/drm/loongson/lsdc_plane.c
625
static void lsdc_cursor1_update_position(struct lsdc_cursor *cursor, int x, int y)
drivers/gpu/drm/loongson/lsdc_plane.c
632
if (y < 0)
drivers/gpu/drm/loongson/lsdc_plane.c
633
y = 0;
drivers/gpu/drm/loongson/lsdc_plane.c
635
lsdc_wreg32(ldev, LSDC_CURSOR1_POSITION_REG, (y << 16) | x);
drivers/gpu/drm/loongson/lsdc_plane.c
678
static void lsdc_cursor1_update_position_quirk(struct lsdc_cursor *cursor, int x, int y)
drivers/gpu/drm/loongson/lsdc_plane.c
685
if (y < 0)
drivers/gpu/drm/loongson/lsdc_plane.c
686
y = 0;
drivers/gpu/drm/loongson/lsdc_plane.c
688
lsdc_wreg32(ldev, LSDC_CURSOR0_POSITION_REG, (y << 16) | x);
drivers/gpu/drm/mediatek/mtk_disp_ovl.c
503
unsigned int offset = (pending->y << 16) | pending->x;
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c
153
pending->x, pending->y, pending->width, pending->height);
drivers/gpu/drm/mediatek/mtk_ethdr.c
162
unsigned int offset = (pending->x & 1) << 31 | pending->y << 16 | pending->x;
drivers/gpu/drm/mediatek/mtk_plane.c
188
mtk_plane_state->pending.y = new_state->dst.y1;
drivers/gpu/drm/mediatek/mtk_plane.h
28
unsigned int y;
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
31
uint32_t x, y;
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
397
MDP4_DMA_CURSOR_POS_Y(mdp4_crtc->cursor.y));
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
459
static int mdp4_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
466
mdp4_crtc->cursor.y = y;
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
1036
static int mdp5_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
1063
mdp5_crtc->cursor.y = y = max(y, -(int)mdp5_crtc->cursor.height);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
64
int x, y;
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
872
if (mdp5_crtc->cursor.y >= 0)
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
874
mdp5_crtc->cursor.y);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
876
*roi_h = mdp5_crtc->cursor.height - abs(mdp5_crtc->cursor.y);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
887
uint32_t x, y, src_x, src_y, width, height;
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
896
y = mdp5_crtc->cursor.y;
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
915
if (mdp5_crtc->cursor.y < 0) {
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
916
src_y = abs(mdp5_crtc->cursor.y);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
917
y = 0;
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
922
crtc->name, x, y, roi_w, roi_h, src_x, src_y);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
934
MDP5_LM_CURSOR_START_XY_Y_START(y) |
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
738
u32 y[COMP_MAX];
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
816
step->y[COMP_0]);
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
820
step->y[COMP_1_2]);
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
911
ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, step.y);
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
918
calc_pixel_ext(format, src_h, crtc_h, step.y,
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c
165
#define CEIL(x, y) (((x) + ((y) - 1)) / (y))
drivers/gpu/drm/nouveau/dispnv04/crtc.c
1022
nv04_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/nouveau/dispnv04/crtc.c
1026
nv_crtc->cursor.set_pos(nv_crtc, x, y);
drivers/gpu/drm/nouveau/dispnv04/crtc.c
1083
state.offset + state.crtc->y *
drivers/gpu/drm/nouveau/dispnv04/crtc.c
53
nv04_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/nouveau/dispnv04/crtc.c
645
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/nouveau/dispnv04/crtc.c
738
nv04_crtc_mode_set_base(crtc, crtc->x, crtc->y, NULL);
drivers/gpu/drm/nouveau/dispnv04/crtc.c
840
int x, int y)
drivers/gpu/drm/nouveau/dispnv04/crtc.c
889
regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->format->cpp[0]);
drivers/gpu/drm/nouveau/dispnv04/crtc.c
910
nv04_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/nouveau/dispnv04/crtc.c
916
return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/nouveau/dispnv04/cursor.c
21
nv04_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y)
drivers/gpu/drm/nouveau/dispnv04/cursor.c
23
nv_crtc->cursor_saved_x = x; nv_crtc->cursor_saved_y = y;
drivers/gpu/drm/nouveau/dispnv04/cursor.c
26
XLATE(y, 0, NV_PRAMDAC_CU_START_POS_Y) |
drivers/gpu/drm/nouveau/dispnv04/i2c/ch7006_drv.c
366
crtc->x, crtc->y,
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
758
crtc->x, crtc->y,
drivers/gpu/drm/nouveau/dispnv50/atom.h
256
u16 y;
drivers/gpu/drm/nouveau/dispnv50/atom.h
78
u16 y;
drivers/gpu/drm/nouveau/dispnv50/atom.h
95
u16 y;
drivers/gpu/drm/nouveau/dispnv50/base507c.c
253
asyh->base.y = asyw->state.src.y1 >> 16;
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
66
NVVAL(NV507A, SET_CURSOR_HOT_SPOT_POINT_OUT, Y, asyw->point.y));
drivers/gpu/drm/nouveau/dispnv50/cursc37a.c
45
NVVAL(NVC37A, SET_CURSOR_HOT_SPOT_POINT_OUT, Y, asyw->point.y));
drivers/gpu/drm/nouveau/dispnv50/head507d.c
235
NVVAL(NV507D, HEAD_SET_VIEWPORT_POINT_IN, Y, asyh->core.y));
drivers/gpu/drm/nouveau/dispnv50/head507d.c
252
asyh->core.y = asyh->base.y;
drivers/gpu/drm/nouveau/dispnv50/head507d.c
264
asyh->core.y = 0;
drivers/gpu/drm/nouveau/dispnv50/head827d.c
106
NVVAL(NV827D, HEAD_SET_VIEWPORT_POINT_IN, Y, asyh->core.y));
drivers/gpu/drm/nouveau/dispnv50/head907d.c
242
NVVAL(NV907D, HEAD_SET_VIEWPORT_POINT_IN, Y, asyh->core.y));
drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c
57
NVVAL(NVC37B, SET_POINT_OUT, Y, asyw->point.y));
drivers/gpu/drm/nouveau/dispnv50/wndw.c
365
asyw->point.y = asyw->state.crtc_y;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
603
nv50_get_block_off(unsigned int x, unsigned int y, unsigned int pitch)
drivers/gpu/drm/nouveau/dispnv50/wndw.c
609
blk_y = y / nv50_panic_blk_h;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
617
unsigned int y, u32 color)
drivers/gpu/drm/nouveau/dispnv50/wndw.c
621
blk_off = nv50_get_block_off(x, y, sb->pitch[0]);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
623
y = y % nv50_panic_blk_h;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
628
swizzle = (x & 3) | (y & 3) << 2 | (x & 4) << 2 | (y & 4) << 3;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
629
swizzle |= (x & 8) << 3 | (y >> 3) << 7;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
636
nv50_set_pixel(struct drm_scanout_buffer *sb, unsigned int x, unsigned int y,
drivers/gpu/drm/nouveau/dispnv50/wndw.c
641
blk_off = nv50_get_block_off(x, y, sb->width);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
644
y = y % nv50_panic_blk_h;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
645
off = blk_off + x * 4 + y * NV_TILE_GOB_WIDTH_BYTES;
drivers/gpu/drm/nouveau/nouveau_bo.c
170
roundup_64(u64 x, u32 y)
drivers/gpu/drm/nouveau/nouveau_bo.c
172
x += y - 1;
drivers/gpu/drm/nouveau/nouveau_bo.c
173
do_div(x, y);
drivers/gpu/drm/nouveau/nouveau_bo.c
174
return x * y;
drivers/gpu/drm/nouveau/nouveau_connector.c
813
connector->encoder->crtc->y,
drivers/gpu/drm/nouveau/nouveau_crtc.h
60
void (*set_pos)(struct nouveau_crtc *, int x, int y);
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
139
u32 heads, x, y, px = 0;
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
147
y = (x & 0xffff0000) >> 16;
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
149
if ((x * y) > px) {
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
150
px = (x * y);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
129
u32 heads, x, y, px = 0;
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
138
y = (x & 0xffff0000) >> 16;
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
140
if ((x * y) > px) {
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
141
px = (x * y);
drivers/gpu/drm/omapdrm/dss/dispc.c
833
#define CVAL(x, y) (FLD_VAL(x, 26, 16) | FLD_VAL(y, 10, 0))
drivers/gpu/drm/omapdrm/dss/dispc.c
930
enum omap_overlay_caps caps, int x, int y)
drivers/gpu/drm/omapdrm/dss/dispc.c
937
val = FLD_VAL(y, 26, 16) | FLD_VAL(x, 10, 0);
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
370
unsigned int y, a, b, s;
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
383
y = (ptr[0] >> 5) & 0x3;
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
404
(a << 6) | (s << 4) | (b << 2) | (y << 0));
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1001
int x, y;
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1002
for (y = a->p0.y / ydiv; y <= a->p1.y / ydiv; y++)
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1004
if (map[y][x] == ' ' || ovw)
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1005
map[y][x] = c;
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1011
map[p->y / ydiv][p->x / xdiv] = c;
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1016
return map[p->y / ydiv][p->x / xdiv];
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1039
if (a->p0.y + 1 < a->p1.y) {
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1040
text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1042
} else if (a->p0.y < a->p1.y) {
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1044
text_map(map, xdiv, nice, a->p0.y / ydiv,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1047
text_map(map, xdiv, nice, a->p1.y / ydiv,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1048
0, a->p1.y - xdiv);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1050
text_map(map, xdiv, nice, a->p0.y / ydiv, a->p0.x, a->p1.x);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1059
text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1174
.p1.y = omap_dmm->container_height - 1,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
489
.x0 = slice.p0.x, .y0 = slice.p0.y,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
490
.x1 = slice.p1.x, .y1 = slice.p1.y,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
636
static u32 tiler_get_address(enum tiler_fmt fmt, u32 orient, u32 x, u32 y)
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
648
if (x < 0 || x > x_mask || y < 0 || y > y_mask) {
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
650
x, x, x_mask, y, y, y_mask);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
658
y ^= y_mask;
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
662
tmp = ((x << y_bits) + y);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
664
tmp = ((y << x_bits) + x);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
675
block->area.p0.y * geom[block->fmt].slot_h);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
679
u32 x, u32 y)
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
686
(p->y * geom[block->fmt].slot_h) + y);
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
951
.p1.y = omap_dmm->container_height - 1,
drivers/gpu/drm/omapdrm/omap_dmm_tiler.h
95
u32 x, u32 y);
drivers/gpu/drm/omapdrm/omap_fb.c
144
u32 x, y, orient = 0;
drivers/gpu/drm/omapdrm/omap_fb.c
160
y = state->src_y >> 16;
drivers/gpu/drm/omapdrm/omap_fb.c
182
y += h - 1;
drivers/gpu/drm/omapdrm/omap_fb.c
187
omap_gem_rotated_dma_addr(fb->obj[0], orient, x, y,
drivers/gpu/drm/omapdrm/omap_fb.c
207
info->paddr = get_linear_addr(fb, format, 0, x, y);
drivers/gpu/drm/omapdrm/omap_fb.c
219
omap_gem_rotated_dma_addr(fb->obj[1], orient, x/2, y/2,
drivers/gpu/drm/omapdrm/omap_fb.c
222
info->p_uv_addr = get_linear_addr(fb, format, 1, x, y);
drivers/gpu/drm/omapdrm/omap_fb.c
249
x + info->width, y);
drivers/gpu/drm/omapdrm/omap_fb.c
253
x + info->width, y);
drivers/gpu/drm/omapdrm/omap_fb.c
87
const struct drm_format_info *format, int n, int x, int y)
drivers/gpu/drm/omapdrm/omap_fb.c
95
+ (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub));
drivers/gpu/drm/omapdrm/omap_gem.c
1153
area->p0.x, area->p0.y,
drivers/gpu/drm/omapdrm/omap_gem.c
1154
area->p1.x, area->p1.y);
drivers/gpu/drm/omapdrm/omap_gem.c
897
int x, int y, dma_addr_t *dma_addr)
drivers/gpu/drm/omapdrm/omap_gem.c
906
*dma_addr = tiler_tsptr(omap_obj->block, orient, x, y);
drivers/gpu/drm/omapdrm/omap_gem.h
80
int x, int y, dma_addr_t *dma_addr);
drivers/gpu/drm/omapdrm/tcm-sita.c
164
area->p0.y = pos / tcm->width;
drivers/gpu/drm/omapdrm/tcm-sita.c
166
area->p1.y = (pos + num_slots - 1) / tcm->width;
drivers/gpu/drm/omapdrm/tcm-sita.c
186
area->p0.y = pos / tcm->width;
drivers/gpu/drm/omapdrm/tcm-sita.c
188
area->p1.y = area->p0.y + h - 1;
drivers/gpu/drm/omapdrm/tcm-sita.c
205
pos = area->p0.x + area->p0.y * tcm->width;
drivers/gpu/drm/omapdrm/tcm-sita.c
208
h = area->p1.y - area->p0.y + 1;
drivers/gpu/drm/omapdrm/tcm-sita.c
210
w = area->p1.x + area->p1.y * tcm->width - pos + 1;
drivers/gpu/drm/omapdrm/tcm.h
228
slice->p0.y != slice->p1.y &&
drivers/gpu/drm/omapdrm/tcm.h
232
slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1;
drivers/gpu/drm/omapdrm/tcm.h
235
parent->p0.y = slice->p1.y + 1;
drivers/gpu/drm/omapdrm/tcm.h
248
area->p1.y < area->tcm->height &&
drivers/gpu/drm/omapdrm/tcm.h
249
area->p0.y <= area->p1.y &&
drivers/gpu/drm/omapdrm/tcm.h
253
area->p0.x + area->p0.y * area->tcm->width <=
drivers/gpu/drm/omapdrm/tcm.h
254
area->p1.x + area->p1.y * area->tcm->width) ||
drivers/gpu/drm/omapdrm/tcm.h
267
p->y >= a->p0.y && p->y <= a->p1.y;
drivers/gpu/drm/omapdrm/tcm.h
269
i = p->x + p->y * a->tcm->width;
drivers/gpu/drm/omapdrm/tcm.h
270
return i >= a->p0.x + a->p0.y * a->tcm->width &&
drivers/gpu/drm/omapdrm/tcm.h
271
i <= a->p1.x + a->p1.y * a->tcm->width;
drivers/gpu/drm/omapdrm/tcm.h
284
return area->p1.y - area->p0.y + 1;
drivers/gpu/drm/omapdrm/tcm.h
292
(area->p1.x - area->p0.x + 1) + (area->p1.y - area->p0.y) *
drivers/gpu/drm/omapdrm/tcm.h
309
a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width);
drivers/gpu/drm/omapdrm/tcm.h
45
u16 y;
drivers/gpu/drm/qxl/qxl_dev.h
198
QXLFIXED y;
drivers/gpu/drm/qxl/qxl_dev.h
203
int32_t y;
drivers/gpu/drm/qxl/qxl_dev.h
208
int16_t y;
drivers/gpu/drm/qxl/qxl_dev.h
829
uint32_t y;
drivers/gpu/drm/qxl/qxl_dev.h
863
uint32_t y;
drivers/gpu/drm/qxl/qxl_display.c
119
if (client_head->y != c_rect->top) {
drivers/gpu/drm/qxl/qxl_display.c
120
client_head->y = c_rect->top;
drivers/gpu/drm/qxl/qxl_display.c
144
client_head->x, client_head->y);
drivers/gpu/drm/qxl/qxl_display.c
165
dev->mode_config.suggested_y_property, head->y);
drivers/gpu/drm/qxl/qxl_display.c
309
if (head->y > 8192 || head->x > 8192 ||
drivers/gpu/drm/qxl/qxl_display.c
313
head->x, head->y);
drivers/gpu/drm/qxl/qxl_display.c
347
head.y = crtc->y;
drivers/gpu/drm/qxl/qxl_display.c
356
head.y = 0;
drivers/gpu/drm/qxl/qxl_display.c
367
head.y == qdev->monitors_config->heads[i].y &&
drivers/gpu/drm/qxl/qxl_display.c
372
i, head.width, head.height, head.x, head.y,
drivers/gpu/drm/qxl/qxl_display.c
541
cmd->u.set.position.y = plane_state->crtc_y + plane_state->hotspot_y;
drivers/gpu/drm/qxl/qxl_display.c
584
cmd->u.position.y = plane_state->crtc_y + plane_state->hotspot_y;
drivers/gpu/drm/qxl/qxl_draw.c
238
drawable->u.copy.mask.pos.y = 0;
drivers/gpu/drm/qxl/qxl_drv.h
335
int x, int y, int width, int height,
drivers/gpu/drm/qxl/qxl_image.c
222
image->u.bitmap.y = height;
drivers/gpu/drm/qxl/qxl_image.c
236
int x, int y, int width, int height,
drivers/gpu/drm/qxl/qxl_image.c
239
data += y * stride + x * (depth / 8);
drivers/gpu/drm/radeon/atombios_crtc.c
1136
int x, int y)
drivers/gpu/drm/radeon/atombios_crtc.c
1416
y &= ~1;
drivers/gpu/drm/radeon/atombios_crtc.c
1418
(x << 16) | y);
drivers/gpu/drm/radeon/atombios_crtc.c
1447
int x, int y)
drivers/gpu/drm/radeon/atombios_crtc.c
1617
y &= ~1;
drivers/gpu/drm/radeon/atombios_crtc.c
1619
(x << 16) | y);
drivers/gpu/drm/radeon/atombios_crtc.c
1643
int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/radeon/atombios_crtc.c
1650
return dce4_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/radeon/atombios_crtc.c
1652
return avivo_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/radeon/atombios_crtc.c
1654
return radeon_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/radeon/atombios_crtc.c
2008
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/radeon/atombios_crtc.c
2039
atombios_crtc_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/radeon/radeon_connectors.c
95
crtc->x, crtc->y, crtc->primary->fb);
drivers/gpu/drm/radeon/radeon_cursor.c
144
static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y)
drivers/gpu/drm/radeon/radeon_cursor.c
152
radeon_crtc->cursor_y = y;
drivers/gpu/drm/radeon/radeon_cursor.c
157
y += crtc->y;
drivers/gpu/drm/radeon/radeon_cursor.c
162
if (y < 0)
drivers/gpu/drm/radeon/radeon_cursor.c
163
yorigin = min(-y, radeon_crtc->max_cursor_height - 1);
drivers/gpu/drm/radeon/radeon_cursor.c
167
y += crtc->y;
drivers/gpu/drm/radeon/radeon_cursor.c
169
DRM_DEBUG("x %d y %d c->x %d c->y %d\n", x, y, crtc->x, crtc->y);
drivers/gpu/drm/radeon/radeon_cursor.c
209
if (x <= (crtc->x - w) || y <= (crtc->y - radeon_crtc->cursor_height) ||
drivers/gpu/drm/radeon/radeon_cursor.c
211
y >= (crtc->y + crtc->mode.vdisplay))
drivers/gpu/drm/radeon/radeon_cursor.c
215
y += yorigin;
drivers/gpu/drm/radeon/radeon_cursor.c
218
WREG32(EVERGREEN_CUR_POSITION + radeon_crtc->crtc_offset, (x << 16) | y);
drivers/gpu/drm/radeon/radeon_cursor.c
223
WREG32(AVIVO_D1CUR_POSITION + radeon_crtc->crtc_offset, (x << 16) | y);
drivers/gpu/drm/radeon/radeon_cursor.c
229
y -= crtc->y;
drivers/gpu/drm/radeon/radeon_cursor.c
232
y *= 2;
drivers/gpu/drm/radeon/radeon_cursor.c
241
| y));
drivers/gpu/drm/radeon/radeon_cursor.c
265
int x, int y)
drivers/gpu/drm/radeon/radeon_cursor.c
270
ret = radeon_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/radeon/radeon_cursor.c
332
int x, y;
drivers/gpu/drm/radeon/radeon_cursor.c
335
y = radeon_crtc->cursor_y + radeon_crtc->cursor_hot_y - hot_y;
drivers/gpu/drm/radeon/radeon_cursor.c
342
radeon_cursor_move_locked(crtc, x, y);
drivers/gpu/drm/radeon/radeon_display.c
557
int tile_addr = (((crtc->y >> 3) * pitch_pixels + crtc->x) >> (8 - byteshift)) << 11;
drivers/gpu/drm/radeon/radeon_display.c
558
base += tile_addr + ((crtc->x << byteshift) % 256) + ((crtc->y % 8) << 8);
drivers/gpu/drm/radeon/radeon_display.c
561
int offset = crtc->y * pitch_pixels + crtc->x;
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
1028
int x, int y, struct drm_framebuffer *old_fb)
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
1033
radeon_crtc_set_base(crtc, x, y, old_fb);
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
360
int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
363
return radeon_crtc_do_set_base(crtc, old_fb, x, y);
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
368
int x, int y)
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
491
crtc_tile_x0_y0 = x | (y << 16);
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
495
int tile_addr = (((y >> 3) * pitch_pixels + x) >> (8 - byteshift)) << 11;
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
496
base += tile_addr + ((x << byteshift) % 256) + ((y % 8) << 8);
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
497
crtc_offset_cntl |= (y % 16);
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
500
int offset = y * pitch_pixels + x;
drivers/gpu/drm/radeon/radeon_mode.h
805
extern int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/radeon/radeon_mode.h
810
int x, int y,
drivers/gpu/drm/radeon/radeon_mode.h
814
extern int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y,
drivers/gpu/drm/radeon/radeon_mode.h
818
int x, int y);
drivers/gpu/drm/radeon/radeon_mode.h
827
int x, int y);
drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
49
unsigned int y = sstate->base.src_y >> 16;
drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
56
+ y * fb->pitches[0] + x * bpp / 8;
drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
62
+ y / (bpp == 4 ? 2 : 1) * fb->pitches[1]
drivers/gpu/drm/sitronix/st7571.c
102
static inline u8 st7571_transform_xy(const char *p, int x, int y, u8 bpp)
drivers/gpu/drm/sitronix/st7571.c
117
y = (y / 8) * 8;
drivers/gpu/drm/sitronix/st7571.c
120
int row_idx = y + i;
drivers/gpu/drm/sitronix/st7571.c
130
static int st7571_set_position(struct st7571_device *st7571, int x, int y)
drivers/gpu/drm/sitronix/st7571.c
135
ST7571_SET_PAGE(y / ST7571_PAGE_HEIGHT),
drivers/gpu/drm/sitronix/st7571.c
217
for (int y = rect->y1; y < rect->y2; y += ST7571_PAGE_HEIGHT) {
drivers/gpu/drm/sitronix/st7571.c
219
row[x] = st7571_transform_xy(st7571->hwbuf, x, y, 1);
drivers/gpu/drm/sitronix/st7571.c
221
st7571_set_position(st7571, rect->x1, y);
drivers/gpu/drm/sitronix/st7571.c
256
for (int y = rect->y1; y < rect->y2; y += ST7571_PAGE_HEIGHT) {
drivers/gpu/drm/sitronix/st7571.c
258
row[x] = st7571_transform_xy(st7571->hwbuf, x, y, 2);
drivers/gpu/drm/sitronix/st7571.c
260
st7571_set_position(st7571, rect->x1, y);
drivers/gpu/drm/sitronix/st7586.c
73
unsigned int x, y;
drivers/gpu/drm/sitronix/st7586.c
86
for (y = clip->y1; y < clip->y2; y++) {
drivers/gpu/drm/solomon/ssd130x.c
735
unsigned int y = rect->y1;
drivers/gpu/drm/solomon/ssd130x.c
740
u8 page_start = ssd130x->page_offset + y / page_height;
drivers/gpu/drm/solomon/ssd130x.c
746
drm_WARN_ONCE(drm, y % page_height != 0, "y must be aligned to screen page\n");
drivers/gpu/drm/solomon/ssd130x.c
792
if (page_height * (y / page_height + i + 1) > ssd130x->height)
drivers/gpu/drm/solomon/ssd130x.c
839
unsigned int y = rect->y1;
drivers/gpu/drm/solomon/ssd130x.c
872
ret = ssd130x_write_cmd(ssd130x, 3, SSD132X_SET_ROW_RANGE, y, rows - 1);
drivers/gpu/drm/solomon/ssd130x.c
897
unsigned int y = rect->y1;
drivers/gpu/drm/solomon/ssd130x.c
923
ret = ssd130x_write_cmd(ssd130x, 3, SSD133X_SET_ROW_RANGE, y, rows - 1);
drivers/gpu/drm/sti/sti_cursor.c
275
u32 y, x;
drivers/gpu/drm/sti/sti_cursor.c
291
y = sti_vtg_get_line_number(*mode, 0);
drivers/gpu/drm/sti/sti_cursor.c
293
val = y << 16 | x;
drivers/gpu/drm/sti/sti_cursor.c
295
y = sti_vtg_get_line_number(*mode, mode->vdisplay - 1);
drivers/gpu/drm/sti/sti_cursor.c
297
val = y << 16 | x;
drivers/gpu/drm/sti/sti_cursor.c
305
y = sti_vtg_get_line_number(*mode, dst_y);
drivers/gpu/drm/sti/sti_cursor.c
307
writel((y << 16) | x, cursor->regs + CUR_VPO);
drivers/gpu/drm/sti/sti_vtg.c
320
u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y)
drivers/gpu/drm/sti/sti_vtg.c
327
return start_line + y;
drivers/gpu/drm/sti/sti_vtg.h
31
u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y);
drivers/gpu/drm/sun4i/sun4i_backend.h
48
#define SUN4I_BACKEND_LAYCOOR(x, y) ((((u32)(y) & 0xffff) << 16) | \
drivers/gpu/drm/sun4i/sun4i_hdmi.h
38
#define SUN4I_HDMI_VID_TIMING_Y(y) ((((y) - 1) & GENMASK(11, 0)) << 16)
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
103
unsigned int x, y;
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
137
y = mode->vtotal - mode->vsync_start;
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
138
writel(SUN4I_HDMI_VID_TIMING_X(x) | SUN4I_HDMI_VID_TIMING_Y(y),
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
142
y = mode->vsync_start - mode->vdisplay;
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
143
writel(SUN4I_HDMI_VID_TIMING_X(x) | SUN4I_HDMI_VID_TIMING_Y(y),
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
147
y = mode->vsync_end - mode->vsync_start;
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
148
writel(SUN4I_HDMI_VID_TIMING_X(x) | SUN4I_HDMI_VID_TIMING_Y(y),
drivers/gpu/drm/sun4i/sun8i_mixer.c
269
int w, h, x, y, zpos;
drivers/gpu/drm/sun4i/sun8i_mixer.c
282
y = plane_state->dst.y1;
drivers/gpu/drm/sun4i/sun8i_mixer.c
288
enable, zpos, x, y, w, h);
drivers/gpu/drm/sun4i/sun8i_mixer.c
299
SUN8I_MIXER_COORD(x, y));
drivers/gpu/drm/sun4i/sun8i_mixer.h
17
#define SUN8I_MIXER_COORD(x, y) ((y) << 16 | (x))
drivers/gpu/drm/tegra/dc.c
369
value = V_POSITION(window->dst.y) | H_POSITION(window->dst.x);
drivers/gpu/drm/tegra/dc.c
376
v_offset = window->src.y;
drivers/gpu/drm/tegra/dc.c
403
v_dda = compute_initial_dda(window->src.y);
drivers/gpu/drm/tegra/dc.c
747
window.src.y = new_state->src.y1 >> 16;
drivers/gpu/drm/tegra/dc.c
751
window.dst.y = new_state->dst.y1;
drivers/gpu/drm/tegra/dc.c
913
unsigned int x, y;
drivers/gpu/drm/tegra/dc.c
982
y = new_state->dst.y1;
drivers/gpu/drm/tegra/dc.c
994
y = new_state->crtc_y;
drivers/gpu/drm/tegra/dc.c
998
value = ((y & tegra->vmask) << 16) | (x & tegra->hmask);
drivers/gpu/drm/tegra/dc.h
138
unsigned int y;
drivers/gpu/drm/tegra/dc.h
144
unsigned int y;
drivers/gpu/drm/tests/drm_panic_test.c
169
unsigned int y,
drivers/gpu/drm/tests/drm_panic_test.c
174
KUNIT_ASSERT_TRUE(test, x < sb->width && y < sb->height);
drivers/gpu/drm/tests/drm_plane_helper_test.c
124
check_src_eq(test, plane_state, params->src_expected.x, params->src_expected.y,
drivers/gpu/drm/tests/drm_plane_helper_test.c
126
check_crtc_eq(test, plane_state, params->crtc_expected.x, params->crtc_expected.y,
drivers/gpu/drm/tests/drm_plane_helper_test.c
31
unsigned int y;
drivers/gpu/drm/tests/drm_plane_helper_test.c
37
int y;
drivers/gpu/drm/tests/drm_plane_helper_test.c
69
mock->src_y = params->src.y;
drivers/gpu/drm/tests/drm_plane_helper_test.c
73
mock->crtc_y = params->crtc.y;
drivers/gpu/drm/tidss/tidss_dispc.c
1440
u32 x, u32 y, u32 layer)
drivers/gpu/drm/tidss/tidss_dispc.c
1444
x | (y << 16));
drivers/gpu/drm/tidss/tidss_dispc.c
1449
u32 x, u32 y, u32 layer)
drivers/gpu/drm/tidss/tidss_dispc.c
1457
OVR_REG_FLD_MOD(dispc, hw_videoport, DISPC_OVR_ATTRIBUTES(layer), y,
drivers/gpu/drm/tidss/tidss_dispc.c
1463
u32 x, u32 y, u32 layer)
drivers/gpu/drm/tidss/tidss_dispc.c
1471
OVR_REG_FLD_MOD(dispc, hw_videoport, DISPC_OVR_ATTRIBUTES2(layer), y,
drivers/gpu/drm/tidss/tidss_dispc.c
1476
u32 hw_videoport, u32 x, u32 y, u32 layer)
drivers/gpu/drm/tidss/tidss_dispc.c
1481
x, y, layer);
drivers/gpu/drm/tidss/tidss_dispc.c
1488
x, y, layer);
drivers/gpu/drm/tidss/tidss_dispc.c
1492
x, y, layer);
drivers/gpu/drm/tidss/tidss_dispc.c
1543
#define OVAL(x, y) (FIELD_PREP(GENMASK(15, 3), x) | FIELD_PREP(GENMASK(31, 19), y))
drivers/gpu/drm/tidss/tidss_dispc.c
1550
#define CVAL(x, y) (FIELD_PREP(GENMASK(10, 0), x) | FIELD_PREP(GENMASK(26, 16), y))
drivers/gpu/drm/tidss/tidss_dispc.c
2166
u32 y = state->src_y >> 16;
drivers/gpu/drm/tidss/tidss_dispc.c
2171
y * fb->pitches[0];
drivers/gpu/drm/tidss/tidss_dispc.c
2180
u32 y = state->src_y >> 16;
drivers/gpu/drm/tidss/tidss_dispc.c
2189
(y * fb->pitches[1] / fb->format->vsub);
drivers/gpu/drm/tidss/tidss_dispc.h
113
u32 hw_videoport, u32 x, u32 y, u32 layer);
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
74
crtc->y * fb->pitches[0] +
drivers/gpu/drm/tiny/arcpgu.c
110
#define ENCODE_PGU_XY(x, y) ((((x) - 1) << 16) | ((y) - 1))
drivers/gpu/drm/tiny/bochs.c
389
static void bochs_hw_setbase(struct bochs_device *bochs, int x, int y, int stride, u64 addr)
drivers/gpu/drm/tiny/bochs.c
399
y * bochs->stride +
drivers/gpu/drm/tiny/bochs.c
406
x, y, addr, offset, vx, vy);
drivers/gpu/drm/vboxvideo/modesetting.c
80
p->y = origin_y;
drivers/gpu/drm/vboxvideo/vbox_drv.h
119
u32 y;
drivers/gpu/drm/vboxvideo/vbox_mode.c
180
int x, int y)
drivers/gpu/drm/vboxvideo/vbox_mode.c
195
vbox_crtc->y = y;
drivers/gpu/drm/vboxvideo/vbox_mode.c
308
cmd_hdr.y = (s16)clips->y1;
drivers/gpu/drm/vboxvideo/vbox_mode.c
51
y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint;
drivers/gpu/drm/vboxvideo/vbox_mode.c
60
vbox_crtc->fb_offset / pitch < 0xffff - crtc->y &&
drivers/gpu/drm/vboxvideo/vbox_mode.c
70
vbox_crtc->fb_offset / pitch + vbox_crtc->y);
drivers/gpu/drm/vboxvideo/vbox_mode.c
79
vbox_crtc->y * pitch,
drivers/gpu/drm/vboxvideo/vboxvideo.h
424
s32 y; /* Upper left Y co-ordinate relative to the first screen. */
drivers/gpu/drm/vboxvideo/vboxvideo.h
437
u32 y; /* Guest cursor Y position */
drivers/gpu/drm/vboxvideo/vboxvideo.h
58
s16 y;
drivers/gpu/drm/vc4/vc4_render_cl.c
104
uint8_t x, uint8_t y)
drivers/gpu/drm/vc4/vc4_render_cl.c
107
(DIV_ROUND_UP(exec->args->width, 32) * y + x);
drivers/gpu/drm/vc4/vc4_render_cl.c
118
uint32_t x, uint32_t y)
drivers/gpu/drm/vc4/vc4_render_cl.c
122
rcl_u8(setup, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
127
uint8_t x, uint8_t y, bool first, bool last)
drivers/gpu/drm/vc4/vc4_render_cl.c
142
&args->color_read, x, y) |
drivers/gpu/drm/vc4/vc4_render_cl.c
155
vc4_tile_coordinates(setup, x, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
164
&args->zs_read, x, y) |
drivers/gpu/drm/vc4/vc4_render_cl.c
177
vc4_tile_coordinates(setup, x, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
188
(y * exec->bin_tiles_x + x) * 32));
drivers/gpu/drm/vc4/vc4_render_cl.c
204
&args->msaa_color_write, x, y) |
drivers/gpu/drm/vc4/vc4_render_cl.c
214
vc4_tile_coordinates(setup, x, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
222
&args->msaa_zs_write, x, y) |
drivers/gpu/drm/vc4/vc4_render_cl.c
230
vc4_tile_coordinates(setup, x, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
245
vc4_tile_coordinates(setup, x, y);
drivers/gpu/drm/vc4/vc4_render_cl.c
368
int y = positive_y ? min_y_tile + yi : max_y_tile - yi;
drivers/gpu/drm/vc4/vc4_render_cl.c
374
emit_tile(exec, setup, x, y, first, last);
drivers/gpu/drm/virtio/virtgpu_drv.h
341
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_drv.h
346
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_drv.h
351
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_drv.h
355
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_drv.h
362
uint32_t x, uint32_t y);
drivers/gpu/drm/virtio/virtgpu_drv.h
446
uint32_t x, uint32_t y);
drivers/gpu/drm/virtio/virtgpu_ioctl.c
304
args->box.w, args->box.h, args->box.x, args->box.y,
drivers/gpu/drm/virtio/virtgpu_plane.c
144
uint32_t y = rect->y1;
drivers/gpu/drm/virtio/virtgpu_plane.c
146
y * state->fb->pitches[0];
drivers/gpu/drm/virtio/virtgpu_plane.c
153
return virtio_gpu_panic_cmd_transfer_to_host_2d(vgdev, off, w, h, x, y,
drivers/gpu/drm/virtio/virtgpu_plane.c
167
uint32_t y = rect->y1;
drivers/gpu/drm/virtio/virtgpu_plane.c
169
y * state->fb->pitches[0];
drivers/gpu/drm/virtio/virtgpu_plane.c
176
virtio_gpu_cmd_transfer_to_host_2d(vgdev, off, w, h, x, y,
drivers/gpu/drm/virtio/virtgpu_plane.c
182
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_plane.c
193
virtio_gpu_panic_cmd_resource_flush(vgdev, bo->hw_res_handle, x, y,
drivers/gpu/drm/virtio/virtgpu_plane.c
199
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_plane.c
219
virtio_gpu_cmd_resource_flush(vgdev, bo->hw_res_handle, x, y,
drivers/gpu/drm/virtio/virtgpu_plane.c
226
virtio_gpu_cmd_resource_flush(vgdev, bo->hw_res_handle, x, y,
drivers/gpu/drm/virtio/virtgpu_plane.c
498
output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y);
drivers/gpu/drm/virtio/virtgpu_vq.c
1464
uint32_t x, uint32_t y)
drivers/gpu/drm/virtio/virtgpu_vq.c
1490
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
50
dst->y = cpu_to_le32(src->y);
drivers/gpu/drm/virtio/virtgpu_vq.c
651
uint32_t x, uint32_t y)
drivers/gpu/drm/virtio/virtgpu_vq.c
665
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
673
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_vq.c
688
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
695
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_vq.c
712
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
721
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_vq.c
743
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
751
uint32_t x, uint32_t y,
drivers/gpu/drm/virtio/virtgpu_vq.c
774
cmd_p->r.y = cpu_to_le32(y);
drivers/gpu/drm/virtio/virtgpu_vq.c
834
le32_to_cpu(resp->pmodes[i].r.y));
drivers/gpu/drm/vkms/tests/vkms_format_test.c
237
argb = argb_u16_from_yuv161616(&matrix, color->yuv.y, color->yuv.u,
drivers/gpu/drm/vkms/tests/vkms_format_test.c
26
u16 y, u, v;
drivers/gpu/drm/vkms/vkms_composer.c
251
int x, y;
drivers/gpu/drm/vkms/vkms_composer.c
267
y = tmp_b.y1 - tmp_a.y1;
drivers/gpu/drm/vkms/vkms_composer.c
269
if (x == 1 && y == 0)
drivers/gpu/drm/vkms/vkms_composer.c
271
else if (x == -1 && y == 0)
drivers/gpu/drm/vkms/vkms_composer.c
273
else if (y == 1 && x == 0)
drivers/gpu/drm/vkms/vkms_composer.c
275
else if (y == -1 && x == 0)
drivers/gpu/drm/vkms/vkms_composer.c
363
static void blend_line(struct vkms_plane_state *current_plane, int y,
drivers/gpu/drm/vkms/vkms_composer.c
371
if (y < current_plane->frame_info->dst.y1 ||
drivers/gpu/drm/vkms/vkms_composer.c
372
y >= current_plane->frame_info->dst.y2)
drivers/gpu/drm/vkms/vkms_composer.c
380
dst_line = DRM_RECT_INIT(current_plane->frame_info->dst.x1, y,
drivers/gpu/drm/vkms/vkms_composer.c
491
for (int y = 0; y < crtc_y_limit; y++) {
drivers/gpu/drm/vkms/vkms_composer.c
496
blend_line(plane[i], y, crtc_x_limit, stage_buffer, output_buffer);
drivers/gpu/drm/vkms/vkms_composer.c
504
vkms_writeback_row(wb, output_buffer, y);
drivers/gpu/drm/vkms/vkms_drv.h
321
void vkms_writeback_row(struct vkms_writeback_job *wb, const struct line_buffer *src_buffer, int y);
drivers/gpu/drm/vkms/vkms_formats.c
129
int x, int y, int plane_index, u8 **addr)
drivers/gpu/drm/vkms/vkms_formats.c
140
packed_pixels_offset(frame_info, x, y, plane_index, &offset, &rem_x,
drivers/gpu/drm/vkms/vkms_formats.c
274
u16 y, u16 channel_1, u16 channel_2)
drivers/gpu/drm/vkms/vkms_formats.c
280
fp_y = drm_int2fixp((int)y - matrix->y_offset * 257);
drivers/gpu/drm/vkms/vkms_formats.c
34
static void packed_pixels_offset(const struct vkms_frame_info *frame_info, int x, int y,
drivers/gpu/drm/vkms/vkms_formats.c
47
int block_y = y / drm_format_info_block_height(format, plane_index);
drivers/gpu/drm/vkms/vkms_formats.c
51
*rem_y = y % drm_format_info_block_height(format, plane_index);
drivers/gpu/drm/vkms/vkms_formats.c
529
READ_LINE_YUV_SEMIPLANAR(YUV888_semiplanar_read_line, y, uv, u8, u8, argb_u16_from_yuv161616,
drivers/gpu/drm/vkms/vkms_formats.c
530
y[0] * 257, uv[0] * 257, uv[1] * 257)
drivers/gpu/drm/vkms/vkms_formats.c
531
READ_LINE_YUV_SEMIPLANAR(YUV161616_semiplanar_read_line, y, uv, u16, u16, argb_u16_from_yuv161616,
drivers/gpu/drm/vkms/vkms_formats.c
532
y[0], uv[0], uv[1])
drivers/gpu/drm/vkms/vkms_formats.c
669
const struct line_buffer *src_buffer, int y)
drivers/gpu/drm/vkms/vkms_formats.c
676
packed_pixels_addr(frame_info, x_dst, y, 0, &dst_pixels, &rem_x, &rem_y);
drivers/gpu/drm/vkms/vkms_formats.c
75
int x, int y, int plane_index, u8 **addr, int *rem_x,
drivers/gpu/drm/vkms/vkms_formats.c
80
packed_pixels_offset(frame_info, x, y, plane_index, &offset, rem_x, rem_y);
drivers/gpu/drm/vkms/vkms_formats.h
18
u16 y, u16 channel_1, u16 channel_2);
drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h
539
float y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
103
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
114
int32 y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
125
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
69
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
80
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
94
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_escape.h
51
int32 x, y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
391
int32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
398
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
626
int32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
668
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
763
uint32 y;
drivers/gpu/drm/vmwgfx/device_include/svga_reg.h
774
uint32 y;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
200
u32 x, u32 y, u32 z)
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
209
y / bh * rowstride +
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
357
u32 x, y, z;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
463
loc->y = offset / mip->row_stride;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
464
offset -= loc->y * mip->row_stride;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
465
loc->y *= desc->blockSize.height;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
494
loc->y += desc->blockSize.height;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
495
if (loc->y > size->height)
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
496
loc->y = size->height;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
515
loc->x = loc->y = loc->z = 0;
drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
540
loc->y = size->height;
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
290
bool show, int x, int y)
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
299
vmw_write(dev_priv, SVGA_REG_CURSOR4_Y, y);
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
306
vmw_fifo_mem_write(dev_priv, SVGA_FIFO_CURSOR_Y, y);
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
311
vmw_write(dev_priv, SVGA_REG_CURSOR_Y, y);
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
359
box->x != 0 || box->y != 0 || box->z != 0 ||
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
369
box->x, box->y, box->z,
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1445
(rects[i].y + rects[i].h > INT_MAX)) {
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1452
drm_rects[i].y1 = curr_rect.y;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1454
drm_rects[i].y2 = curr_rect.y + curr_rect.h;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1537
s32 crtc_y = unit->crtc.y;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1572
dirty->fb_y = vclips_ptr->y;
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
127
vmw_write(dev_priv, SVGA_REG_DISPLAY_POSITION_Y, crtc->y);
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
615
cmd[i].body.y = clips->y1;
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
96
h = max(h, crtc->y + crtc->mode.vdisplay);
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
149
items[SVGA_VIDEO_SRC_Y].value = arg->src.y;
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
153
items[SVGA_VIDEO_DST_Y].value = arg->dst.y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
1182
blit->body.srcOrigin.y = dirty->fb_y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
121
int x, int y,
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
1294
blit->body.destOrigin.y = dirty->fb_y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
149
cmd->obj.root.y = y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
151
sou->base.set_gui_y = cmd->obj.root.y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
242
int x, y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
250
y = vmw_conn_state->gui_y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
252
ret = vmw_sou_fifo_create(dev_priv, sou, x, y, &crtc->mode);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
255
crtc->x, crtc->y);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
504
blit->body.srcOrigin.y = fb_y;
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
996
s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1214
box->y = diff.rect.y1;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1322
box->y = clip->y1;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
276
update->body.rect.y = top;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
381
int x, y, ret;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
406
y = vmw_conn_state->gui_y;
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
409
ret = vmw_stdu_define_st(dev_priv, stdu, &crtc->mode, x, y);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
413
crtc->x, crtc->y);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
636
blit->y = dirty->unit_y1;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1785
box_c2 = box->y + box->h;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1786
if (box->h == 0 || box->y > loc_start->y)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1787
box->y = loc_start->y;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1788
if (box_c2 < loc_end->y)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1789
box->h = loc_end->y - box->y;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1791
if (loc_start->y + 1 == loc_end->y) {
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1802
box->y = 0;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1822
box->y = 0;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
307
cb->y = 0;
drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c
89
u32 y;
drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c
98
for (y = 0; y < blocks.height; y++) {
drivers/gpu/drm/xe/abi/gsc_pxp_commands_abi.h
15
#define PXP_APIVER(x, y) (((x) & 0xFFFF) << 16 | ((y) & 0xFFFF))
drivers/gpu/drm/xe/display/xe_panic.c
37
unsigned int y, u32 color)
drivers/gpu/drm/xe/display/xe_panic.c
46
offset = fb->panic_tiling(sb->width, x, y);
drivers/gpu/drm/xe/display/xe_panic.c
48
offset = y * sb->pitch[0] + x * sb->format->cpp[0];
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
493
u32 idx = 0, x, y, direction;
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
508
y = near;
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
515
y = far;
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
522
for (i = y; i > 0; i--)
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
526
idx += (x - 1 - y);
drivers/gpu/drm/xe/xe_guc.c
359
u32 idx = 0, x, y, direction;
drivers/gpu/drm/xe/xe_guc.c
374
y = near;
drivers/gpu/drm/xe/xe_guc.c
381
y = far;
drivers/gpu/drm/xe/xe_guc.c
388
for (i = y; i > 0; i--)
drivers/gpu/drm/xe/xe_guc.c
392
idx += (x - 1 - y);
drivers/gpu/drm/xe/xe_hwmon.c
540
u32 reg_val, x, y, x_w = 2; /* 2 bits */
drivers/gpu/drm/xe/xe_hwmon.c
567
y = REG_FIELD_GET(PWR_LIM_TIME_Y, reg_val);
drivers/gpu/drm/xe/xe_hwmon.c
579
tau4 = (u64)((1 << x_w) | x) << y;
drivers/gpu/drm/xe/xe_hwmon.c
593
u32 x, y, rxy, x_w = 2; /* 2 bits */
drivers/gpu/drm/xe/xe_hwmon.c
621
y = REG_FIELD_GET(PKG_MAX_WIN_Y, r);
drivers/gpu/drm/xe/xe_hwmon.c
622
tau4 = (u64)((1 << x_w) | x) << y;
drivers/gpu/drm/xe/xe_hwmon.c
637
y = 0;
drivers/gpu/drm/xe/xe_hwmon.c
640
y = ilog2(val);
drivers/gpu/drm/xe/xe_hwmon.c
641
x = (val - (1ul << y)) << x_w >> y;
drivers/gpu/drm/xe/xe_hwmon.c
645
REG_FIELD_PREP(PWR_LIM_TIME_Y, y);
drivers/gpu/drm/xen/xen_drm_front.c
123
u32 x, u32 y, u32 width, u32 height,
drivers/gpu/drm/xen/xen_drm_front.c
142
req->op.set_config.y = y;
drivers/gpu/drm/xen/xen_drm_front.h
134
u32 x, u32 y, u32 width, u32 height,
drivers/gpu/drm/xen/xen_drm_front_kms.c
121
ret = xen_drm_front_mode_set(pipeline, crtc->x, crtc->y,
drivers/gpu/ipu-v3/ipu-cpmem.c
565
#define Y_OFFSET(pix, x, y) ((x) + pix->bytesperline * (y))
drivers/gpu/ipu-v3/ipu-cpmem.c
566
#define U_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
567
(pix->bytesperline * ((y) / 2) / 2) + (x) / 2)
drivers/gpu/ipu-v3/ipu-cpmem.c
568
#define V_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
570
(pix->bytesperline * ((y) / 2) / 2) + (x) / 2)
drivers/gpu/ipu-v3/ipu-cpmem.c
571
#define U2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
572
(pix->bytesperline * (y) / 2) + (x) / 2)
drivers/gpu/ipu-v3/ipu-cpmem.c
573
#define V2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
575
(pix->bytesperline * (y) / 2) + (x) / 2)
drivers/gpu/ipu-v3/ipu-cpmem.c
576
#define UV_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
577
(pix->bytesperline * ((y) / 2)) + (x))
drivers/gpu/ipu-v3/ipu-cpmem.c
578
#define UV2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \
drivers/gpu/ipu-v3/ipu-cpmem.c
579
(pix->bytesperline * y) + (x))
drivers/gpu/ipu-v3/ipu-image-convert.c
466
#define round_closest(x, y) round_down((x) + (y)/2, (y))
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.c
205
acc_input.in_accel_y_value = amd_sfh_float_to_int(accel_data.acceldata.y) / 100;
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.c
216
gyro_input.in_angel_y_value = amd_sfh_float_to_int(gyro_data.gyrodata.y) / 1000;
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.c
227
magno_input.in_magno_y = amd_sfh_float_to_int(mag_data.magdata.y) / 100;
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.h
125
u32 y;
drivers/hid/bpf/progs/Huion__Dial-2.bpf.c
569
__u8 y;
drivers/hid/bpf/progs/Huion__Dial-2.bpf.c
601
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__Inspiroy-2-M.bpf.c
506
__u8 y;
drivers/hid/bpf/progs/Huion__Inspiroy-2-M.bpf.c
529
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__Inspiroy-2-S.bpf.c
500
__u8 y;
drivers/hid/bpf/progs/Huion__Inspiroy-2-S.bpf.c
523
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__Kamvas13Gen3.bpf.c
1311
__u8 y;
drivers/hid/bpf/progs/Huion__Kamvas13Gen3.bpf.c
1363
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__Kamvas16Gen3.bpf.c
641
__u8 y;
drivers/hid/bpf/progs/Huion__Kamvas16Gen3.bpf.c
692
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
404
__u8 y;
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
427
pad_report->y = 0;
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
461
__u8 y;
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
496
pad_report->y = 0;
drivers/hid/hid-alps.c
321
unsigned int x, y, z;
drivers/hid/hid-alps.c
329
y = p_report->contact[i].y_hi << 8 | p_report->contact[i].y_lo;
drivers/hid/hid-alps.c
330
y = hdata->y_max - y + hdata->y_min;
drivers/hid/hid-alps.c
335
y = 0;
drivers/hid/hid-alps.c
347
input_report_abs(hdata->input, ABS_MT_POSITION_Y, y);
drivers/hid/hid-alps.c
360
unsigned int x, y, z;
drivers/hid/hid-alps.c
377
y = get_unaligned_le16(contact + 5);
drivers/hid/hid-alps.c
388
ABS_MT_POSITION_Y, y);
drivers/hid/hid-asus.c
215
int touch_major, pressure, x, y;
drivers/hid/hid-asus.c
218
y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]);
drivers/hid/hid-asus.c
221
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/hid-elan.c
214
int x, y, p;
drivers/hid/hid-elan.c
222
y = drvdata->max_y -
drivers/hid/hid-elan.c
227
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/hid-input.c
1575
input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y);
drivers/hid/hid-input.c
48
__s32 y;
drivers/hid/hid-lg3ff.c
50
int x, y;
drivers/hid/hid-lg3ff.c
66
y = effect->u.ramp.end_level;
drivers/hid/hid-lg3ff.c
76
report->field[0]->value[31] = (unsigned char)(-y);
drivers/hid/hid-lgff.c
62
int x, y;
drivers/hid/hid-lgff.c
70
y = effect->u.ramp.end_level + 0x7f;
drivers/hid/hid-lgff.c
72
CLAMP(y);
drivers/hid/hid-lgff.c
76
report->field[0]->value[3] = y;
drivers/hid/hid-lgff.c
77
dbg_hid("(x, y)=(%04x, %04x)\n", x, y);
drivers/hid/hid-logitech-hidpp.c
2252
u16 y;
drivers/hid/hid-logitech-hidpp.c
2325
finger->y = y_m << 6 | data[3];
drivers/hid/hid-logitech-hidpp.c
2974
wd->flip_y ? wd->y_size - touch_report->y :
drivers/hid/hid-logitech-hidpp.c
2975
touch_report->y);
drivers/hid/hid-logitech-hidpp.c
3013
.y = get_unaligned_le16(&data[5]),
drivers/hid/hid-logitech-hidpp.c
3021
.y = get_unaligned_le16(&data[11]),
drivers/hid/hid-magicmouse.c
138
short y;
drivers/hid/hid-magicmouse.c
217
int id, x, y, size, orientation, touch_major, touch_minor, state, down;
drivers/hid/hid-magicmouse.c
225
y = -((tdata[2] << 24 | tdata[1] << 16) >> 20);
drivers/hid/hid-magicmouse.c
237
y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19);
drivers/hid/hid-magicmouse.c
248
y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19);
drivers/hid/hid-magicmouse.c
260
msc->touches[id].y = y;
drivers/hid/hid-magicmouse.c
271
int step_y = msc->touches[id].scroll_y - y;
drivers/hid/hid-magicmouse.c
278
int step_y_hr = msc->touches[id].scroll_y_hr - y;
drivers/hid/hid-magicmouse.c
284
msc->touches[id].scroll_y = y;
drivers/hid/hid-magicmouse.c
286
msc->touches[id].scroll_y_hr = y;
drivers/hid/hid-magicmouse.c
336
msc->touches[id].scroll_y_hr = y;
drivers/hid/hid-magicmouse.c
365
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/hid-magicmouse.c
391
int x = 0, y = 0, ii, clicks = 0, npoints;
drivers/hid/hid-magicmouse.c
452
y = (int)(((data[3] & 0x30) << 26) | (data[2] << 22)) >> 22;
drivers/hid/hid-magicmouse.c
480
y = (int)((data[5] << 24) | (data[4] << 16)) >> 16;
drivers/hid/hid-magicmouse.c
506
input_report_rel(input, REL_Y, y);
drivers/hid/hid-multitouch.c
113
__s32 *x, *y, *cx, *cy, *p, *w, *h, *a;
drivers/hid/hid-multitouch.c
1186
int y;
drivers/hid/hid-multitouch.c
1227
y = hdev->quirks & HID_QUIRK_Y_INVERT ?
drivers/hid/hid-multitouch.c
1228
input_abs_get_max(input, ABS_MT_POSITION_Y) - *slot->y :
drivers/hid/hid-multitouch.c
1229
*slot->y;
drivers/hid/hid-multitouch.c
1238
input_event(input, EV_ABS, ABS_MT_POSITION_Y, y);
drivers/hid/hid-multitouch.c
611
usage->y = DEFAULT_ZERO;
drivers/hid/hid-multitouch.c
774
usage->y == DEFAULT_ZERO) {
drivers/hid/hid-multitouch.c
854
MT_STORE_FIELD(y);
drivers/hid/hid-nintendo.c
1625
s32 y;
drivers/hid/hid-nintendo.c
1631
y = -joycon_map_stick_val(&ctlr->left_stick_cal_y, raw_y);
drivers/hid/hid-nintendo.c
1634
input_report_abs(ctlr->input, ABS_Y, y);
drivers/hid/hid-nintendo.c
1643
s32 y;
drivers/hid/hid-nintendo.c
1649
y = -joycon_map_stick_val(&ctlr->right_stick_cal_y, raw_y);
drivers/hid/hid-nintendo.c
1652
input_report_abs(ctlr->input, ABS_RY, y);
drivers/hid/hid-ntrig.c
53
__u16 x, y, w, h;
drivers/hid/hid-ntrig.c
606
nd->y = value;
drivers/hid/hid-ntrig.c
631
input_event(input, EV_ABS, ABS_Y, nd->y);
drivers/hid/hid-ntrig.c
724
input_event(input, EV_ABS, ABS_Y, nd->y);
drivers/hid/hid-ntrig.c
729
input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y);
drivers/hid/hid-picolcd_fb.c
379
static void picolcdfb_ops_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height)
drivers/hid/hid-playstation.c
1464
input_report_abs(ds->gamepad, ABS_Y, ds_report->y);
drivers/hid/hid-playstation.c
1474
input_report_abs(ds->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y);
drivers/hid/hid-playstation.c
237
u8 x, y;
drivers/hid/hid-playstation.c
2415
input_report_abs(ds4->gamepad, ABS_Y, ds4_report->y);
drivers/hid/hid-playstation.c
2425
input_report_abs(ds4->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y);
drivers/hid/hid-playstation.c
461
u8 x, y;
drivers/hid/hid-playstation.c
570
static const struct {int x; int y; } ps_gamepad_hat_mapping[] = {
drivers/hid/hid-roccat-kone.h
153
uint16_t y;
drivers/hid/hid-sony.c
934
u16 x, y;
drivers/hid/hid-sony.c
938
y = ((rd[offset+1] & 0xF0) >> 4) | (rd[offset+2] << 4);
drivers/hid/hid-sony.c
954
NSG_MRXU_MAX_Y - y);
drivers/hid/hid-steam.c
1435
s16 x, y;
drivers/hid/hid-steam.c
1456
y = -steam_le16(data + 18);
drivers/hid/hid-steam.c
1459
input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y);
drivers/hid/hid-tmff.c
79
int x, y;
drivers/hid/hid-tmff.c
87
y = tmff_scale_s8(effect->u.ramp.end_level,
drivers/hid/hid-tmff.c
91
dbg_hid("(x, y)=(%04x, %04x)\n", x, y);
drivers/hid/hid-tmff.c
93
ff_field->value[1] = y;
drivers/hid/hid-udraw-ps3.c
106
int x, y, z;
drivers/hid/hid-udraw-ps3.c
130
x = y = 0;
drivers/hid/hid-udraw-ps3.c
133
y = -127;
drivers/hid/hid-udraw-ps3.c
136
y = -127;
drivers/hid/hid-udraw-ps3.c
143
y = 127;
drivers/hid/hid-udraw-ps3.c
147
y = 127;
drivers/hid/hid-udraw-ps3.c
150
y = 127;
drivers/hid/hid-udraw-ps3.c
157
y = -127;
drivers/hid/hid-udraw-ps3.c
165
input_report_abs(udraw->joy_input_dev, ABS_Y, y);
drivers/hid/hid-udraw-ps3.c
170
x = y = 0;
drivers/hid/hid-udraw-ps3.c
175
y = data[16] * 256 + data[18];
drivers/hid/hid-udraw-ps3.c
181
udraw->last_one_finger_y = y;
drivers/hid/hid-udraw-ps3.c
196
udraw->last_two_finger_y = y;
drivers/hid/hid-udraw-ps3.c
199
y = udraw->last_one_finger_y;
drivers/hid/hid-udraw-ps3.c
207
y = y - (udraw->last_two_finger_y
drivers/hid/hid-udraw-ps3.c
221
input_report_abs(udraw->touch_input_dev, ABS_Y, y);
drivers/hid/hid-udraw-ps3.c
240
input_report_abs(udraw->pen_input_dev, ABS_Y, y);
drivers/hid/hid-udraw-ps3.c
251
y = (data[21] + (data[22] << 8));
drivers/hid/hid-udraw-ps3.c
252
y = clamp_accel(y, AXIS_Y);
drivers/hid/hid-udraw-ps3.c
256
input_report_abs(udraw->accel_input_dev, ABS_Y, y);
drivers/hid/hid-wiimote-modules.c
1997
__u8 o, r, y, g, b, bass, bm, bp;
drivers/hid/hid-wiimote-modules.c
2038
y = !(ext[5] & 0x20);
drivers/hid/hid-wiimote-modules.c
2057
y, &wdata->state.pressure_drums[2],
drivers/hid/hid-wiimote-modules.c
2714
__s32 x, y, z;
drivers/hid/hid-wiimote-modules.c
2741
y = ext[1];
drivers/hid/hid-wiimote-modules.c
2745
y |= (((__u16)ext[4]) << 6) & 0xff00;
drivers/hid/hid-wiimote-modules.c
2749
y -= 8192;
drivers/hid/hid-wiimote-modules.c
2757
y = (y * 2000 * 9) / 440;
drivers/hid/hid-wiimote-modules.c
2759
y *= 9;
drivers/hid/hid-wiimote-modules.c
2766
input_report_abs(wdata->mp, ABS_RY, y);
drivers/hid/hid-wiimote-modules.c
428
__u16 x, y, z;
drivers/hid/hid-wiimote-modules.c
446
y = accel[3] << 2;
drivers/hid/hid-wiimote-modules.c
450
y |= (accel[1] >> 4) & 0x2;
drivers/hid/hid-wiimote-modules.c
454
input_report_abs(wdata->accel, ABS_RY, y - 0x200);
drivers/hid/hid-wiimote-modules.c
553
__u16 x, y;
drivers/hid/hid-wiimote-modules.c
594
y = ir[2] | ((ir[0] & 0x0c) << 6);
drivers/hid/hid-wiimote-modules.c
597
y = ir[1] | ((ir[2] & 0xc0) << 2);
drivers/hid/hid-wiimote-modules.c
601
input_report_abs(wdata->ir, yid, y);
drivers/hid/hid-wiimote-modules.c
822
__s16 x, y, z, bx, by;
drivers/hid/hid-wiimote-modules.c
860
y = ext[3] << 2;
drivers/hid/hid-wiimote-modules.c
865
y |= (ext[5] >> 4) & 0x02;
drivers/hid/hid-wiimote-modules.c
870
y |= (ext[5] >> 4) & 0x03;
drivers/hid/hid-wiimote-modules.c
875
y -= 0x200;
drivers/hid/hid-wiimote-modules.c
882
input_report_abs(wdata->extension.input, ABS_RY, y);
drivers/hid/wacom_wac.c
1187
int y = y2 - y1;
drivers/hid/wacom_wac.c
1189
return int_sqrt(x*x + y*y);
drivers/hid/wacom_wac.c
1438
int y = get_unaligned_le16(&touch[4]);
drivers/hid/wacom_wac.c
1448
input_report_abs(touch_input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
1671
int y = get_unaligned_le16(&data[offset + x_offset + 9]);
drivers/hid/wacom_wac.c
1673
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
1700
int y = le16_to_cpup((__le16 *)&data[i * 2 + 6]) & 0x7fff;
drivers/hid/wacom_wac.c
1703
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
1719
int x = 0, y = 0;
drivers/hid/wacom_wac.c
1727
y = get_unaligned_le16(&data[3]);
drivers/hid/wacom_wac.c
1731
y = get_unaligned_le16(&data[5]);
drivers/hid/wacom_wac.c
1735
y = le16_to_cpup((__le16 *)&data[4]);
drivers/hid/wacom_wac.c
1740
input_report_abs(input, ABS_Y, y);
drivers/hid/wacom_wac.c
2755
hid_data->y);
drivers/hid/wacom_wac.c
2788
wacom_wac->hid_data.y = value;
drivers/hid/wacom_wac.c
3083
int y = get_unaligned_be16(&data[offset + 5]) & 0x7ff;
drivers/hid/wacom_wac.c
3086
y <<= 5;
drivers/hid/wacom_wac.c
3089
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
3121
int y = (data[3] << 4) | (data[4] & 0x0f);
drivers/hid/wacom_wac.c
3141
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
3199
int x = 0, y = 0, p = 0, d = 0;
drivers/hid/wacom_wac.c
3222
y = le16_to_cpup((__le16 *)&data[4]);
drivers/hid/wacom_wac.c
3253
input_report_abs(input, ABS_Y, y);
drivers/hid/wacom_wac.c
3318
int x, y;
drivers/hid/wacom_wac.c
3335
y = (finger_data[2] << 4) | (finger_data[1] >> 4);
drivers/hid/wacom_wac.c
3338
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/hid/wacom_wac.c
856
unsigned int x, y, distance, t;
drivers/hid/wacom_wac.c
893
y = (be16_to_cpup((__be16 *)&data[4]) << 1) | (data[9] & 1);
drivers/hid/wacom_wac.c
897
y >>= 1;
drivers/hid/wacom_wac.c
903
input_report_abs(input, ABS_Y, y);
drivers/hid/wacom_wac.h
308
int y;
drivers/hwmon/applesmc.c
726
s16 x, y;
drivers/hwmon/applesmc.c
730
if (applesmc_read_s16(MOTION_SENSOR_Y_KEY, &y))
drivers/hwmon/applesmc.c
735
input_report_abs(idev, ABS_Y, y - rest_y);
drivers/hwmon/applesmc.c
751
s16 x, y, z;
drivers/hwmon/applesmc.c
756
ret = applesmc_read_s16(MOTION_SENSOR_Y_KEY, &y);
drivers/hwmon/applesmc.c
767
return sysfs_emit(buf, "(%d,%d,%d)\n", x, y, z);
drivers/hwmon/nct7363.c
31
#define ALARM_SEL(x, y) ((x) & (BIT((y) % 8)))
drivers/hwmon/nct7363.c
32
#define VALUE_TO_REG(x, y) (((x) >> ((y) * 8)) & 0xFF)
drivers/hwmon/pmbus/ibm-cffps.c
76
#define to_psu(x, y) container_of((x), struct ibm_cffps, debugfs_entries[(y)])
drivers/hwmon/pmbus/max20730.c
103
#define to_psu(x, y) container_of((x), \
drivers/hwmon/pmbus/max20730.c
104
struct max20730_debugfs_data, debugfs_entries[(y)])
drivers/hwmon/pmbus/q54sj108a2.c
55
#define to_psu(x, y) container_of((x), struct q54sj108a2_data, debugfs_entries[(y)])
drivers/iio/adc/at91_adc.c
311
unsigned int x, y, pres, xpos, ypos;
drivers/iio/adc/at91_adc.c
333
y = (ypos << MAX_POS_BITS) - ypos;
drivers/iio/adc/at91_adc.c
339
y /= yscale;
drivers/iio/adc/at91_adc.c
357
x, y, pres / factor);
drivers/iio/adc/at91_adc.c
359
input_report_abs(st->ts_input, ABS_Y, y);
drivers/iio/adc/mcp3564.c
116
#define MCP3564_MUX_SET(x, y) (FIELD_PREP(MCP3564_MUX_VIN_P_MASK, (x)) | \
drivers/iio/adc/mcp3564.c
117
FIELD_PREP(MCP3564_MUX_VIN_N_MASK, (y)))
drivers/iio/adc/qcom-vadc-common.c
21
s32 y;
drivers/iio/adc/qcom-vadc-common.c
358
*output = pts[0].y;
drivers/iio/adc/qcom-vadc-common.c
360
*output = pts[tablesize - 1].y;
drivers/iio/adc/qcom-vadc-common.c
363
*output = fixp_linear_interpolate(pts[i - 1].x, pts[i - 1].y,
drivers/iio/adc/qcom-vadc-common.c
364
pts[i].x, pts[i].y,
drivers/iio/adc/qcom-vadc-common.c
380
while (i < tablesize && pts[i].y < input)
drivers/iio/adc/qcom-vadc-common.c
389
return fixp_linear_interpolate(pts[i - 1].y, pts[i - 1].x,
drivers/iio/adc/qcom-vadc-common.c
390
pts[i].y, pts[i].x, input);
drivers/iio/adc/stm32-dfsdm.h
192
#define DFSDM_ICR_CLRCKABF_CH_MASK(y) BIT(16 + (y))
drivers/iio/adc/stm32-dfsdm.h
193
#define DFSDM_ICR_CLRCKABF_CH(v, y) \
drivers/iio/adc/stm32-dfsdm.h
194
(((v) << (16 + (y))) & DFSDM_ICR_CLRCKABF_CH_MASK(y))
drivers/iio/adc/stm32-dfsdm.h
197
#define DFSDM_ICR_CLRSCDF_CH_MASK(y) BIT(24 + (y))
drivers/iio/adc/stm32-dfsdm.h
198
#define DFSDM_ICR_CLRSCDF_CH(v, y) \
drivers/iio/adc/stm32-dfsdm.h
199
(((v) << (24 + (y))) & DFSDM_ICR_CLRSCDF_MASK(y))
drivers/iio/adc/stm32-dfsdm.h
44
#define DFSDM_CHCFGR1(y) ((y) * 0x20 + 0x00)
drivers/iio/adc/stm32-dfsdm.h
45
#define DFSDM_CHCFGR2(y) ((y) * 0x20 + 0x04)
drivers/iio/adc/stm32-dfsdm.h
46
#define DFSDM_AWSCDR(y) ((y) * 0x20 + 0x08)
drivers/iio/adc/stm32-dfsdm.h
47
#define DFSDM_CHWDATR(y) ((y) * 0x20 + 0x0C)
drivers/iio/adc/stm32-dfsdm.h
48
#define DFSDM_CHDATINR(y) ((y) * 0x20 + 0x10)
drivers/iio/chemical/sgp40.c
108
u32 x, y, xp;
drivers/iio/chemical/sgp40.c
124
y = 1 << power;
drivers/iio/chemical/sgp40.c
130
y += (xp >> divider) / factorial;
drivers/iio/chemical/sgp40.c
140
return (1 << (power * 2)) / y;
drivers/iio/chemical/sgp40.c
142
return y;
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h
50
__be16 y;
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h
63
s16 x, y, z;
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h
66
y = inv_icm42600_fifo_get_sensor_data(s->y);
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h
70
y == INV_ICM42600_FIFO_DATA_INVALID &&
drivers/iio/imu/inv_icm45600/inv_icm45600_buffer.h
57
__le16 y;
drivers/iio/imu/inv_icm45600/inv_icm45600_buffer.h
65
s16 x, y, z;
drivers/iio/imu/inv_icm45600/inv_icm45600_buffer.h
68
y = le16_to_cpu(s->y);
drivers/iio/imu/inv_icm45600/inv_icm45600_buffer.h
72
y != INV_ICM45600_DATA_INVALID ||
drivers/iio/light/si1133.c
246
static int si1133_calculate_output(s32 x, s32 y, u8 x_order, u8 y_order,
drivers/iio/light/si1133.c
269
y1 = si1133_calculate_polynomial_inner(y, input_fraction,
drivers/iio/light/si1133.c
282
static int si1133_calc_polynomial(s32 x, s32 y, u8 input_fraction, u8 num_coeff,
drivers/iio/light/si1133.c
303
output += si1133_calculate_output(x, y, x_order,
drivers/iio/light/veml6030.c
465
int ret, reg, period, x, y;
drivers/iio/light/veml6030.c
468
ret = veml6030_get_it(data, &x, &y);
drivers/iio/light/veml6030.c
479
period = y * (1 << ((reg >> 4) & 0x03));
drivers/iio/light/veml6030.c
490
int ret, period, x, y;
drivers/iio/light/veml6030.c
493
ret = veml6030_get_it(data, &x, &y);
drivers/iio/light/veml6030.c
498
period = val2 / y;
drivers/iio/light/veml6030.c
501
period = 1600000 / y;
drivers/iio/light/veml6030.c
503
period = 3200000 / y;
drivers/iio/light/veml6030.c
505
period = 6400000 / y;
drivers/iio/magnetometer/als31300.c
106
u16 *t, s16 *x, s16 *y, s16 *z)
drivers/iio/magnetometer/als31300.c
139
*y = ALS31300_DATA_Y_GET(buf);
drivers/iio/magnetometer/als31300.c
153
s16 x, y, z;
drivers/iio/magnetometer/als31300.c
159
ret = als31300_get_measure(data, &t, &x, &y, &z);
drivers/iio/magnetometer/als31300.c
171
*val = y;
drivers/iio/magnetometer/als31300.c
234
s16 x, y, z;
drivers/iio/magnetometer/als31300.c
238
ret = als31300_get_measure(data, &t, &x, &y, &z);
drivers/iio/magnetometer/als31300.c
244
scan.channels[1] = y;
drivers/iio/magnetometer/bmc150_magn.c
375
static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y,
drivers/iio/magnetometer/bmc150_magn.c
381
if (y == BMC150_MAGN_XY_OVERFLOW_VAL)
drivers/iio/magnetometer/bmc150_magn.c
388
val = ((s16)((((s32)y) * ((((((((s32)tregs->xy2) * ((((s32)val) *
drivers/iio/magnetometer/mmc35240.c
77
#define MMC35240_Y_COEFF(y) (y + 1000)
drivers/iio/magnetometer/tlv493d.c
193
static int tlv493d_get_measurements(struct tlv493d_data *data, s16 *x, s16 *y,
drivers/iio/magnetometer/tlv493d.c
228
*y = tlv493d_get_channel_data(buff, TLV493D_AXIS_Y);
drivers/iio/magnetometer/tlv493d.c
274
s16 x, y, z, t;
drivers/iio/magnetometer/tlv493d.c
279
ret = tlv493d_get_measurements(data, &x, &y, &z, &t);
drivers/iio/magnetometer/tlv493d.c
288
*val = y;
drivers/iio/magnetometer/tlv493d.c
343
s16 x, y, z, t;
drivers/iio/magnetometer/tlv493d.c
354
ret = tlv493d_get_measurements(data, &x, &y, &z, &t);
drivers/iio/magnetometer/tlv493d.c
361
scan.channels[1] = y;
drivers/iio/magnetometer/tmag5273.c
157
s16 *y, s16 *z, u16 *angle, u16 *magnitude)
drivers/iio/magnetometer/tmag5273.c
185
*y = be16_to_cpu(reg_data[2]);
drivers/iio/magnetometer/tmag5273.c
285
s16 t, x, y, z;
drivers/iio/magnetometer/tmag5273.c
295
ret = tmag5273_get_measure(data, &t, &x, &y, &z, &angle, &magnitude);
drivers/iio/magnetometer/tmag5273.c
310
*val = y;
drivers/iio/magnetometer/yamaha-yas530.c
618
s32 t, x, y, z;
drivers/iio/magnetometer/yamaha-yas530.c
625
ret = ci->get_measure(yas5xx, &t, &x, &y, &z);
drivers/iio/magnetometer/yamaha-yas530.c
637
*val = y;
drivers/iio/magnetometer/yamaha-yas530.c
661
s32 t, x, y, z;
drivers/iio/magnetometer/yamaha-yas530.c
665
ret = ci->get_measure(yas5xx, &t, &x, &y, &z);
drivers/iio/magnetometer/yamaha-yas530.c
673
yas5xx->scan.channels[2] = y;
drivers/infiniband/hw/bnxt_re/debugfs.h
21
#define CC_CONFIG_GEN_EXT(x, y) (((x) << 16) | (y))
drivers/input/ff-memless.c
247
int x, y;
drivers/input/ff-memless.c
257
y = fixp_mult(-fixp_cos16(i), level) * gain / 0xffff;
drivers/input/ff-memless.c
266
clamp_val(effect->u.ramp.end_level + y, -0x80, 0x7f);
drivers/input/gameport/gameport.c
53
#define DELTA(x,y) ((y)-(x)+((y)<(x)?1193182/HZ:0))
drivers/input/input-mt.c
251
int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y);
drivers/input/input-mt.c
254
input_event(dev, EV_ABS, ABS_Y, y);
drivers/input/input-mt.c
409
int x, y;
drivers/input/input-mt.c
415
y = input_mt_get_value(s, ABS_MT_POSITION_Y);
drivers/input/input-mt.c
417
int dx = x - p->x, dy = y - p->y;
drivers/input/joydev.c
357
data.y = (joydev->abs[1] / 256 + 128) >> joydev->glue.JS_CORR.y;
drivers/input/joystick/adafruit-seesaw.c
177
data->y = be16_to_cpu(adc_data);
drivers/input/joystick/adafruit-seesaw.c
206
input_report_abs(input, ABS_Y, data.y);
drivers/input/joystick/adafruit-seesaw.c
72
u16 y;
drivers/input/joystick/adi.c
225
input_report_abs(dev, *abs++, adi_hat_to_axis[t].y);
drivers/input/joystick/adi.c
82
int y;
drivers/input/joystick/analog.c
366
int i, j, t, v, w, x, y, z;
drivers/input/joystick/analog.c
398
y = (port->axes[0] + port->axes[1]) >> 1;
drivers/input/joystick/analog.c
399
z = y - port->axes[i];
drivers/input/joystick/analog.c
404
if ((i == 2 || i == 3) && (j == 2 || j == 3) && (z > (y >> 3)))
drivers/input/joystick/analog.c
405
x = y;
drivers/input/joystick/as5011.c
129
signed char x, y;
drivers/input/joystick/as5011.c
135
error = as5011_i2c_read(as5011->i2c_client, AS5011_Y_RES_INT, &y);
drivers/input/joystick/as5011.c
140
input_report_abs(as5011->input_dev, ABS_Y, y);
drivers/input/joystick/gamecon.c
207
signed char x, y;
drivers/input/joystick/gamecon.c
221
x = y = 0;
drivers/input/joystick/gamecon.c
227
y |= 1 << j;
drivers/input/joystick/gamecon.c
231
input_report_abs(dev, ABS_Y, -y);
drivers/input/joystick/guillemot.c
121
input_report_abs(dev, ABS_HAT0Y, guillemot_hat_to_axis[data[4] >> 4].y);
drivers/input/joystick/guillemot.c
36
int y;
drivers/input/joystick/iforce/iforce-packets.c
119
input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y);
drivers/input/joystick/iforce/iforce-packets.c
15
__s32 y;
drivers/input/joystick/n64joy.c
183
input_report_abs(dev, ABS_Y, data[i].y);
drivers/input/joystick/n64joy.c
80
signed int y: 8;
drivers/input/joystick/qwiic-joystick.c
41
__be16 y;
drivers/input/joystick/qwiic-joystick.c
57
input_report_abs(input, ABS_Y, be16_to_cpu(data.y) >> 6);
drivers/input/joystick/sidewinder.c
303
input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
drivers/input/joystick/sidewinder.c
346
input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
drivers/input/joystick/sidewinder.c
366
input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
drivers/input/joystick/sidewinder.c
93
int y;
drivers/input/joystick/tmdc.c
199
input_report_abs(port->dev, ABS_HAT0Y, tmdc_hat_to_axis[(data[i] - 141) / 25].y);
drivers/input/joystick/tmdc.c
70
int y;
drivers/input/keyboard/applespi.c
1012
input_report_abs(input, ABS_MT_POSITION_Y, pos->y);
drivers/input/keyboard/applespi.c
1035
applespi->pos[n].y = tp_info->y_min + tp_info->y_max -
drivers/input/keyboard/applespi.c
1226
int x, y, w, h;
drivers/input/keyboard/applespi.c
1228
sts = sscanf(touchpad_dimensions, "%dx%d+%u+%u", &x, &y, &w, &h);
drivers/input/keyboard/applespi.c
1233
applespi->tp_info.y_min = y;
drivers/input/keyboard/applespi.c
1235
applespi->tp_info.y_max = y + h;
drivers/input/keyboard/hpps2atkbd.h
19
# define CONFLICT(x,y) x
drivers/input/keyboard/hpps2atkbd.h
21
# define CONFLICT(x,y) y
drivers/input/keyboard/jornada680_kbd.c
135
}, *y = matrix_PDE;
drivers/input/keyboard/jornada680_kbd.c
143
__raw_writew((dc_static | *y++), PDCR);
drivers/input/keyboard/jornada680_kbd.c
144
__raw_writew((ec_static | *y++), PECR);
drivers/input/keyboard/lpc32xx-keys.c
38
#define LPC32XX_KS_DATA(x, y) ((x) + 0x40 + ((y) << 2))
drivers/input/misc/adxl34x.c
187
int y;
drivers/input/misc/adxl34x.c
250
ac->saved.y = (s16) le16_to_cpu(buf[1]);
drivers/input/misc/adxl34x.c
251
axis->y = ac->saved.y;
drivers/input/misc/adxl34x.c
267
axis.y - ac->swcal.y);
drivers/input/misc/adxl34x.c
492
ac->hwcal.y * 4 + ac->swcal.y,
drivers/input/misc/adxl34x.c
512
ac->hwcal.y -= (ac->saved.y / 4);
drivers/input/misc/adxl34x.c
513
ac->swcal.y = ac->saved.y % 4;
drivers/input/misc/adxl34x.c
519
AC_WRITE(ac, OFSY, (s8) ac->hwcal.y);
drivers/input/misc/adxl34x.c
605
ac->saved.x, ac->saved.y, ac->saved.z);
drivers/input/misc/adxl34x.c
811
ac->hwcal.y = pdata->y_axis_offset;
drivers/input/misc/bma150.c
308
s16 x, y, z;
drivers/input/misc/bma150.c
317
y = ((0xc0 & data[2]) >> 6) | (data[3] << 2);
drivers/input/misc/bma150.c
321
y = sign_extend32(y, 9);
drivers/input/misc/bma150.c
325
input_report_abs(bma150->input, ABS_Y, y);
drivers/input/misc/ims-pcu.c
265
int x, y;
drivers/input/misc/ims-pcu.c
268
y = !!(data & (1 << 12)) - !!(data & (1 << 11));
drivers/input/misc/ims-pcu.c
271
input_report_abs(input, ABS_Y, y);
drivers/input/misc/kxtj9.c
103
s16 x, y, z;
drivers/input/misc/kxtj9.c
111
y = le16_to_cpu(acc_data[tj9->pdata.axis_map_y]);
drivers/input/misc/kxtj9.c
115
y >>= tj9->shift;
drivers/input/misc/kxtj9.c
119
input_report_abs(tj9->input_dev, ABS_Y, tj9->pdata.negate_y ? -y : y);
drivers/input/misc/mma8450.c
107
y = ((int)(s8)buf[3] << 4) | (buf[2] & 0xf);
drivers/input/misc/mma8450.c
111
input_report_abs(input, ABS_Y, y);
drivers/input/misc/mma8450.c
91
int x, y, z;
drivers/input/misc/pcf8574_keypad.c
48
unsigned char x, y, a, b;
drivers/input/misc/pcf8574_keypad.c
54
y = 0xF & (~i2c_smbus_read_byte(lp->client));
drivers/input/misc/pcf8574_keypad.c
58
for (b = 0; y > 0; b++)
drivers/input/misc/pcf8574_keypad.c
59
y = y >> 1;
drivers/input/mouse/alps.c
1000
mt[1].y |= 0x001F;
drivers/input/mouse/alps.c
1006
mt[1].y |= 0x000F;
drivers/input/mouse/alps.c
1010
mt[0].y = 0x7FF - mt[0].y;
drivers/input/mouse/alps.c
1011
mt[1].y = 0x7FF - mt[1].y;
drivers/input/mouse/alps.c
1019
if (mt[i].x != 0 || mt[i].y != 0)
drivers/input/mouse/alps.c
1078
if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) {
drivers/input/mouse/alps.c
1080
f->mt[0].y = f->mt[1].y;
drivers/input/mouse/alps.c
1082
f->mt[1].y = 0;
drivers/input/mouse/alps.c
1093
int x, y, z;
drivers/input/mouse/alps.c
1103
y = (packet[3] & 0x07) | (packet[4] & 0xb8) |
drivers/input/mouse/alps.c
1108
input_report_rel(dev2, REL_Y, -((s8)y));
drivers/input/mouse/alps.c
1190
f->mt[0].y = SS4_1F_Y_V2(p);
drivers/input/mouse/alps.c
1212
f->mt[0].y = SS4_BTL_MF_Y_V2(p, 0);
drivers/input/mouse/alps.c
1213
f->mt[1].y = SS4_BTL_MF_Y_V2(p, 1);
drivers/input/mouse/alps.c
1222
f->mt[0].y = SS4_STD_MF_Y_V2(p, 0);
drivers/input/mouse/alps.c
1223
f->mt[1].y = SS4_STD_MF_Y_V2(p, 1);
drivers/input/mouse/alps.c
1250
f->mt[2].y = SS4_BTL_MF_Y_V2(p, 0);
drivers/input/mouse/alps.c
1251
f->mt[3].y = SS4_BTL_MF_Y_V2(p, 1);
drivers/input/mouse/alps.c
1264
f->mt[2].y = SS4_STD_MF_Y_V2(p, 0);
drivers/input/mouse/alps.c
1265
f->mt[3].y = SS4_STD_MF_Y_V2(p, 1);
drivers/input/mouse/alps.c
1274
f->mt[3].y == no_data_y) {
drivers/input/mouse/alps.c
1276
f->mt[3].y = 0;
drivers/input/mouse/alps.c
254
int x, y, z, ges, fin, left, right, middle;
drivers/input/mouse/alps.c
262
y = packet[4] | ((packet[3] & 0x07) << 7);
drivers/input/mouse/alps.c
269
y = packet[4] | ((packet[3] & 0x70) << (7 - 4));
drivers/input/mouse/alps.c
290
input_report_rel(dev2, REL_Y, -(y > 255 ? (y - 512) : y));
drivers/input/mouse/alps.c
318
input_report_abs(dev, ABS_Y, y);
drivers/input/mouse/alps.c
332
input_report_abs(dev, ABS_Y, y);
drivers/input/mouse/alps.c
433
corner[0].y =
drivers/input/mouse/alps.c
441
corner[1].y =
drivers/input/mouse/alps.c
449
corner[2].y =
drivers/input/mouse/alps.c
457
corner[3].y =
drivers/input/mouse/alps.c
471
corner[i].y = priv->y_max - corner[i].y;
drivers/input/mouse/alps.c
484
int dy = fields->st.y - corner[i].y;
drivers/input/mouse/alps.c
502
static void alps_set_slot(struct input_dev *dev, int slot, int x, int y)
drivers/input/mouse/alps.c
507
input_report_abs(dev, ABS_MT_POSITION_Y, y);
drivers/input/mouse/alps.c
519
alps_set_slot(dev, slot[i], f->mt[i].x, f->mt[i].y);
drivers/input/mouse/alps.c
533
f->mt[0].y = f->st.y;
drivers/input/mouse/alps.c
539
alps_set_slot(dev, 0, f->mt[0].x, f->mt[0].y);
drivers/input/mouse/alps.c
541
alps_set_slot(dev, 1, f->mt[1].x, f->mt[1].y);
drivers/input/mouse/alps.c
560
int x, y, z, left, right, middle;
drivers/input/mouse/alps.c
583
y = (s8)(((packet[0] & 0x10) << 3) | (packet[2] & 0x7f));
drivers/input/mouse/alps.c
592
y /= 8;
drivers/input/mouse/alps.c
595
input_report_rel(dev, REL_Y, -y);
drivers/input/mouse/alps.c
651
f->st.y = ((p[2] & 0x7f) << 4) | (p[4] & 0x0f);
drivers/input/mouse/alps.c
679
f->st.y = ((p[2] & 0x7f) << 4) | (p[4] & 0x0f);
drivers/input/mouse/alps.c
699
f->st.y = ((p[2] & 0x7f) | ((p[4] & 0xf0) << 3));
drivers/input/mouse/alps.c
789
if (f->st.x && f->st.y && !f->pressure)
drivers/input/mouse/alps.c
829
int x, y, z;
drivers/input/mouse/alps.c
847
y = packet[2] | ((packet[3] & 0x40) << 1);
drivers/input/mouse/alps.c
851
if (x == 0x7F && y == 0x7F && z == 0x7F)
drivers/input/mouse/alps.c
852
x = y = z = 0;
drivers/input/mouse/alps.c
856
input_report_rel(dev2, REL_Y, -((s8)y / 4));
drivers/input/mouse/alps.c
866
y = packet[2] | ((packet[4] & 0x78) << 4);
drivers/input/mouse/alps.c
876
input_report_abs(dev, ABS_Y, y);
drivers/input/mouse/alps.c
918
f->st.y = ((packet[2] & 0x7f) << 4) | (packet[3] & 0x0f);
drivers/input/mouse/alps.c
977
mt[0].y = (pkt[1] << 3) | (pkt[0] & 0x07);
drivers/input/mouse/alps.c
982
mt[1].y = ((pkt[5] & 0x80) << 3);
drivers/input/mouse/alps.c
983
mt[1].y |= ((pkt[5] & 0x3F) << 4);
drivers/input/mouse/alps.c
988
mt[1].y |= 0x000F;
drivers/input/mouse/alps.c
990
if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
drivers/input/mouse/alps.c
998
mt[1].y &= ~0x0020;
drivers/input/mouse/alps.c
999
mt[1].y |= ((pkt[4] & 0x02) << 4);
drivers/input/mouse/appletouch.c
516
int x, y, x_z, y_z, x_f, y_f;
drivers/input/mouse/appletouch.c
597
y = atp_calculate_abs(dev, ATP_XSENSORS, ATP_YSENSORS,
drivers/input/mouse/appletouch.c
603
if (x && y && fingers == dev->fingers_old) {
drivers/input/mouse/appletouch.c
606
y = (dev->y_old * 7 + y) >> 3;
drivers/input/mouse/appletouch.c
608
dev->y_old = y;
drivers/input/mouse/appletouch.c
613
x, y, x_z, y_z);
drivers/input/mouse/appletouch.c
617
input_report_abs(dev->input, ABS_Y, y);
drivers/input/mouse/appletouch.c
623
dev->y_old = y;
drivers/input/mouse/appletouch.c
625
} else if (!x && !y) {
drivers/input/mouse/appletouch.c
656
int x, y, x_z, y_z, x_f, y_f;
drivers/input/mouse/appletouch.c
716
y = atp_calculate_abs(dev, ATP_XSENSORS, ATP_YSENSORS,
drivers/input/mouse/appletouch.c
723
if (x && y && fingers == dev->fingers_old) {
drivers/input/mouse/appletouch.c
726
y = (dev->y_old * 7 + y) >> 3;
drivers/input/mouse/appletouch.c
728
dev->y_old = y;
drivers/input/mouse/appletouch.c
733
x, y, x_z, y_z);
drivers/input/mouse/appletouch.c
737
input_report_abs(dev->input, ABS_Y, y);
drivers/input/mouse/appletouch.c
743
dev->y_old = y;
drivers/input/mouse/appletouch.c
745
} else if (!x && !y) {
drivers/input/mouse/appletouch.c
775
if (!x && !y && !key) {
drivers/input/mouse/bcm5974.c
269
struct bcm5974_param y; /* vertical limits */
drivers/input/mouse/bcm5974.c
537
set_abs(input_dev, ABS_MT_POSITION_Y, &cfg->y);
drivers/input/mouse/bcm5974.c
584
input_report_abs(input, ABS_MT_POSITION_Y, pos->y);
drivers/input/mouse/bcm5974.c
624
dev->pos[n].y = c->y.min + c->y.max - raw2int(f->abs_y);
drivers/input/mouse/cyapa_gen5.c
2715
int x, y;
drivers/input/mouse/cyapa_gen5.c
2725
y = (touch->y_hi << 8) | touch->y_lo;
drivers/input/mouse/cyapa_gen5.c
2727
y = cyapa->max_abs_y - y;
drivers/input/mouse/cyapa_gen5.c
2729
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/input/mouse/cypress_ps2.c
419
report_data->contacts[0].y =
drivers/input/mouse/cypress_ps2.c
427
report_data->contacts[0].y =
drivers/input/mouse/cypress_ps2.c
434
report_data->contacts[1].y =
drivers/input/mouse/cypress_ps2.c
464
report_data->contacts[i].y,
drivers/input/mouse/cypress_ps2.c
495
pos[i].y = contact->y;
drivers/input/mouse/cypress_ps2.c
505
input_report_abs(input, ABS_MT_POSITION_Y, contact->y);
drivers/input/mouse/cypress_ps2.h
132
int y;
drivers/input/mouse/elan_i2c_core.c
1011
int x, y;
drivers/input/mouse/elan_i2c_core.c
1027
y = (int)((packet[2] ^ 0x80) << 1) - packet[5];
drivers/input/mouse/elan_i2c_core.c
1030
input_report_rel(input, REL_Y, y);
drivers/input/mouse/elantech.c
384
unsigned int x, unsigned int y)
drivers/input/mouse/elantech.c
390
input_report_abs(dev, ABS_MT_POSITION_Y, y);
drivers/input/mouse/elantech.c
510
int x, y;
drivers/input/mouse/elantech.c
534
y = (int)((packet[2]^0x80) << 1) - packet[5];
drivers/input/mouse/elantech.c
539
input_report_rel(tp_dev, REL_Y, y);
drivers/input/mouse/elantech.c
596
etd->mt[0].y = etd->y_max -
drivers/input/mouse/elantech.c
606
y1 = etd->mt[0].y;
drivers/input/mouse/elantech.c
685
etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]);
drivers/input/mouse/elantech.c
693
input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y);
drivers/input/mouse/elantech.c
727
etd->mt[id].y -= delta_y1 * weight;
drivers/input/mouse/elantech.c
730
input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y);
drivers/input/mouse/elantech.c
734
etd->mt[sid].y -= delta_y2 * weight;
drivers/input/mouse/elantech.c
737
input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y);
drivers/input/mouse/elantech.h
136
unsigned int y;
drivers/input/mouse/focaltech.c
136
clamped_y = clamp(finger->y, 0U, priv->y_max);
drivers/input/mouse/focaltech.c
190
state->fingers[finger].y = (packet[3] << 8) | packet[4];
drivers/input/mouse/focaltech.c
206
state->fingers[finger1].y += (s8)packet[2];
drivers/input/mouse/focaltech.c
222
state->fingers[finger2].y += (s8)packet[5];
drivers/input/mouse/focaltech.c
82
unsigned int y;
drivers/input/mouse/gpio_mouse.c
49
int x, y;
drivers/input/mouse/gpio_mouse.c
62
y = gpiod_get_value(gpio->down) - gpiod_get_value(gpio->up);
drivers/input/mouse/gpio_mouse.c
65
input_report_rel(input, REL_Y, y);
drivers/input/mouse/hgpk.c
124
static int hgpk_discard_decay_hack(struct psmouse *psmouse, int x, int y)
drivers/input/mouse/hgpk.c
131
avy = abs(y);
drivers/input/mouse/hgpk.c
151
psmouse_warn(psmouse, "detected %dpx jump in y\n", y);
drivers/input/mouse/hgpk.c
154
psmouse_warn(psmouse, "detected secondary %dpx jump in y\n", y);
drivers/input/mouse/hgpk.c
212
int l, int r, int x, int y)
drivers/input/mouse/hgpk.c
225
if (abs(x) > 3 || abs(y) > 3) {
drivers/input/mouse/hgpk.c
234
priv->y_tally += y;
drivers/input/mouse/hgpk.c
349
int y = packet[4] | ((packet[3] & 0x70) << 3);
drivers/input/mouse/hgpk.c
371
left, right, x, y);
drivers/input/mouse/hgpk.c
390
if (x == priv->abs_x && y == priv->abs_y) {
drivers/input/mouse/hgpk.c
407
int y_diff = priv->abs_y - y;
drivers/input/mouse/hgpk.c
417
input_report_abs(idev, ABS_Y, y);
drivers/input/mouse/hgpk.c
419
priv->abs_y = y;
drivers/input/mouse/hgpk.c
432
int y = ((packet[0] << 3) & 0x100) - packet[2];
drivers/input/mouse/hgpk.c
439
if (hgpk_discard_decay_hack(psmouse, x, y)) {
drivers/input/mouse/hgpk.c
445
hgpk_spewing_hack(psmouse, left, right, x, y);
drivers/input/mouse/hgpk.c
449
left, right, x, y);
drivers/input/mouse/hgpk.c
455
input_report_rel(dev, REL_Y, y);
drivers/input/mouse/psmouse-base.c
135
int x, y;
drivers/input/mouse/psmouse-base.c
138
y = packet[2] ? packet[2] - ((packet[0] << 3) & 0x100) : 0;
drivers/input/mouse/psmouse-base.c
141
input_report_rel(dev, REL_Y, -y);
drivers/input/mouse/rpcmouse.c
38
short x, y, dx, dy, b;
drivers/input/mouse/rpcmouse.c
41
y = (short) iomd_readl(IOMD_MOUSEY);
drivers/input/mouse/rpcmouse.c
45
dy = y - rpcmouse_lasty;
drivers/input/mouse/rpcmouse.c
48
rpcmouse_lasty = y;
drivers/input/mouse/sentelic.c
683
unsigned int x, unsigned int y)
drivers/input/mouse/sentelic.c
689
input_report_abs(dev, ABS_MT_POSITION_Y, y);
drivers/input/mouse/synaptics.c
1037
pos[i].y = synaptics_invert_y(hw[i]->y);
drivers/input/mouse/synaptics.c
1046
input_report_abs(dev, ABS_MT_POSITION_Y, pos[i].y);
drivers/input/mouse/synaptics.c
1181
input_report_abs(dev, ABS_Y, synaptics_invert_y(hw.y));
drivers/input/mouse/synaptics.c
528
static int synaptics_invert_y(int y)
drivers/input/mouse/synaptics.c
530
return YMAX_NOMINAL + YMIN_NOMINAL - y;
drivers/input/mouse/synaptics.c
785
agm->y = (((buf[4] & 0xf0) << 4) | buf[2]) << 1;
drivers/input/mouse/synaptics.c
830
hw->y = (((buf[3] & 0x20) << 7) |
drivers/input/mouse/synaptics.c
899
hw->y = (((buf[4] & 0x1f) << 8) | buf[5]);
drivers/input/mouse/synaptics.c
919
if (hw->y > Y_MAX_POSITIVE)
drivers/input/mouse/synaptics.c
920
hw->y -= 1 << ABS_POS_BITS;
drivers/input/mouse/synaptics.c
921
else if (hw->y == Y_MAX_POSITIVE)
drivers/input/mouse/synaptics.c
922
hw->y = YMAX;
drivers/input/mouse/synaptics.c
928
bool active, int x, int y)
drivers/input/mouse/synaptics.c
934
input_report_abs(dev, ABS_MT_POSITION_Y, synaptics_invert_y(y));
drivers/input/mouse/synaptics.c
945
min(a->y, b->y));
drivers/input/mouse/synaptics.c
947
max(a->y, b->y));
drivers/input/mouse/synaptics.c
949
synaptics_report_semi_mt_slot(dev, 0, true, a->x, a->y);
drivers/input/mouse/synaptics.h
153
int y;
drivers/input/mouse/synaptics_usb.c
106
int x, y;
drivers/input/mouse/synaptics_usb.c
111
y = (s16)(be16_to_cpup((__be16 *)&synusb->data[4]) << 3) >> 7;
drivers/input/mouse/synaptics_usb.c
115
input_report_rel(input_dev, REL_Y, -y);
drivers/input/mouse/synaptics_usb.c
129
unsigned int x, y;
drivers/input/mouse/synaptics_usb.c
134
y = be16_to_cpup((__be16 *)&synusb->data[4]);
drivers/input/mouse/synaptics_usb.c
171
YMAX_NOMINAL + YMIN_NOMINAL - y);
drivers/input/mouse/vmmouse.c
122
u32 status, x, y, z;
drivers/input/mouse/vmmouse.c
149
&x, &y, &z);
drivers/input/mouse/vmmouse.c
161
input_report_rel(rel_dev, REL_Y, -(s32)y);
drivers/input/mouse/vmmouse.c
165
input_report_abs(abs_dev, ABS_Y, y);
drivers/input/mouse/vsxxxaa.c
254
int x, y;
drivers/input/mouse/vsxxxaa.c
271
y = ((buf[4] & 0x3f) << 6) | (buf[3] & 0x3f);
drivers/input/mouse/vsxxxaa.c
272
y = 1023 - y;
drivers/input/mouse/vsxxxaa.c
285
mouse->name, mouse->phys, x, y,
drivers/input/mouse/vsxxxaa.c
297
input_report_abs(dev, ABS_Y, y);
drivers/input/mousedev.c
198
mousedev->packet.y = yres - ((value - min) * yres) / size;
drivers/input/mousedev.c
286
p->dy += packet->y - client->pos_y;
drivers/input/mousedev.c
288
client->pos_y = packet->y;
drivers/input/mousedev.c
53
int x, y;
drivers/input/rmi4/rmi_2d_sensor.c
100
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
drivers/input/rmi4/rmi_2d_sensor.c
108
__func__, slot, obj->type, obj->x, obj->y, obj->z,
drivers/input/rmi4/rmi_2d_sensor.c
114
void rmi_2d_sensor_rel_report(struct rmi_2d_sensor *sensor, int x, int y)
drivers/input/rmi4/rmi_2d_sensor.c
119
y = min(RMI_2D_REL_POS_MAX, max(RMI_2D_REL_POS_MIN, (int)y));
drivers/input/rmi4/rmi_2d_sensor.c
125
y = min(RMI_2D_REL_POS_MAX, -y);
drivers/input/rmi4/rmi_2d_sensor.c
128
swap(x, y);
drivers/input/rmi4/rmi_2d_sensor.c
130
if (x || y) {
drivers/input/rmi4/rmi_2d_sensor.c
132
input_report_rel(sensor->input, REL_Y, y);
drivers/input/rmi4/rmi_2d_sensor.c
37
obj->y = sensor->max_y - obj->y;
drivers/input/rmi4/rmi_2d_sensor.c
40
swap(obj->x, obj->y);
drivers/input/rmi4/rmi_2d_sensor.c
51
obj->y += axis_align->offset_y;
drivers/input/rmi4/rmi_2d_sensor.c
54
obj->y = max(axis_align->clip_y_low, obj->y);
drivers/input/rmi4/rmi_2d_sensor.c
60
obj->y = min(sensor->max_y, obj->y);
drivers/input/rmi4/rmi_2d_sensor.c
63
sensor->tracking_pos[slot].y = obj->y;
drivers/input/rmi4/rmi_2d_sensor.c
85
obj->y = sensor->tracking_pos[slot].y;
drivers/input/rmi4/rmi_2d_sensor.h
25
u16 y;
drivers/input/rmi4/rmi_2d_sensor.h
85
void rmi_2d_sensor_rel_report(struct rmi_2d_sensor *sensor, int x, int y);
drivers/input/rmi4/rmi_f11.c
552
s8 x, y;
drivers/input/rmi4/rmi_f11.c
555
y = data->rel_pos[n_finger * RMI_F11_REL_BYTES + 1];
drivers/input/rmi4/rmi_f11.c
557
rmi_2d_sensor_rel_report(sensor, x, y);
drivers/input/rmi4/rmi_f11.c
580
obj->y = (pos_data[1] << 4) | (pos_data[2] >> 4);
drivers/input/rmi4/rmi_f12.c
200
obj->y = (data1[4] << 8) | data1[3];
drivers/input/serio/gscps2.c
110
#define gscps2_writeb_control(x, y) writeb((x), (y)+GSC_CONTROL)
drivers/input/tablet/acecad.c
67
int y = data[3] | (data[4] << 8);
drivers/input/tablet/acecad.c
74
input_report_abs(dev, ABS_Y, y);
drivers/input/tablet/aiptek.c
1224
int y;
drivers/input/tablet/aiptek.c
1226
if (kstrtoint(buf, 10, &y)) {
drivers/input/tablet/aiptek.c
1234
if (y < AIPTEK_TILT_MIN || y > AIPTEK_TILT_MAX)
drivers/input/tablet/aiptek.c
1237
aiptek->newSetting.yTilt = y;
drivers/input/tablet/aiptek.c
419
int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck;
drivers/input/tablet/aiptek.c
460
y = (signed char) data[3];
drivers/input/tablet/aiptek.c
482
input_report_rel(inputdev, REL_Y, y);
drivers/input/tablet/aiptek.c
511
y = get_unaligned_le16(data + 3);
drivers/input/tablet/aiptek.c
546
input_report_abs(inputdev, ABS_Y, y);
drivers/input/tablet/aiptek.c
596
y = get_unaligned_le16(data + 3);
drivers/input/tablet/aiptek.c
623
input_report_abs(inputdev, ABS_Y, y);
drivers/input/tablet/pegasus_notetaker.c
139
u16 x, y;
drivers/input/tablet/pegasus_notetaker.c
157
y = le16_to_cpup((__le16 *)&data[4]);
drivers/input/tablet/pegasus_notetaker.c
160
if (x == 0 && y == 0)
drivers/input/tablet/pegasus_notetaker.c
167
input_report_abs(dev, ABS_Y, y);
drivers/input/tablet/wacom_serial4.c
313
int x, y, z;
drivers/input/tablet/wacom_serial4.c
319
y = (wacom->data[3] & 3) << 14 | wacom->data[4]<<7 | wacom->data[5];
drivers/input/tablet/wacom_serial4.c
347
input_report_abs(wacom->dev, ABS_Y, y);
drivers/input/touch-overlay.c
109
void touch_overlay_get_touchscreen_abs(struct list_head *list, u16 *x, u16 *y)
drivers/input/touch-overlay.c
118
*y = segment->y_size - 1;
drivers/input/touch-overlay.c
129
pos->y >= seg->y_origin && pos->y < (seg->y_origin + seg->y_size))
drivers/input/touch-overlay.c
169
pos->y -= segment->y_origin;
drivers/input/touchscreen.c
151
unsigned int *x, unsigned int *y)
drivers/input/touchscreen.c
157
*y = prop->max_y - *y;
drivers/input/touchscreen.c
160
swap(*x, *y);
drivers/input/touchscreen.c
176
unsigned int x, unsigned int y)
drivers/input/touchscreen.c
178
touchscreen_apply_prop_to_x_y(prop, &x, &y);
drivers/input/touchscreen.c
180
pos->y = y;
drivers/input/touchscreen.c
198
unsigned int x, unsigned int y,
drivers/input/touchscreen.c
201
touchscreen_apply_prop_to_x_y(prop, &x, &y);
drivers/input/touchscreen.c
203
input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y);
drivers/input/touchscreen/88pm860x-ts.c
169
#define pm860x_touch_dt_init(x, y, z) (-1)
drivers/input/touchscreen/88pm860x-ts.c
53
int x, y, pen_down;
drivers/input/touchscreen/88pm860x-ts.c
63
y = ((buf[2] & 0xFF) << 4) | (buf[3] & 0x0F);
drivers/input/touchscreen/88pm860x-ts.c
75
input_report_abs(touch->idev, ABS_Y, y);
drivers/input/touchscreen/88pm860x-ts.c
78
dev_dbg(chip->dev, "pen down at [%d, %d].\n", x, y);
drivers/input/touchscreen/ad7877.c
323
u16 x, y, z1, z2;
drivers/input/touchscreen/ad7877.c
326
y = ts->conversion_data[AD7877_SEQ_YPOS] & MAX_12BIT;
drivers/input/touchscreen/ad7877.c
357
input_report_abs(input_dev, ABS_Y, y);
drivers/input/touchscreen/ad7879.c
132
int y;
drivers/input/touchscreen/ad7879.c
170
u16 x, y, z1, z2;
drivers/input/touchscreen/ad7879.c
173
y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT;
drivers/input/touchscreen/ad7879.c
178
swap(x, y);
drivers/input/touchscreen/ad7879.c
215
input_report_abs(input_dev, ABS_Y, ts->y);
drivers/input/touchscreen/ad7879.c
221
ts->y = y;
drivers/input/touchscreen/ads7846.c
189
#define READ_Y(vref) (READ_12BIT_DFR(y, 1, vref))
drivers/input/touchscreen/ads7846.c
193
#define PWRDOWN (READ_12BIT_DFR(y, 0, 0)) /* LAST */
drivers/input/touchscreen/ads7846.c
202
#define REF_OFF (READ_12BIT_DFR(y, 0, 0))
drivers/input/touchscreen/ads7846.c
712
packet->y = val;
drivers/input/touchscreen/ads7846.c
854
u16 x, y, z1, z2;
drivers/input/touchscreen/ads7846.c
857
y = packet->y;
drivers/input/touchscreen/ads7846.c
91
u16 x, y, z1, z2;
drivers/input/touchscreen/ads7846.c
924
touchscreen_report_pos(input, &ts->core_prop, x, y, false);
drivers/input/touchscreen/ads7846.c
928
dev_vdbg(&ts->spi->dev, "%4d/%4d/%4d\n", x, y, Rt);
drivers/input/touchscreen/ar1021_i2c.c
36
unsigned int x, y, button;
drivers/input/touchscreen/ar1021_i2c.c
50
y = ((data[4] & 0x1f) << 7) | (data[3] & 0x7f);
drivers/input/touchscreen/ar1021_i2c.c
53
input_report_abs(input, ABS_Y, y);
drivers/input/touchscreen/atmel_mxt_ts.c
1012
id, type, x, y, major, pressure, orientation);
drivers/input/touchscreen/atmel_mxt_ts.c
1015
touchscreen_report_pos(input_dev, &data->prop, x, y, true);
drivers/input/touchscreen/atmel_mxt_ts.c
126
__le16 y;
drivers/input/touchscreen/atmel_mxt_ts.c
1974
data->max_y = get_unaligned_le16(&range.y);
drivers/input/touchscreen/atmel_mxt_ts.c
2375
unsigned int y)
drivers/input/touchscreen/atmel_mxt_ts.c
2385
col = y / col_width;
drivers/input/touchscreen/atmel_mxt_ts.c
2386
y = y % col_width;
drivers/input/touchscreen/atmel_mxt_ts.c
2391
ofs = (y + (x * col_width)) * sizeof(u16);
drivers/input/touchscreen/atmel_mxt_ts.c
2405
unsigned int y = 0;
drivers/input/touchscreen/atmel_mxt_ts.c
2410
rx = data->xy_switch ? y : x;
drivers/input/touchscreen/atmel_mxt_ts.c
2411
ry = data->xy_switch ? x : y;
drivers/input/touchscreen/atmel_mxt_ts.c
2420
y++;
drivers/input/touchscreen/atmel_mxt_ts.c
844
int y;
drivers/input/touchscreen/atmel_mxt_ts.c
851
y = (message[3] << 4) | ((message[4] & 0xf));
drivers/input/touchscreen/atmel_mxt_ts.c
857
y >>= 2;
drivers/input/touchscreen/atmel_mxt_ts.c
873
x, y, area, amplitude);
drivers/input/touchscreen/atmel_mxt_ts.c
894
touchscreen_report_pos(input_dev, &data->prop, x, y, true);
drivers/input/touchscreen/atmel_mxt_ts.c
931
u16 y;
drivers/input/touchscreen/atmel_mxt_ts.c
946
y = get_unaligned_le16(&message[4]);
drivers/input/touchscreen/bcm_iproc_tsc.c
194
u16 y;
drivers/input/touchscreen/bcm_iproc_tsc.c
234
y = (raw_coordinate >> Y_COORD_SHIFT) &
drivers/input/touchscreen/bcm_iproc_tsc.c
239
y = (y >> 4) & 0x0FFF;
drivers/input/touchscreen/bcm_iproc_tsc.c
246
y = priv->cfg_params.max_y - y;
drivers/input/touchscreen/bcm_iproc_tsc.c
249
input_report_abs(priv->idev, ABS_Y, y);
drivers/input/touchscreen/bcm_iproc_tsc.c
252
dev_dbg(&priv->pdev->dev, "xy (0x%x 0x%x)\n", x, y);
drivers/input/touchscreen/bu21013_ts.c
207
unsigned int x, y;
drivers/input/touchscreen/bu21013_ts.c
210
y = data[2] << SHIFT_2 | (data[3] & MASK_BITS);
drivers/input/touchscreen/bu21013_ts.c
211
if (x != 0 && y != 0)
drivers/input/touchscreen/bu21013_ts.c
213
&ts->props, x, y);
drivers/input/touchscreen/bu21013_ts.c
218
abs(pos[0].y - pos[1].y) < DELTA_MIN)) {
drivers/input/touchscreen/bu21013_ts.c
227
input_report_abs(input, ABS_MT_POSITION_Y, pos[i].y);
drivers/input/touchscreen/bu21029_ts.c
167
u16 x, y, z1, z2;
drivers/input/touchscreen/bu21029_ts.c
182
y = (buf[2] << 4) | (buf[3] >> 4);
drivers/input/touchscreen/bu21029_ts.c
201
x, y, false);
drivers/input/touchscreen/chipone_icn8318.c
122
be16_to_cpu(touch->y), true);
drivers/input/touchscreen/chipone_icn8318.c
32
__be16 y;
drivers/input/touchscreen/chipone_icn8505.c
352
get_unaligned_le16(touch->y),
drivers/input/touchscreen/chipone_icn8505.c
52
u8 y[2];
drivers/input/touchscreen/cy8ctma140.c
59
u16 x, y;
drivers/input/touchscreen/cy8ctma140.c
79
y = get_unaligned_be16(buf + 2);
drivers/input/touchscreen/cy8ctma140.c
83
slot, id, x, y, w);
drivers/input/touchscreen/cy8ctma140.c
87
touchscreen_report_pos(ts->input, &ts->props, x, y, true);
drivers/input/touchscreen/cyttsp_core.c
349
input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y));
drivers/input/touchscreen/cyttsp_core.h
30
__be16 x, y;
drivers/input/touchscreen/da9034-ts.c
119
int y = touch->last_y;
drivers/input/touchscreen/da9034-ts.c
124
y &= 0xfff;
drivers/input/touchscreen/da9034-ts.c
126
y = 1024 - y;
drivers/input/touchscreen/da9034-ts.c
129
input_report_abs(touch->input_dev, ABS_Y, y);
drivers/input/touchscreen/da9052_tsi.c
55
u16 x, y, z;
drivers/input/touchscreen/da9052_tsi.c
68
y = (u16) ret;
drivers/input/touchscreen/da9052_tsi.c
83
y = ((y << 2) & 0x3fc) | ((v & 0xc) >> 2);
drivers/input/touchscreen/da9052_tsi.c
88
input_report_abs(input, ABS_Y, y);
drivers/input/touchscreen/edt-ft5x06.c
303
int i, type, x, y, id;
drivers/input/touchscreen/edt-ft5x06.c
328
y = get_unaligned_be16(buf + 2) & 0x0fff;
drivers/input/touchscreen/edt-ft5x06.c
331
swap(x, y);
drivers/input/touchscreen/edt-ft5x06.c
339
x, y, true);
drivers/input/touchscreen/eeti_ts.c
47
u16 x, y;
drivers/input/touchscreen/eeti_ts.c
52
y = get_unaligned_be16(&buf[3]);
drivers/input/touchscreen/eeti_ts.c
56
y >>= res - EETI_TS_BITDEPTH;
drivers/input/touchscreen/eeti_ts.c
61
touchscreen_report_pos(eeti->input, &eeti->props, x, y, false);
drivers/input/touchscreen/egalax_ts.c
106
str_down_up(down), id, x, y, z);
drivers/input/touchscreen/egalax_ts.c
110
input_report_abs(input_dev, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/egalax_ts.c
71
int id, ret, x, y, z;
drivers/input/touchscreen/egalax_ts.c
90
y = (buf[5] << 8) | buf[4];
drivers/input/touchscreen/egalax_ts_serial.c
52
u16 x, y;
drivers/input/touchscreen/egalax_ts_serial.c
60
y = (((u16)(data[3] & mask) << 7) | (data[4] & 0x7f)) << shift;
drivers/input/touchscreen/egalax_ts_serial.c
64
input_report_abs(dev, ABS_Y, y);
drivers/input/touchscreen/ektf2127.c
113
int y = (buf[0] & 0x0f) << 8 | buf[2];
drivers/input/touchscreen/ektf2127.c
115
touchscreen_report_pos(ts->input, &ts->prop, x, y, true);
drivers/input/touchscreen/ektf2127.c
70
touches[i].y = (buf[index] & 0xf0);
drivers/input/touchscreen/ektf2127.c
71
touches[i].y <<= 4;
drivers/input/touchscreen/ektf2127.c
72
touches[i].y |= buf[index + 1];
drivers/input/touchscreen/ektf2127.c
98
touches[i].x, touches[i].y, true);
drivers/input/touchscreen/elants_i2c.c
1018
i, x, y, p, w);
drivers/input/touchscreen/elants_i2c.c
1022
touchscreen_report_pos(input, &ts->prop, x, y, true);
drivers/input/touchscreen/elants_i2c.c
992
unsigned int x, y, p, w;
drivers/input/touchscreen/elants_i2c.c
997
y = (((u16)pos[0] & 0x0f) << 8) | pos[2];
drivers/input/touchscreen/goodix_berlin_core.c
143
__le16 y;
drivers/input/touchscreen/goodix_berlin_core.c
464
__le16_to_cpu(t->x), __le16_to_cpu(t->y),
drivers/input/touchscreen/hideep.c
289
#define SET_PIO_SIG(x, y) \
drivers/input/touchscreen/hideep.c
290
hideep_pgm_w_reg(ts, HIDEEP_FLASH_PIO_SIG + (x), (y))
drivers/input/touchscreen/hideep.c
295
#define NVM_W_SFR(x, y) \
drivers/input/touchscreen/hideep.c
298
SET_PIO_SIG(x, y); \
drivers/input/touchscreen/hideep.c
716
le16_to_cpup(&event->y));
drivers/input/touchscreen/hideep.c
93
__le16 y;
drivers/input/touchscreen/himax_hx83112b.c
231
u16 y = be16_to_cpu(point->y);
drivers/input/touchscreen/himax_hx83112b.c
234
if (x == HIMAX_INVALID_COORD || y == HIMAX_INVALID_COORD)
drivers/input/touchscreen/himax_hx83112b.c
239
touchscreen_report_pos(ts->input_dev, &ts->props, x, y, true);
drivers/input/touchscreen/himax_hx83112b.c
47
__be16 y;
drivers/input/touchscreen/himax_hx852x.c
270
unsigned int i, x, y, w;
drivers/input/touchscreen/himax_hx852x.c
289
y = be16_to_cpu(coord[i].y);
drivers/input/touchscreen/himax_hx852x.c
294
touchscreen_report_pos(hx->input_dev, &hx->props, x, y, true);
drivers/input/touchscreen/himax_hx852x.c
74
__be16 y;
drivers/input/touchscreen/htcpen.c
50
unsigned short x, y, xy;
drivers/input/touchscreen/htcpen.c
62
y = inb_p(HTCPEN_PORT_DATA);
drivers/input/touchscreen/htcpen.c
69
y = (y * 8) + (xy & 0xf);
drivers/input/touchscreen/htcpen.c
73
y = Y_AXIS_MAX - y;
drivers/input/touchscreen/htcpen.c
78
input_report_abs(htcpen_dev, ABS_Y, y);
drivers/input/touchscreen/hycon-hy46xx.c
105
int i, x, y, id;
drivers/input/touchscreen/hycon-hy46xx.c
128
y = get_unaligned_be16(buf + 2) & 0x0fff;
drivers/input/touchscreen/hycon-hy46xx.c
136
x, y, true);
drivers/input/touchscreen/hynitron_cstxxx.c
250
u8 id, unsigned int x, unsigned int y, u8 w)
drivers/input/touchscreen/hynitron_cstxxx.c
254
touchscreen_report_pos(ts_data->input_dev, &ts_data->prop, x, y, true);
drivers/input/touchscreen/hynitron_cstxxx.c
294
unsigned int x, y;
drivers/input/touchscreen/hynitron_cstxxx.c
332
y = ((buf[idx + 2] << 4) | (buf[idx + 3] & 0x0f));
drivers/input/touchscreen/hynitron_cstxxx.c
345
cst3xx_report_contact(ts_data, finger_id, x, y, w);
drivers/input/touchscreen/ili210x.c
109
unsigned int *x, unsigned int *y,
drivers/input/touchscreen/ili210x.c
116
*y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2);
drivers/input/touchscreen/ili210x.c
165
unsigned int *x, unsigned int *y,
drivers/input/touchscreen/ili210x.c
176
*y = ((touchdata[1 + (finger * 4) + 0] & 0x0f) << 8) |
drivers/input/touchscreen/ili210x.c
198
unsigned int *x, unsigned int *y,
drivers/input/touchscreen/ili210x.c
208
*y = get_unaligned_be16(touchdata + 3 + (finger * 5) + 2);
drivers/input/touchscreen/ili210x.c
273
unsigned int *x, unsigned int *y,
drivers/input/touchscreen/ili210x.c
283
*y = get_unaligned_be16(touchdata + 1 + (finger * 5) + 2);
drivers/input/touchscreen/ili210x.c
310
unsigned int x = 0, y = 0, z = 0;
drivers/input/touchscreen/ili210x.c
313
touch = priv->chip->parse_touch_data(touchdata, i, &x, &y, &z);
drivers/input/touchscreen/ili210x.c
317
touchscreen_report_pos(input, &priv->prop, x, y, true);
drivers/input/touchscreen/ili210x.c
49
unsigned int *x, unsigned int *y,
drivers/input/touchscreen/ilitek_ts_i2c.c
139
unsigned int x, unsigned int y)
drivers/input/touchscreen/ilitek_ts_i2c.c
146
touchscreen_report_pos(input, &ts->prop, x, y, true);
drivers/input/touchscreen/ilitek_ts_i2c.c
159
unsigned int x, y, status, id;
drivers/input/touchscreen/ilitek_ts_i2c.c
198
y = get_unaligned_le16(buf + i * packet_len + 4);
drivers/input/touchscreen/ilitek_ts_i2c.c
201
y > ts->screen_max_y || y < ts->screen_min_y) {
drivers/input/touchscreen/ilitek_ts_i2c.c
204
ts->screen_min_y, y, ts->screen_max_y);
drivers/input/touchscreen/ilitek_ts_i2c.c
208
ilitek_touch_down(ts, id, x, y);
drivers/input/touchscreen/imx6ul_tsc.c
278
u32 x, y;
drivers/input/touchscreen/imx6ul_tsc.c
295
y = FIELD_GET(Y_VALUE_MASK, value);
drivers/input/touchscreen/imx6ul_tsc.c
305
input_report_abs(tsc->input, ABS_Y, y);
drivers/input/touchscreen/jornada720_ts.c
69
int x, y;
drivers/input/touchscreen/jornada720_ts.c
83
y = jornada720_ts_average(jornada_ts->y_data);
drivers/input/touchscreen/jornada720_ts.c
87
input_report_abs(input, ABS_Y, y);
drivers/input/touchscreen/lpc32xx_ts.c
50
#define LPC32XX_TSC_FIFO_NORMALIZE_Y_VAL(y) ((y) & 0x000003FF)
drivers/input/touchscreen/mainstone-wm97xx.c
117
u16 x, y, p = 0x100 | WM97XX_ADCSEL_PRES;
drivers/input/touchscreen/mainstone-wm97xx.c
142
y = pxa2xx_ac97_read_modr();
drivers/input/touchscreen/mainstone-wm97xx.c
147
x, y, p);
drivers/input/touchscreen/mainstone-wm97xx.c
151
(y & WM97XX_ADCSEL_MASK) != WM97XX_ADCSEL_Y ||
drivers/input/touchscreen/mainstone-wm97xx.c
158
input_report_abs(wm->input_dev, ABS_Y, y & 0xfff);
drivers/input/touchscreen/max11801_ts.c
102
int y = -1;
drivers/input/touchscreen/max11801_ts.c
124
y = (buf[i] << XY_BUF_OFFSET) +
drivers/input/touchscreen/max11801_ts.c
135
input_report_abs(data->input_dev, ABS_Y, y);
drivers/input/touchscreen/melfas_mip4.c
471
u16 x, y;
drivers/input/touchscreen/melfas_mip4.c
487
y = (((packet[1] >> 4) & 0x0F) << 8) |
drivers/input/touchscreen/melfas_mip4.c
508
y = (((packet[2] >> 4) & 0x0F) << 8) |
drivers/input/touchscreen/melfas_mip4.c
521
id, state, x, y, pressure);
drivers/input/touchscreen/melfas_mip4.c
533
input_report_abs(ts->input, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/mms114.c
166
unsigned int y;
drivers/input/touchscreen/mms114.c
175
y = touch->y_lo | touch->y_hi << 8;
drivers/input/touchscreen/mms114.c
180
x, y, touch->width, touch->strength);
drivers/input/touchscreen/mms114.c
186
touchscreen_report_pos(input_dev, &data->props, x, y, true);
drivers/input/touchscreen/msg2638.c
122
u16 x, y, delta_x, delta_y;
drivers/input/touchscreen/msg2638.c
150
y = ((p0->xy_hi & 0x0F) << 8) | p0->y_low;
drivers/input/touchscreen/msg2638.c
154
touchscreen_report_pos(input, &msg2638->prop, x, y, true);
drivers/input/touchscreen/msg2638.c
169
y += delta_y;
drivers/input/touchscreen/msg2638.c
173
touchscreen_report_pos(input, &msg2638->prop, x, y, true);
drivers/input/touchscreen/msg2638.c
199
u16 x, y;
drivers/input/touchscreen/msg2638.c
228
y = (((p->xy_hi & 0x0F) << 8) | p->y_low);
drivers/input/touchscreen/msg2638.c
232
touchscreen_report_pos(input, &msg2638->prop, x, y, true);
drivers/input/touchscreen/novatek-nvt-ts.c
130
y = (touch[2] << 4) | (touch[3] & 0x0f);
drivers/input/touchscreen/novatek-nvt-ts.c
134
touchscreen_report_pos(data->input, &data->prop, x, y, true);
drivers/input/touchscreen/novatek-nvt-ts.c
94
int i, error, slot, x, y;
drivers/input/touchscreen/pcap_ts.c
24
u16 x, y;
drivers/input/touchscreen/pcap_ts.c
51
pcap_ts->y = res[0];
drivers/input/touchscreen/pcap_ts.c
54
pcap_ts->y <= Y_AXIS_MIN || pcap_ts->y >= Y_AXIS_MAX) {
drivers/input/touchscreen/pcap_ts.c
64
input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y);
drivers/input/touchscreen/penmount.c
138
pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3];
drivers/input/touchscreen/penmount.c
154
pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3];
drivers/input/touchscreen/penmount.c
42
unsigned short x, y;
drivers/input/touchscreen/penmount.c
76
input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y);
drivers/input/touchscreen/pixcir_i2c_ts.c
181
report->pos[i].y);
drivers/input/touchscreen/pixcir_i2c_ts.c
184
i, slot, report->pos[i].x, report->pos[i].y);
drivers/input/touchscreen/raspberrypi-ts.c
67
int x, y;
drivers/input/touchscreen/raspberrypi-ts.c
86
y = (((int)regs.point[i].yh & 0xf) << 8) + regs.point[i].yl;
drivers/input/touchscreen/raspberrypi-ts.c
96
touchscreen_report_pos(input, &ts->prop, x, y, true);
drivers/input/touchscreen/resistive-adc-touch.c
100
touchscreen_report_pos(st->input, &st->prop, x, y, false);
drivers/input/touchscreen/resistive-adc-touch.c
62
unsigned int x, y, press = 0;
drivers/input/touchscreen/resistive-adc-touch.c
65
y = touch_info[st->ch_map[GRTS_CH_Y]];
drivers/input/touchscreen/resistive-adc-touch.c
92
if ((!x && !y) || (st->pressure && (press < st->pressure_min))) {
drivers/input/touchscreen/rohm_bu21023.c
559
pos[0].y = ((s16)READ_POS_BUF(POS_Y1_H) << 2) |
drivers/input/touchscreen/rohm_bu21023.c
563
pos[1].y = ((s16)READ_POS_BUF(POS_Y2_H) << 2) |
drivers/input/touchscreen/rohm_bu21023.c
580
if (pos[1].x != 0 && pos[1].y != 0) {
drivers/input/touchscreen/rohm_bu21023.c
582
pos[0].y = pos[1].y;
drivers/input/touchscreen/rohm_bu21023.c
584
pos[1].y = 0;
drivers/input/touchscreen/rohm_bu21023.c
618
ABS_MT_POSITION_Y, pos[i].y);
drivers/input/touchscreen/s6sy761.c
149
u16 y = (event[2] << 4) | (event[3] & S6SY761_MASK_Y);
drivers/input/touchscreen/s6sy761.c
155
input_report_abs(sdata->input, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/silead.c
226
input_report_abs(data->pen_input, ABS_Y, pos.y);
drivers/input/touchscreen/silead.c
303
input_report_abs(input, ABS_MT_POSITION_Y, data->pos[i].y);
drivers/input/touchscreen/silead.c
306
data->pos[i].y, data->id[i], data->slots[i]);
drivers/input/touchscreen/sis_i2c.c
179
u16 x, y;
drivers/input/touchscreen/sis_i2c.c
209
y = get_unaligned_le16(&data[SIS_CONTACT_Y_OFFSET]);
drivers/input/touchscreen/sis_i2c.c
217
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/st1232.c
146
unsigned int y = ((buf[0] & 0x07) << 8) | buf[2];
drivers/input/touchscreen/st1232.c
149
&ts->prop, x, y);
drivers/input/touchscreen/st1232.c
168
input_report_abs(input, ABS_MT_POSITION_Y, pos[i].y);
drivers/input/touchscreen/stmfts.c
176
u16 y = (event[2] >> 4) | (event[3] << 4);
drivers/input/touchscreen/stmfts.c
186
input_report_abs(sdata->input, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/stmfts.c
210
u16 y = (event[3] << 4) | (event[4] & STMFTS_MASK_Y_LSB);
drivers/input/touchscreen/stmfts.c
214
input_report_abs(sdata->input, ABS_Y, y);
drivers/input/touchscreen/stmpe-ts.c
132
int x, y, z;
drivers/input/touchscreen/stmpe-ts.c
153
y = ((data_set[1] & 0xf) << 8) | data_set[2];
drivers/input/touchscreen/stmpe-ts.c
156
touchscreen_report_pos(ts->idev, &ts->prop, x, y, false);
drivers/input/touchscreen/sun4i-ts.c
119
u32 x, y;
drivers/input/touchscreen/sun4i-ts.c
123
y = readl(ts->base + TP_DATA);
drivers/input/touchscreen/sun4i-ts.c
127
input_report_abs(ts->input, ABS_Y, y);
drivers/input/touchscreen/surface3_spi.c
151
get_unaligned_le16(&pen->y));
drivers/input/touchscreen/surface3_spi.c
43
__le16 y;
drivers/input/touchscreen/surface3_spi.c
53
__le16 y;
drivers/input/touchscreen/surface3_spi.c
85
get_unaligned_le16(&finger->y));
drivers/input/touchscreen/sx8654.c
135
u16 x, y;
drivers/input/touchscreen/sx8654.c
159
y = 0;
drivers/input/touchscreen/sx8654.c
175
y = chdata & MAX_12BIT;
drivers/input/touchscreen/sx8654.c
181
touchscreen_report_pos(ts->input, &ts->props, x, y, false);
drivers/input/touchscreen/sx8654.c
184
dev_dbg(dev, "point(%4d,%4d)\n", x, y);
drivers/input/touchscreen/sx8654.c
197
unsigned int x, y;
drivers/input/touchscreen/sx8654.c
226
y = ((data[2] & 0xf) << 8) | (data[3]);
drivers/input/touchscreen/sx8654.c
228
touchscreen_report_pos(sx8654->input, &sx8654->props, x, y,
drivers/input/touchscreen/sx8654.c
233
dev_dbg(&sx8654->client->dev, "point(%4d,%4d)\n", x, y);
drivers/input/touchscreen/ti_am335x_tsc.c
224
u32 *x, u32 *y, u32 *z1, u32 *z2)
drivers/input/touchscreen/ti_am335x_tsc.c
271
*y = ysum;
drivers/input/touchscreen/ti_am335x_tsc.c
280
unsigned int x = 0, y = 0;
drivers/input/touchscreen/ti_am335x_tsc.c
313
titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2);
drivers/input/touchscreen/ti_am335x_tsc.c
329
input_report_abs(input_dev, ABS_Y, y);
drivers/input/touchscreen/tps6507x-ts.c
183
&tsc->tc.y);
drivers/input/touchscreen/tps6507x-ts.c
188
input_report_abs(input_dev, ABS_Y, tsc->tc.y);
drivers/input/touchscreen/tps6507x-ts.c
36
u16 y;
drivers/input/touchscreen/tsc2007.h
57
u16 y;
drivers/input/touchscreen/tsc2007_core.c
143
tc.x, tc.y, rt);
drivers/input/touchscreen/tsc2007_core.c
148
touchscreen_report_pos(input, &ts->prop, tc.x, tc.y, false);
drivers/input/touchscreen/tsc2007_core.c
57
tc->y = tsc2007_xfer(tsc, READ_Y);
drivers/input/touchscreen/tsc200x-core.c
116
int x, int y, int pressure)
drivers/input/touchscreen/tsc200x-core.c
119
touchscreen_report_pos(ts->idev, &ts->prop, x, y, false);
drivers/input/touchscreen/tsc200x-core.c
133
dev_dbg(ts->dev, "point(%4d,%4d), pressure (%4d)\n", x, y,
drivers/input/touchscreen/tsc200x-core.c
151
if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT))
drivers/input/touchscreen/tsc200x-core.c
165
ts->in_x == tsdata.x && ts->in_y == tsdata.y &&
drivers/input/touchscreen/tsc200x-core.c
175
ts->in_y = tsdata.y;
drivers/input/touchscreen/tsc200x-core.c
186
tsc200x_update_pen_state(ts, tsdata.x, tsdata.y, pressure);
drivers/input/touchscreen/tsc200x-core.c
70
u16 y;
drivers/input/touchscreen/tsc40.c
29
u32 y;
drivers/input/touchscreen/tsc40.c
32
y = ((data[3] & 0x03) << 8) | data[4];
drivers/input/touchscreen/tsc40.c
35
input_report_abs(dev, ABS_Y, y);
drivers/input/touchscreen/usbtouchscreen.c
102
int x, y;
drivers/input/touchscreen/usbtouchscreen.c
1062
int x, y, begin_x, begin_y, end_x, end_y, w, h, ret;
drivers/input/touchscreen/usbtouchscreen.c
1099
for (y = x_len; y < data_len; y++) {
drivers/input/touchscreen/usbtouchscreen.c
1100
if (begin_y == -1 && packet->data[y] > NEXIO_THRESHOLD) {
drivers/input/touchscreen/usbtouchscreen.c
1101
begin_y = y - x_len;
drivers/input/touchscreen/usbtouchscreen.c
1105
begin_y != -1 && packet->data[y] < NEXIO_THRESHOLD) {
drivers/input/touchscreen/usbtouchscreen.c
1106
end_y = y - 1 - x_len;
drivers/input/touchscreen/usbtouchscreen.c
1125
usbtouch->y = 2 * begin_y + h;
drivers/input/touchscreen/usbtouchscreen.c
1158
dev->y = (pkt[5] << 8) | pkt[4];
drivers/input/touchscreen/usbtouchscreen.c
1191
input_report_abs(usbtouch->input, ABS_X, usbtouch->y);
drivers/input/touchscreen/usbtouchscreen.c
1195
input_report_abs(usbtouch->input, ABS_Y, usbtouch->y);
drivers/input/touchscreen/usbtouchscreen.c
133
dev->y = (pkt[4] << 8) | pkt[5];
drivers/input/touchscreen/usbtouchscreen.c
206
dev->y = ((pkt[1] & 0x0F) << 7) | (pkt[2] & 0x7F);
drivers/input/touchscreen/usbtouchscreen.c
262
dev->y = ((pkt[3] & 0x1F) << 7) | (pkt[4] & 0x7F);
drivers/input/touchscreen/usbtouchscreen.c
303
dev->y = ((pkt[4] & 0x0F) << 8) | pkt[3];
drivers/input/touchscreen/usbtouchscreen.c
335
dev->y = 0xffff - ((pkt[6] << 8) | pkt[5]);
drivers/input/touchscreen/usbtouchscreen.c
338
dev->y = (pkt[10] << 8) | pkt[9];
drivers/input/touchscreen/usbtouchscreen.c
512
dev->y = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
drivers/input/touchscreen/usbtouchscreen.c
547
dev->y = ((pkt[1] << 7) | pkt[2]) >> shift;
drivers/input/touchscreen/usbtouchscreen.c
584
dev->y = ((pkt[1] & 0x1F) << 7) | (pkt[3] & 0x7F);
drivers/input/touchscreen/usbtouchscreen.c
669
dev->y = ((pkt[4] & 0x03) << 8) | pkt[3];
drivers/input/touchscreen/usbtouchscreen.c
694
dev->y = (pkt[5] << 8) | pkt[4];
drivers/input/touchscreen/usbtouchscreen.c
726
dev->y = ((pkt[4] & 0x0F) << 8) | pkt[3];
drivers/input/touchscreen/usbtouchscreen.c
764
dev->y = (pkt[3] << 5) | (pkt[4] >> 2);
drivers/input/touchscreen/usbtouchscreen.c
771
dev->y = (pkt[4] << 5) | (pkt[3] >> 2);
drivers/input/touchscreen/usbtouchscreen.c
798
dev->y = (pkt[4] << 8) | pkt[3];
drivers/input/touchscreen/usbtouchscreen.c
822
dev->y = ((pkt[1] & 0x07) << 7) | pkt[3];
drivers/input/touchscreen/usbtouchscreen.c
845
dev->y = ((pkt[1] & 0x3f) << 6) | (pkt[3] & 0x3f);
drivers/input/touchscreen/usbtouchscreen.c
876
dev->y = (pkt[3] & 0x7f) | ((pkt[4] & 0x07) << 7);
drivers/input/touchscreen/usbtouchscreen.c
878
dev_dbg(&intf->dev, "%s: down %d,%d\n", __func__, dev->x, dev->y);
drivers/input/touchscreen/usbtouchscreen.c
883
dev->y = (pkt[3] & 0x7f) | ((pkt[4] & 0x07) << 7);
drivers/input/touchscreen/usbtouchscreen.c
885
dev_dbg(&intf->dev, "%s: up %d,%d\n", __func__, dev->x, dev->y);
drivers/input/touchscreen/wacom_i2c.c
111
unsigned int x, y, pressure;
drivers/input/touchscreen/wacom_i2c.c
125
y = le16_to_cpup((__le16 *)&data[6]);
drivers/input/touchscreen/wacom_i2c.c
139
input_report_abs(input, ABS_Y, y);
drivers/input/touchscreen/wacom_w8001.c
120
coord->y = (data[3] & 0x7F) << 9;
drivers/input/touchscreen/wacom_w8001.c
121
coord->y |= (data[4] & 0x7F) << 2;
drivers/input/touchscreen/wacom_w8001.c
122
coord->y |= (data[6] & 0x18) >> 3;
drivers/input/touchscreen/wacom_w8001.c
134
coord->y = (data[3] << 7) | data[4];
drivers/input/touchscreen/wacom_w8001.c
139
unsigned int *x, unsigned int *y)
drivers/input/touchscreen/wacom_w8001.c
145
*y = *y * w8001->max_pen_y / w8001->max_touch_y;
drivers/input/touchscreen/wacom_w8001.c
152
unsigned int x, y;
drivers/input/touchscreen/wacom_w8001.c
163
y = (data[6 * i + 3] << 7) | data[6 * i + 4];
drivers/input/touchscreen/wacom_w8001.c
167
scale_touch_coordinates(w8001, &x, &y);
drivers/input/touchscreen/wacom_w8001.c
170
input_report_abs(dev, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/wacom_w8001.c
200
query->y = data[5] << 9;
drivers/input/touchscreen/wacom_w8001.c
201
query->y |= data[6] << 2;
drivers/input/touchscreen/wacom_w8001.c
202
query->y |= (data[2] >> 3) & 0x3;
drivers/input/touchscreen/wacom_w8001.c
205
if (!query->x && !query->y) {
drivers/input/touchscreen/wacom_w8001.c
207
query->y = 1024;
drivers/input/touchscreen/wacom_w8001.c
209
query->x = query->y = (1 << query->panel_res);
drivers/input/touchscreen/wacom_w8001.c
252
input_report_abs(dev, ABS_Y, coord->y);
drivers/input/touchscreen/wacom_w8001.c
267
unsigned int y = coord->y;
drivers/input/touchscreen/wacom_w8001.c
270
scale_touch_coordinates(w8001, &x, &y);
drivers/input/touchscreen/wacom_w8001.c
273
input_report_abs(dev, ABS_Y, y);
drivers/input/touchscreen/wacom_w8001.c
443
w8001->max_pen_y = coord.y;
drivers/input/touchscreen/wacom_w8001.c
446
input_set_abs_params(dev, ABS_Y, 0, coord.y, 0, 0);
drivers/input/touchscreen/wacom_w8001.c
487
w8001->max_touch_y = touch.y;
drivers/input/touchscreen/wacom_w8001.c
492
touch.y = w8001->max_pen_y;
drivers/input/touchscreen/wacom_w8001.c
497
input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0);
drivers/input/touchscreen/wacom_w8001.c
531
0, touch.y, 0, 0);
drivers/input/touchscreen/wacom_w8001.c
65
u16 y;
drivers/input/touchscreen/wacom_w8001.c
74
u16 y;
drivers/input/touchscreen/wdt87xx_i2c.c
612
u32 y;
drivers/input/touchscreen/wdt87xx_i2c.c
624
y = (a << 1) ^ b;
drivers/input/touchscreen/wdt87xx_i2c.c
625
y = (y & ~1) | (bit0 & 1);
drivers/input/touchscreen/wdt87xx_i2c.c
627
return (u16)y;
drivers/input/touchscreen/wdt87xx_i2c.c
954
u32 x, y, w;
drivers/input/touchscreen/wdt87xx_i2c.c
972
y = get_unaligned_le16(buf + FINGER_EV_V1_OFFSET_Y);
drivers/input/touchscreen/wdt87xx_i2c.c
973
y = DIV_ROUND_CLOSEST(y * param->phy_h, param->phy_w);
drivers/input/touchscreen/wdt87xx_i2c.c
976
if (x > param->max_x || y > param->max_y)
drivers/input/touchscreen/wdt87xx_i2c.c
980
finger_id, x, y);
drivers/input/touchscreen/wdt87xx_i2c.c
987
input_report_abs(input, ABS_MT_POSITION_Y, y);
drivers/input/touchscreen/wm9705.c
278
rc = wm9705_poll_sample(wm, WM97XX_ADCSEL_Y | WM97XX_PEN_DOWN, &data->y);
drivers/input/touchscreen/wm9712.c
353
data->y = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD);
drivers/input/touchscreen/wm9712.c
363
if (!(data->x & WM97XX_ADCSEL_X) || !(data->y & WM97XX_ADCSEL_Y))
drivers/input/touchscreen/wm9712.c
368
if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) {
drivers/input/touchscreen/wm9712.c
395
&data->y);
drivers/input/touchscreen/wm9713.c
364
data->y = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD);
drivers/input/touchscreen/wm9713.c
374
if (!(data->x & WM97XX_ADCSEL_X) || !(data->y & WM97XX_ADCSEL_Y))
drivers/input/touchscreen/wm9713.c
379
if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) {
drivers/input/touchscreen/wm9713.c
403
rc = wm9713_poll_sample(wm, WM97XX_ADCSEL_Y | WM97XX_PEN_DOWN, &data->y);
drivers/input/touchscreen/wm97xx-core.c
417
data.x >> 12, data.x & 0xfff, data.y >> 12,
drivers/input/touchscreen/wm97xx-core.c
418
data.y & 0xfff, data.p >> 12, data.p & 0xfff);
drivers/input/touchscreen/wm97xx-core.c
422
abs_y[0] > (data.y & 0xfff) ||
drivers/input/touchscreen/wm97xx-core.c
423
abs_y[1] < (data.y & 0xfff)) {
drivers/input/touchscreen/wm97xx-core.c
430
input_report_abs(wm->input_dev, ABS_Y, data.y & 0xfff);
drivers/input/touchscreen/zforce_ts.c
196
static int zforce_resolution(struct zforce_ts *ts, u16 x, u16 y)
drivers/input/touchscreen/zforce_ts.c
201
(y & 0xff), ((y >> 8) & 0xff) };
drivers/input/touchscreen/zforce_ts.c
203
dev_dbg(&client->dev, "set resolution to (%d,%d)\n", x, y);
drivers/input/touchscreen/zinitix.c
140
__le16 y;
drivers/input/touchscreen/zinitix.c
406
u16 x, y;
drivers/input/touchscreen/zinitix.c
416
y = le16_to_cpu(p->y);
drivers/input/touchscreen/zinitix.c
422
&bt541->prop, x, y, true);
drivers/input/touchscreen/zinitix.c
427
x, y);
drivers/input/touchscreen/zinitix.c
430
slot, x, y);
drivers/irqchip/irq-renesas-rzt2h.c
67
u8 y, upper;
drivers/irqchip/irq-renesas-rzt2h.c
70
y = dmac_channel / 3;
drivers/irqchip/irq-renesas-rzt2h.c
74
val = readl(priv->base_ns + RZT2H_ICU_DMACn_RSSELi(dmac_index, y));
drivers/irqchip/irq-renesas-rzt2h.c
77
writel(val, priv->base_ns + RZT2H_ICU_DMACn_RSSELi(dmac_index, y));
drivers/irqchip/irq-renesas-rzv2h.c
149
u8 y, upper;
drivers/irqchip/irq-renesas-rzv2h.c
151
y = dmac_channel / 2;
drivers/irqchip/irq-renesas-rzv2h.c
159
icu_dmksely = readl(priv->base + ICU_DMkSELy(dmac_index, y));
drivers/irqchip/irq-renesas-rzv2h.c
161
writel(icu_dmksely, priv->base + ICU_DMkSELy(dmac_index, y));
drivers/irqchip/irq-renesas-rzv2h.c
43
#define ICU_DMkSELy(k, y) (0x420 + (k) * 0x20 + (y) * 4)
drivers/isdn/capi/capiutil.c
193
#define byteTLcpy(x, y) *(u8 *)(x) = *(u8 *)(y);
drivers/isdn/capi/capiutil.c
194
#define wordTLcpy(x, y) *(u16 *)(x) = *(u16 *)(y);
drivers/isdn/capi/capiutil.c
195
#define dwordTLcpy(x, y) memcpy(x, y, 4);
drivers/isdn/capi/capiutil.c
196
#define structTLcpy(x, y, l) memcpy(x, y, l)
drivers/isdn/capi/capiutil.c
197
#define structTLcpyovl(x, y, l) memmove(x, y, l)
drivers/isdn/capi/capiutil.c
199
#define byteTRcpy(x, y) *(u8 *)(y) = *(u8 *)(x);
drivers/isdn/capi/capiutil.c
200
#define wordTRcpy(x, y) *(u16 *)(y) = *(u16 *)(x);
drivers/isdn/capi/capiutil.c
201
#define dwordTRcpy(x, y) memcpy(y, x, 4);
drivers/isdn/capi/capiutil.c
202
#define structTRcpy(x, y, l) memcpy(y, x, l)
drivers/isdn/capi/capiutil.c
203
#define structTRcpyovl(x, y, l) memmove(y, x, l)
drivers/isdn/hardware/mISDN/hfcmulti.c
706
unsigned int i, x, y;
drivers/isdn/hardware/mISDN/hfcmulti.c
716
for (y = 0; y < 4; y++) {
drivers/isdn/hardware/mISDN/hfcmulti.c
717
vpm_out(wc, x, 0x1a8 + y, 0x00); /* GPIO out */
drivers/isdn/hardware/mISDN/hfcmulti.c
718
vpm_out(wc, x, 0x1ac + y, 0x00); /* GPIO dir */
drivers/isdn/hardware/mISDN/hfcmulti.c
719
vpm_out(wc, x, 0x1b0 + y, 0x00); /* GPIO sel */
drivers/isdn/mISDN/dsp_audio.c
100
return y;
drivers/isdn/mISDN/dsp_audio.c
90
short mu, e, f, y;
drivers/isdn/mISDN/dsp_audio.c
96
y = f * (1 << (e + 3));
drivers/isdn/mISDN/dsp_audio.c
97
y += etab[e];
drivers/isdn/mISDN/dsp_audio.c
99
y = -y;
drivers/isdn/mISDN/dsp_biquad.h
41
int32_t y;
drivers/isdn/mISDN/dsp_biquad.h
45
y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2;
drivers/isdn/mISDN/dsp_biquad.h
49
y >>= 15;
drivers/isdn/mISDN/dsp_biquad.h
50
return y;
drivers/leds/leds-88pm860x.c
140
#define pm860x_led_dt_init(x, y) (-1)
drivers/macintosh/ams/ams-core.c
26
void ams_sensors(s8 *x, s8 *y, s8 *z)
drivers/macintosh/ams/ams-core.c
32
ams_info.get_xyz(y, x, z);
drivers/macintosh/ams/ams-core.c
34
ams_info.get_xyz(x, y, z);
drivers/macintosh/ams/ams-core.c
39
*y = ~(*y);
drivers/macintosh/ams/ams-core.c
47
s8 x, y, z;
drivers/macintosh/ams/ams-core.c
50
ams_sensors(&x, &y, &z);
drivers/macintosh/ams/ams-core.c
53
return sysfs_emit(buf, "%d %d %d\n", x, y, z);
drivers/macintosh/ams/ams-i2c.c
150
static void ams_i2c_get_xyz(s8 *x, s8 *y, s8 *z)
drivers/macintosh/ams/ams-i2c.c
153
*y = ams_i2c_read(AMS_DATAY);
drivers/macintosh/ams/ams-input.c
30
s8 x, y, z;
drivers/macintosh/ams/ams-input.c
34
ams_sensors(&x, &y, &z);
drivers/macintosh/ams/ams-input.c
37
y -= ams_info.ycalib;
drivers/macintosh/ams/ams-input.c
41
input_report_abs(idev, ABS_Y, invert ? -y : y);
drivers/macintosh/ams/ams-input.c
53
s8 x, y, z;
drivers/macintosh/ams/ams-input.c
56
ams_sensors(&x, &y, &z);
drivers/macintosh/ams/ams-input.c
58
ams_info.ycalib = y;
drivers/macintosh/ams/ams-pmu.c
123
static void ams_pmu_get_xyz(s8 *x, s8 *y, s8 *z)
drivers/macintosh/ams/ams-pmu.c
126
*y = ams_pmu_get_register(AMS_Y);
drivers/macintosh/ams/ams.h
46
void (*get_xyz)(s8 *x, s8 *y, s8 *z);
drivers/macintosh/ams/ams.h
66
extern void ams_sensors(s8 *x, s8 *y, s8 *z);
drivers/macintosh/therm_windtunnel.c
72
#define T(x,y) (((x)<<8) | (y)*0x100/10 )
drivers/md/dm-vdo/murmurhash3.c
18
#define ROTL64(x, y) rotl64(x, y)
drivers/md/md.c
8723
int i, x = per_milli/50, y = 20-x;
drivers/md/md.c
8728
for (i = 0; i < y; i++)
drivers/md/persistent-data/dm-block-manager.c
317
#define report_recursive_bug(x, y) do { } while (0)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1008
color_to_ycbcr(tpg, r, g, b, &y, &cb, &cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1010
y >>= 4;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1021
y = clamp(y, 16, 235);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1025
y = clamp(y, 1, 254);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1031
y >>= 4;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1036
y >>= 3;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1041
y >>= 3;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1046
tpg->colors[k][0] = y;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1927
((y * step + l) / (vdiv * div)) * tpg->bytesperline[p] + \
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1971
int y, int x, const char *text, unsigned len)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1978
int y, int x, const char *text, unsigned len)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1985
int y, int x, const char *text, unsigned len)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1992
int y, int x, const char *text, unsigned len)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1998
int y, int x, const char *text)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2012
if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2018
y = tpg->compose.height - y - 16;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2021
y += tpg->compose.top;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2032
tpg_print_str_2(tpg, basep, p, first, div, step, y, x,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2036
tpg_print_str_4(tpg, basep, p, first, div, step, y, x,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2040
tpg_print_str_6(tpg, basep, p, first, div, step, y, x,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2044
tpg_print_str_8(tpg, basep, p, first, div, step, y, x,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2143
static unsigned tpg_calc_buffer_line(const struct tpg_data *tpg, unsigned y,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2146
y += tpg->compose.top;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2149
if (y & 1)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2150
return tpg->buf_height / 2 + y / 2;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2151
return y / 2;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2153
if (y & 1)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2154
return y / 2;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2155
return tpg->buf_height / 2 + y / 2;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2157
return y;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
651
int y_offset, int *y, int *cb, int *cr)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
653
*y = ((m[0][0] * r + m[0][1] * g + m[0][2] * b) >> 16) + (y_offset << 4);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
659
int *y, int *cb, int *cr)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
718
rgb2ycbcr(full ? bt601_full : bt601, r, g, b, y_offset, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
723
rgb2ycbcr(bt601, r, g, b, 16, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
728
rgb2ycbcr(rec709, r, g, b, 16, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
731
rgb2ycbcr(full ? bt2020_full : bt2020, r, g, b, y_offset, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
738
*y = full ? yc : (yc * 219) / 255 + (16 << 4);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
749
rgb2ycbcr(full ? smpte240m_full : smpte240m, r, g, b, y_offset, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
753
rgb2ycbcr(full ? rec709_full : rec709, r, g, b, y_offset, y, cb, cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
758
static void ycbcr2rgb(const int m[3][3], int y, int cb, int cr,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
761
y -= y_offset << 4;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
764
*r = m[0][0] * y + m[0][1] * cb + m[0][2] * cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
765
*g = m[1][0] * y + m[1][1] * cb + m[1][2] * cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
766
*b = m[2][0] * y + m[2][1] * cb + m[2][2] * cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
772
static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
833
ycbcr2rgb(full ? bt601_full : bt601, y, cb, cr, y_offset, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
838
ycbcr2rgb(bt601, y, cb, cr, 16, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
843
ycbcr2rgb(rec709, y, cb, cr, 16, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
846
ycbcr2rgb(full ? bt2020_full : bt2020, y, cb, cr, y_offset, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
849
y -= full ? 0 : 16 << 4;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
854
*b = y_fac * y + (full ? bt2020c_full[0] : bt2020c[0]) * cb;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
856
*b = y_fac * y + (full ? bt2020c_full[1] : bt2020c[1]) * cb;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
859
*r = y_fac * y + (full ? bt2020c_full[2] : bt2020c[2]) * cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
861
*r = y_fac * y + (full ? bt2020c_full[3] : bt2020c[3]) * cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
865
lin_y = rec709_to_linear((y * 255) / (full ? 255 : 219));
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
873
ycbcr2rgb(full ? smpte240m_full : smpte240m, y, cb, cr, y_offset, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
877
ycbcr2rgb(full ? rec709_full : rec709, y, cb, cr, y_offset, r, g, b);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
889
int y, cb, cr;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
971
color_to_ycbcr(tpg, r, g, b, &y, &cb, &cr);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
973
y = (16 << 4) + ((y - (16 << 4)) * tpg->contrast) / 128;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
974
y += (tpg->brightness << 4) - (128 << 4);
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
986
ycbcr_to_color(tpg, y, cb, cr, &r, &g, &b);
drivers/media/dvb-frontends/dib7000p.c
1696
signed y;
drivers/media/dvb-frontends/dib7000p.c
1766
return segments[0].y;
drivers/media/dvb-frontends/dib7000p.c
1768
return segments[len-1].y;
drivers/media/dvb-frontends/dib7000p.c
1773
return segments[i].y;
drivers/media/dvb-frontends/dib7000p.c
1779
dy = segments[i - 1].y - segments[i].y;
drivers/media/dvb-frontends/dib7000p.c
1785
ret = segments[i].y + tmp64;
drivers/media/dvb-frontends/dib8000.c
3927
signed y;
drivers/media/dvb-frontends/dib8000.c
3987
return segments[0].y;
drivers/media/dvb-frontends/dib8000.c
3989
return segments[len-1].y;
drivers/media/dvb-frontends/dib8000.c
3994
return segments[i].y;
drivers/media/dvb-frontends/dib8000.c
4000
dy = segments[i - 1].y - segments[i].y;
drivers/media/dvb-frontends/dib8000.c
4006
ret = segments[i].y + tmp64;
drivers/media/dvb-frontends/drx39xyj/drxj.c
1145
u32 y = 0;
drivers/media/dvb-frontends/drx39xyj/drxj.c
1173
y = k * ((((u32) 1) << scale) * 200);
drivers/media/dvb-frontends/drx39xyj/drxj.c
1182
y += log2lut[i] +
drivers/media/dvb-frontends/drx39xyj/drxj.c
1185
y /= 108853; /* (log2(10) << scale) */
drivers/media/dvb-frontends/drx39xyj/drxj.c
1186
r = (y >> 1);
drivers/media/dvb-frontends/drx39xyj/drxj.c
1188
if (y & ((u32)1))
drivers/media/dvb-frontends/mb86a16.c
43
#define dprintk(x, y, z, format, arg...) do { \
drivers/media/dvb-frontends/mb86a16.c
45
if ((x > MB86A16_ERROR) && (x > y)) \
drivers/media/dvb-frontends/mb86a16.c
47
else if ((x > MB86A16_NOTICE) && (x > y)) \
drivers/media/dvb-frontends/mb86a16.c
49
else if ((x > MB86A16_INFO) && (x > y)) \
drivers/media/dvb-frontends/mb86a16.c
51
else if ((x > MB86A16_DEBUG) && (x > y)) \
drivers/media/dvb-frontends/mb86a16.c
54
if (x > y) \
drivers/media/dvb-frontends/mb86a20s.c
1201
unsigned x, y;
drivers/media/dvb-frontends/mb86a20s.c
1352
return segments[0].y;
drivers/media/dvb-frontends/mb86a20s.c
1354
return segments[len-1].y;
drivers/media/dvb-frontends/mb86a20s.c
1359
return segments[i].y;
drivers/media/dvb-frontends/mb86a20s.c
1365
dy = segments[i].y - segments[i - 1].y;
drivers/media/dvb-frontends/mb86a20s.c
1370
ret = segments[i].y - tmp64;
drivers/media/dvb-frontends/mn88443x.c
303
u32 cnr = 0, x, y, d;
drivers/media/dvb-frontends/mn88443x.c
311
y = (tmpu << 8) | tmpl;
drivers/media/dvb-frontends/mn88443x.c
315
d = (y << 15) - x * x;
drivers/media/dvb-frontends/stb0899_priv.h
22
#define dprintk(x, y, z, format, arg...) do { \
drivers/media/dvb-frontends/stb0899_priv.h
24
if ((*x > FE_ERROR) && (*x > y)) \
drivers/media/dvb-frontends/stb0899_priv.h
26
else if ((*x > FE_NOTICE) && (*x > y)) \
drivers/media/dvb-frontends/stb0899_priv.h
28
else if ((*x > FE_INFO) && (*x > y)) \
drivers/media/dvb-frontends/stb0899_priv.h
30
else if ((*x > FE_DEBUG) && (*x > y)) \
drivers/media/dvb-frontends/stb0899_priv.h
33
if (*x > y) \
drivers/media/dvb-frontends/stb0899_priv.h
38
#define INRANGE(val, x, y) (((x <= val) && (val <= y)) || \
drivers/media/dvb-frontends/stb0899_priv.h
39
((y <= val) && (val <= x)) ? 1 : 0)
drivers/media/dvb-frontends/stb0899_priv.h
46
#define GETBYTE(x, y) (((x) >> (y)) & 0xff)
drivers/media/dvb-frontends/stb0899_priv.h
51
#define MSB(y) ((y >> 8) & 0xff)
drivers/media/dvb-frontends/stb6100.c
30
#define dprintk(x, y, z, format, arg...) do { \
drivers/media/dvb-frontends/stb6100.c
32
if ((x > FE_ERROR) && (x > y)) \
drivers/media/dvb-frontends/stb6100.c
34
else if ((x > FE_NOTICE) && (x > y)) \
drivers/media/dvb-frontends/stb6100.c
36
else if ((x > FE_INFO) && (x > y)) \
drivers/media/dvb-frontends/stb6100.c
38
else if ((x > FE_DEBUG) && (x > y)) \
drivers/media/dvb-frontends/stb6100.c
41
if (x > y) \
drivers/media/dvb-frontends/stb6100.h
61
#define INRANGE(val, x, y) (((x <= val) && (val <= y)) || \
drivers/media/dvb-frontends/stb6100.h
62
((y <= val) && (val <= x)) ? 1 : 0)
drivers/media/dvb-frontends/stb6100.h
64
#define CHKRANGE(val, x, y) (((val >= x) && (val < y)) ? 1 : 0)
drivers/media/dvb-frontends/stv6110x_priv.h
49
#define MSB(y) ((y >> 8) & 0xff)
drivers/media/i2c/adv7511-v4l2.c
1292
u8 y = HDMI_COLORSPACE_RGB;
drivers/media/i2c/adv7511-v4l2.c
1326
y = HDMI_COLORSPACE_YUV422;
drivers/media/i2c/adv7511-v4l2.c
1331
y = HDMI_COLORSPACE_YUV422;
drivers/media/i2c/adv7511-v4l2.c
1348
ec = y ? HDMI_EXTENDED_COLORIMETRY_OPYCC_601 :
drivers/media/i2c/adv7511-v4l2.c
1352
c = y ? HDMI_COLORIMETRY_ITU_601 : HDMI_COLORIMETRY_NONE;
drivers/media/i2c/adv7511-v4l2.c
1353
if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) {
drivers/media/i2c/adv7511-v4l2.c
1359
c = y ? HDMI_COLORIMETRY_ITU_709 : HDMI_COLORIMETRY_NONE;
drivers/media/i2c/adv7511-v4l2.c
1360
if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) {
drivers/media/i2c/adv7511-v4l2.c
1366
c = y ? HDMI_COLORIMETRY_EXTENDED : HDMI_COLORIMETRY_NONE;
drivers/media/i2c/adv7511-v4l2.c
1367
ec = y ? HDMI_EXTENDED_COLORIMETRY_S_YCC_601 :
drivers/media/i2c/adv7511-v4l2.c
1372
if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM)
drivers/media/i2c/adv7511-v4l2.c
1396
q = y ? HDMI_QUANTIZATION_RANGE_DEFAULT :
drivers/media/i2c/adv7511-v4l2.c
1401
q = y ? HDMI_QUANTIZATION_RANGE_DEFAULT :
drivers/media/i2c/adv7511-v4l2.c
1408
adv7511_wr_and_or(sd, 0x55, 0x9f, y << 5);
drivers/media/i2c/adv7604.c
1117
u8 y = HDMI_COLORSPACE_RGB;
drivers/media/i2c/adv7604.c
1120
y = infoframe_read(sd, 0x01) >> 5;
drivers/media/i2c/adv7604.c
1178
if (y != HDMI_COLORSPACE_RGB)
drivers/media/i2c/adv7604.c
1192
if (y != HDMI_COLORSPACE_RGB)
drivers/media/i2c/adv7842.c
1167
u8 y = HDMI_COLORSPACE_RGB;
drivers/media/i2c/adv7842.c
1170
y = infoframe_read(sd, 0x01) >> 5;
drivers/media/i2c/adv7842.c
1228
if (y != HDMI_COLORSPACE_RGB)
drivers/media/i2c/adv7842.c
1242
if (y != HDMI_COLORSPACE_RGB)
drivers/media/i2c/ar0521.c
204
u16 y = clamp(((AR0521_HEIGHT_MAX - sensor->fmt.height) / 2) & ~1,
drivers/media/i2c/ar0521.c
213
be(y),
drivers/media/i2c/ar0521.c
215
be(y + sensor->fmt.height - 1),
drivers/media/i2c/ov2640.c
518
#define PER_SIZE_REG_SEQ(x, y, v_div, h_div, pclk_div) \
drivers/media/i2c/ov2640.c
522
{ ZMOH, ZMOH_OUTH_SET(y) }, \
drivers/media/i2c/ov2640.c
523
{ ZMHH, ZMHH_OUTW_SET(x) | ZMHH_OUTH_SET(y) }, \
drivers/media/pci/bt8xx/dst_ca.c
26
#define dprintk(x, y, z, format, arg...) do { \
drivers/media/pci/bt8xx/dst_ca.c
28
if ((x > DST_CA_ERROR) && (x > y)) \
drivers/media/pci/bt8xx/dst_ca.c
30
else if ((x > DST_CA_NOTICE) && (x > y)) \
drivers/media/pci/bt8xx/dst_ca.c
32
else if ((x > DST_CA_INFO) && (x > y)) \
drivers/media/pci/bt8xx/dst_ca.c
34
else if ((x > DST_CA_DEBUG) && (x > y)) \
drivers/media/pci/bt8xx/dst_ca.c
37
if (x > y) \
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
130
u32 ipu6_isys_convert_bayer_order(u32 code, int x, int y)
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
159
return code_map[i ^ (((y & 1) << 1) | (x & 1))];
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.h
31
u32 ipu6_isys_convert_bayer_order(u32 code, int x, int y);
drivers/media/pci/ivtv/ivtv-vbi.c
368
int y;
drivers/media/pci/ivtv/ivtv-vbi.c
438
for (y = 0; y < size; y += 4) {
drivers/media/pci/ivtv/ivtv-vbi.c
439
swab32s((u32 *)(p + y));
drivers/media/pci/ivtv/ivtv-yuv.c
145
int i, y, uv;
drivers/media/pci/ivtv/ivtv-yuv.c
147
for (i = 0, y = 16, uv = 4; i < 16; i++, y += 24, uv += 12) {
drivers/media/pci/ivtv/ivtv-yuv.c
148
if ((read_dec(IVTV_YUV_HORIZONTAL_FILTER_OFFSET + y) != i << 16) ||
drivers/media/pci/ivtv/ivtvfb.c
186
int y;
drivers/media/pci/ivtv/ivtvfb.c
219
osd->y = data[4];
drivers/media/pci/ivtv/ivtvfb.c
230
oi->set_osd_coords_y = osd->y;
drivers/media/pci/ivtv/ivtvfb.c
235
osd->lines, osd->x, osd->y);
drivers/media/pci/ivtv/ivtvfb.c
572
ivtv_osd.y = 0;
drivers/media/pci/mantis/mantis_common.h
27
#define dprintk(y, z, format, arg...) do { \
drivers/media/pci/mantis/mantis_common.h
29
if ((mantis->verbose > MANTIS_ERROR) && (mantis->verbose > y)) \
drivers/media/pci/mantis/mantis_common.h
31
else if ((mantis->verbose > MANTIS_NOTICE) && (mantis->verbose > y)) \
drivers/media/pci/mantis/mantis_common.h
33
else if ((mantis->verbose > MANTIS_INFO) && (mantis->verbose > y)) \
drivers/media/pci/mantis/mantis_common.h
35
else if ((mantis->verbose > MANTIS_DEBUG) && (mantis->verbose > y)) \
drivers/media/pci/mantis/mantis_common.h
37
else if ((mantis->verbose > MANTIS_TMG) && (mantis->verbose > y)) \
drivers/media/pci/mantis/mantis_common.h
40
if (mantis->verbose > y) \
drivers/media/pci/solo6x10/solo6x10-disp.c
206
int x, y;
drivers/media/pci/solo6x10/solo6x10-disp.c
212
for (y = 0; y < SOLO_MOTION_SZ; y++) {
drivers/media/pci/solo6x10/solo6x10-disp.c
214
buf[x] = cpu_to_le16(thresholds[y * SOLO_MOTION_SZ + x]);
drivers/media/pci/solo6x10/solo6x10-disp.c
216
SOLO_MOTION_EXT_ADDR(solo_dev) + off + y * size,
drivers/media/pci/solo6x10/solo6x10-regs.h
303
#define SOLO_BG_Y(y) ((y)<<16)
drivers/media/pci/zoran/videocodec.h
214
__u32 x, y; /* Offsets into image */
drivers/media/pci/zoran/zoran_device.c
614
cap.y = zr->jpg_settings.img_y;
drivers/media/pci/zoran/zr36016.c
221
cap->x, cap->y, cap->width, cap->height,
drivers/media/pci/zoran/zr36016.c
246
ptr->yoff = norm->v_start + cap->y;
drivers/media/pci/zoran/zr36050.c
552
cap->x, cap->y, cap->width, cap->height,
drivers/media/pci/zoran/zr36060.c
492
cap->x, cap->y, cap->width, cap->height, cap->decimation);
drivers/media/pci/zoran/zr36060.c
579
reg = cap->y + norm->v_start; /* Vstart */
drivers/media/platform/amphion/vpu_malone.c
55
#define STREAM_CONFIG_FORMAT_SET(x, y) CONFIG_SET(x, y, 0, 0x0000000F)
drivers/media/platform/amphion/vpu_malone.c
56
#define STREAM_CONFIG_STRBUFIDX_SET(x, y) CONFIG_SET(x, y, 8, 0x00000300)
drivers/media/platform/amphion/vpu_malone.c
57
#define STREAM_CONFIG_NOSEQ_SET(x, y) CONFIG_SET(x, y, 10, 0x00000400)
drivers/media/platform/amphion/vpu_malone.c
58
#define STREAM_CONFIG_DEBLOCK_SET(x, y) CONFIG_SET(x, y, 11, 0x00000800)
drivers/media/platform/amphion/vpu_malone.c
59
#define STREAM_CONFIG_DERING_SET(x, y) CONFIG_SET(x, y, 12, 0x00001000)
drivers/media/platform/amphion/vpu_malone.c
60
#define STREAM_CONFIG_IBWAIT_SET(x, y) CONFIG_SET(x, y, 13, 0x00002000)
drivers/media/platform/amphion/vpu_malone.c
61
#define STREAM_CONFIG_FBC_SET(x, y) CONFIG_SET(x, y, 14, 0x00004000)
drivers/media/platform/amphion/vpu_malone.c
62
#define STREAM_CONFIG_PLAY_MODE_SET(x, y) CONFIG_SET(x, y, 16, 0x00030000)
drivers/media/platform/amphion/vpu_malone.c
63
#define STREAM_CONFIG_ENABLE_DCP_SET(x, y) CONFIG_SET(x, y, 20, 0x00100000)
drivers/media/platform/amphion/vpu_malone.c
64
#define STREAM_CONFIG_NUM_STR_BUF_SET(x, y) CONFIG_SET(x, y, 21, 0x00600000)
drivers/media/platform/amphion/vpu_malone.c
65
#define STREAM_CONFIG_MALONE_USAGE_SET(x, y) CONFIG_SET(x, y, 23, 0x01800000)
drivers/media/platform/amphion/vpu_malone.c
66
#define STREAM_CONFIG_MULTI_VID_SET(x, y) CONFIG_SET(x, y, 25, 0x02000000)
drivers/media/platform/amphion/vpu_malone.c
67
#define STREAM_CONFIG_OBFUSC_EN_SET(x, y) CONFIG_SET(x, y, 26, 0x04000000)
drivers/media/platform/amphion/vpu_malone.c
68
#define STREAM_CONFIG_RC4_EN_SET(x, y) CONFIG_SET(x, y, 27, 0x08000000)
drivers/media/platform/amphion/vpu_malone.c
69
#define STREAM_CONFIG_MCX_SET(x, y) CONFIG_SET(x, y, 28, 0x10000000)
drivers/media/platform/amphion/vpu_malone.c
70
#define STREAM_CONFIG_PES_SET(x, y) CONFIG_SET(x, y, 29, 0x20000000)
drivers/media/platform/amphion/vpu_malone.c
71
#define STREAM_CONFIG_NUM_DBE_SET(x, y) CONFIG_SET(x, y, 30, 0x40000000)
drivers/media/platform/amphion/vpu_malone.c
72
#define STREAM_CONFIG_FS_CTRL_MODE_SET(x, y) CONFIG_SET(x, y, 31, 0x80000000)
drivers/media/platform/chips-media/coda/coda-bit.c
525
u32 y, cb, cr, mvcol;
drivers/media/platform/chips-media/coda/coda-bit.c
528
y = ctx->internal_frames[i].buf.paddr;
drivers/media/platform/chips-media/coda/coda-bit.c
529
cb = y + ysize;
drivers/media/platform/chips-media/coda/coda-bit.c
530
cr = y + ysize + ysize/4;
drivers/media/platform/chips-media/coda/coda-bit.c
531
mvcol = y + ysize + ysize/4 + ysize/4;
drivers/media/platform/chips-media/coda/coda-bit.c
538
y = (y & 0xfffff000) | cb >> 20;
drivers/media/platform/chips-media/coda/coda-bit.c
541
coda_parabuf_write(ctx, i * 3 + 0, y);
drivers/media/platform/marvell/mcam-core.c
329
dma_addr_t y, u = 0, v = 0;
drivers/media/platform/marvell/mcam-core.c
331
y = base;
drivers/media/platform/marvell/mcam-core.c
335
u = y + pixel_count;
drivers/media/platform/marvell/mcam-core.c
339
v = y + pixel_count;
drivers/media/platform/marvell/mcam-core.c
346
mcam_reg_write(cam, REG_Y0BAR + frame * 4, y);
drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h
85
int32_t y;
drivers/media/platform/mediatek/mdp/mtk_mdp_regs.c
114
config->y = 0;
drivers/media/platform/mediatek/mdp/mtk_mdp_regs.c
83
config->y = 0;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1106
short y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1115
y = vdec_av1_slice_resolve_divisor_32(abs(mat[2]), &shift) * (mat[2] < 0 ? -1 : 1);
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1117
gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1121
dv = ((long long)mat[3] * mat[4]) * y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1805
vsi->fb.y.dma_addr = fb->base_y.dma_addr;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1829
vref->y.dma_addr = vb2_dma_contig_plane_dma_addr(vb, 0);
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
1831
vref->c.dma_addr = vref->y.dma_addr + size;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
620
struct vdec_av1_slice_mem y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
1039
inst->vsi_ctx_ext.fb.y.dma_addr = y_fb_dma;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
154
struct vdec_h264_slice_mem y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
543
inst->vsi_core_ext->fb.y.dma_addr = y_fb_dma;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
544
inst->vsi_core_ext->fb.y.size = ctx->picinfo.fb_sz[0];
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c
289
struct vdec_hevc_slice_mem y;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c
822
inst->vsi_core->fb.y.dma_addr = y_fb_dma;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c
823
inst->vsi_core->fb.y.size = ctx->picinfo.fb_sz[0];
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c
1680
vsi->fb.y.dma_addr = fb->base_y.dma_addr;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c
1715
vsi->ref[i].y.dma_addr =
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c
1719
vsi->ref[i].y.dma_addr + size;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c
317
struct vdec_vp9_slice_mem y;
drivers/media/platform/nuvoton/npcm-video.c
195
static void npcm_video_ece_prepend_rect_header(void *addr, u16 x, u16 y, u16 w, u16 h)
drivers/media/platform/nuvoton/npcm-video.c
198
__be16 y_pos = cpu_to_be16(y);
drivers/media/platform/nuvoton/npcm-video.c
407
unsigned int x, unsigned int y,
drivers/media/platform/nuvoton/npcm-video.c
420
r->top = y;
drivers/media/platform/nxp/dw100/dw100.c
1000
y = y + (sel->r.height - h) / 2;
drivers/media/platform/nxp/dw100/dw100.c
1002
y = min(hframe - h, (unsigned int)max(0, y));
drivers/media/platform/nxp/dw100/dw100.c
1004
sel->r.top = y;
drivers/media/platform/nxp/dw100/dw100.c
1190
static void dw100_hw_set_roi(struct dw100_device *dw_dev, u32 x, u32 y)
drivers/media/platform/nxp/dw100/dw100.c
1194
dev_dbg(&dw_dev->pdev->dev, "Setting ROI region to %u.%u\n", x, y);
drivers/media/platform/nxp/dw100/dw100.c
1196
val = DW100_ROI_START_X(x) | DW100_ROI_START_Y(y);
drivers/media/platform/nxp/dw100/dw100.c
947
int x, y, w, h;
drivers/media/platform/nxp/dw100/dw100.c
975
y = sel->r.top;
drivers/media/platform/nxp/dw100/dw100_regs.h
84
#define DW100_ROI_START_Y(y) (((y) & GENMASK(12, 0)) << 16)
drivers/media/platform/nxp/dw100/dw100_regs.h
88
#define DW100_BOUNDARY_PIXEL_Y(y) (((y) & GENMASK(7, 0)) << 16)
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
117
u32 x, y, z;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
120
y = ((height + 32 - 1) / 8) * MAX_SE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
123
return max3(x, y, z);
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
154
u32 x, y, z;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
157
y = ((height + 31) >> 5) * MAX_FE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
160
return max3(x, y, z);
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
170
u32 x, y, z;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
173
y = ((height + 31) >> 5) * MAX_SE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE;
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
176
return max3(x, y, z);
drivers/media/platform/rockchip/rga/rga-hw.c
41
unsigned int x, unsigned int y, unsigned int w, unsigned int h)
drivers/media/platform/rockchip/rga/rga-hw.c
58
lt->y_off = offset->y_off + y * frm->stride + x * pixel_width;
drivers/media/platform/rockchip/rga/rga-hw.c
59
lt->u_off = offset->u_off + (y / y_div) * uv_stride + x / x_div;
drivers/media/platform/rockchip/rga/rga-hw.c
60
lt->v_off = offset->v_off + (y / y_div) * uv_stride + x / x_div;
drivers/media/platform/rockchip/rkcif/rkcif-regs.h
15
#define RKCIF_XY_COORD(x, y) (((y) << 16) | (x))
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c
1329
arg->y);
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c
1343
arg->y);
drivers/media/platform/rockchip/rkisp1/rkisp1-regs.h
666
#define RKISP1_CIF_ISP_GAMMA_VALUE_V12(x, y) \
drivers/media/platform/rockchip/rkisp1/rkisp1-regs.h
667
(((x) & 0xfff) << 16 | ((y) & 0xfff) << 0)
drivers/media/platform/rockchip/rkisp1/rkisp1-regs.h
679
#define RKISP1_CIF_ISP_AFM_SET_SHIFT_a_V12(x, y) (((x) & 0x7) << 16 | ((y) & 0x7) << 0)
drivers/media/platform/rockchip/rkisp1/rkisp1-regs.h
680
#define RKISP1_CIF_ISP_AFM_SET_SHIFT_b_V12(x, y) (((x) & 0x7) << 20 | ((y) & 0x7) << 4)
drivers/media/platform/rockchip/rkisp1/rkisp1-regs.h
681
#define RKISP1_CIF_ISP_AFM_SET_SHIFT_c_V12(x, y) (((x) & 0x7) << 24 | ((y) & 0x7) << 8)
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
323
if (frm->addr.y == addr) {
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
325
*ret_addr = frm->addr.y;
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
343
f_chk_addr = frm->addr.y;
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
353
t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr);
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
356
t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr);
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
362
mid_addr = frm->addr.y;
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
812
addr->y = vb2_dma_contig_plane_dma_addr(vb, 0);
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
822
addr->cb = (dma_addr_t)(addr->y + pix_size);
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
827
addr->cb = (dma_addr_t)(addr->y + pix_size);
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
854
&addr->y, &addr->cb, &addr->cr, ret);
drivers/media/platform/samsung/exynos-gsc/gsc-core.h
141
dma_addr_t y;
drivers/media/platform/samsung/exynos-gsc/gsc-regs.c
101
index, &addr->y, &addr->cb, &addr->cr);
drivers/media/platform/samsung/exynos-gsc/gsc-regs.c
102
writel(addr->y, dev->regs + GSC_OUT_BASE_ADDR_Y(index));
drivers/media/platform/samsung/exynos-gsc/gsc-regs.c
90
&addr->y, &addr->cb, &addr->cr);
drivers/media/platform/samsung/exynos-gsc/gsc-regs.c
91
writel(addr->y, dev->regs + GSC_IN_BASE_ADDR_Y(index));
drivers/media/platform/samsung/exynos4-is/fimc-core.c
342
addr->y = vb2_dma_contig_plane_dma_addr(vb, 0);
drivers/media/platform/samsung/exynos4-is/fimc-core.c
352
addr->cb = (u32)(addr->y + pix_size);
drivers/media/platform/samsung/exynos4-is/fimc-core.c
356
addr->cb = (u32)(addr->y + pix_size);
drivers/media/platform/samsung/exynos4-is/fimc-core.c
375
addr->y, addr->cb, addr->cr, ret);
drivers/media/platform/samsung/exynos4-is/fimc-core.h
211
u32 y;
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
535
writel(addr->y, dev->regs + FIMC_REG_CIIYSA(0));
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
548
writel(addr->y, dev->regs + FIMC_REG_CIOYSA(i));
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
552
i, addr->y, addr->cb, addr->cr);
drivers/media/platform/samsung/s3c-camif/camif-capture.c
255
paddr->y = vb2_dma_contig_plane_dma_addr(vb, 0);
drivers/media/platform/samsung/s3c-camif/camif-capture.c
264
paddr->cb = (u32)(paddr->y + pix_size);
drivers/media/platform/samsung/s3c-camif/camif-capture.c
268
paddr->cb = (u32)(paddr->y + pix_size);
drivers/media/platform/samsung/s3c-camif/camif-capture.c
283
&paddr->y, &paddr->cb, &paddr->cr);
drivers/media/platform/samsung/s3c-camif/camif-core.h
316
dma_addr_t y;
drivers/media/platform/samsung/s3c-camif/camif-regs.c
205
camif_write(camif, S3C_CAMIF_REG_CIYSA(vp->id, i), paddr->y);
drivers/media/platform/samsung/s3c-camif/camif-regs.c
215
i, &paddr->y, &paddr->cb, &paddr->cr);
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2128
jpeg_addr.y = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, 0);
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2131
jpeg_addr.cb = jpeg_addr.y + pix_size - padding_bytes;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2133
jpeg_addr.cb = jpeg_addr.y + pix_size;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2284
jpeg_addr.y = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, 0);
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2287
jpeg_addr.cb = jpeg_addr.y + pix_size;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
2289
jpeg_addr.cb = jpeg_addr.y + pix_size;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.h
252
u32 y;
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-exynos3250.c
217
void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y)
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-exynos3250.c
221
reg = y & EXYNOS3250_JPGY_MASK;
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-exynos3250.c
323
writel(img_addr->y, regs + EXYNOS3250_LUMA_BASE);
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-exynos3250.h
31
void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y);
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-exynos4.c
231
writel(exynos4_jpeg_addr->y, base + EXYNOS4_IMG_BA_PLANE_1_REG);
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-s5p.c
132
void s5p_jpeg_y(void __iomem *regs, unsigned int y)
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-s5p.c
138
reg |= (y >> 8) & 0xff;
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-s5p.c
143
reg |= y & 0xff;
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-s5p.h
36
void s5p_jpeg_y(void __iomem *regs, unsigned int y);
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
67
#define ENC_V100_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
68
(((x + 3) * (y + 3) * 8) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
69
+ ((y * 64) + 1280) * DIV_ROUND_UP(x, 8))
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
71
#define ENC_V100_H264_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
72
(ENC_V100_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
73
+ (DIV_ROUND_UP(x * y, 64) * 32))
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
75
#define ENC_V100_MPEG4_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
76
(ENC_V100_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
77
+ (DIV_ROUND_UP(x * y, 128) * 16))
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
79
#define ENC_V100_VP8_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
80
ENC_V100_BASE_SIZE(x, y)
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
82
#define ENC_V100_HEVC_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
83
(((x + 3) * (y + 3) * 32) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h
84
+ ((y * 128) + 1280) * DIV_ROUND_UP(x, 4))
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
33
#define ENC_V120_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
34
((((x) + 3) * ((y) + 3) * 8) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
35
+ ((((y) * 64) + 2304) * ((x) + 7) / 8))
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
37
#define ENC_V120_H264_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
38
ALIGN((ENC_V120_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
39
+ (DIV_ROUND_UP((x) * (y), 64) * 32)), 256)
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
41
#define ENC_V120_MPEG4_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
42
ALIGN((ENC_V120_BASE_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
43
+ (DIV_ROUND_UP((x) * (y), 128) * 16)), 256)
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
45
#define ENC_V120_VP8_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
46
ALIGN(ENC_V120_BASE_SIZE((x), (y)), 256)
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
48
#define ENC_V120_HEVC_ME_SIZE(x, y) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
49
ALIGN(((((x) + 3) * ((y) + 3) * 32) \
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
50
+ ((((y) * 128) + 2304) * ((x) + 3) / 4)), 256)
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h
22
#define S5P_MFC_DEC_MV_SIZE(x, y, offset) (MB_WIDTH(x) * \
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h
23
(((MB_HEIGHT(y) + 1) / 2) * 2) * 64 + (offset))
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h
27
#define s5p_mfc_dec_hevc_mv_size(x, y) \
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h
28
(DIV_ROUND_UP(x, 64) * DIV_ROUND_UP(y, 64) * 256 + 512)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
374
static inline s16 clip3(s16 x, s16 y, s16 z)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
376
return (z < x) ? x : (z > y) ? y : z;
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
487
short y;
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
496
y = rockchip_vpu981_av1_dec_resolve_divisor_32(abs(mat[2]), &shift) * (mat[2] < 0 ? -1 : 1);
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
498
gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y;
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
502
dv = ((long long)mat[3] * mat[4]) * y;
drivers/media/rc/imon.c
1187
static int x, y, prev_result, hits;
drivers/media/rc/imon.c
1197
y = 0;
drivers/media/rc/imon.c
1202
y += b;
drivers/media/rc/imon.c
1206
if (abs(x) > threshold || abs(y) > threshold) {
drivers/media/rc/imon.c
1207
if (abs(y) > abs(x))
drivers/media/rc/imon.c
1208
result = (y > 0) ? 0x7F : 0x80;
drivers/media/rc/imon.c
1213
y = 0;
drivers/media/rc/imon.c
1221
y = 17 * threshold / 30;
drivers/media/rc/imon.c
1224
y -= 17 * threshold / 30;
drivers/media/rc/ir-mce_kbd-decoder.c
185
int x, y;
drivers/media/rc/ir-mce_kbd-decoder.c
196
y = -((~ydata & 0x7f) + 1);
drivers/media/rc/ir-mce_kbd-decoder.c
198
y = ydata;
drivers/media/rc/ir-mce_kbd-decoder.c
201
x, y, left ? "L" : "", right ? "R" : "");
drivers/media/rc/ir-mce_kbd-decoder.c
204
input_report_rel(dev->input_dev, REL_Y, y);
drivers/media/rc/rc-core-priv.h
177
static inline bool is_transition(struct ir_raw_event *x, struct ir_raw_event *y)
drivers/media/rc/rc-core-priv.h
179
return x->pulse != y->pulse;
drivers/media/test-drivers/vicodec/codec-fwht.c
165
int y = pos / 8;
drivers/media/test-drivers/vicodec/codec-fwht.c
168
dwht_out[x + y * 8] = *wp++;
drivers/media/test-drivers/vicodec/codec-fwht.c
60
int x, y;
drivers/media/test-drivers/vicodec/codec-fwht.c
67
for (y = 0; y < 8; y++) {
drivers/media/test-drivers/vicodec/codec-fwht.c
69
*wp = in[x + y * 8];
drivers/media/test-drivers/vim2m.c
388
u8 y, y1, u, v;
drivers/media/test-drivers/vim2m.c
390
y = ((8453 * (*r) + 16594 * (*g) + 3223 * (*b)
drivers/media/test-drivers/vim2m.c
399
*(*dst)++ = y;
drivers/media/test-drivers/vim2m.c
453
unsigned int x, y, y_in, y_out, x_int, x_fract, x_err, x_offset;
drivers/media/test-drivers/vim2m.c
500
for (y = start; y != end; y += step, y_out++) {
drivers/media/test-drivers/vim2m.c
501
p = p_in + (y * bytesperline);
drivers/media/test-drivers/vim2m.c
519
for (y = start; y != end; y += step, y_out++) {
drivers/media/test-drivers/vim2m.c
520
y_in = (y * q_data_in->height) / q_data_out->height;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
233
unsigned y;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
273
for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap)
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
294
for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) {
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
296
bool osdline = vosdbuf && y >= dev->loop_vid_overlay_cap.top &&
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
297
y < dev->loop_vid_overlay_cap.top + dev->loop_vid_overlay_cap.height;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
303
if (y < dev->loop_vid_cap.top ||
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
304
y >= dev->loop_vid_cap.top + dev->loop_vid_cap.height) {
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
382
for (; y < img_height; y += vdiv, vcapbuf += stride_cap)
drivers/media/test-drivers/vivid/vivid-osd.c
57
unsigned x, y;
drivers/media/test-drivers/vivid/vivid-osd.c
62
for (y = 0; y < dev->display_height; y++) {
drivers/media/test-drivers/vivid/vivid-osd.c
66
d[x] = rgb[(y / 16 + x / 16) % 16];
drivers/media/test-drivers/vivid/vivid-touch-cap.c
227
unsigned int y = index / f->width;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
236
if (y)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
238
if (y < f->height - 1)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
241
if (x && y)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
243
if (x < f->width - 1 && y)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
245
if (x && y < f->height - 1)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
247
if (x < f->width - 1 && y < f->height - 1)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
255
int x, y, xstart, ystart, offset_x, offset_y;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
294
y = f->height / 2;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
297
offset_y = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * y) /
drivers/media/test-drivers/vivid/vivid-touch-cap.c
300
(x - offset_x) + f->width * (y - offset_y));
drivers/media/test-drivers/vivid/vivid-touch-cap.c
302
(x + offset_x) + f->width * (y + offset_y));
drivers/media/test-drivers/vivid/vivid-touch-cap.c
306
y = f->height / 2;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
308
offset_y = (test_pat_idx * y) / TCH_PATTERN_COUNT;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
310
(x - offset_x) + f->width * (y - offset_y));
drivers/media/test-drivers/vivid/vivid-touch-cap.c
312
(x + offset_x) + f->width * (y + offset_y));
drivers/media/test-drivers/vivid/vivid-touch-cap.c
316
for (y = f->height / 2; y < f->height; y++)
drivers/media/test-drivers/vivid/vivid-touch-cap.c
317
tch_buf[x + f->width * y] = VIVID_MIN_PRESSURE +
drivers/media/test-drivers/vivid/vivid-touch-cap.c
322
for (y = 0; y < 4; y++) {
drivers/media/test-drivers/vivid/vivid-touch-cap.c
324
ystart = (y * f->height) / 4 + f->height / 8;
drivers/media/usb/go7007/go7007-driver.c
326
int fw_len, rv = 0, i, x, y;
drivers/media/usb/go7007/go7007-driver.c
340
for (y = 0; y < go->height / 16; y++) {
drivers/media/usb/go7007/go7007-driver.c
342
int idx = y * go->width / 16 + x;
drivers/media/usb/go7007/go7007-driver.c
418
unsigned x, y;
drivers/media/usb/go7007/go7007-driver.c
423
for (y = 0; y < go->height / 16; y++) {
drivers/media/usb/go7007/go7007-driver.c
425
if (!(go->active_map[y * stride + (x >> 3)] & (1 << (x & 7))))
drivers/media/usb/go7007/go7007-driver.c
427
motion[go->modet_map[y * (go->width / 16) + x]]++;
drivers/media/usb/go7007/go7007-driver.c
481
int x, y, i, stride = ((go->width >> 4) + 7) >> 3;
drivers/media/usb/go7007/go7007-driver.c
484
y = (((go->parse_length - 1) << 3) + i) / (go->width >> 4);
drivers/media/usb/go7007/go7007-driver.c
486
if (stride * y + (x >> 3) < sizeof(go->active_map))
drivers/media/usb/go7007/go7007-driver.c
487
go->active_map[stride * y + (x >> 3)] |=
drivers/media/usb/go7007/go7007-priv.h
261
#define go7007_write_interrupt(go, x, y) \
drivers/media/usb/go7007/go7007-priv.h
262
((go)->hpi_ops->write_interrupt)((go), (x), (y))
drivers/media/usb/go7007/go7007-priv.h
267
#define go7007_send_firmware(go, x, y) \
drivers/media/usb/go7007/go7007-priv.h
268
((go)->hpi_ops->send_firmware)((go), (x), (y))
drivers/media/usb/go7007/go7007-priv.h
269
#define go7007_write_addr(go, x, y) \
drivers/media/usb/go7007/go7007-priv.h
270
((go)->hpi_ops->write_interrupt)((go), (x)|0x8000, (y))
drivers/media/usb/go7007/go7007-v4l2.c
775
unsigned y;
drivers/media/usb/go7007/go7007-v4l2.c
817
for (y = 0; y < go->height / 16; y++, mt += go->width / 16)
drivers/media/usb/go7007/go7007-v4l2.c
818
memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16);
drivers/media/usb/gspca/cpia1.c
214
#define FIRMWARE_VERSION(x, y) (sd->params.version.firmwareVersion == (x) && \
drivers/media/usb/gspca/cpia1.c
215
sd->params.version.firmwareRevision == (y))
drivers/media/usb/gspca/spca561.c
650
int y;
drivers/media/usb/gspca/spca561.c
671
y = (77 * R + 75 * (Gr + Gb) + 29 * B) >> 8;
drivers/media/usb/gspca/spca561.c
675
if (y < luma_mean - luma_delta ||
drivers/media/usb/gspca/spca561.c
676
y > luma_mean + luma_delta) {
drivers/media/usb/gspca/spca561.c
682
expotimes += (luma_mean - y) >> spring;
drivers/media/usb/gspca/spca561.c
683
gainG += (luma_mean - y) / 50;
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
280
unsigned int x, y;
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
297
y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
303
y = hdcs->array.top + (hdcs->array.height - height) / 2;
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
308
win[0] = y / 4;
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
310
win[2] = (y + height) / 4 - 1;
drivers/media/usb/gspca/w996Xcf.c
397
int start_cropx, start_cropy, x, y, fw, fh, cw, ch,
drivers/media/usb/gspca/w996Xcf.c
442
y = (max_height - ch) / 2;
drivers/media/usb/gspca/w996Xcf.c
445
reg_w(sd, 0x11, start_cropy + y);
drivers/media/usb/gspca/w996Xcf.c
447
reg_w(sd, 0x13, start_cropy + y + ch);
drivers/media/usb/stk1160/stk1160-v4l.c
59
div_round_integer(unsigned int x, unsigned int y)
drivers/media/usb/stk1160/stk1160-v4l.c
61
for (;; y++) {
drivers/media/usb/stk1160/stk1160-v4l.c
62
if (x % y == 0)
drivers/media/usb/stk1160/stk1160-v4l.c
63
return x / y;
drivers/media/usb/uvc/uvc_video.c
802
u64 y, y2;
drivers/media/usb/uvc/uvc_video.c
847
y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2
drivers/media/usb/uvc/uvc_video.c
849
y = div_u64(y, x2 - x1);
drivers/media/usb/uvc/uvc_video.c
851
sof = y;
drivers/media/usb/uvc/uvc_video.c
856
y >> 16, div_u64((y & 0xffff) * 1000000, 65536),
drivers/media/usb/uvc/uvc_video.c
883
y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2
drivers/media/usb/uvc/uvc_video.c
885
y = div_u64(y, x2 - x1);
drivers/media/usb/uvc/uvc_video.c
887
timestamp = ktime_to_ns(first->host_time) + y - y1;
drivers/media/usb/uvc/uvc_video.c
893
y, timestamp, vbuf->vb2_buf.timestamp,
drivers/media/v4l2-core/v4l2-common.c
619
u32 x, y, r;
drivers/media/v4l2-core/v4l2-common.c
633
y = *denominator;
drivers/media/v4l2-core/v4l2-common.c
635
for (n = 0; n < n_terms && y != 0; ++n) {
drivers/media/v4l2-core/v4l2-common.c
636
an[n] = x / y;
drivers/media/v4l2-core/v4l2-common.c
643
r = x - an[n] * y;
drivers/media/v4l2-core/v4l2-common.c
644
x = y;
drivers/media/v4l2-core/v4l2-common.c
645
y = r;
drivers/media/v4l2-core/v4l2-common.c
650
y = 1;
drivers/media/v4l2-core/v4l2-common.c
653
r = y;
drivers/media/v4l2-core/v4l2-common.c
654
y = an[i-1] * y + x;
drivers/media/v4l2-core/v4l2-common.c
658
*numerator = y;
drivers/media/v4l2-core/v4l2-jpeg.c
284
int p, y, x, nf;
drivers/media/v4l2-core/v4l2-jpeg.c
297
y = jpeg_get_word_be(stream);
drivers/media/v4l2-core/v4l2-jpeg.c
298
if (y < 0)
drivers/media/v4l2-core/v4l2-jpeg.c
299
return y;
drivers/media/v4l2-core/v4l2-jpeg.c
300
if (y == 0)
drivers/media/v4l2-core/v4l2-jpeg.c
322
frame_header->height = y;
drivers/message/fusion/mptbase.c
6811
int y;
drivers/message/fusion/mptbase.c
6818
y = sprintf(buffer+len, "%s: %s, %s%08xh%s, Ports=%d, MaxQ=%d",
drivers/message/fusion/mptbase.c
6829
y += sprintf(buffer+len+y, ", LanAddr=%pMR", a);
drivers/message/fusion/mptbase.c
6832
y += sprintf(buffer+len+y, ", IRQ=%d", ioc->pci_irq);
drivers/message/fusion/mptbase.c
6835
y += sprintf(buffer+len+y, " (disabled)");
drivers/message/fusion/mptbase.c
6837
y += sprintf(buffer+len+y, "\n");
drivers/message/fusion/mptbase.c
6839
*size = y;
drivers/mfd/ucb1x00-ts.c
214
unsigned int x, y, p;
drivers/mfd/ucb1x00-ts.c
223
y = ucb1x00_ts_read_ypos(ts);
drivers/mfd/ucb1x00-ts.c
267
ucb1x00_ts_evt_add(ts, p, x, y);
drivers/mfd/ucb1x00-ts.c
54
static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y)
drivers/mfd/ucb1x00-ts.c
59
input_report_abs(idev, ABS_Y, y);
drivers/misc/ibmasm/remote.c
127
input->data.mouse.x, input->data.mouse.y,
drivers/misc/ibmasm/remote.c
149
input_report_abs(dev, ABS_Y, input->data.mouse.y);
drivers/misc/ibmasm/remote.h
50
unsigned short y;
drivers/misc/lis3lv02d/lis3lv02d.c
172
static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z)
drivers/misc/lis3lv02d/lis3lv02d.c
200
*y = lis3lv02d_get_axis(lis3->ac.y, position);
drivers/misc/lis3lv02d/lis3lv02d.c
267
s16 x, y, z;
drivers/misc/lis3lv02d/lis3lv02d.c
308
y = lis3->read_data(lis3, OUTY);
drivers/misc/lis3lv02d/lis3lv02d.c
318
results[1] = y - lis3->read_data(lis3, OUTY);
drivers/misc/lis3lv02d/lis3lv02d.c
448
int x, y, z;
drivers/misc/lis3lv02d/lis3lv02d.c
451
lis3lv02d_get_xyz(lis3, &x, &y, &z);
drivers/misc/lis3lv02d/lis3lv02d.c
453
input_report_abs(input, ABS_Y, y);
drivers/misc/lis3lv02d/lis3lv02d.c
726
lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns);
drivers/misc/lis3lv02d/lis3lv02d.c
810
int x, y, z;
drivers/misc/lis3lv02d/lis3lv02d.c
814
lis3lv02d_get_xyz(lis3, &x, &y, &z);
drivers/misc/lis3lv02d/lis3lv02d.c
816
return sprintf(buf, "(%d,%d,%d)\n", x, y, z);
drivers/misc/lis3lv02d/lis3lv02d.h
254
int x, y, z;
drivers/misc/lis3lv02d/lis3lv02d_i2c.c
128
lis3lv02d_axis_map.y = pdata->axis_y;
drivers/mmc/core/core.c
1925
unsigned int max_discard, x, y, qty = 0, max_qty, min_qty, timeout;
drivers/mmc/core/core.c
1955
y = 0;
drivers/mmc/core/core.c
1965
y = x;
drivers/mmc/core/core.c
1967
qty += y;
drivers/mmc/core/core.c
1968
} while (y);
drivers/mmc/host/dw_mmc-exynos.h
25
#define SDMMC_CLKSEL_UP_SAMPLE(x, y) (((x) & ~SDMMC_CLKSEL_CCLK_SAMPLE(7)) |\
drivers/mmc/host/dw_mmc-exynos.h
26
SDMMC_CLKSEL_CCLK_SAMPLE(y))
drivers/mmc/host/dw_mmc-exynos.h
27
#define SDMMC_CLKSEL_TIMING(x, y, z) (SDMMC_CLKSEL_CCLK_SAMPLE(x) | \
drivers/mmc/host/dw_mmc-exynos.h
28
SDMMC_CLKSEL_CCLK_DRIVE(y) | \
drivers/mmc/host/dw_mmc-exynos.h
38
#define DQS_CTRL_RD_DELAY(x, y) (((x) & ~0x3FF) | ((y) & 0x3FF))
drivers/mmc/host/sdhci-pci-arasan.c
86
#define IOPAD(x, y) ((x) | ((y) << 2))
drivers/mtd/mtdswap.c
774
unsigned int h, x, y, dist, base;
drivers/mtd/mtdswap.c
795
y = (x * h + base / 2) / base;
drivers/mtd/mtdswap.c
797
return COLLECT_NONDIRTY_FREQ2 + y;
drivers/net/can/peak_canfd/peak_pciefd_main.c
51
#define PCIEFD_FW_VERSION(x, y, z) (((u32)(x) << 24) | \
drivers/net/can/peak_canfd/peak_pciefd_main.c
52
((u32)(y) << 16) | \
drivers/net/can/rcar/rcar_canfd.c
288
#define RCANFD_RMND(y) (0x00a8 + (0x04 * (y)))
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2095
#define BNX2X_ILT_ZALLOC(x, y, size) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2096
x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2098
#define BNX2X_ILT_FREE(x, y, size) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2101
dma_free_coherent(&bp->pdev->dev, size, x, y); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2103
y = 0; \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
36
#define BNX2X_PCI_FREE(x, y, size) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
39
dma_free_coherent(&bp->pdev->dev, size, (void *)x, y); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
41
y = 0; \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
53
#define BNX2X_PCI_ALLOC(y, size) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
55
void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
59
(unsigned long long)(*y), x); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
62
#define BNX2X_PCI_FALLOC(y, size) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
64
void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
69
(unsigned long long)(*y), x); \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h
34
#define BNX2X_ILT_FREE(x, y, sz)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h
38
#define BNX2X_ILT_ZALLOC(x, y, sz)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2504
static inline void cudbg_tcamxy2valmask(u64 x, u64 y, u8 *addr, u64 *mask)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2506
*mask = x | y;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2507
y = (__force u64)cpu_to_be64(y);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2508
memcpy(addr, (char *)&y + 2, ETH_ALEN);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
1665
static inline void tcamxy2valmask(u64 x, u64 y, u8 *addr, u64 *mask)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
1667
*mask = x | y;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
1668
y = (__force u64)cpu_to_be64(y);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
1669
memcpy(addr, (char *)&y + 2, ETH_ALEN);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
226
be32_to_cpu(asrt.u.assert.x), be32_to_cpu(asrt.u.assert.y));
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
3652
__be32 y;
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
26
#define DPAA2_WRIOP_VERSION(x, y, z) ((x) << 10 | (y) << 5 | (z) << 0)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
862
#define calc_y(y, k, v) ((y) = (k) & (v))
drivers/net/ethernet/i825xx/82596.c
88
#define DEB(x,y) if (i596_debug & (x)) y
drivers/net/ethernet/i825xx/lib82596.c
109
#define DEB(x, y) if (i596_debug & (x)) { y; }
drivers/net/ethernet/ibm/emac/rgmii.h
69
# define rgmii_attach(x,y,z) (-ENXIO)
drivers/net/ethernet/ibm/emac/rgmii.h
70
# define rgmii_detach(x,y) do { } while(0)
drivers/net/ethernet/ibm/emac/rgmii.h
73
# define rgmii_set_speed(x,y,z) do { } while(0)
drivers/net/ethernet/ibm/emac/tah.h
83
# define tah_attach(x,y) (-ENXIO)
drivers/net/ethernet/ibm/emac/tah.h
84
# define tah_detach(x,y) do { } while(0)
drivers/net/ethernet/ibm/emac/zmii.h
65
# define zmii_attach(x,y,z) (-ENXIO)
drivers/net/ethernet/ibm/emac/zmii.h
66
# define zmii_detach(x,y) do { } while(0)
drivers/net/ethernet/ibm/emac/zmii.h
67
# define zmii_get_mdio(x,y) do { } while(0)
drivers/net/ethernet/ibm/emac/zmii.h
68
# define zmii_put_mdio(x,y) do { } while(0)
drivers/net/ethernet/ibm/emac/zmii.h
69
# define zmii_set_speed(x,y,z) do { } while(0)
drivers/net/ethernet/lantiq_etop.c
72
#define ltq_etop_w32(x, y) ltq_w32(x, ltq_etop_membase + (y))
drivers/net/ethernet/lantiq_etop.c
73
#define ltq_etop_w32_mask(x, y, z) \
drivers/net/ethernet/lantiq_etop.c
74
ltq_w32_mask(x, y, ltq_etop_membase + (z))
drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h
183
#define FIELD_SET(m, y, x) \
drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h
185
FIELD_PREP((m), (y)))
drivers/net/ethernet/mediatek/mtk_eth_soc.h
564
#define SYSCFG0_GE_MODE(x, y) (x << (12 + (y * 2)))
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
210
#define XNOR(x, y) (!(x) == !(y))
drivers/net/ethernet/microchip/enc28j60_hw.h
261
#define TSV_GETBIT(x, y) (((x)[TSV_BYTEOF(y)] & TSV_BITMASK(y)) ? 1 : 0)
drivers/net/ethernet/microchip/enc28j60_hw.h
280
#define RSV_GETBIT(x, y) (((x) & RSV_BITMASK(y)) ? 1 : 0)
drivers/net/ethernet/microchip/encx24j600_hw.h
420
#define RSV_GETBIT(x, y) (((x) & RSV_BITMASK(y)) ? 1 : 0)
drivers/net/ethernet/sun/cassini.c
454
#define RX_USED_ADD(x, y) ((x)->used += (y))
drivers/net/ethernet/sun/cassini.c
455
#define RX_USED_SET(x, y) ((x)->used = (y))
drivers/net/ethernet/sun/cassini.c
457
#define RX_USED_ADD(x, y) do { } while(0)
drivers/net/ethernet/sun/cassini.c
458
#define RX_USED_SET(x, y) do { } while(0)
drivers/net/ethernet/sun/cassini.h
2558
#define CAS_BASE(x, y) (((y) << (x ## _SHIFT)) & (x ## _MASK))
drivers/net/ethernet/sun/cassini.h
2559
#define CAS_VAL(x, y) (((y) & (x ## _MASK)) >> (x ## _SHIFT))
drivers/net/ethernet/sun/cassini.h
2560
#define CAS_TX_RINGN_BASE(y) ((TX_DESC_RINGN_INDEX(y) << \
drivers/net/ethernet/sun/cassini.h
2561
TX_CFG_DESC_RINGN_SHIFT(y)) & \
drivers/net/ethernet/sun/cassini.h
2562
TX_CFG_DESC_RINGN_MASK(y))
drivers/net/ethernet/sun/cassini.h
2871
#define TX_BUFF_COUNT(r, x, y) ((x) <= (y) ? ((y) - (x)) : \
drivers/net/ethernet/sun/cassini.h
2872
(TX_DESC_RINGN_SIZE(r) - (x) + (y)))
drivers/net/fddi/defza.c
109
unsigned long x, y;
drivers/net/fddi/defza.c
112
y = ALIGN(x, v);
drivers/net/fddi/defza.c
114
skb_reserve(skb, y - x);
drivers/net/fddi/skfp/cfm.c
100
smc->y[PA].scrub = 0 ;
drivers/net/fddi/skfp/cfm.c
101
smc->y[PB].scrub = 0 ;
drivers/net/fddi/skfp/cfm.c
102
smc->y[PA].cem_pst = CEM_PST_DOWN ;
drivers/net/fddi/skfp/cfm.c
103
smc->y[PB].cem_pst = CEM_PST_DOWN ;
drivers/net/fddi/skfp/cfm.c
107
#define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \
drivers/net/fddi/skfp/cfm.c
108
smc->y[PB].pc_mode != PM_TREE)
drivers/net/fddi/skfp/cfm.c
115
if ( !THRU_ENABLED(smc) && smc->y[PB].cf_join ) {
drivers/net/fddi/skfp/cfm.c
141
for ( p = 0,phy = smc->y ; p < NUMPHYS; p++, phy++ ) {
drivers/net/fddi/skfp/cfm.c
163
if (smc->y[np].cf_join) {
drivers/net/fddi/skfp/cfm.c
164
smc->y[np].cem_pst = CEM_PST_UP ;
drivers/net/fddi/skfp/cfm.c
165
} else if (!smc->y[np].wc_flag) {
drivers/net/fddi/skfp/cfm.c
167
smc->y[np].cem_pst = CEM_PST_DOWN ;
drivers/net/fddi/skfp/cfm.c
175
if ( smc->y[i].cem_pst == CEM_PST_HOLD && !smc->y[i].wc_flag ) {
drivers/net/fddi/skfp/cfm.c
176
smc->y[i].cem_pst = CEM_PST_DOWN;
drivers/net/fddi/skfp/cfm.c
179
if ( smc->y[i].cem_pst == CEM_PST_UP && smc->y[i].wc_flag ) {
drivers/net/fddi/skfp/cfm.c
180
smc->y[i].cem_pst = CEM_PST_HOLD;
drivers/net/fddi/skfp/cfm.c
183
if ( smc->y[i].cem_pst == CEM_PST_DOWN && smc->y[i].wc_flag ) {
drivers/net/fddi/skfp/cfm.c
188
smc->y[i].cem_pst = CEM_PST_HOLD;
drivers/net/fddi/skfp/cfm.c
236
smc->y[PA].pc_mode == PM_PEER) ||
drivers/net/fddi/skfp/cfm.c
238
smc->y[PB].pc_mode == PM_PEER) ||
drivers/net/fddi/skfp/cfm.c
240
smc->y[PS].pc_mode == PM_PEER &&
drivers/net/fddi/skfp/cfm.c
241
smc->y[PS].mib->fddiPORTNeighborType != TS ) ) {
drivers/net/fddi/skfp/cfm.c
286
if (smc->s.sas && (smc->y[PA].cf_join || smc->y[PA].cf_loop ||
drivers/net/fddi/skfp/cfm.c
287
smc->y[PB].cf_join || smc->y[PB].cf_loop)) {
drivers/net/fddi/skfp/cfm.c
292
if ((smc->y[PA].cem_pst == CEM_PST_UP && smc->y[PA].cf_join &&
drivers/net/fddi/skfp/cfm.c
293
!smc->y[PA].wc_flag) || smc->y[PA].cf_loop) {
drivers/net/fddi/skfp/cfm.c
298
if ((smc->y[PB].cem_pst == CEM_PST_UP && smc->y[PB].cf_join &&
drivers/net/fddi/skfp/cfm.c
299
!smc->y[PB].wc_flag) || smc->y[PB].cf_loop) {
drivers/net/fddi/skfp/cfm.c
311
if (smc->y[PA].cf_loop) {
drivers/net/fddi/skfp/cfm.c
316
if (smc->y[PA].cf_join) {
drivers/net/fddi/skfp/cfm.c
326
if ( (smc->y[PA].wc_flag || !smc->y[PA].cf_join) &&
drivers/net/fddi/skfp/cfm.c
327
!smc->y[PA].cf_loop ) {
drivers/net/fddi/skfp/cfm.c
332
else if ( (smc->y[PB].cf_loop && smc->y[PA].cf_join &&
drivers/net/fddi/skfp/cfm.c
333
smc->y[PA].cem_pst == CEM_PST_UP) ||
drivers/net/fddi/skfp/cfm.c
334
((smc->y[PB].cf_loop ||
drivers/net/fddi/skfp/cfm.c
335
(smc->y[PB].cf_join &&
drivers/net/fddi/skfp/cfm.c
336
smc->y[PB].cem_pst == CEM_PST_UP)) &&
drivers/net/fddi/skfp/cfm.c
337
(smc->y[PA].pc_mode == PM_TREE ||
drivers/net/fddi/skfp/cfm.c
338
smc->y[PB].pc_mode == PM_TREE))) {
drivers/net/fddi/skfp/cfm.c
339
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
345
smc->y[PA].cf_join &&
drivers/net/fddi/skfp/cfm.c
346
smc->y[PA].cem_pst == CEM_PST_UP &&
drivers/net/fddi/skfp/cfm.c
347
smc->y[PA].pc_mode == PM_PEER && smc->y[PB].cf_join &&
drivers/net/fddi/skfp/cfm.c
348
smc->y[PB].cem_pst == CEM_PST_UP &&
drivers/net/fddi/skfp/cfm.c
349
smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/cfm.c
350
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
351
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
357
smc->y[PA].cf_join &&
drivers/net/fddi/skfp/cfm.c
358
smc->y[PA].cem_pst == CEM_PST_UP &&
drivers/net/fddi/skfp/cfm.c
359
smc->y[PA].pc_mode == PM_PEER &&
drivers/net/fddi/skfp/cfm.c
360
smc->y[PB].cf_join &&
drivers/net/fddi/skfp/cfm.c
361
smc->y[PB].cem_pst == CEM_PST_UP &&
drivers/net/fddi/skfp/cfm.c
362
smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/cfm.c
363
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
364
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
376
if (smc->y[PB].cf_loop) {
drivers/net/fddi/skfp/cfm.c
381
if (smc->y[PB].cf_join) {
drivers/net/fddi/skfp/cfm.c
391
if ( !smc->y[PB].cf_join && !smc->y[PB].cf_loop ) {
drivers/net/fddi/skfp/cfm.c
396
else if ( smc->y[PA].cf_loop && smc->y[PA].pc_mode == PM_PEER &&
drivers/net/fddi/skfp/cfm.c
397
smc->y[PB].cf_join && smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/cfm.c
398
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
404
smc->y[PA].cf_join && smc->y[PA].pc_mode == PM_PEER &&
drivers/net/fddi/skfp/cfm.c
405
smc->y[PB].cf_join && smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/cfm.c
406
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
407
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
413
smc->y[PA].cf_join && smc->y[PA].pc_mode == PM_PEER &&
drivers/net/fddi/skfp/cfm.c
414
smc->y[PB].cf_join && smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/cfm.c
415
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
416
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
436
if (smc->y[PB].wc_flag || !smc->y[PB].cf_join) {
drivers/net/fddi/skfp/cfm.c
437
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
442
else if (!smc->y[PA].cf_join || smc->y[PA].wc_flag) {
drivers/net/fddi/skfp/cfm.c
443
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
449
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
469
if (!smc->y[PB].cf_join || smc->y[PB].wc_flag) {
drivers/net/fddi/skfp/cfm.c
470
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
475
else if (!smc->y[PA].cf_join || smc->y[PA].wc_flag) {
drivers/net/fddi/skfp/cfm.c
476
smc->y[PB].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
482
smc->y[PA].scrub = TRUE ;
drivers/net/fddi/skfp/cfm.c
492
if (smc->y[PA].cf_loop || smc->y[PB].cf_loop) {
drivers/net/fddi/skfp/cfm.c
497
if (smc->y[PA].cf_join || smc->y[PB].cf_join) {
drivers/net/fddi/skfp/cfm.c
507
if ( !smc->y[PA].cf_join && !smc->y[PA].cf_loop &&
drivers/net/fddi/skfp/cfm.c
508
!smc->y[PB].cf_join && !smc->y[PB].cf_loop) {
drivers/net/fddi/skfp/drvfbi.c
293
smc->y[PA].pmd_type[PMD_SK_CONN] =
drivers/net/fddi/skfp/drvfbi.c
294
smc->y[PB].pmd_type[PMD_SK_CONN] = ConnectorType ;
drivers/net/fddi/skfp/drvfbi.c
295
smc->y[PA].pmd_type[PMD_SK_PMD ] =
drivers/net/fddi/skfp/drvfbi.c
296
smc->y[PB].pmd_type[PMD_SK_PMD ] = PmdType ;
drivers/net/fddi/skfp/drvfbi.c
394
phy = &smc->y[PA] ;
drivers/net/fddi/skfp/drvfbi.c
396
phy = &smc->y[PB] ;
drivers/net/fddi/skfp/h/smc.h
448
struct s_phy y[NUMPHYS] ; /* phy */
drivers/net/fddi/skfp/pcmplc.c
1170
lem_evaluate(smc,&smc->y[np]) ;
drivers/net/fddi/skfp/pcmplc.c
1219
struct lem_counter *lem = &smc->y[np].lem ;
drivers/net/fddi/skfp/pcmplc.c
1237
struct lem_counter *lem = &smc->y[np].lem ;
drivers/net/fddi/skfp/pcmplc.c
1535
(smc->y[PB].mib->fddiPORTConnectState !=
drivers/net/fddi/skfp/pcmplc.c
1572
if (smc->y[PA].twisted && (smc->y[PA].mib->fddiPORTPCMState == PC8_ACTIVE))
drivers/net/fddi/skfp/pcmplc.c
1574
if (smc->y[PB].twisted && (smc->y[PB].mib->fddiPORTPCMState == PC8_ACTIVE))
drivers/net/fddi/skfp/pcmplc.c
1589
struct s_phy *phy = &smc->y[np] ;
drivers/net/fddi/skfp/pcmplc.c
1615
if (smc->y[n].mib->fddiPORTPCMState == PC8_ACTIVE &&
drivers/net/fddi/skfp/pcmplc.c
1616
smc->y[n].mib->fddiPORTNeighborType == TM)
drivers/net/fddi/skfp/pcmplc.c
1628
struct s_phy *phy = &smc->y[np] ;
drivers/net/fddi/skfp/pcmplc.c
1856
for (i = 0, phy = smc->y, pcs = state->pcm_state ; i < NUMPHYS ;
drivers/net/fddi/skfp/pcmplc.c
1952
plc = &smc->y[np].plc ;
drivers/net/fddi/skfp/pcmplc.c
1968
printf("\tLEM_err : %ld\n",smc->y[np].lem.lem_errors) ;
drivers/net/fddi/skfp/pcmplc.c
1984
for (i = 0,phy = smc->y ; i < NUMPHYS ; i++,phy++) {
drivers/net/fddi/skfp/pcmplc.c
233
for (np = 0,phy = smc->y ; np < NUMPHYS ; np++,phy++) {
drivers/net/fddi/skfp/pcmplc.c
256
smc->y[PA].mib->fddiPORTPCMState = PC0_OFF ;
drivers/net/fddi/skfp/pcmplc.c
258
smc->y[PB].mib->fddiPORTPCMState = PC0_OFF ;
drivers/net/fddi/skfp/pcmplc.c
431
if (smc->y[p].pmd_scramble) {
drivers/net/fddi/skfp/pcmplc.c
598
phy = &smc->y[np] ;
drivers/net/fddi/skfp/pcmplc.c
934
(smc->y[PA].pc_mode == PM_TREE ||
drivers/net/fddi/skfp/pcmplc.c
935
smc->y[PB].pc_mode == PM_TREE)) {
drivers/net/fddi/skfp/smt.c
1406
mib = smc->y[phy].mib ;
drivers/net/fddi/skfp/smt.c
1937
if (smc->y[PA].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/smt.c
1943
if (smc->y[PB].pc_mode == PM_PEER) {
drivers/net/fddi/skfp/smt.c
343
phy = &smc->y[port] ;
drivers/net/fddi/skfp/smtdef.c
252
smc->y[port].mib = NULL;
drivers/net/fddi/skfp/smtinit.c
84
smc->y[p].mib = & smc->mib.p[p] ;
drivers/net/mdio/mdio-mux-mmioreg.c
54
uint8_t x, y;
drivers/net/mdio/mdio-mux-mmioreg.c
57
y = (x & ~s->mask) | desired_child;
drivers/net/mdio/mdio-mux-mmioreg.c
58
if (x != y) {
drivers/net/mdio/mdio-mux-mmioreg.c
60
pr_debug("%s: %02x -> %02x\n", __func__, x, y);
drivers/net/mdio/mdio-mux-mmioreg.c
66
uint16_t x, y;
drivers/net/mdio/mdio-mux-mmioreg.c
69
y = (x & ~s->mask) | desired_child;
drivers/net/mdio/mdio-mux-mmioreg.c
70
if (x != y) {
drivers/net/mdio/mdio-mux-mmioreg.c
72
pr_debug("%s: %04x -> %04x\n", __func__, x, y);
drivers/net/mdio/mdio-mux-mmioreg.c
78
uint32_t x, y;
drivers/net/mdio/mdio-mux-mmioreg.c
81
y = (x & ~s->mask) | desired_child;
drivers/net/mdio/mdio-mux-mmioreg.c
82
if (x != y) {
drivers/net/mdio/mdio-mux-mmioreg.c
84
pr_debug("%s: %08x -> %08x\n", __func__, x, y);
drivers/net/phy/mscc/mscc_macsec.h
118
#define MSCC_MS_XFORM_REC(x, y) (((x) << 5) + (y))
drivers/net/wireless/ath/ath10k/wmi-tlv.h
1462
#define SVCMAP(x, y, len) \
drivers/net/wireless/ath/ath10k/wmi-tlv.h
1466
__set_bit(y, out); \
drivers/net/wireless/ath/ath10k/wmi.h
536
#define SVCMAP(x, y, len) \
drivers/net/wireless/ath/ath10k/wmi.h
540
__set_bit(y, out); \
drivers/net/wireless/ath/ath6kl/core.h
260
#define AGGR_WIN_IDX(x, y) ((x) % (y))
drivers/net/wireless/ath/ath6kl/core.h
261
#define AGGR_INCR_IDX(x, y) AGGR_WIN_IDX(((x) + 1), (y))
drivers/net/wireless/ath/ath6kl/core.h
262
#define AGGR_DCRM_IDX(x, y) AGGR_WIN_IDX(((x) - 1), (y))
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4276
int y = 0;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4311
y = ly;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4313
y = interpolate(x, lx, hx, ly, hy);
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4315
y = ly;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4317
y = hy;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4319
y = -(1 << 30);
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4320
return y;
drivers/net/wireless/ath/ath9k/calib.c
24
static int rcmp_i16(const void *x, const void *y)
drivers/net/wireless/ath/ath9k/calib.c
27
return *(int16_t *)y - *(int16_t *)x;
drivers/net/wireless/ath/ath9k/common.h
41
#define ATH_LPF_RSSI(x, y, len) \
drivers/net/wireless/ath/ath9k/common.h
42
((x != ATH_RSSI_DUMMY_MARKER) ? (((x) * ((len) - 1) + (y)) / (len)) : (y))
drivers/net/wireless/ath/ath9k/common.h
43
#define ATH_RSSI_LPF(x, y) do { \
drivers/net/wireless/ath/ath9k/common.h
44
if ((y) >= RSSI_LPF_THRESHOLD) \
drivers/net/wireless/ath/ath9k/common.h
45
x = ATH_LPF_RSSI((x), ATH_RSSI_IN((y)), ATH_RSSI_LPF_LEN); \
drivers/net/wireless/ath/ath9k/eeprom.h
109
#define FREQ2FBIN(x, y) (u8)((y) ? ((x) - 2300) : (((x) - 4800) / 5))
drivers/net/wireless/ath/ath9k/eeprom.h
110
#define FBIN2FREQ(x, y) ((y) ? (2300 + x) : (4800 + 5 * x))
drivers/net/wireless/ath/ath9k/eeprom_def.c
765
#define SM_PDGAIN_B(x, y) \
drivers/net/wireless/ath/ath9k/eeprom_def.c
766
SM((gainBoundaries[x]), AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_##y)
drivers/net/wireless/ath/ath9k/hw.c
2805
#define MS_REG_READ(x, y) \
drivers/net/wireless/ath/ath9k/hw.c
2806
(MS(REG_READ(ah, AR_GPIO_IN_OUT(ah)), x##_GPIO_IN_VAL) & BIT(y))
drivers/net/wireless/ath/carl9170/fwdesc.h
93
#define CARL9170FW_SET_YEAR(y) (((y) - 10) * 372)
drivers/net/wireless/ath/carl9170/fwdesc.h
97
#define CARL9170FW_GET_YEAR(y) ((y) / 372 + 10)
drivers/net/wireless/ath/carl9170/phy.c
1090
s32 y;
drivers/net/wireless/ath/carl9170/phy.c
1092
y = carl9170_interpolate_s32(x << SHIFT, x1 << SHIFT,
drivers/net/wireless/ath/carl9170/phy.c
1100
return (y >> SHIFT) + ((y & (1 << (SHIFT - 1))) >> (SHIFT - 1));
drivers/net/wireless/ath/wil6210/fw_inc.c
376
u32 x, y;
drivers/net/wireless/ath/wil6210/fw_inc.c
382
y = (x & m) | (v & ~m);
drivers/net/wireless/ath/wil6210/fw_inc.c
385
le32_to_cpu(block[i].addr), y, x, v, m);
drivers/net/wireless/ath/wil6210/fw_inc.c
386
writel(y, dst);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c
76
#define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1))
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c
77
#define MODSUB_POW2(x, y, bound) (((x) - (y)) & ((bound) - 1))
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3431
u16 x, y, data_rf;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3443
y = 8 + k;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3446
data_rf = (x * 16 + y);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3449
y = 8 + k;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3452
data_rf = (x * 16 + y);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3457
y = 8 + k;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3460
data_rf = (x * 16 + y);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3463
y = 8 + k;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c
3466
data_rf = (x * 16 + y);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h
275
#define CEIL(x, y) (((x) + ((y)-1)) / (y))
drivers/net/wireless/intel/ipw2x00/ipw2100.c
4033
#define DUMP_VAR(x,y) len += sprintf(buf + len, # x ": %" y "\n", priv-> x)
drivers/net/wireless/intel/ipw2x00/ipw2100.h
392
#define SET_STAT(x,y) do { \
drivers/net/wireless/intel/ipw2x00/ipw2100.h
393
(x)->value = y; \
drivers/net/wireless/intel/ipw2x00/ipw2200.h
1360
#define BITC(x,y) (((x>>y)&1)?'1':'0')
drivers/net/wireless/intel/iwlegacy/common.h
2701
#define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y))
drivers/net/wireless/intel/iwlwifi/dvm/rs.h
242
#define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y))
drivers/net/wireless/intersil/p54/eeprom.c
454
#define SUB(x, y) (u8)(((x) - (y)) > (x) ? 0 : (x) - (y))
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
191
u32 i, y;
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
201
for (y = dump->sched_info_idx, i = 0; i < n; i++, y++) {
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
202
mt7915_memcpy_fromio(dev, dump->sched, base + 0xc + y * 12,
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
204
y = y >= n ? 0 : y;
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
215
for (y = dump->irq_info_idx, i = 0; i < n; i++, y++) {
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
216
mt7915_memcpy_fromio(dev, dump->irq, base + 0x4 + y * 16,
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
218
y = y >= n ? 0 : y;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2720
int y, tx0_c;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2745
y = result[candidate][1];
drivers/net/wireless/realtek/rtl8xxxu/core.c
2746
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtl8xxxu/core.c
2747
y = y | 0xfffffc00;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2748
tx0_c = (y * oldval) >> 8;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2762
if ((y * oldval >> 7) & 0x1)
drivers/net/wireless/realtek/rtl8xxxu/core.c
2797
int y, tx1_c;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2822
y = result[candidate][5];
drivers/net/wireless/realtek/rtl8xxxu/core.c
2823
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtl8xxxu/core.c
2824
y = y | 0xfffffc00;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2825
tx1_c = (y * oldval) >> 8;
drivers/net/wireless/realtek/rtl8xxxu/core.c
2839
if ((y * oldval >> 7) & 0x1)
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1488
long y, tx0_c;
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1502
y = result[final_candidate][1];
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1503
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1504
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1505
tx0_c = (y * oldval_0) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
1511
((y * oldval_0 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1010
long y, tx1_c;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1024
y = result[final_candidate][5];
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1025
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1026
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1027
tx1_c = (y * oldval_1) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
1033
((y * oldval_1 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
970
long y, tx0_c;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
984
y = result[final_candidate][1];
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
985
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
986
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
987
tx0_c = (y * oldval_0) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
993
((y * oldval_0 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2250
long y, tx0_c;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2264
y = result[final_candidate][1];
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2265
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2266
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2267
tx0_c = (y * oldval_0) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2273
((y * oldval_0 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2295
long y, tx1_c;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2309
y = result[final_candidate][5];
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2310
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2311
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2312
tx1_c = (y * oldval_1) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
2318
((y * oldval_1 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1895
long y, tx1_c;
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1909
y = result[final_candidate][5];
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1910
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1911
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1912
tx1_c = (y * oldval_1) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
1918
((y * oldval_1 >> 7) & 0x1));
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
273
long y, tx0_c;
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
287
y = result[final_candidate][1];
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
288
if ((y & 0x00000200) != 0)
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
289
y = y | 0xFFFFFC00;
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
290
tx0_c = (y * oldval_0) >> 8;
drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c
296
((y * oldval_0 >> 7) & 0x1));
drivers/net/wireless/realtek/rtw88/rtw8703b.c
1281
s32 x, y;
drivers/net/wireless/realtek/rtw88/rtw8703b.c
1296
y = iqkxy_to_s32(result[IQK_S1_TX_Y]);
drivers/net/wireless/realtek/rtw88/rtw8703b.c
1297
tx1_c = iqk_mult(y, oldval_1, &tx1_c_ext);
drivers/net/wireless/realtek/rtw88/rtw8703b.c
1309
"[IQK] Y = 0x%x, TX1_C = 0x%x\n", y, tx1_c);
drivers/net/wireless/realtek/rtw88/rtw8723d.c
709
s32 x, y;
drivers/net/wireless/realtek/rtw88/rtw8723d.c
726
y = iqkxy_to_s32(result[IQK_S1_TX_Y]);
drivers/net/wireless/realtek/rtw88/rtw8723d.c
727
tx1_c = iqk_mult(y, oldval_1, &tx1_c_ext);
drivers/net/wireless/realtek/rtw88/rtw8723d.c
739
"[IQK] Y = 0x%x, TX1_C = 0x%x\n", y, tx1_c);
drivers/net/wireless/realtek/rtw88/rtw8723d.c
756
s32 x, y;
drivers/net/wireless/realtek/rtw88/rtw8723d.c
771
y = iqkxy_to_s32(result[IQK_S0_TX_Y]);
drivers/net/wireless/realtek/rtw88/rtw8723d.c
772
tx0_c = iqk_mult(y, oldval_0, &tx0_c_ext);
drivers/net/wireless/realtek/rtw88/rtw8723x.h
240
#define BIT_SET_RXIQ_S1_Y1(y) ((y) & 0x3F)
drivers/net/wireless/realtek/rtw88/rtw8723x.h
266
#define BIT_SET_RXIQ_S1_Y2(y) (((y) >> 6) & 0xF)
drivers/net/wireless/realtek/rtw88/rtw8723x.h
310
#define BIT_SET_TXIQK_11N(x, y) (0x80007C00 | ((x) << 16) | (y))
drivers/net/wireless/realtek/rtw88/rtw8723x.h
352
static inline s32 iqk_mult(s32 x, s32 y, s32 *ext)
drivers/net/wireless/realtek/rtw88/rtw8723x.h
357
t = x * y;
drivers/net/wireless/realtek/rtw88/rtw88xxa.c
1782
int *x_temp, int *y_temp, int *x, int *y,
drivers/net/wireless/realtek/rtw88/rtw88xxa.c
1795
*y = ((y_temp[i] >> 21) + (y_temp[ii] >> 21));
drivers/net/wireless/realtek/rtw88/rtw88xxa.c
1798
*y /= 2;
drivers/net/wireless/realtek/rtw88/rtw88xxa.h
168
int *x_temp, int *y_temp, int *x, int *y,
drivers/pci/controller/pcie-aspeed.c
144
#define TLP_HEADER_BYTE_EN(x, y) ((GENMASK((x) - 1, 0) << ((y) % 4)))
drivers/pci/controller/pcie-aspeed.c
145
#define TLP_GET_VALUE(x, y, z) \
drivers/pci/controller/pcie-aspeed.c
146
(((x) >> ((((z) % 4)) * 8)) & GENMASK((8 * (y)) - 1, 0))
drivers/pci/controller/pcie-aspeed.c
147
#define TLP_SET_VALUE(x, y, z) \
drivers/pci/controller/pcie-aspeed.c
148
((((x) & GENMASK((8 * (y)) - 1, 0)) << ((((z) % 4)) * 8)))
drivers/pci/hotplug/pciehp_hpc.c
990
#define FLAG(x, y) (((x) & (y)) ? '+' : '-')
drivers/pci/pcie/aspm.c
793
#define FLAG(x, y, d) (((x) & (PCIE_LINK_STATE_##y)) ? d : "")
drivers/pci/pcie/dpc.c
469
#define FLAG(x, y) (((x) & (y)) ? '+' : '-')
drivers/peci/request.c
471
#define __read_ep_mmio(x, y, addr_type, type1, type2) \
drivers/peci/request.c
472
struct peci_request *peci_xfer_ep_mmio##y##_##x(struct peci_device *device, u8 bar, u8 seg, \
drivers/peci/request.c
479
EXPORT_SYMBOL_NS_GPL(peci_xfer_ep_mmio##y##_##x, "PECI")
drivers/perf/arm-cmn.c
396
int y = id & ((1U << bits) - 1);
drivers/perf/arm-cmn.c
398
return cmn->xps + cmn->mesh_x * y + x;
drivers/perf/arm-cmn.c
528
int x, y, p, pmax = fls(cmn->ports_used);
drivers/perf/arm-cmn.c
534
y = cmn->mesh_y;
drivers/perf/arm-cmn.c
535
while (y--) {
drivers/perf/arm-cmn.c
536
int xp_base = cmn->mesh_x * y;
drivers/perf/arm-cmn.c
543
seq_printf(s, "\n%-2d |", y);
drivers/pinctrl/mediatek/pinctrl-mtk-common.h
61
#define SET_ADDR(x, y) (x + (y->devdata->port_align))
drivers/pinctrl/mediatek/pinctrl-mtk-common.h
62
#define CLR_ADDR(x, y) (x + (y->devdata->port_align << 1))
drivers/pinctrl/nomadik/pinctrl-nomadik.c
629
#define NMK_CONFIG_PIN(x, y) { .property = x, .config = y, }
drivers/pinctrl/nomadik/pinctrl-nomadik.c
630
#define NMK_CONFIG_PIN_ARRAY(x, y) { .property = x, .choice = y, \
drivers/pinctrl/nomadik/pinctrl-nomadik.c
631
.size = ARRAY_SIZE(y), }
drivers/pinctrl/renesas/pfc-r8a77951.c
5139
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77951.c
5344
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77951.c
5538
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a7796.c
5094
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a7796.c
5299
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a7796.c
5493
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77965.c
5335
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77965.c
5540
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77965.c
5734
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77970.c
2084
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77970.c
2229
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77970.c
2326
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77980.c
2506
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77980.c
2683
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77980.c
2798
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77990.c
4606
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77990.c
4786
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77990.c
4951
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77995.c
2487
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a77995.c
2670
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a77995.c
2812
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779a0.c
3163
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a779a0.c
3459
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779a0.c
3618
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779f0.c
1617
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a779f0.c
1728
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779f0.c
1773
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779g0.c
3188
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a779g0.c
3447
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779g0.c
3747
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779h0.c
2998
#define F_(x, y) FN_##y
drivers/pinctrl/renesas/pfc-r8a779h0.c
3230
#define F_(x, y) x,
drivers/pinctrl/renesas/pfc-r8a779h0.c
3497
#define F_(x, y) x,
drivers/pinctrl/sunplus/sppctl_sp7021.c
13
#define D_PIS(x, y) "P" __stringify(x) "_0" __stringify(y)
drivers/pinctrl/sunplus/sppctl_sp7021.c
14
#define D(x, y) ((x) * 8 + (y))
drivers/pinctrl/sunplus/sppctl_sp7021.c
15
#define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y))
drivers/platform/chrome/cros_ec_sensorhub_ring.c
268
s64 x, y;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
278
y = c - b * 1000;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
283
dy = (state->y_history[0] + state->y_offset) - y;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
305
state->y_offset = y;
drivers/platform/chrome/cros_ec_sensorhub_trace.h
108
__entry->y
drivers/platform/chrome/cros_ec_sensorhub_trace.h
90
__field(s64, y)
drivers/platform/chrome/cros_ec_sensorhub_trace.h
99
__entry->y = state->y_offset;
drivers/platform/raspberrypi/vchiq-mmal/mmal-msg-common.h
40
s32 y; /**< y coordinate (from top) */
drivers/platform/raspberrypi/vchiq-mmal/mmal-parameters.h
625
s32 y;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1553
dst->es.video.crop.y = src->es.video.crop.y;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
747
port->es.video.crop.y,
drivers/platform/x86/classmate-laptop.c
150
int16_t *y,
drivers/platform/x86/classmate-laptop.c
175
*y = locs[1];
drivers/platform/x86/classmate-laptop.c
185
int16_t x, y, z;
drivers/platform/x86/classmate-laptop.c
188
status = cmpc_get_accel_v4(dev->handle, &x, &y, &z);
drivers/platform/x86/classmate-laptop.c
193
input_report_abs(inputdev, ABS_Y, y);
drivers/platform/x86/classmate-laptop.c
519
unsigned char *y,
drivers/platform/x86/classmate-laptop.c
539
*y = locs[1];
drivers/platform/x86/classmate-laptop.c
549
unsigned char x, y, z;
drivers/platform/x86/classmate-laptop.c
552
status = cmpc_get_accel(dev->handle, &x, &y, &z);
drivers/platform/x86/classmate-laptop.c
557
input_report_abs(inputdev, ABS_Y, y);
drivers/platform/x86/hdaps.c
167
int *x, int *y)
drivers/platform/x86/hdaps.c
173
*y = inw(port2);
drivers/platform/x86/hdaps.c
182
*y = -*y;
drivers/platform/x86/hdaps.c
264
int x, y;
drivers/platform/x86/hdaps.c
267
__hdaps_read_pair(HDAPS_PORT_XPOS, HDAPS_PORT_YPOS, &x, &y);
drivers/platform/x86/hdaps.c
323
int x, y;
drivers/platform/x86/hdaps.c
327
if (__hdaps_read_pair(HDAPS_PORT_XPOS, HDAPS_PORT_YPOS, &x, &y))
drivers/platform/x86/hdaps.c
331
input_report_abs(input_dev, ABS_Y, y - rest_y);
drivers/platform/x86/hdaps.c
344
int ret, x, y;
drivers/platform/x86/hdaps.c
346
ret = hdaps_read_pair(HDAPS_PORT_XPOS, HDAPS_PORT_YPOS, &x, &y);
drivers/platform/x86/hdaps.c
350
return sprintf(buf, "(%d,%d)\n", x, y);
drivers/platform/x86/hdaps.c
356
int ret, x, y;
drivers/platform/x86/hdaps.c
358
ret = hdaps_read_pair(HDAPS_PORT_XVAR, HDAPS_PORT_YVAR, &x, &y);
drivers/platform/x86/hdaps.c
362
return sprintf(buf, "(%d,%d)\n", x, y);
drivers/platform/x86/hp/hp_accel.c
150
#define DEFINE_CONV(name, x, y, z) \
drivers/platform/x86/hp/hp_accel.c
152
{ .as_array = { x, y, z } }
drivers/platform/x86/hp/hp_accel.c
313
if (lis3_dev.ac.x && lis3_dev.ac.y && lis3_dev.ac.z) {
drivers/platform/x86/hp/hp_accel.c
315
lis3_dev.ac.x, lis3_dev.ac.y, lis3_dev.ac.z);
drivers/platform/x86/intel/telemetry/pltdrv.c
63
#define TELEM_EXTRACT_VERBOSITY(x, y) ((y) = (((x) >> 27) & 0x3))
drivers/platform/x86/intel/telemetry/pltdrv.c
65
#define TELEM_SET_VERBOSITY_BITS(x, y) ((x) |= ((y) << 27))
drivers/platform/x86/tuxedo/nb04/wmi_ab.c
194
u32 y;
drivers/platform/x86/tuxedo/nb04/wmi_ab.c
571
rep->position_y_in_micrometers = driver_data->kbl_map[lamp_id].pos.y;
drivers/power/supply/charger-manager.c
68
#define CM_MIN_VALID(x, y) x = (((y > 0) && ((x) > (y))) ? (y) : (x))
drivers/power/supply/da9052-battery.c
36
#define DA9052_MEAN(x, y) ((x + y) / 2)
drivers/powercap/intel_rapl_common.c
1101
u64 f, y; /* fraction and exp. used for time unit */
drivers/powercap/intel_rapl_common.c
1109
y = value & 0x1f;
drivers/powercap/intel_rapl_common.c
1110
value = (1 << y) * (4 + f) * rd->time_unit / 4;
drivers/powercap/intel_rapl_common.c
1116
y = ilog2(value);
drivers/powercap/intel_rapl_common.c
1122
if (y > 0x1f)
drivers/powercap/intel_rapl_common.c
1125
f = div64_u64(4 * (value - (1ULL << y)), 1ULL << y);
drivers/powercap/intel_rapl_common.c
1126
value = (y & 0x1f) | ((f & 0x3) << 5);
drivers/ps3/ps3av.c
67
u32 y;
drivers/ps3/ps3av.c
887
*yres = video_mode_table[id].y;
drivers/ps3/ps3av_cmd.c
370
u32 x, y;
drivers/ps3/ps3av_cmd.c
378
if (ps3av_video_mode2res(id, &x, &y))
drivers/ps3/ps3av_cmd.c
392
video_mode->height = (u16) y;
drivers/rapidio/switches/idt_gen3.c
33
#define RIO_SPx_L2_Gn_ENTRYy_CSR(x, n, y) \
drivers/rapidio/switches/idt_gen3.c
34
(0x51000 + (x)*0x2000 + (n)*0x400 + (y)*0x4)
drivers/rtc/rtc-88pm860x.c
264
#define pm860x_rtc_dt_init(x, y) do { } while (0)
drivers/s390/char/con3270.c
151
static char *tty3270_add_ba(struct tty3270 *tp, char *cp, char order, int x, int y)
drivers/s390/char/con3270.c
154
raw3270_buffer_address(tp->view.dev, cp, x, y);
drivers/s390/char/con3270.c
158
static char *tty3270_add_ra(struct tty3270 *tp, char *cp, int x, int y, char c)
drivers/s390/char/con3270.c
160
cp = tty3270_add_ba(tp, cp, TO_RA, x, y);
drivers/s390/char/raw3270.c
122
void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y)
drivers/s390/char/raw3270.c
128
if (y < 0)
drivers/s390/char/raw3270.c
129
y = max_t(int, 0, rp->view->rows + y);
drivers/s390/char/raw3270.c
130
addr = (y * rp->view->cols) + x;
drivers/scsi/3w-9xxx.h
423
#define TW_OPRES_IN(x,y) ((x << 5) | (y & 0x1f))
drivers/scsi/3w-9xxx.h
427
#define TW_OPSGL_IN(x,y) ((x << 5) | (y & 0x1f))
drivers/scsi/3w-sas.h
155
#define TW_OPRES_IN(x,y) ((x << 5) | (y & 0x1f))
drivers/scsi/3w-sas.h
159
#define TW_OPSGL_IN(x,y) ((x << 5) | (y & 0x1f))
drivers/scsi/3w-xxxx.h
238
#define TW_OPSGL_IN(x,y) ((x << 5) | (y & 0x1f))
drivers/scsi/3w-xxxx.h
245
#define TW_UNITHOST_IN(x,y) ((x << 4) | ( y & 0xf))
drivers/scsi/csiostor/csio_mb.c
1153
ntohl(dbg->u.assert.y));
drivers/scsi/imm.c
155
#define imm_fail(x,y) printk("imm: imm_fail(%i) from %s at line %d\n",\
drivers/scsi/imm.c
156
y, __func__, __LINE__); imm_fail_func(x,y);
drivers/scsi/imm.h
126
#define w_dtr(x,y) outb(y, (x))
drivers/scsi/imm.h
127
#define w_str(x,y) outb(y, (x)+1)
drivers/scsi/imm.h
128
#define w_epp(x,y) outb(y, (x)+4)
drivers/scsi/imm.h
129
#define w_fifo(x,y) outb(y, (x)) /* x must be base_hi */
drivers/scsi/imm.h
130
#define w_ecr(x,y) outb(y, (x)+0x2) /* x must be base_hi */
drivers/scsi/imm.h
133
#define w_ctr(x,y) outb_p(y, (x)+2)
drivers/scsi/imm.h
135
#define w_ctr(x,y) outb(y, (x)+2)
drivers/scsi/ips.h
92
#define min(x,y) ((x) < (y) ? x : y)
drivers/scsi/lpfc/lpfc_hw4.h
66
#define get_job_ulpword(x, y) ((x)->iocb.un.ulpWord[y])
drivers/scsi/lpfc/lpfc_hw4.h
68
#define set_job_ulpstatus(x, y) bf_set(lpfc_wcqe_c_status, &(x)->wcqe_cmpl, y)
drivers/scsi/lpfc/lpfc_hw4.h
69
#define set_job_ulpword4(x, y) ((&(x)->wcqe_cmpl)->parameter = y)
drivers/scsi/ppa.c
168
#define ppa_fail(x,y) printk("ppa: ppa_fail(%i) from %s at line %d\n",\
drivers/scsi/ppa.c
169
y, __func__, __LINE__); ppa_fail_func(x,y);
drivers/scsi/ppa.h
133
#define w_dtr(x,y) outb(y, (x))
drivers/scsi/ppa.h
134
#define w_str(x,y) outb(y, (x)+1)
drivers/scsi/ppa.h
135
#define w_epp(x,y) outb(y, (x)+4)
drivers/scsi/ppa.h
136
#define w_fifo(x,y) outb(y, (x)) /* x must be base_hi */
drivers/scsi/ppa.h
137
#define w_ecr(x,y) outb(y, (x)+0x2)/* x must be base_hi */
drivers/scsi/ppa.h
140
#define w_ctr(x,y) outb_p(y, (x)+2)
drivers/scsi/ppa.h
142
#define w_ctr(x,y) outb(y, (x)+2)
drivers/scsi/qla2xxx/qla_def.h
149
static inline uint32_t make_handle(uint16_t x, uint16_t y)
drivers/scsi/qla2xxx/qla_def.h
151
return ((uint32_t)x << 16) | y;
drivers/scsi/scsi_transport_spi.c
613
#define DV_SET(x, y) \
drivers/scsi/scsi_transport_spi.c
615
i->f->set_##x(sdev->sdev_target, y)
drivers/scsi/sym53c8xx_2/sym_nvram.c
401
for (y = 0; y < 16; y++)
drivers/scsi/sym53c8xx_2/sym_nvram.c
402
S24C16_write_byte(np, &ack_data, data[x+y],
drivers/staging/fbtft/fb_agm1264k-fl.c
227
int xs, int xe, int y)
drivers/staging/fbtft/fb_agm1264k-fl.c
235
if (src[(y * 8 + i) * par->info->var.xres + x])
drivers/staging/fbtft/fb_agm1264k-fl.c
246
int y, signed short *convert_buf,
drivers/staging/fbtft/fb_agm1264k-fl.c
259
if (x + i < 0 || x + i >= xres || y + j >= yres)
drivers/staging/fbtft/fb_agm1264k-fl.c
261
write_pos = &convert_buf[(y + j) * xres + x + i];
drivers/staging/fbtft/fb_agm1264k-fl.c
282
int x, y;
drivers/staging/fbtft/fb_agm1264k-fl.c
295
for (y = 0; y < par->info->var.yres; ++y) {
drivers/staging/fbtft/fb_agm1264k-fl.c
296
u16 pixel = vmem16[y * par->info->var.xres + x];
drivers/staging/fbtft/fb_agm1264k-fl.c
306
convert_buf[y * par->info->var.xres + x] =
drivers/staging/fbtft/fb_agm1264k-fl.c
312
for (y = 0; y < par->info->var.yres; ++y) {
drivers/staging/fbtft/fb_agm1264k-fl.c
314
convert_buf[y * par->info->var.xres + x];
drivers/staging/fbtft/fb_agm1264k-fl.c
334
x, y, convert_buf,
drivers/staging/fbtft/fb_agm1264k-fl.c
339
for (y = addr_win.ys_page; y <= addr_win.ye_page; ++y) {
drivers/staging/fbtft/fb_agm1264k-fl.c
344
par->info->var.xres / 2, y);
drivers/staging/fbtft/fb_agm1264k-fl.c
352
write_reg(par, 0x00, (0x17 << 3) | (u8)y);
drivers/staging/fbtft/fb_agm1264k-fl.c
367
addr_win.xe + 1, y);
drivers/staging/fbtft/fb_agm1264k-fl.c
375
write_reg(par, 0x01, (0x17 << 3) | (u8)y);
drivers/staging/fbtft/fb_pcd8544.c
108
int x, y, i;
drivers/staging/fbtft/fb_pcd8544.c
112
for (y = 0; y < 6; y++) {
drivers/staging/fbtft/fb_pcd8544.c
115
*buf |= (vmem16[(y * 8 + i) * 84 + x] ?
drivers/staging/fbtft/fb_ssd1305.c
156
int x, y, i;
drivers/staging/fbtft/fb_ssd1305.c
160
for (y = 0; y < par->info->var.yres / 8; y++) {
drivers/staging/fbtft/fb_ssd1305.c
163
*buf |= (vmem16[(y * 8 + i) *
drivers/staging/fbtft/fb_ssd1306.c
177
int x, y, i;
drivers/staging/fbtft/fb_ssd1306.c
181
for (y = 0; y < yres / 8; y++) {
drivers/staging/fbtft/fb_ssd1306.c
184
if (vmem16[(y * 8 + i) * xres + x])
drivers/staging/fbtft/fb_ssd1325.c
132
int y, x;
drivers/staging/fbtft/fb_ssd1325.c
138
for (y = 0; y < par->info->var.yres; y++) {
drivers/staging/fbtft/fb_ssd1325.c
139
n1 = rgb565_to_g16(vmem16[y * par->info->var.xres + x]);
drivers/staging/fbtft/fb_ssd1325.c
141
[y * par->info->var.xres + x + 1]);
drivers/staging/fbtft/fb_tls8204.c
106
if (vmem16[(y * 8 * WIDTH) + i + x])
drivers/staging/fbtft/fb_tls8204.c
89
int x, y, i;
drivers/staging/fbtft/fb_tls8204.c
92
for (y = 0; y < HEIGHT / 8; y++) {
drivers/staging/fbtft/fb_tls8204.c
99
write_reg(par, 0x40 | y);
drivers/staging/fbtft/fb_uc1611.c
224
int x, y, i;
drivers/staging/fbtft/fb_uc1611.c
233
for (y = y_start; y <= y_end; y++) {
drivers/staging/fbtft/fb_uc1611.c
246
for (y = y_start; y <= y_end; y += 2) {
drivers/staging/fbtft/fb_uc1611.c
267
for (y = y_start; y <= y_end; y++) {
drivers/staging/fbtft/fb_uc1611.c
281
for (y = y_start; y <= y_end; y += 2) {
drivers/staging/fbtft/fb_uc1701.c
122
int x, y, i;
drivers/staging/fbtft/fb_uc1701.c
125
for (y = 0; y < PAGES; y++) {
drivers/staging/fbtft/fb_uc1701.c
130
*buf |= (vmem16[((y * 8 * WIDTH) +
drivers/staging/fbtft/fb_uc1701.c
136
write_reg(par, LCD_PAGE_ADDRESS | (u8)y);
drivers/staging/fbtft/fbtft-core.c
298
static void fbtft_mkdirty(struct fb_info *info, int y, int height)
drivers/staging/fbtft/fbtft-core.c
304
if (y == -1) {
drivers/staging/fbtft/fbtft-core.c
305
y = 0;
drivers/staging/fbtft/fbtft-core.c
311
if (y < par->dirty_lines_start)
drivers/staging/fbtft/fbtft-core.c
312
par->dirty_lines_start = y;
drivers/staging/fbtft/fbtft-core.c
313
if (y + height - 1 > par->dirty_lines_end)
drivers/staging/fbtft/fbtft-core.c
314
par->dirty_lines_end = y + height - 1;
drivers/staging/fbtft/fbtft-core.c
421
static void fbtft_ops_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height)
drivers/staging/fbtft/fbtft-core.c
425
par->fbtftops.mkdirty(info, y, height);
drivers/staging/media/atomisp/include/linux/atomisp.h
188
int y;
drivers/staging/media/atomisp/include/linux/atomisp.h
233
u32 y;
drivers/staging/media/atomisp/include/linux/atomisp.h
334
s32 y; /** y coordinate */
drivers/staging/media/atomisp/include/linux/atomisp_platform.h
169
#define __IS_SOCS(x, y) (boot_cpu_data.x86_vfm == x || boot_cpu_data.x86_vfm == y)
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1771
dz_config->zoom_region.origin.y = 0;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1787
dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1822
if (dz_config->zoom_region.origin.y < h_offset)
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1823
dz_config->zoom_region.origin.y = 0;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1825
dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y - h_offset;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1841
dz_config->zoom_region.origin.y = dz_config->zoom_region.origin.y
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1865
dz_config->zoom_region.origin.y,
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1876
(dz_config->zoom_region.origin.y +
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1904
h = dz_config->zoom_region.origin.y +
drivers/staging/media/atomisp/pci/atomisp_cmd.c
1914
dz_config->zoom_region.origin.y,
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
2568
asd->params.css_param.motion_vector.y = vector->y;
drivers/staging/media/atomisp/pci/ia_css_frame_public.h
59
struct ia_css_frame_plane y; /** Y plane */
drivers/staging/media/atomisp/pci/ia_css_frame_public.h
67
struct ia_css_frame_plane y; /** Y plane */
drivers/staging/media/atomisp/pci/ia_css_types.h
427
s32 y; /** y coordinate */
drivers/staging/media/atomisp/pci/ia_css_types.h
91
s32 y; /** Value of a coordinate on the vertical axis */
drivers/staging/media/atomisp/pci/ia_css_types.h
99
s32 y; /** vertical motion (in pixels) */
drivers/staging/media/atomisp/pci/isp/kernels/bh/bh_2/ia_css_bh.host.c
34
out_ptr[i].y = hmem_buf->hmem[BH_COLOR_Y][i];
drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/ia_css_ref.host.c
37
from->ref_frames[i]->planes.yuv.y.offset;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
261
sum_y += out_ptr[i].y;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
280
out_ptr[0].y -= diff;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
325
int out_width, out_height, chunk, rest, kmax, y, x, k, elm_start, elm, ofs;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
343
for (y = 0; y < out_height; y++) {
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
344
elm_start = y * ISP_S3ATBL_HI_LO_STRIDE;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c
349
ofs = y * out_width + x;
drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h
210
u32 y; /** Number of Y of one bin of the histogram Y. (u24) */
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
468
data + frame->planes.nv.y.offset);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
488
data + frame->planes.yuv.y.offset);
drivers/staging/media/atomisp/pci/runtime/frame/interface/ia_css_frame_comm.h
31
struct ia_css_frame_sp_plane y;
drivers/staging/media/atomisp/pci/runtime/frame/interface/ia_css_frame_comm.h
37
struct ia_css_frame_sp_plane y;
drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
525
frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0);
drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
549
frame_init_plane(&frame->planes.yuv.y, y_width, y_stride, y_height, 0);
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
100
unsigned int x, y;
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
108
for (y = 0; y < height_y; y++) {
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
110
dvs_config->xcoords_y[y * width_y + x] = (dvs_offset->width + x *
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
115
for (y = 0; y < height_y; y++) {
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
117
dvs_config->ycoords_y[y * width_y + x] = (dvs_offset->height + y *
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
122
for (y = 0; y < height_uv; y++) {
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
125
dvs_config->xcoords_uv[y * width_uv + x] = ((dvs_offset->width / 2) + x *
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
130
for (y = 0; y < height_uv; y++) {
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c
133
dvs_config->ycoords_uv[y * width_uv + x] = ((dvs_offset->height / 2) + y *
drivers/staging/media/atomisp/pci/sh_css_params.c
1777
IA_CSS_ENTER_PRIVATE("x=%d, y=%d", motion->x, motion->y);
drivers/staging/media/atomisp/pci/sh_css_params.c
1799
IA_CSS_LEAVE_PRIVATE("x=%d, y=%d", motion->x, motion->y);
drivers/staging/media/atomisp/pci/sh_css_params.c
3962
int motion_y = motion_vector->y;
drivers/staging/media/atomisp/pci/sh_css_params.c
4053
sp_out_crop_pos->y = (uint16_t)crop_y;
drivers/staging/media/atomisp/pci/sh_css_params.c
4059
sp_out_crop_pos->y = (uint16_t)info->pipeline.top_cropping;
drivers/staging/media/atomisp/pci/sh_css_params.c
4100
y0 = zoom->zoom_region.origin.y;
drivers/staging/media/atomisp/pci/sh_css_params.c
4148
sp_out_crop_pos->y = (uint16_t)info->pipeline.top_cropping;
drivers/staging/media/atomisp/pci/sh_css_params.c
933
unsigned int height, width, y, x, k, data;
drivers/staging/media/atomisp/pci/sh_css_params.c
967
for (y = 0; y < height; y++) {
drivers/staging/media/atomisp/pci/sh_css_params.c
969
int ofs = y * width + x;
drivers/staging/media/atomisp/pci/sh_css_sp.c
466
sp_frame_out->planes.nv.y.offset =
drivers/staging/media/atomisp/pci/sh_css_sp.c
467
frame_in->planes.nv.y.offset;
drivers/staging/media/atomisp/pci/sh_css_sp.c
478
sp_frame_out->planes.yuv.y.offset =
drivers/staging/media/atomisp/pci/sh_css_sp.c
479
frame_in->planes.yuv.y.offset;
drivers/staging/media/atomisp/pci/sh_css_uds.h
26
u16 y;
drivers/staging/media/av7110/av7110.c
1177
unsigned int y;
drivers/staging/media/av7110/av7110.c
1183
for (y = 0; y < TS_HEIGHT; y++)
drivers/staging/media/av7110/av7110.c
1184
memset(budget->grabbing + y * TS_WIDTH, 0x00, TS_WIDTH);
drivers/staging/media/av7110/av7110_hw.c
728
static int WriteText(struct av7110 *av7110, u8 win, u16 x, u16 y, char *buf)
drivers/staging/media/av7110/av7110_hw.c
733
u16 cbuf[5] = { (COMTYPE_OSD << 8) + DText, 3, win, x, y };
drivers/staging/media/av7110/av7110_hw.c
777
u16 x, u16 y, u16 dx, u16 dy, u16 color)
drivers/staging/media/av7110/av7110_hw.c
780
windownr, x, y, dx, dy, color);
drivers/staging/media/av7110/av7110_hw.c
784
u16 x, u16 y, u16 dx, u16 dy, u16 color)
drivers/staging/media/av7110/av7110_hw.c
787
windownr, x, y, dx, dy, color);
drivers/staging/media/av7110/av7110_hw.c
795
static inline int MoveWindowRel(struct av7110 *av7110, u8 windownr, u16 x, u16 y)
drivers/staging/media/av7110/av7110_hw.c
797
return av7110_fw_cmd(av7110, COMTYPE_OSD, WMoveD, 3, windownr, x, y);
drivers/staging/media/av7110/av7110_hw.c
800
static inline int MoveWindowAbs(struct av7110 *av7110, u8 windownr, u16 x, u16 y)
drivers/staging/media/av7110/av7110_hw.c
802
return av7110_fw_cmd(av7110, COMTYPE_OSD, WMoveA, 3, windownr, x, y);
drivers/staging/media/av7110/av7110_hw.c
895
static int BlitBitmap(struct av7110 *av7110, u16 x, u16 y)
drivers/staging/media/av7110/av7110_hw.c
899
return av7110_fw_cmd(av7110, COMTYPE_OSD, BlitBmp, 4, av7110->osdwin, x, y, 0);
drivers/staging/media/av7110/av7110_hw.c
916
u16 y, u, v;
drivers/staging/media/av7110/av7110_hw.c
919
y = R * 77 + G * 150 + B * 29; /* Luma=0.299R+0.587G+0.114B 0..65535 */
drivers/staging/media/av7110/av7110_hw.c
920
u = 2048 + B * 8 - (y >> 5); /* Cr 0..4095 */
drivers/staging/media/av7110/av7110_hw.c
921
v = 2048 + R * 8 - (y >> 5); /* Cb 0..4095 */
drivers/staging/media/av7110/av7110_hw.c
923
Y = y / 256;
drivers/staging/media/ipu3/include/uapi/intel-ipu3.h
1653
__s32 y:13;
drivers/staging/media/ipu3/ipu3-abi.h
1333
u16 y;
drivers/staging/media/ipu3/ipu3-abi.h
1386
struct imgu_abi_frame_sp_plane y;
drivers/staging/media/ipu3/ipu3-abi.h
1392
struct imgu_abi_frame_sp_plane y;
drivers/staging/media/ipu3/ipu3-css-params.c
2890
unsigned int y0, x0, x1, x, y;
drivers/staging/media/ipu3/ipu3-css-params.c
2943
y = y0 * IMGU_DVS_BLOCK_H + OFFSET_Y;
drivers/staging/media/ipu3/ipu3-css-params.c
2946
(y * frame_in_x + x) * BYP;
drivers/staging/media/ipu3/ipu3-css-params.c
2953
y = y0 * (IMGU_DVS_BLOCK_H / 2) + OFFSET_Y / 2;
drivers/staging/media/ipu3/ipu3-css-params.c
2955
gdc->in_addr_offset = (y * frame_in_x + x) * BYP;
drivers/staging/media/ipu7/ipu7-isys-subdev.c
73
u32 ipu7_isys_convert_bayer_order(u32 code, int x, int y)
drivers/staging/media/ipu7/ipu7-isys-subdev.c
98
return code_map[i ^ ((((u32)y & 1U) << 1U) | ((u32)x & 1U))];
drivers/staging/media/ipu7/ipu7-isys-subdev.h
31
u32 ipu7_isys_convert_bayer_order(u32 code, int x, int y);
drivers/staging/media/starfive/camss/stf-isp.h
103
#define H_LCBQ(y) ((y) << 12)
drivers/staging/media/starfive/camss/stf-isp.h
107
#define Y_COOR(y) ((y) << 16)
drivers/staging/media/starfive/camss/stf-isp.h
89
#define OBC_W_H(y) ((y) << 4)
drivers/staging/media/starfive/camss/stf-isp.h
96
#define Y_DISTANCE(y) ((y) << 16)
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
368
int i, x, tx, y, ty;
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
382
for (y = 0, ty = 0; ty < pps->num_tile_rows_minus1 + 1; ty++) {
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
383
if (y + pps->row_height_minus1[ty] + 1 > ctb_addr_y)
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
386
y += pps->row_height_minus1[ty] + 1;
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
389
cedrus_write(dev, VE_DEC_H265_TILE_START_CTB, (y << 16) | (x << 0));
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
391
((y + pps->row_height_minus1[ty]) << 16) |
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
402
y += pps->row_height_minus1[ty++] + 1;
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
409
entry_points_buf[i * 4 + 2] = (y << 16) | (x << 0);
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
411
((y + pps->row_height_minus1[ty]) << 16) |
drivers/staging/media/sunxi/cedrus/cedrus_regs.h
404
#define VE_DEC_H265_DEC_CTB_ADDR_Y(y) SHIFT_AND_MASK_BITS(y, 25, 16)
drivers/staging/media/sunxi/cedrus/cedrus_regs.h
96
#define VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(x, y) (24 - 4 * (y) - 8 * (x))
drivers/staging/sm750fb/ddk750_mode.c
20
unsigned long x, y;
drivers/staging/sm750fb/ddk750_mode.c
23
y = mode_param->vertical_display_end;
drivers/staging/sm750fb/ddk750_mode.c
34
(((y - 1) << CRT_AUTO_CENTERING_BR_BOTTOM_SHIFT) &
drivers/staging/sm750fb/ddk750_mode.c
49
if (x == 800 && y == 600)
drivers/staging/sm750fb/ddk750_mode.c
51
else if (x == 1024 && y == 768)
drivers/staging/sm750fb/ddk750_mode.c
53
else if (x == 1152 && y == 864)
drivers/staging/sm750fb/ddk750_mode.c
55
else if (x == 1280 && y == 768)
drivers/staging/sm750fb/ddk750_mode.c
57
else if (x == 1280 && y == 720)
drivers/staging/sm750fb/ddk750_mode.c
59
else if (x == 1280 && y == 960)
drivers/staging/sm750fb/ddk750_mode.c
61
else if (x == 1280 && y == 1024)
drivers/staging/sm750fb/sm750.h
64
u32 x, u32 y, u32 width, u32 height,
drivers/staging/sm750fb/sm750_accel.c
118
(y & DE_DESTINATION_Y_MASK)); /* dpr4 */
drivers/staging/sm750fb/sm750_accel.c
89
u32 x, u32 y, u32 width, u32 height,
drivers/staging/sm750fb/sm750_accel.h
194
u32 x, u32 y, u32 width, u32 height,
drivers/staging/sm750fb/sm750_cursor.c
66
void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y)
drivers/staging/sm750fb/sm750_cursor.c
70
reg = ((y << HWC_LOCATION_Y_SHIFT) & HWC_LOCATION_Y_MASK) |
drivers/staging/sm750fb/sm750_cursor.h
9
void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
drivers/thermal/gov_power_allocator.c
31
static inline s64 mul_frac(s64 x, s64 y)
drivers/thermal/gov_power_allocator.c
33
return (x * y) >> FRAC_BITS;
drivers/thermal/gov_power_allocator.c
44
static inline s64 div_frac(s64 x, s64 y)
drivers/thermal/gov_power_allocator.c
46
return div_s64(x << FRAC_BITS, y);
drivers/tty/serial/8250/8250_omap.c
97
#define UART_BUILD_REVISION(x, y) (((x) << 8) | (y))
drivers/tty/serial/omap-serial.c
42
#define UART_BUILD_REVISION(x, y) (((x) << 8) | (y))
drivers/tty/serial/sh-sci-common.h
40
#define SCI_SR_RANGE(x, y) GENMASK((y) - 1, (x) - 1)
drivers/tty/tty_ioctl.c
208
#define NOSET_MASK(x, y, z) (x = ((x) & ~(z)) | ((y) & (z)))
drivers/tty/vt/vt.c
1213
if (vc->state.y > new_rows) {
drivers/tty/vt/vt.c
1214
if (old_rows - vc->state.y < new_rows) {
drivers/tty/vt/vt.c
1225
first_copied_row = (vc->state.y - new_rows/2);
drivers/tty/vt/vt.c
1260
gotoxy(vc, vc->state.x, vc->state.y);
drivers/tty/vt/vt.c
1415
vc->state.y = min_y;
drivers/tty/vt/vt.c
1417
vc->state.y = max_y - 1;
drivers/tty/vt/vt.c
1419
vc->state.y = new_y;
drivers/tty/vt/vt.c
1420
vc->vc_pos = vc->vc_origin + vc->state.y * vc->vc_size_row +
drivers/tty/vt/vt.c
1448
if (vc->state.y + 1 == vc->vc_bottom)
drivers/tty/vt/vt.c
1450
else if (vc->state.y < vc->vc_rows - 1) {
drivers/tty/vt/vt.c
1451
vc->state.y++;
drivers/tty/vt/vt.c
1463
if (vc->state.y == vc->vc_top)
drivers/tty/vt/vt.c
1465
else if (vc->state.y > 0) {
drivers/tty/vt/vt.c
1466
vc->state.y--;
drivers/tty/vt/vt.c
1510
vc_uniscr_clear_lines(vc, vc->state.y + 1,
drivers/tty/vt/vt.c
1511
vc->vc_rows - vc->state.y - 1);
drivers/tty/vt/vt.c
1517
vc_uniscr_clear_lines(vc, 0, vc->state.y);
drivers/tty/vt/vt.c
1581
vc->vc_sw->con_clear(vc, vc->state.y, vc->state.x, count);
drivers/tty/vt/vt.c
1834
len = sprintf(buf, "\033[%d;%dR", vc->state.y +
drivers/tty/vt/vt.c
2139
unsigned int nr = clamp(vc->vc_par[0], 1, vc->vc_rows - vc->state.y);
drivers/tty/vt/vt.c
2141
con_scroll(vc, vc->state.y, vc->vc_bottom, SM_DOWN, nr);
drivers/tty/vt/vt.c
2156
unsigned int nr = clamp(vc->vc_par[0], 1, vc->vc_rows - vc->state.y);
drivers/tty/vt/vt.c
2158
con_scroll(vc, vc->state.y, vc->vc_bottom, SM_UP, nr);
drivers/tty/vt/vt.c
2173
gotoxy(vc, vc->state.x, vc->state.y);
drivers/tty/vt/vt.c
2522
gotoxy(vc, vc->vc_par[0], vc->state.y);
drivers/tty/vt/vt.c
2527
gotoxy(vc, vc->state.x, vc->state.y - vc->vc_par[0]);
drivers/tty/vt/vt.c
2533
gotoxy(vc, vc->state.x, vc->state.y + vc->vc_par[0]);
drivers/tty/vt/vt.c
2539
gotoxy(vc, vc->state.x + vc->vc_par[0], vc->state.y);
drivers/tty/vt/vt.c
2544
gotoxy(vc, vc->state.x - vc->vc_par[0], vc->state.y);
drivers/tty/vt/vt.c
2549
gotoxy(vc, 0, vc->state.y + vc->vc_par[0]);
drivers/tty/vt/vt.c
2554
gotoxy(vc, 0, vc->state.y - vc->vc_par[0]);
drivers/tty/vt/vt.c
2822
(u16 *)draw->to - (u16 *)draw->from, vc->state.y,
drivers/tty/vt/vt.c
291
static void con_putc(struct vc_data *vc, u16 ca, unsigned int y, unsigned int x)
drivers/tty/vt/vt.c
294
vc->vc_sw->con_putc(vc, ca, y, x);
drivers/tty/vt/vt.c
296
vc->vc_sw->con_putcs(vc, &ca, 1, y, x);
drivers/tty/vt/vt.c
3411
vc->vc_sw->con_putcs(vc, start, cnt, vc->state.y, start_x);
drivers/tty/vt/vt.c
3439
vc->vc_sw->con_putcs(vc, start, cnt, vc->state.y, start_x);
drivers/tty/vt/vt.c
360
vc->vc_uni_lines[vc->state.y][vc->state.x] = uc;
drivers/tty/vt/vt.c
366
u32 *ln = vc->vc_uni_lines[vc->state.y];
drivers/tty/vt/vt.c
377
u32 *ln = vc->vc_uni_lines[vc->state.y];
drivers/tty/vt/vt.c
3819
gotoxy(vc, vc->state.x, vc->state.y);
drivers/tty/vt/vt.c
389
memset32(&vc->vc_uni_lines[vc->state.y][x], ' ', nr);
drivers/tty/vt/vt.c
392
static void vc_uniscr_clear_lines(struct vc_data *vc, unsigned int y,
drivers/tty/vt/vt.c
397
memset32(vc->vc_uni_lines[y++], ' ', vc->vc_cols);
drivers/tty/vt/vt.c
446
return vc->vc_uni_lines[vc->state.y][pos];
drivers/tty/vt/vt.c
491
int x, y, mask;
drivers/tty/vt/vt.c
5009
xy[1] = min(vc->state.y, 0xFFu);
drivers/tty/vt/vt.c
513
for (y = 0; y < vc->vc_rows; y++) {
drivers/tty/vt/vt.c
514
u32 *line = uni_lines[y];
drivers/tty/vt/vt.c
830
con_putc(vc, i, vc->state.y, vc->state.x);
drivers/tty/vt/vt.c
838
con_putc(vc, softcursor_original, vc->state.y,
drivers/tty/vt/vt.c
877
vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->state.y +
drivers/tty/vt/vt_ioctl.c
949
concsr.csr_row = vc->state.y;
drivers/usb/gadget/legacy/ether.c
19
# define USB_ETH_RNDIS y
drivers/usb/gadget/legacy/g_ffs.c
20
# define USB_ETH_RNDIS y
drivers/usb/gadget/legacy/multi.c
21
# define USB_ETH_RNDIS y
drivers/usb/misc/sisusbvga/sisusbvga.c
2600
struct sisusb_command *y, unsigned long arg)
drivers/usb/misc/sisusbvga/sisusbvga.c
2611
port = y->data3 -
drivers/usb/misc/sisusbvga/sisusbvga.c
2615
switch (y->operation) {
drivers/usb/misc/sisusbvga/sisusbvga.c
2617
retval = sisusb_getidxreg(sisusb, port, y->data0, &y->data1);
drivers/usb/misc/sisusbvga/sisusbvga.c
2619
if (copy_to_user((void __user *)arg, y, sizeof(*y)))
drivers/usb/misc/sisusbvga/sisusbvga.c
2625
retval = sisusb_setidxreg(sisusb, port, y->data0, y->data1);
drivers/usb/misc/sisusbvga/sisusbvga.c
2629
retval = sisusb_setidxregor(sisusb, port, y->data0, y->data1);
drivers/usb/misc/sisusbvga/sisusbvga.c
2633
retval = sisusb_setidxregand(sisusb, port, y->data0, y->data1);
drivers/usb/misc/sisusbvga/sisusbvga.c
2637
retval = sisusb_setidxregandor(sisusb, port, y->data0,
drivers/usb/misc/sisusbvga/sisusbvga.c
2638
y->data1, y->data2);
drivers/usb/misc/sisusbvga/sisusbvga.c
2642
retval = sisusb_setidxregmask(sisusb, port, y->data0,
drivers/usb/misc/sisusbvga/sisusbvga.c
2643
y->data1, y->data2);
drivers/usb/misc/sisusbvga/sisusbvga.c
2651
length = (y->data0 << 16) | (y->data1 << 8) | y->data2;
drivers/usb/misc/sisusbvga/sisusbvga.c
2652
address = y->data3 - SISUSB_PCI_PSEUDO_MEMBASE +
drivers/usb/misc/sisusbvga/sisusbvga.c
2675
struct sisusb_command y;
drivers/usb/misc/sisusbvga/sisusbvga.c
2723
if (copy_from_user(&y, (void __user *)arg, sizeof(y)))
drivers/usb/misc/sisusbvga/sisusbvga.c
2726
retval = sisusb_handle_command(sisusb, &y, arg);
drivers/usb/typec/tcpm/tcpm.c
3983
#define min_power(x, y) min(pdo_max_power(x), pdo_max_power(y))
drivers/usb/typec/tcpm/tcpm.c
3984
#define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y))
drivers/video/backlight/88pm860x_bl.c
175
#define pm860x_backlight_dt_init(x, y, z) (-1)
drivers/video/console/dummycon.c
53
static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y,
drivers/video/console/dummycon.c
98
static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y,
drivers/video/console/mdacon.c
425
static inline u16 *mda_addr(unsigned int x, unsigned int y)
drivers/video/console/mdacon.c
427
return mda_vram_base + y * mda_num_columns + x;
drivers/video/console/mdacon.c
431
unsigned int y, unsigned int x)
drivers/video/console/mdacon.c
433
u16 *dest = mda_addr(x, y);
drivers/video/console/mdacon.c
440
static void mdacon_clear(struct vc_data *c, unsigned int y, unsigned int x,
drivers/video/console/mdacon.c
443
u16 *dest = mda_addr(x, y);
drivers/video/console/mdacon.c
481
mda_set_cursor(c->state.y * mda_num_columns * 2 + c->state.x * 2);
drivers/video/console/newport_con.c
582
int count, x, y;
drivers/video/console/newport_con.c
606
y = t;
drivers/video/console/newport_con.c
614
newport_putc(vc, chattr, y, x);
drivers/video/console/newport_con.c
620
y++;
drivers/video/console/newport_con.c
626
y = b - lines;
drivers/video/console/newport_con.c
630
y, x);
drivers/video/console/newport_con.c
636
y++;
drivers/video/console/newport_con.c
641
y = b - 1;
drivers/video/console/newport_con.c
649
newport_putc(vc, chattr, y, x);
drivers/video/console/newport_con.c
655
y--;
drivers/video/console/newport_con.c
661
y = t;
drivers/video/console/newport_con.c
665
y, x);
drivers/video/console/newport_con.c
671
y++;
drivers/video/console/sticon.c
111
conp->state.y, conp->state.x, font_data[conp->vc_num]);
drivers/video/console/sticon.c
97
car1 = conp->vc_screenbuf[conp->state.x + conp->state.y * conp->vc_cols];
drivers/video/console/sticon.c
99
sti_putc(sticon_sti, car1, conp->state.y, conp->state.x,
drivers/video/console/vgacon.c
1125
c->state.y = vga_si->orig_y;
drivers/video/console/vgacon.c
620
int y = c->vc_rows * c->vc_cell_height;
drivers/video/console/vgacon.c
639
if ((vgacon_xres != x || vgacon_yres != y) &&
drivers/video/fbdev/amifb.c
645
#define CWAIT(x, y) (((y) & 0x1fe) << 23 | ((x) & 0x7f0) << 13 | 0x0001fffe)
drivers/video/fbdev/arcfb.c
150
unsigned int chipindex, unsigned char y)
drivers/video/fbdev/arcfb.c
152
ks108_writeb_ctl(par, chipindex, KS_SET_DPY_START_LINE|y);
drivers/video/fbdev/arcfb.c
156
unsigned int chipindex, unsigned char y)
drivers/video/fbdev/arcfb.c
158
ks108_writeb_ctl(par, chipindex, KS_SET_PAGE_NUM|y);
drivers/video/fbdev/arcfb.c
347
unsigned int left, right, distance, y;
drivers/video/fbdev/arcfb.c
350
y = floor8(dy);
drivers/video/fbdev/arcfb.c
351
h += dy - y;
drivers/video/fbdev/arcfb.c
359
arcfb_lcd_update_horiz(par, left, right, y, h);
drivers/video/fbdev/arcfb.c
411
unsigned int x, y, width, height;
drivers/video/fbdev/arcfb.c
419
y = startpos / xres;
drivers/video/fbdev/arcfb.c
423
arcfb_lcd_update(par, x, y, width, height);
drivers/video/fbdev/arcfb.c
426
static void arcfb_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/arcfb.c
432
arcfb_lcd_update(par, x, y, width, height);
drivers/video/fbdev/arkfb.c
183
int x, y;
drivers/video/fbdev/arkfb.c
189
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/arkfb.c
209
int x, y;
drivers/video/fbdev/arkfb.c
214
for (y = 0; y < rect->height; y++) {
drivers/video/fbdev/arkfb.c
241
int x, y;
drivers/video/fbdev/arkfb.c
247
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/aty/mach64_accel.c
189
static inline void draw_rect(s16 x, s16 y, u16 width, u16 height,
drivers/video/fbdev/aty/mach64_accel.c
194
aty_st_le32(DST_Y_X, (x << 16) | y, par);
drivers/video/fbdev/aty/mach64_cursor.c
104
y = cursor->image.dy - cursor->hot.y - info->var.yoffset;
drivers/video/fbdev/aty/mach64_cursor.c
105
if (y < 0) {
drivers/video/fbdev/aty/mach64_cursor.c
106
yoff = -y;
drivers/video/fbdev/aty/mach64_cursor.c
107
y = 0;
drivers/video/fbdev/aty/mach64_cursor.c
119
y<<=1;
drivers/video/fbdev/aty/mach64_cursor.c
126
aty_st_le32(CUR_HORZ_VERT_POSN, ((u32) y << 16) | x, par);
drivers/video/fbdev/aty/mach64_cursor.c
77
int x, y, h;
drivers/video/fbdev/broadsheetfb.c
980
static void broadsheetfb_defio_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/bt431.h
177
static inline void bt431_position_cursor(struct bt431_regs *regs, u16 x, u16 y)
drivers/video/fbdev/bt431.h
192
y += 68 - 32;
drivers/video/fbdev/bt431.h
198
bt431_write_reg_inc(regs, y & 0xff); /* BT431_REG_CYLO */
drivers/video/fbdev/bt431.h
199
bt431_write_reg_inc(regs, (y >> 8) & 0x0f); /* BT431_REG_CYHI */
drivers/video/fbdev/bt431.h
206
u16 x, y;
drivers/video/fbdev/bt431.h
212
for (y = 0; y < BT431_CURSOR_SIZE; y++)
drivers/video/fbdev/bt431.h
216
if (y < height && x < width) {
drivers/video/fbdev/cg6.c
400
u32 x, y;
drivers/video/fbdev/cg6.c
424
y = image->dy;
drivers/video/fbdev/cg6.c
431
sbus_writel(y, &fbc->y0);
drivers/video/fbdev/cg6.c
448
sbus_writel(y, &fbc->y0);
drivers/video/fbdev/cg6.c
467
y += 1;
drivers/video/fbdev/cirrusfb.c
2703
u_short x, u_short y, u_short width, u_short height,
drivers/video/fbdev/cirrusfb.c
2707
u_long ndest = (y * line_length) + x;
drivers/video/fbdev/cirrusfb.c
403
u_short x, u_short y,
drivers/video/fbdev/cobalt_lcdfb.c
245
u32 x, y;
drivers/video/fbdev/cobalt_lcdfb.c
251
y = cursor->image.dy;
drivers/video/fbdev/cobalt_lcdfb.c
252
if (x >= LCD_XRES_MAX || y >= LCD_YRES_MAX)
drivers/video/fbdev/cobalt_lcdfb.c
260
LCD_TEXT_POS(info->fix.line_length * y + x));
drivers/video/fbdev/controlfb.c
93
#define DIRTY(z) ((x)->z != (y)->z)
drivers/video/fbdev/controlfb.c
94
#define DIRTY_CMAP(z) (memcmp(&((x)->z), &((y)->z), sizeof((y)->z)))
drivers/video/fbdev/controlfb.c
95
static inline int PAR_EQUAL(struct fb_par_control *x, struct fb_par_control *y)
drivers/video/fbdev/core/bitblit.c
267
int y = real_y(par->p, vc->state.y);
drivers/video/fbdev/core/bitblit.c
308
(par->cursor_state.image.dy != (vc->vc_font.height * y)) ||
drivers/video/fbdev/core/bitblit.c
311
par->cursor_state.image.dy = vc->vc_font.height * y;
drivers/video/fbdev/core/bitblit.c
323
if (par->cursor_state.hot.x || par->cursor_state.hot.y ||
drivers/video/fbdev/core/bitblit.c
325
par->cursor_state.hot.x = cursor.hot.y = 0;
drivers/video/fbdev/core/bitblit.c
385
cursor.hot.y = par->cursor_state.hot.y;
drivers/video/fbdev/core/fb_logo.c
279
const struct linux_logo *logo, int y,
drivers/video/fbdev/core/fb_logo.c
337
image.dy = y ?: (yres - logo->height) / 2;
drivers/video/fbdev/core/fb_logo.c
340
image.dy = y;
drivers/video/fbdev/core/fb_logo.c
406
static int fb_show_extra_logos(struct fb_info *info, int y, int rotate)
drivers/video/fbdev/core/fb_logo.c
411
y = fb_show_logo_line(info, rotate,
drivers/video/fbdev/core/fb_logo.c
412
fb_logo_ex[i].logo, y, fb_logo_ex[i].n);
drivers/video/fbdev/core/fb_logo.c
414
return y;
drivers/video/fbdev/core/fb_logo.c
496
int y;
drivers/video/fbdev/core/fb_logo.c
502
y = fb_show_logo_line(info, rotate, fb_logo.logo, 0, count);
drivers/video/fbdev/core/fb_logo.c
504
y = fb_show_extra_logos(info, y, rotate);
drivers/video/fbdev/core/fb_logo.c
507
return y;
drivers/video/fbdev/core/fbcon.c
3108
set_bit(vc->vc_font.height - 1, caps->y);
drivers/video/fbdev/core/fbcon.c
3121
bitmap_zero(caps->y, FB_MAX_BLIT_HEIGHT);
drivers/video/fbdev/core/fbcon.c
3122
set_bit(vc->vc_font.height - 1, caps->y);
drivers/video/fbdev/core/fbcon.c
651
if (vc->state.y + logo_lines >= rows)
drivers/video/fbdev/core/fbcon.c
652
lines = rows - vc->state.y - 1;
drivers/video/fbdev/core/fbcon.c
655
vc->state.y += lines;
drivers/video/fbdev/core/fbcon.c
673
vc->state.y += logo_lines;
drivers/video/fbdev/core/fbcon_ccw.c
227
int y = real_y(par->p, vc->state.y);
drivers/video/fbdev/core/fbcon_ccw.c
276
dx = y * vc->vc_font.height;
drivers/video/fbdev/core/fbcon_ccw.c
287
if (par->cursor_state.hot.x || par->cursor_state.hot.y ||
drivers/video/fbdev/core/fbcon_ccw.c
289
par->cursor_state.hot.x = cursor.hot.y = 0;
drivers/video/fbdev/core/fbcon_ccw.c
361
cursor.hot.y = par->cursor_state.hot.y;
drivers/video/fbdev/core/fbcon_cw.c
210
int y = real_y(par->p, vc->state.y);
drivers/video/fbdev/core/fbcon_cw.c
259
dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height);
drivers/video/fbdev/core/fbcon_cw.c
270
if (par->cursor_state.hot.x || par->cursor_state.hot.y ||
drivers/video/fbdev/core/fbcon_cw.c
272
par->cursor_state.hot.x = cursor.hot.y = 0;
drivers/video/fbdev/core/fbcon_cw.c
344
cursor.hot.y = par->cursor_state.hot.y;
drivers/video/fbdev/core/fbcon_rotate.h
23
static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat)
drivers/video/fbdev/core/fbcon_rotate.h
25
u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8;
drivers/video/fbdev/core/fbcon_rotate.h
31
static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat)
drivers/video/fbdev/core/fbcon_rotate.h
33
u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8;
drivers/video/fbdev/core/fbcon_ud.c
257
int y = real_y(par->p, vc->state.y);
drivers/video/fbdev/core/fbcon_ud.c
307
dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height);
drivers/video/fbdev/core/fbcon_ud.c
318
if (par->cursor_state.hot.x || par->cursor_state.hot.y ||
drivers/video/fbdev/core/fbcon_ud.c
320
par->cursor_state.hot.x = cursor.hot.y = 0;
drivers/video/fbdev/core/fbcon_ud.c
384
cursor.hot.y = par->cursor_state.hot.y;
drivers/video/fbdev/core/fbmem.c
218
!bitmap_subset(caps.y, fbcaps.y, FB_MAX_BLIT_HEIGHT) ||
drivers/video/fbdev/core/modedb.c
24
#define res_matches(v, x, y) \
drivers/video/fbdev/core/modedb.c
25
((v).xres == (x) && (v).yres == (y))
drivers/video/fbdev/core/svgalib.c
357
bitmap_zero(caps->y, FB_MAX_BLIT_HEIGHT);
drivers/video/fbdev/core/svgalib.c
358
set_bit(16 - 1, caps->y);
drivers/video/fbdev/core/svgalib.c
367
bitmap_fill(caps->y, FB_MAX_BLIT_HEIGHT);
drivers/video/fbdev/core/tileblit.c
122
cursor.sy = vc->state.y;
drivers/video/fbdev/efifb.c
148
u32 bmp_width, bmp_height, bmp_pitch, dst_x, y, src_y;
drivers/video/fbdev/efifb.c
215
for (y = 0; y < si->lfb_height; y++, dst += si->lfb_linelength) {
drivers/video/fbdev/efifb.c
217
if (y < bgrt_tab.image_offset_y ||
drivers/video/fbdev/efifb.c
218
y >= (bgrt_tab.image_offset_y + bmp_height)) {
drivers/video/fbdev/efifb.c
223
src_y = y - bgrt_tab.image_offset_y;
drivers/video/fbdev/ffb.c
192
u32 y;
drivers/video/fbdev/fm2fb.c
232
int x, y;
drivers/video/fbdev/fm2fb.c
261
for (y = 0; y < 576; y++) {
drivers/video/fbdev/gbefb.c
202
unsigned int val, y, vpixen_off;
drivers/video/fbdev/gbefb.c
253
y = GET_GBE_FIELD(VT_XY, Y, val);
drivers/video/fbdev/gbefb.c
254
if (y < vpixen_off)
drivers/video/fbdev/gbefb.c
263
y = GET_GBE_FIELD(VT_XY, Y, val);
drivers/video/fbdev/gbefb.c
264
if (y > vpixen_off)
drivers/video/fbdev/geode/gx1fb_core.c
242
int x, y;
drivers/video/fbdev/geode/gx1fb_core.c
247
y = simple_strtol(s + 1, NULL, 10);
drivers/video/fbdev/geode/gx1fb_core.c
248
if (!y)
drivers/video/fbdev/geode/gx1fb_core.c
251
par->panel_y = y;
drivers/video/fbdev/hecubafb.c
130
static void hecubafb_defio_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/hgafb.c
474
u_int rows, y;
drivers/video/fbdev/hgafb.c
477
y = rect->dy;
drivers/video/fbdev/hgafb.c
479
for (rows = rect->height; rows--; y++) {
drivers/video/fbdev/hgafb.c
480
dest = rowaddr(info, y) + (rect->dx >> 3);
drivers/video/fbdev/hgafb.c
527
u_int rows, y = image->dy;
drivers/video/fbdev/hgafb.c
531
for (rows = image->height; rows--; y++) {
drivers/video/fbdev/hgafb.c
534
dest = rowaddr(info, y) + ((image->dx + x)>> 3);
drivers/video/fbdev/imsttfb.c
1090
u_int x, y;
drivers/video/fbdev/imsttfb.c
1102
for (y = 0; y < height; y++)
drivers/video/fbdev/imsttfb.c
1104
par->cmap_regs[PIDXLO] = x + y * 8; eieio();
drivers/video/fbdev/imsttfb.c
1138
for (y = 0; y < height; y++)
drivers/video/fbdev/imsttfb.c
1140
par->cmap_regs[TVPADDRW] = x + y * 8; eieio();
drivers/video/fbdev/imsttfb.c
1145
for (y = 0; y < height; y++)
drivers/video/fbdev/imsttfb.c
1147
par->cmap_regs[TVPADDRW] = x + y * 8; eieio();
drivers/video/fbdev/imsttfb.c
1184
__u16 x = d->dx + 0x40, y = d->dy + 0x40;
drivers/video/fbdev/imsttfb.c
1188
par->cmap_regs[TVPCYPOH] = y >> 8; eieio();
drivers/video/fbdev/imsttfb.c
1189
par->cmap_regs[TVPCYPOL] = y & 0xff; eieio();
drivers/video/fbdev/kyro/fbdev.c
370
static int kyro_dev_overlay_viewport_set(u32 x, u32 y, u32 ulWidth, u32 ulHeight)
drivers/video/fbdev/kyro/fbdev.c
385
x, y, x + ulWidth - 1, y + ulHeight - 1);
drivers/video/fbdev/matrox/matroxfb_accel.c
89
#define mga_ydstlen(y,l) mga_outl(M_YDSTLEN | M_EXEC, ((y) << 16) | (l))
drivers/video/fbdev/metronomefb.c
493
static void metronomefb_defio_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
192
#define SPU_DMA_PITCH_Y(y) (y)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
199
#define CFG_DMA_OVSA_VLN(y) ((y)<<16) /* 0~0xfff */
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
204
#define CFG_DMA_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
209
#define CFG_DZM_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
221
#define CFG_GRA_OVSA_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
226
#define CFG_GRA_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
231
#define CFG_GZM_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
236
#define CFG_HWC_OVSA_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
241
#define CFG_HWC_VLN(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
246
#define CFG_V_TOTAL(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
251
#define CFG_V_ACTIVE(y) ((y)<<16)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
290
#define CFG_CKEY_Y(y) ((y)<<8)
drivers/video/fbdev/mmp/hw/mmp_ctrl.h
292
#define CFG_ALPHA_Y(y) (y)
drivers/video/fbdev/omap/hwa742.c
1000
hwa742.auto_update_window.y = 0;
drivers/video/fbdev/omap/hwa742.c
196
static void enable_tearsync(int y, int width, int height, int screen_height,
drivers/video/fbdev/omap/hwa742.c
216
(y + height) * (hwa742.line_upd_time / 1000)) {
drivers/video/fbdev/omap/hwa742.c
221
hwa742.extif->enable_tearsync(1, y + 1);
drivers/video/fbdev/omap/hwa742.c
339
int y = par->y;
drivers/video/fbdev/omap/hwa742.c
353
x, y, w, h, scr_width, color_mode, flags);
drivers/video/fbdev/omap/hwa742.c
384
enable_tearsync(y, scr_width, h, scr_height,
drivers/video/fbdev/omap/hwa742.c
389
set_window_regs(x, y, x + w, y + h);
drivers/video/fbdev/omap/hwa742.c
391
offset = (scr_width * y + x) * bpp / 8;
drivers/video/fbdev/omap/hwa742.c
415
req->par.update.y = _y; \
drivers/video/fbdev/omap/hwa742.c
429
int y = win->y;
drivers/video/fbdev/omap/hwa742.c
439
ADD_PREQ(x, y, 1, height, can_sleep);
drivers/video/fbdev/omap/hwa742.c
446
unsigned int ystart = y;
drivers/video/fbdev/omap/hwa742.c
463
ADD_PREQ(x, y, 1, height, can_sleep);
drivers/video/fbdev/omap/hwa742.c
71
int x, y, width, height;
drivers/video/fbdev/omap/lcd_dma.c
164
#define PIXADDR(x, y) (lcd_dma.addr + \
drivers/video/fbdev/omap/lcd_dma.c
165
((y) * vxres * yscale + (x) * xscale) * es)
drivers/video/fbdev/omap/omapfb_main.c
1102
u->out_y = u->y;
drivers/video/fbdev/omap/omapfb_main.c
704
if (win->x >= xres || win->y >= yres ||
drivers/video/fbdev/omap/omapfb_main.c
714
if (win->y + win->height > yres)
drivers/video/fbdev/omap/omapfb_main.c
715
win->height = yres - win->y;
drivers/video/fbdev/omap/omapfb_main.c
751
win.y = 0;
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
1026
dsicm_set_update_window(ddata, x, y, w, h);
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
192
u16 x, u16 y, u16 w, u16 h)
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
198
u16 y1 = y;
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
199
u16 y2 = y + h - 1;
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
855
u16 x, u16 y, u16 w, u16 h)
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
861
dev_dbg(&ddata->pdev->dev, "update %d, %d, %d x %d\n", x, y, w, h);
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
989
u16 x, u16 y, u16 w, u16 h)
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
664
#define CVAL(x, y) (FLD_VAL(x, 26, 16) | FLD_VAL(y, 10, 0))
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
718
enum omap_overlay_caps caps, int x, int y)
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
725
val = FLD_VAL(y, 26, 16) | FLD_VAL(x, 10, 0);
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
412
unsigned y, a, b, s;
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
425
y = (ptr[0] >> 5) & 0x3;
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
446
(a << 6) | (s << 4) | (b << 2) | (y << 0));
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
278
u32 x, u32 y, u32 w, u32 h)
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
291
if (x + w > dw || y + h > dh)
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
294
return display->driver->update(display, x, y, w, h);
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
497
mr->x, mr->y, mr->w, mr->h);
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
625
r = omapfb_update_window(fbi, p.uwnd_o.x, p.uwnd_o.y,
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
642
r = omapfb_update_window(fbi, p.uwnd.x, p.uwnd.y,
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
102
for (y = 0; y < h; y++) {
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
104
if (x < 20 && y < 20)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
105
draw_pixel(fbi, x, y, 0xffffff);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
106
else if (x < 20 && (y > 20 && y < h - 20))
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
107
draw_pixel(fbi, x, y, 0xff);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
108
else if (y < 20 && (x > 20 && x < w - 20))
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
109
draw_pixel(fbi, x, y, 0xff00);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
110
else if (x > w - 20 && (y > 20 && y < h - 20))
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
111
draw_pixel(fbi, x, y, 0xff0000);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
112
else if (y > h - 20 && (x > 20 && x < w - 20))
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
113
draw_pixel(fbi, x, y, 0xffff00);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
115
y == 20 || y == h - 20)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
116
draw_pixel(fbi, x, y, 0xffffff);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
117
else if (x == y || w - x == h - y)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
118
draw_pixel(fbi, x, y, 0xff00ff);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
119
else if (w - x == y || x == h - y)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
120
draw_pixel(fbi, x, y, 0x00ffff);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
121
else if (x > 20 && y > 20 && x < w - 20 && y < h - 20) {
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
127
b = (y % 32) * 256 / 32;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
129
g = (y % 64) * 256 / 64;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
131
r = (y % 32) * 256 / 32;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
134
b = (y % 256);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
136
g = (y % 256);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
138
r = (y % 256);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
141
draw_pixel(fbi, x, y, c);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
143
draw_pixel(fbi, x, y, 0);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
54
static void draw_pixel(struct fb_info *fbi, int x, int y, unsigned color)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
68
p += y * line_len + x;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
77
p += (y * line_len + x) * 3;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
84
p += y * line_len + x;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
95
int y, x;
drivers/video/fbdev/pm2fb.c
1271
int y = cursor->image.dy - info->var.yoffset;
drivers/video/fbdev/pm2fb.c
1282
pm2v_RDAC_WR(par, PM2VI_RD_CURSOR_Y_LOW, y & 0xff);
drivers/video/fbdev/pm2fb.c
1283
pm2v_RDAC_WR(par, PM2VI_RD_CURSOR_Y_HIGH, (y >> 8) & 0xf);
drivers/video/fbdev/pm2fb.c
1297
cursor->hot.y & 0x3f);
drivers/video/fbdev/pm2fb.c
1400
int y = cursor->image.dy - info->var.yoffset + 63;
drivers/video/fbdev/pm2fb.c
1405
pm2_WR(par, PM2R_RD_CURSOR_Y_LSB, y & 0xff);
drivers/video/fbdev/pm2fb.c
1406
pm2_WR(par, PM2R_RD_CURSOR_Y_MSB, (y >> 8) & 0x7);
drivers/video/fbdev/pm3fb.c
643
int y = cursor->image.dy - info->var.yoffset;
drivers/video/fbdev/pm3fb.c
647
PM3_WRITE_DAC_REG(par, PM3RD_CursorYLow, y & 0xff);
drivers/video/fbdev/pm3fb.c
648
PM3_WRITE_DAC_REG(par, PM3RD_CursorYHigh, (y >> 8) & 0xf);
drivers/video/fbdev/pm3fb.c
655
cursor->hot.y & 0x3f);
drivers/video/fbdev/pxa168fb.c
390
int y;
drivers/video/fbdev/pxa168fb.c
393
y = v->yres + v->lower_margin + v->vsync_len + v->upper_margin;
drivers/video/fbdev/pxa168fb.c
395
writel((y << 16) | x, fbi->reg_base + LCD_SPUT_V_H_TOTAL);
drivers/video/fbdev/pxa168fb.h
117
#define CFG_CKEY_Y(y) ((y) << 8)
drivers/video/fbdev/pxa168fb.h
119
#define CFG_ALPHA_Y(y) (y)
drivers/video/fbdev/pxa168fb.h
19
#define SPU_DMA_PITCH_Y(y) (y)
drivers/video/fbdev/pxa168fb.h
26
#define CFG_DMA_OVSA_VLN(y) ((y) << 16) /* 0~0xfff */
drivers/video/fbdev/pxa168fb.h
31
#define CFG_DMA_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
36
#define CFG_DZM_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
48
#define CFG_GRA_OVSA_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
53
#define CFG_GRA_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
58
#define CFG_GZM_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
63
#define CFG_HWC_OVSA_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
68
#define CFG_HWC_VLN(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
73
#define CFG_V_TOTAL(y) ((y) << 16)
drivers/video/fbdev/pxa168fb.h
78
#define CFG_V_ACTIVE(y) ((y) << 16)
drivers/video/fbdev/riva/riva_hw.h
370
U032 y; /* in pixels, 0 at top 4- 7*/
drivers/video/fbdev/s3fb.c
1096
bitmap_zero(caps->y, FB_MAX_BLIT_HEIGHT);
drivers/video/fbdev/s3fb.c
1097
set_bit(16 - 1, caps->y);
drivers/video/fbdev/s3fb.c
1107
bitmap_fill(caps->y, FB_MAX_BLIT_HEIGHT);
drivers/video/fbdev/s3fb.c
359
int x, y;
drivers/video/fbdev/s3fb.c
365
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/s3fb.c
385
int x, y;
drivers/video/fbdev/s3fb.c
390
for (y = 0; y < rect->height; y++) {
drivers/video/fbdev/s3fb.c
416
int x, y;
drivers/video/fbdev/s3fb.c
422
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/savage/savagefb.h
119
#define BCI_X_Y(x, y) (((y) << 16) | ((x) & 0xFFF))
drivers/video/fbdev/sis/sis_accel.c
146
SiS300SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h)
drivers/video/fbdev/sis/sis_accel.c
150
if(y >= 2048) {
drivers/video/fbdev/sis/sis_accel.c
151
dstbase = ivideo->video_linelength * y;
drivers/video/fbdev/sis/sis_accel.c
152
y = 0;
drivers/video/fbdev/sis/sis_accel.c
155
SiS300SetupDSTXY(x,y)
drivers/video/fbdev/sis/sis_accel.c
248
SiS310SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h)
drivers/video/fbdev/sis/sis_accel.c
252
if(y >= 2048) {
drivers/video/fbdev/sis/sis_accel.c
253
dstbase = ivideo->video_linelength * y;
drivers/video/fbdev/sis/sis_accel.c
254
y = 0;
drivers/video/fbdev/sis/sis_accel.c
258
SiS310SetupDSTXY(x,y)
drivers/video/fbdev/sis/sis_accel.h
160
#define SiS300SetupSRCXY(x,y) \
drivers/video/fbdev/sis/sis_accel.h
162
MMIO_OUT32(ivideo->mmio_vbase, BR(2), (x)<<16 | (y) );\
drivers/video/fbdev/sis/sis_accel.h
170
#define SiS300SetupDSTXY(x,y) \
drivers/video/fbdev/sis/sis_accel.h
172
MMIO_OUT32(ivideo->mmio_vbase, BR(3), (x)<<16 | (y) );\
drivers/video/fbdev/sis/sis_accel.h
175
#define SiS300SetupDSTRect(x,y) \
drivers/video/fbdev/sis/sis_accel.h
177
MMIO_OUT32(ivideo->mmio_vbase, BR(5), (y)<<16 | (x) );\
drivers/video/fbdev/sis/sis_accel.h
290
#define SiS310SetupSRCXY(x,y) \
drivers/video/fbdev/sis/sis_accel.h
292
MMIO_OUT32(ivideo->mmio_vbase, SRC_Y, (x)<<16 | (y) );\
drivers/video/fbdev/sis/sis_accel.h
300
#define SiS310SetupDSTXY(x,y) \
drivers/video/fbdev/sis/sis_accel.h
302
MMIO_OUT32(ivideo->mmio_vbase, DST_Y, (x)<<16 | (y) );\
drivers/video/fbdev/sis/sis_accel.h
305
#define SiS310SetupDSTRect(x,y) \
drivers/video/fbdev/sis/sis_accel.h
307
MMIO_OUT32(ivideo->mmio_vbase, DST_PITCH, (y)<<16 | (x) );\
drivers/video/fbdev/sis/sis_main.c
3742
int y = ivideo->tvy;
drivers/video/fbdev/sis/sis_main.c
3746
y -= val;
drivers/video/fbdev/sis/sis_main.c
3747
if(y < 0) y = 0;
drivers/video/fbdev/sis/sis_main.c
3749
SiS_SetCH700x(&ivideo->SiS_Pr, 0x0b, (y & 0xff));
drivers/video/fbdev/sis/sis_main.c
3750
SiS_SetCH70xxANDOR(&ivideo->SiS_Pr, 0x08, ((y & 0x0100) >> 8), 0xFE);
drivers/video/fbdev/sis/sis_main.c
487
(yres == sisfb_ddcfmodes[j].y) &&
drivers/video/fbdev/sis/sis_main.h
474
u16 y;
drivers/video/fbdev/sm501fb.c
1084
unsigned int y = cursor->image.dy;
drivers/video/fbdev/sm501fb.c
1086
if (x >= 2048 || y >= 2048 )
drivers/video/fbdev/sm501fb.c
1089
dev_dbg(fbi->dev, "set position %d,%d\n", x, y);
drivers/video/fbdev/sm501fb.c
1093
smc501_writel(x | (y << 16), base + SM501_OFF_HWC_LOC);
drivers/video/fbdev/sm501fb.c
1123
int x, y;
drivers/video/fbdev/sm501fb.c
1137
for (y = 0; y < cursor->image.height; y++) {
drivers/video/fbdev/smscufx.c
1239
static void ufx_ops_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height)
drivers/video/fbdev/smscufx.c
1243
ufx_handle_damage(dev, x, y, width, height);
drivers/video/fbdev/smscufx.c
72
int x, y;
drivers/video/fbdev/smscufx.c
816
static void ufx_raw_rect(struct ufx_data *dev, u16 *cmd, int x, int y,
drivers/video/fbdev/smscufx.c
833
cmd[5] = cpu_to_le16(y);
drivers/video/fbdev/smscufx.c
848
const int line_offset = dev->info->fix.line_length * (y + line);
drivers/video/fbdev/smscufx.c
855
static int ufx_handle_damage(struct ufx_data *dev, int x, int y,
drivers/video/fbdev/smscufx.c
863
(y + height > dev->info->var.yres))
drivers/video/fbdev/smscufx.c
887
ufx_raw_rect(dev, urb->transfer_buffer, x, (y + start_line), width, urb_lines);
drivers/video/fbdev/smscufx.c
920
const int y = pageref->offset / (width * 2);
drivers/video/fbdev/smscufx.c
922
height = min(height, (int)(dev->info->var.yres - y));
drivers/video/fbdev/smscufx.c
924
BUG_ON(y >= dev->info->var.yres);
drivers/video/fbdev/smscufx.c
925
BUG_ON((y + height) > dev->info->var.yres);
drivers/video/fbdev/smscufx.c
927
ufx_handle_damage(dev, x, y, width, height);
drivers/video/fbdev/smscufx.c
971
if (area->y < 0)
drivers/video/fbdev/smscufx.c
972
area->y = 0;
drivers/video/fbdev/smscufx.c
974
if (area->y > info->var.yres)
drivers/video/fbdev/smscufx.c
975
area->y = info->var.yres;
drivers/video/fbdev/smscufx.c
977
ufx_handle_damage(dev, area->x, area->y, area->w, area->h);
drivers/video/fbdev/ssd1307fb.c
213
unsigned int y, unsigned int width,
drivers/video/fbdev/ssd1307fb.c
219
unsigned int pages = DIV_ROUND_UP(y % 8 + height, 8);
drivers/video/fbdev/ssd1307fb.c
260
ret = ssd1307fb_set_page_range(par, par->page_offset + y / 8, pages);
drivers/video/fbdev/ssd1307fb.c
264
for (i = y / 8; i < y / 8 + pages; i++) {
drivers/video/fbdev/ssd1307fb.c
312
static void ssd1307fb_defio_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/ssd1307fb.c
317
ssd1307fb_update_rect(par, x, y, width, height);
drivers/video/fbdev/stifb.c
412
#define NGLE_LONG_FB_ADDRESS(fbaddrbase, x, y) ( \
drivers/video/fbdev/stifb.c
414
( (unsigned int) ( (y) << 13 ) | \
drivers/video/fbdev/stifb.c
515
int saved_id, y;
drivers/video/fbdev/stifb.c
529
for (y = 0; y < fb->info->var.yres; ++y)
drivers/video/fbdev/stifb.c
530
fb_memset_io(fb->info->screen_base + y * fb->info->fix.line_length,
drivers/video/fbdev/tdfxfb.c
1088
int y = cursor->image.dy - info->var.yoffset;
drivers/video/fbdev/tdfxfb.c
1091
y += 63;
drivers/video/fbdev/tdfxfb.c
1093
tdfx_outl(par, HWCURLOC, (y << 16) + x);
drivers/video/fbdev/tridentfb.c
303
#define point(x, y) ((y) << 16 | (x))
drivers/video/fbdev/tridentfb.c
329
u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop)
drivers/video/fbdev/tridentfb.c
335
writemmr(par, DST1, point(x, y));
drivers/video/fbdev/tridentfb.c
336
writemmr(par, DST2, point(x + w - 1, y + h - 1));
drivers/video/fbdev/tridentfb.c
340
u32 x, u32 y, u32 w, u32 h, u32 c, u32 b)
drivers/video/fbdev/tridentfb.c
348
writemmr(par, DST1, point(x, y));
drivers/video/fbdev/tridentfb.c
349
writemmr(par, DST2, point(x + w - 1, y + h - 1));
drivers/video/fbdev/tridentfb.c
431
u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop)
drivers/video/fbdev/tridentfb.c
437
writemmr(par, OLDDST, point(y, x));
drivers/video/fbdev/tridentfb.c
503
u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop)
drivers/video/fbdev/tridentfb.c
510
writemmr(par, DST1, point(x, y));
drivers/video/fbdev/tridentfb.c
511
writemmr(par, DST2, point(x + w - 1, y + h - 1));
drivers/video/fbdev/tridentfb.c
571
u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop)
drivers/video/fbdev/tridentfb.c
577
writemmr(par, OLDDST, point(x, y));
drivers/video/fbdev/tridentfb.c
764
int x, y, tmp;
drivers/video/fbdev/tridentfb.c
773
x = 1280; y = 1024;
drivers/video/fbdev/tridentfb.c
776
x = 1024; y = 768;
drivers/video/fbdev/tridentfb.c
779
x = 800; y = 600;
drivers/video/fbdev/tridentfb.c
783
x = 640; y = 480;
drivers/video/fbdev/tridentfb.c
787
output("%dx%d flat panel found\n", x, y);
drivers/video/fbdev/udlfb.c
1138
static void dlfb_ops_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height)
drivers/video/fbdev/udlfb.c
1142
dlfb_offload_damage(dlfb, x, y, width, height);
drivers/video/fbdev/udlfb.c
601
static int dlfb_handle_damage(struct dlfb_data *dlfb, int x, int y, int width, int height)
drivers/video/fbdev/udlfb.c
621
(y + height > dlfb->info->var.yres)) {
drivers/video/fbdev/udlfb.c
638
for (i = y; i < y + height ; i++) {
drivers/video/fbdev/udlfb.c
687
int x, x2, y, y2;
drivers/video/fbdev/udlfb.c
692
y = dlfb->damage_y;
drivers/video/fbdev/udlfb.c
697
if (x < x2 && y < y2)
drivers/video/fbdev/udlfb.c
698
dlfb_handle_damage(dlfb, x, y, x2 - x, y2 - y);
drivers/video/fbdev/udlfb.c
701
static void dlfb_offload_damage(struct dlfb_data *dlfb, int x, int y, int width, int height)
drivers/video/fbdev/udlfb.c
705
int y2 = y + height;
drivers/video/fbdev/udlfb.c
707
if (x >= x2 || y >= y2)
drivers/video/fbdev/udlfb.c
713
dlfb->damage_y = min(y, dlfb->damage_y);
drivers/video/fbdev/udlfb.c
854
if (area.y < 0)
drivers/video/fbdev/udlfb.c
855
area.y = 0;
drivers/video/fbdev/udlfb.c
857
if (area.y > info->var.yres)
drivers/video/fbdev/udlfb.c
858
area.y = info->var.yres;
drivers/video/fbdev/udlfb.c
860
dlfb_handle_damage(dlfb, area.x, area.y, area.w, area.h);
drivers/video/fbdev/vga16fb.c
1143
int y;
drivers/video/fbdev/vga16fb.c
1155
for (y = 0; y < image->height; y++, where += info->fix.line_length)
drivers/video/fbdev/vga16fb.c
1156
writew(transl_h[cdat[y]&0xF] | transl_l[cdat[y] >> 4], where);
drivers/video/fbdev/vga16fb.c
1171
int x, y;
drivers/video/fbdev/vga16fb.c
1189
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/vga16fb.c
1204
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/vga16fb.c
1239
int x, y;
drivers/video/fbdev/vga16fb.c
1249
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/vga16fb.c
878
int y;
drivers/video/fbdev/vga16fb.c
883
for (y = 0; y < rect->height; y++) {
drivers/video/fbdev/via/hw.h
326
#define CLE266_LCD_HOR_SCF_FORMULA(x, y) (((x-1)*1024)/(y-1))
drivers/video/fbdev/via/hw.h
328
#define CLE266_LCD_VER_SCF_FORMULA(x, y) (((x-1)*1024)/(y-1))
drivers/video/fbdev/via/hw.h
330
#define K800_LCD_HOR_SCF_FORMULA(x, y) (((x-1)*4096)/(y-1))
drivers/video/fbdev/via/hw.h
332
#define K800_LCD_VER_SCF_FORMULA(x, y) (((x-1)*2048)/(y-1))
drivers/video/fbdev/via/hw.h
44
#define IGA2_HOR_BLANK_END_SHADOW_FORMULA(x, y) (((x+y)/8)-1)
drivers/video/fbdev/via/hw.h
48
#define IGA2_VER_BLANK_END_SHADOW_FORMULA(x, y) ((x+y)-1)
drivers/video/fbdev/via/hw.h
50
#define IGA2_VER_SYNC_END_SHADOW_FORMULA(x, y) (x+y)
drivers/video/fbdev/via/hw.h
79
#define IGA1_FETCH_COUNT_FORMULA(x, y) \
drivers/video/fbdev/via/hw.h
80
(((x*y)/IGA1_FETCH_COUNT_ALIGN_BYTE) + IGA1_FETCH_COUNT_PATCH_VALUE)
drivers/video/fbdev/via/hw.h
86
#define IGA2_FETCH_COUNT_FORMULA(x, y) \
drivers/video/fbdev/via/hw.h
87
(((x*y)/IGA2_FETCH_COUNT_ALIGN_BYTE) + IGA2_FETCH_COUNT_PATCH_VALUE)
drivers/video/fbdev/via/ioctl.h
180
int y;
drivers/video/fbdev/via/lcd.c
11
#define viafb_compact_res(x, y) (((x)<<16)|(y))
drivers/video/fbdev/via/viafbdev.c
613
u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0;
drivers/video/fbdev/via/viafbdev.c
622
u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0;
drivers/video/fbdev/via/viafbdev.c
632
u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0;
drivers/video/fbdev/via/viafbdev.c
641
u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0;
drivers/video/fbdev/via/viafbdev.c
777
temp = (cursor->hot.x << 16) + cursor->hot.y;
drivers/video/fbdev/vt8623fb.c
150
int x, y;
drivers/video/fbdev/vt8623fb.c
156
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/vt8623fb.c
175
int x, y;
drivers/video/fbdev/vt8623fb.c
180
for (y = 0; y < rect->height; y++) {
drivers/video/fbdev/vt8623fb.c
206
int x, y;
drivers/video/fbdev/vt8623fb.c
212
for (y = 0; y < image->height; y++) {
drivers/video/fbdev/xen-fbfront.c
301
static void xenfb_defio_damage_area(struct fb_info *info, u32 x, u32 y,
drivers/video/fbdev/xen-fbfront.c
306
xenfb_refresh(xenfb_info, x, y, width, height);
drivers/video/fbdev/xen-fbfront.c
91
int x, int y, int w, int h)
drivers/video/fbdev/xen-fbfront.c
98
event.update.y = y;
drivers/video/hdmi.c
1445
hdmi_log("y[%d]: %d\n", i, frame->display_primaries[i].y);
drivers/video/hdmi.c
1449
hdmi_log("white point y: %d\n", frame->white_point.y);
drivers/video/hdmi.c
1826
frame->display_primaries[i].y = (y_msb << 8) | y_lsb;
drivers/video/hdmi.c
1830
frame->white_point.y = (ptr[17] << 8) | ptr[16];
drivers/video/hdmi.c
783
*ptr++ = frame->display_primaries[i].y;
drivers/video/hdmi.c
784
*ptr++ = frame->display_primaries[i].y >> 8;
drivers/video/hdmi.c
790
*ptr++ = frame->white_point.y;
drivers/video/hdmi.c
791
*ptr++ = frame->white_point.y >> 8;
drivers/video/sticore.c
158
sti_putc(struct sti_struct *sti, int c, int y, int x,
drivers/video/sticore.c
168
.dest_y = y * font->height,
drivers/virt/acrn/hypercall.h
12
#define _HC_ID(x, y) (((x) << 24) | (y))
drivers/watchdog/wdat_wdt.c
131
u32 flags, value, mask, x, y;
drivers/watchdog/wdat_wdt.c
167
ret = wdat_wdt_read(wdat, instr, &y);
drivers/watchdog/wdat_wdt.c
170
y = y & ~(mask << gas->bit_offset);
drivers/watchdog/wdat_wdt.c
171
x |= y;
drivers/watchdog/wdat_wdt.c
183
ret = wdat_wdt_read(wdat, instr, &y);
drivers/watchdog/wdat_wdt.c
186
y = y & ~(mask << gas->bit_offset);
drivers/watchdog/wdat_wdt.c
187
x |= y;
fs/btrfs/space-info.c
2002
static u64 calc_pct_ratio(u64 x, u64 y)
fs/btrfs/space-info.c
2006
if (!y)
fs/btrfs/space-info.c
2012
return div64_u64(x, y);
fs/btrfs/space-info.c
2015
y >>= 10;
fs/btrfs/space-info.c
2016
if (!y)
fs/btrfs/space-info.c
2017
y = 1;
fs/dlm/lowcomms.c
335
const struct sockaddr_storage *y)
fs/dlm/lowcomms.c
340
struct sockaddr_in *siny = (struct sockaddr_in *)y;
fs/dlm/lowcomms.c
349
struct sockaddr_in6 *siny = (struct sockaddr_in6 *)y;
fs/ext2/ext2.h
612
#define A(x,y) BUILD_BUG_ON(x != offsetof(struct ext2_super_block, y));
fs/ext4/hash.c
34
#define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
fs/ext4/hash.c
35
#define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z)))
fs/ext4/hash.c
36
#define H(x, y, z) ((x) ^ (y) ^ (z))
fs/fat/misc.c
188
#define IS_LEAP_YEAR(y) (!((y) & 3) && (y) != YEAR_2100)
fs/file.c
99
#define __const_min(x, y) ((x) < (y) ? (x) : (y))
fs/gfs2/dir.c
1270
unsigned int x, y;
fs/gfs2/dir.c
1280
for (x = 0, y = 1; x < entries; x++, y++) {
fs/gfs2/dir.c
1284
if (y < entries) {
fs/gfs2/dir.c
1285
dent_next = darr[y];
fs/gfs2/quota.c
1419
unsigned int y;
fs/gfs2/quota.c
1435
for (y = 0; y < sdp->sd_qc_per_block && slot < sdp->sd_quota_slots;
fs/gfs2/quota.c
1436
y++, slot++) {
fs/gfs2/rgrp.c
1205
unsigned int x, y;
fs/gfs2/rgrp.c
1218
for (y = length; y--;) {
fs/gfs2/rgrp.c
1219
bi = rgd->rd_bits + y;
fs/gfs2/rgrp.c
1223
if (gfs2_metatype_check(sdp, bi->bi_bh, y ? GFS2_METATYPE_RB :
fs/gfs2/super.c
222
s64 x, y;
fs/gfs2/super.c
235
y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent;
fs/gfs2/super.c
236
if (x >= y || x <= -y)
fs/gfs2/sys.c
624
unsigned int x, y;
fs/gfs2/sys.c
629
if (sscanf(buf, "%u %u", &x, &y) != 2 || !y)
fs/gfs2/sys.c
634
gt->gt_quota_scale_den = y;
fs/hpfs/hpfs_fn.h
44
#define CHKCOND(x,y) if (!(x)) printk y
fs/jfs/jfs_debug.h
102
#define HIGHWATERMARK(x,y) ((x) = max((x), (y)))
fs/jfs/jfs_debug.h
106
#define HIGHWATERMARK(x,y)
fs/namei.c
2343
#define HASH_MIX(x, y, a) \
fs/namei.c
2345
y ^= x, x = rol64(x,12),\
fs/namei.c
2346
x += y, y = rol64(y,45),\
fs/namei.c
2347
y *= 9 )
fs/namei.c
2354
static inline unsigned int fold_hash(unsigned long x, unsigned long y)
fs/namei.c
2356
y ^= x * GOLDEN_RATIO_64;
fs/namei.c
2357
y *= GOLDEN_RATIO_64;
fs/namei.c
2358
return y >> 32;
fs/namei.c
2373
#define HASH_MIX(x, y, a) \
fs/namei.c
2375
y ^= x, x = rol32(x, 7),\
fs/namei.c
2376
x += y, y = rol32(y,20),\
fs/namei.c
2377
y *= 9 )
fs/namei.c
2379
static inline unsigned int fold_hash(unsigned long x, unsigned long y)
fs/namei.c
2382
return __hash_32(y ^ __hash_32(x));
fs/namei.c
2396
unsigned long a, x = 0, y = (unsigned long)salt;
fs/namei.c
2404
HASH_MIX(x, y, a);
fs/namei.c
2410
return fold_hash(x, y);
fs/namei.c
2417
unsigned long a = 0, x = 0, y = (unsigned long)salt;
fs/namei.c
2425
HASH_MIX(x, y, a);
fs/namei.c
2435
return hashlen_create(fold_hash(x, y), len + find_zero(mask));
fs/namei.c
2453
unsigned long a, b, x, y = (unsigned long)nd->path.dentry;
fs/namei.c
2470
nd->last.hash = fold_hash(a, y);
fs/namei.c
2478
HASH_MIX(x, y, a);
fs/namei.c
2492
nd->last.hash = fold_hash(x, y);
fs/netfs/fscache_main.c
32
#define HASH_MIX(x, y, a) \
fs/netfs/fscache_main.c
34
y ^= x, x = rol32(x, 7),\
fs/netfs/fscache_main.c
35
x += y, y = rol32(y,20),\
fs/netfs/fscache_main.c
36
y *= 9 )
fs/netfs/fscache_main.c
38
static inline unsigned int fold_hash(unsigned long x, unsigned long y)
fs/netfs/fscache_main.c
41
return __hash_32(y ^ __hash_32(x));
fs/netfs/fscache_main.c
53
unsigned int a, x = 0, y = salt, n = len / sizeof(__le32);
fs/netfs/fscache_main.c
57
HASH_MIX(x, y, a);
fs/netfs/fscache_main.c
59
return fold_hash(x, y);
fs/nfs_common/nfsacl.c
271
cmp_acl_entry(const void *x, const void *y)
fs/nfs_common/nfsacl.c
273
const struct posix_acl_entry *a = x, *b = y;
fs/smb/common/cifs_md4.c
36
static inline u32 F(u32 x, u32 y, u32 z)
fs/smb/common/cifs_md4.c
38
return (x & y) | ((~x) & z);
fs/smb/common/cifs_md4.c
41
static inline u32 G(u32 x, u32 y, u32 z)
fs/smb/common/cifs_md4.c
43
return (x & y) | (x & z) | (y & z);
fs/smb/common/cifs_md4.c
46
static inline u32 H(u32 x, u32 y, u32 z)
fs/smb/common/cifs_md4.c
48
return x ^ y ^ z;
fs/ubifs/super.c
1202
long long x, y;
fs/ubifs/super.c
1504
y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes;
fs/ubifs/super.c
1510
y, y >> 20, c->log_lebs + c->max_bud_cnt);
fs/xfs/libxfs/xfs_attr_leaf.c
100
if (!ichdr->freemap[x].size || !ichdr->freemap[y].size)
fs/xfs/libxfs/xfs_attr_leaf.c
103
return ichdr->freemap[x].base < yend && xend > ichdr->freemap[y].base;
fs/xfs/libxfs/xfs_attr_leaf.c
92
unsigned int y)
fs/xfs/libxfs/xfs_attr_leaf.c
97
ichdr->freemap[y].base + ichdr->freemap[y].size;
fs/xfs/libxfs/xfs_bmap.c
2994
xfs_fsblock_t y)
fs/xfs/libxfs/xfs_bmap.c
3003
return xfs_rtb_to_rgno(mp, x) == xfs_rtb_to_rgno(mp, y) &&
fs/xfs/libxfs/xfs_bmap.c
3009
return XFS_FSB_TO_AGNO(mp, x) == XFS_FSB_TO_AGNO(mp, y) &&
fs/xfs/libxfs/xfs_btree.h
102
if (x < y)
fs/xfs/libxfs/xfs_btree.h
104
if (x == y)
fs/xfs/libxfs/xfs_btree.h
99
static inline enum xbtree_key_contig xbtree_key_contig(uint64_t x, uint64_t y)
fs/xfs/libxfs/xfs_rmap_btree.c
400
uint32_t y;
fs/xfs/libxfs/xfs_rmap_btree.c
405
y = be32_to_cpu(k2->rmap.rm_startblock);
fs/xfs/libxfs/xfs_rmap_btree.c
406
if (x < y)
fs/xfs/libxfs/xfs_rmap_btree.c
408
else if (x > y)
fs/xfs/libxfs/xfs_rmap_btree.c
430
uint32_t y;
fs/xfs/libxfs/xfs_rmap_btree.c
435
y = be32_to_cpu(r2->rmap.rm_startblock);
fs/xfs/libxfs/xfs_rmap_btree.c
436
if (x < y)
fs/xfs/libxfs/xfs_rmap_btree.c
438
else if (x > y)
fs/xfs/libxfs/xfs_rtrmap_btree.c
314
uint32_t y;
fs/xfs/libxfs/xfs_rtrmap_btree.c
319
y = be32_to_cpu(k2->rmap.rm_startblock);
fs/xfs/libxfs/xfs_rtrmap_btree.c
320
if (x < y)
fs/xfs/libxfs/xfs_rtrmap_btree.c
322
else if (x > y)
fs/xfs/libxfs/xfs_rtrmap_btree.c
344
uint32_t y;
fs/xfs/libxfs/xfs_rtrmap_btree.c
349
y = be32_to_cpu(r2->rmap.rm_startblock);
fs/xfs/libxfs/xfs_rtrmap_btree.c
350
if (x < y)
fs/xfs/libxfs/xfs_rtrmap_btree.c
352
else if (x > y)
fs/xfs/xfs_log.h
98
#define XFS_LSN_CMP(x,y) _lsn_cmp(x,y)
fs/xfs/xfs_platform.h
146
#define howmany(x, y) (((x)+((y)-1))/(y))
fs/xfs/xfs_platform.h
187
static inline uint64_t rounddown_64(uint64_t x, uint32_t y)
fs/xfs/xfs_platform.h
189
do_div(x, y);
fs/xfs/xfs_platform.h
190
return x * y;
fs/xfs/xfs_platform.h
193
static inline uint64_t roundup_64(uint64_t x, uint32_t y)
fs/xfs/xfs_platform.h
195
x += y - 1;
fs/xfs/xfs_platform.h
196
do_div(x, y);
fs/xfs/xfs_platform.h
197
return x * y;
fs/xfs/xfs_platform.h
200
static inline uint64_t howmany_64(uint64_t x, uint32_t y)
fs/xfs/xfs_platform.h
202
x += y - 1;
fs/xfs/xfs_platform.h
203
do_div(x, y);
fs/xfs/xfs_platform.h
207
static inline bool isaligned_64(uint64_t x, uint32_t y)
fs/xfs/xfs_platform.h
209
return do_div(x, y) == 0;
include/asm-generic/div64.h
148
uint64_t x, y;
include/asm-generic/div64.h
163
y = (uint64_t)m_lo * n_hi + (uint32_t)(x >> 32) + (bias ? m_hi : 0);
include/asm-generic/div64.h
164
x = (uint64_t)m_hi * n_hi + (uint32_t)(y >> 32);
include/asm-generic/div64.h
165
y = (uint64_t)m_hi * n_lo + (uint32_t)y;
include/asm-generic/div64.h
166
x += (uint32_t)(y >> 32);
include/crypto/arc4.h
17
u32 x, y;
include/crypto/aria.h
327
static inline u8 get_u8(u32 x, u32 y)
include/crypto/aria.h
329
return (x >> ((3 - y) * 8));
include/crypto/aria.h
434
static inline void aria_gsrk(u32 *rk, u32 *x, u32 *y, u32 n)
include/crypto/aria.h
440
((y[q % 4]) >> r) ^
include/crypto/aria.h
441
((y[(q + 3) % 4]) << (32 - r));
include/crypto/aria.h
443
((y[(q + 1) % 4]) >> r) ^
include/crypto/aria.h
444
((y[q % 4]) << (32 - r));
include/crypto/aria.h
446
((y[(q + 2) % 4]) >> r) ^
include/crypto/aria.h
447
((y[(q + 1) % 4]) << (32 - r));
include/crypto/aria.h
449
((y[(q + 3) % 4]) >> r) ^
include/crypto/aria.h
450
((y[(q + 2) % 4]) << (32 - r));
include/crypto/ecc_curve.h
18
u64 *y;
include/crypto/internal/ecc.h
305
const u64 *y, const struct ecc_point *q,
include/crypto/internal/ecc.h
43
#define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits }
include/drm/drm_crtc.h
1067
int y;
include/drm/drm_crtc.h
1216
uint32_t y;
include/drm/drm_crtc.h
489
int (*cursor_move)(struct drm_crtc *crtc, int x, int y);
include/drm/drm_crtc_helper.h
53
int x, int y,
include/drm/drm_fb_helper.h
257
void drm_fb_helper_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height);
include/drm/drm_fixed.h
215
s64 sum = DRM_FIXED_ONE, term, y = x;
include/drm/drm_fixed.h
219
y = -1 * x;
include/drm/drm_fixed.h
221
term = y;
include/drm/drm_fixed.h
226
term = drm_fixp_mul(term, div64_s64(y, count));
include/drm/drm_modeset_helper_vtables.h
207
struct drm_display_mode *adjusted_mode, int x, int y,
include/drm/drm_modeset_helper_vtables.h
248
int (*mode_set_base)(struct drm_crtc *crtc, int x, int y,
include/drm/drm_panic.h
73
unsigned int y, u32 color);
include/drm/drm_rect.h
101
static inline void drm_rect_init(struct drm_rect *r, int x, int y,
include/drm/drm_rect.h
105
r->y1 = y;
include/drm/drm_rect.h
107
r->y2 = y + height;
include/drm/drm_rect.h
156
static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y)
include/drm/drm_rect.h
158
drm_rect_translate(r, x - r->x1, y - r->y1);
include/drm/drm_rect.h
60
#define DRM_RECT_INIT(x, y, w, h) ((struct drm_rect){ \
include/drm/drm_rect.h
62
.y1 = (y), \
include/drm/drm_rect.h
64
.y2 = (y) + (h) })
include/drm/gud.h
157
__le32 y;
include/linux/acct.h
28
#define acct_collect(x,y) do { } while (0)
include/linux/ccp.h
532
struct scatterlist *y;
include/linux/compiler_types.h
82
# define __builtin_warning(x, y...) (1)
include/linux/console.h
88
void (*con_clear)(struct vc_data *vc, unsigned int y,
include/linux/console.h
90
void (*con_putc)(struct vc_data *vc, u16 ca, unsigned int y,
include/linux/console_struct.h
46
unsigned int x, y;
include/linux/device-mapper.h
675
#define DMEMIT_TARGET_NAME_VERSION(y) \
include/linux/device-mapper.h
677
(y)->name, (y)->version[0], (y)->version[1], (y)->version[2])
include/linux/device-mapper.h
716
#define dm_sector_div64(x, y)( \
include/linux/device-mapper.h
719
(x) = div64_u64_rem(x, y, &_res); \
include/linux/dmaengine.h
1626
#define dma_request_channel(mask, x, y) \
include/linux/dmaengine.h
1627
__dma_request_channel(&(mask), x, y, NULL)
include/linux/fb.h
150
DECLARE_BITMAP(y, FB_MAX_BLIT_HEIGHT);
include/linux/hdmi.h
209
u16 x, y;
include/linux/hdmi.h
212
u16 x, y;
include/linux/input/mt.h
121
s16 x, y;
include/linux/input/touch-overlay.h
15
void touch_overlay_get_touchscreen_abs(struct list_head *list, u16 *x, u16 *y);
include/linux/input/touchscreen.h
25
unsigned int x, unsigned int y);
include/linux/input/touchscreen.h
29
unsigned int x, unsigned int y,
include/linux/jbd2.h
1720
static inline int tid_gt(tid_t x, tid_t y)
include/linux/jbd2.h
1722
int difference = (x - y);
include/linux/jbd2.h
1726
static inline int tid_geq(tid_t x, tid_t y)
include/linux/jbd2.h
1728
int difference = (x - y);
include/linux/kconfig.h
20
#define __and(x, y) ___and(x, y)
include/linux/kconfig.h
21
#define ___and(x, y) ____and(__ARG_PLACEHOLDER_##x, y)
include/linux/kconfig.h
22
#define ____and(arg1_or_junk, y) __take_second_arg(arg1_or_junk y, 0)
include/linux/kconfig.h
24
#define __or(x, y) ___or(x, y)
include/linux/kconfig.h
25
#define ___or(x, y) ____or(__ARG_PLACEHOLDER_##x, y)
include/linux/kconfig.h
26
#define ____or(arg1_or_junk, y) __take_second_arg(arg1_or_junk 1, y)
include/linux/math.h
15
#define __round_mask(x, y) ((__typeof__(x))((y)-1))
include/linux/math.h
25
#define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
include/linux/math.h
35
#define round_down(x, y) ((x) & ~__round_mask(x, y))
include/linux/math.h
71
#define roundup(x, y) ( \
include/linux/math.h
73
typeof(y) __y = y; \
include/linux/math.h
85
#define rounddown(x, y) ( \
include/linux/math.h
88
__x - (__x % (y)); \
include/linux/math64.h
12
#define div64_long(x, y) div64_s64((x), (y))
include/linux/math64.h
13
#define div64_ul(x, y) div64_u64((x), (y))
include/linux/math64.h
426
static inline u64 roundup_u64(u64 x, u32 y)
include/linux/math64.h
428
return DIV_U64_ROUND_UP(x, y) * y;
include/linux/math64.h
86
#define div64_long(x, y) div_s64((x), (y))
include/linux/math64.h
87
#define div64_ul(x, y) div_u64((x), (y))
include/linux/mfd/palmas.h
638
#define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y)
include/linux/minmax.h
105
#define min(x, y) __careful_cmp(min, x, y)
include/linux/minmax.h
112
#define max(x, y) __careful_cmp(max, x, y)
include/linux/minmax.h
120
#define umin(x, y) \
include/linux/minmax.h
121
__careful_cmp(min, (x) + 0u + 0ul + 0ull, (y) + 0u + 0ul + 0ull)
include/linux/minmax.h
128
#define umax(x, y) \
include/linux/minmax.h
129
__careful_cmp(max, (x) + 0u + 0ul + 0ull, (y) + 0u + 0ul + 0ull)
include/linux/minmax.h
131
#define __careful_op3(op, x, y, z, ux, uy, uz) ({ \
include/linux/minmax.h
132
auto ux = (x); auto uy = (y); auto uz = (z); \
include/linux/minmax.h
134
#op"3("#x", "#y", "#z") signedness error"); \
include/linux/minmax.h
143
#define min3(x, y, z) \
include/linux/minmax.h
144
__careful_op3(min, x, y, z, __UNIQUE_ID(x_), __UNIQUE_ID(y_), __UNIQUE_ID(z_))
include/linux/minmax.h
152
#define max3(x, y, z) \
include/linux/minmax.h
153
__careful_op3(max, x, y, z, __UNIQUE_ID(x_), __UNIQUE_ID(y_), __UNIQUE_ID(z_))
include/linux/minmax.h
161
#define min_t(type, x, y) __cmp_once(min, type, x, y)
include/linux/minmax.h
169
#define max_t(type, x, y) __cmp_once(max, type, x, y)
include/linux/minmax.h
176
#define min_not_zero(x, y) ({ \
include/linux/minmax.h
178
typeof(y) __y = (y); \
include/linux/minmax.h
23
#define __typecheck(x, y) \
include/linux/minmax.h
24
(!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
include/linux/minmax.h
83
#define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y))
include/linux/minmax.h
85
#define __cmp_once_unique(op, type, x, y, ux, uy) \
include/linux/minmax.h
86
({ type ux = (x); type uy = (y); __cmp(op, ux, uy); })
include/linux/minmax.h
88
#define __cmp_once(op, type, x, y) \
include/linux/minmax.h
89
__cmp_once_unique(op, type, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
include/linux/minmax.h
91
#define __careful_cmp_once(op, x, y, ux, uy) ({ \
include/linux/minmax.h
92
auto ux = (x); auto uy = (y); \
include/linux/minmax.h
94
#op"("#x", "#y") signedness error"); \
include/linux/minmax.h
97
#define __careful_cmp(op, x, y) \
include/linux/minmax.h
98
__careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
include/linux/pgtable.h
2293
#define __pte_leaf_size(x,y) pte_leaf_size(y)
include/linux/raid/pq.h
179
# define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
include/linux/raid/pq.h
183
# define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
include/linux/signal.h
156
#define _sig_or(x,y) ((x) | (y))
include/linux/signal.h
159
#define _sig_and(x,y) ((x) & (y))
include/linux/signal.h
162
#define _sig_andn(x,y) ((x) & ~(y))
include/linux/soundwire/sdw_intel.h
138
#define SDW_SHIM2_PCMSYCHC(y) (0x14 + (0x4 * (y)))
include/linux/soundwire/sdw_intel.h
142
#define SDW_SHIM2_PCMSYCHM(y) (0x16 + (0x4 * (y)))
include/linux/soundwire/sdw_intel.h
68
#define SDW_SHIM_PCMSYCHM(x, y) (0x022 + (0x60 * (x)) + (0x2 * (y)))
include/linux/soundwire/sdw_intel.h
71
#define SDW_SHIM_PCMSYCHC(x, y) (0x042 + (0x60 * (x)) + (0x2 * (y)))
include/linux/unroll.h
13
#define __pick_unrolled(x, y) _Pragma(#x)
include/linux/unroll.h
15
#define __pick_unrolled(x, y) _Pragma(#y)
include/linux/vmstat.h
111
#define count_vm_numa_events(x, y) count_vm_events(x, y)
include/linux/vmstat.h
114
#define count_vm_numa_events(x, y) do { (void)(y); } while (0)
include/linux/vmstat.h
119
#define count_vm_tlb_events(x, y) count_vm_events(x, y)
include/linux/vmstat.h
122
#define count_vm_tlb_events(x, y) do { (void)(y); } while (0)
include/linux/wm97xx.h
167
int y;
include/math-emu/soft-fp.h
181
#define _FP_CLS_COMBINE(x,y) (((x) << 2) | (y))
include/media/drv-intf/saa7146.h
456
static inline void SAA7146_IER_DISABLE(struct saa7146_dev *x, unsigned y)
include/media/drv-intf/saa7146.h
460
saa7146_write(x, IER, saa7146_read(x, IER) & ~y);
include/media/drv-intf/saa7146.h
464
static inline void SAA7146_IER_ENABLE(struct saa7146_dev *x, unsigned y)
include/media/drv-intf/saa7146.h
468
saa7146_write(x, IER, saa7146_read(x, IER) | y);
include/media/drv-intf/saa7146.h
54
#define SAA7146_ISR_CLEAR(x,y) \
include/media/drv-intf/saa7146.h
55
saa7146_write(x, ISR, (y));
include/media/tpg/v4l2-tpg.h
245
u8 *basep[TPG_MAX_PLANES][2], int y, int x, const char *text);
include/rdma/uverbs_named_ioctl.h
15
#define _UVERBS_PASTE(x, y) x ## y
include/rdma/uverbs_named_ioctl.h
16
#define _UVERBS_NAME(x, y) _UVERBS_PASTE(x, y)
include/scsi/fc/fc_encaps.h
49
#define FC_XY(x, y) ((((x) & 0xff) << 8) | ((y) & 0xff))
include/scsi/fc/fc_encaps.h
50
#define FC_XYXY(x, y) ((FCIP_XY(x, y) << 16) | FCIP_XY(x, y))
include/scsi/fc/fc_encaps.h
51
#define FC_XYNN(x, y) (FCIP_XYXY(x, y) ^ 0xffff)
include/soc/tegra/bpmp-abi.h
2989
uint32_t y;
include/sound/hda-mlink.h
166
hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y,
include/sound/hda-mlink.h
49
int hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y,
include/trace/stages/init.h
2
#define __app__(x, y) str__##x##y
include/trace/stages/init.h
3
#define __app(x, y) __app__(x, y)
include/uapi/asm-generic/unistd.h
16
#define __SYSCALL(x, y)
include/uapi/drm/drm_mode.h
1035
__u16 x, y;
include/uapi/drm/drm_mode.h
1046
__u16 x, y;
include/uapi/drm/drm_mode.h
285
__u32 y; /**< y Position on the framebuffer */
include/uapi/drm/drm_mode.h
807
__s32 y;
include/uapi/drm/drm_mode.h
818
__s32 y;
include/uapi/drm/drm_sarea.h
67
unsigned int y;
include/uapi/drm/exynos_drm.h
292
__u32 y;
include/uapi/drm/radeon_drm.h
671
unsigned int x, y; /* Blit coordinates */
include/uapi/drm/virtgpu_drm.h
135
__u32 y;
include/uapi/drm/vmwgfx_drm.h
472
__s32 y;
include/uapi/linux/bpf.h
6129
#define __BPF_ENUM_FN(x, y) BPF_FUNC_ ## x = y,
include/uapi/linux/fb.h
379
__u16 x, y;
include/uapi/linux/joystick.h
111
__s32 y;
include/uapi/linux/omapfb.h
112
__u32 x, y;
include/uapi/linux/omapfb.h
121
__u32 x, y;
include/uapi/linux/omapfb.h
182
__u16 y;
include/uapi/linux/rkisp1-config.h
901
__u32 y[RKISP1_CIF_ISP_COMPAND_NUM_POINTS];
include/uapi/linux/soundcard.h
115
#define _SIO(x,y) ((int)(SIOC_VOID|(x<<8)|y))
include/uapi/linux/soundcard.h
116
#define _SIOR(x,y,t) ((int)(SIOC_OUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))
include/uapi/linux/soundcard.h
117
#define _SIOW(x,y,t) ((int)(SIOC_IN|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))
include/uapi/linux/soundcard.h
119
#define _SIOWR(x,y,t) ((int)(SIOC_INOUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))
include/uapi/linux/swab.h
136
static __always_inline unsigned long __swab(const unsigned long y)
include/uapi/linux/swab.h
139
return __swab64(y);
include/uapi/linux/swab.h
141
return __swab32(y);
include/uapi/linux/virtio_gpu.h
151
__le32 y;
include/uapi/linux/virtio_gpu.h
169
__le32 y;
include/uapi/linux/virtio_gpu.h
249
__le32 x, y, z;
include/video/omapfb_dss.h
701
u16 x, u16 y, u16 w, u16 h);
include/video/omapfb_dss.h
715
u16 x, u16 y, u16 w, u16 h);
include/video/pm3fb.h
1016
#define PM3FillFBSourceReadBufferOffset_YOffset(y) \
include/video/pm3fb.h
1017
(((y) & 0xffff) << 16)
include/video/pm3fb.h
1023
#define PM3FillGlyphPosition_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
1026
#define PM3FillRectanglePosition_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
231
#define PM3VideoOverlayOrigin_YORIGIN(y) (((y) & 0xfff) << 16)
include/video/pm3fb.h
550
#define PM3FBDestReadBufferOffset_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
610
#define PM3FBSourceReadBufferOffset_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
639
#define PM3FBWriteBufferOffset_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
959
#define PM3GlyphPosition_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
965
#define PM3RectanglePosition_YOffset(y) (((y) & 0xffff) << 16)
include/video/pm3fb.h
983
#define PM3Render2DGlyph_YOffset(y) (((y) & 0x1ff) << 23)
include/video/pm3fb.h
986
#define PM3RenderPatchOffset_YOffset(y) (((y) & 0xffff) << 16)
include/video/sticore.h
396
void sti_putc(struct sti_struct *sti, int c, int y, int x,
include/video/udlfb.h
15
int x, y;
include/xen/interface/io/displif.h
700
uint32_t y;
include/xen/interface/io/fbif.h
30
int32_t y; /* source y */
kernel/bpf/btf.c
5558
const struct btf_sec_info *y = b;
kernel/bpf/btf.c
5560
return (int)(x->off - y->off) ? : (int)(x->len - y->len);
kernel/bpf/core.c
1738
#define BPF_INSN_2_TBL(x, y) [BPF_##x | BPF_##y] = true
kernel/bpf/core.c
1739
#define BPF_INSN_3_TBL(x, y, z) [BPF_##x | BPF_##y | BPF_##z] = true
kernel/bpf/core.c
1777
#define BPF_INSN_2_LBL(x, y) [BPF_##x | BPF_##y] = &&x##_##y
kernel/bpf/core.c
1778
#define BPF_INSN_3_LBL(x, y, z) [BPF_##x | BPF_##y | BPF_##z] = &&x##_##y##_##z
kernel/sched/clock.c
253
static __always_inline u64 wrap_min(u64 x, u64 y)
kernel/sched/clock.c
255
return (s64)(x - y) < 0 ? x : y;
kernel/sched/clock.c
258
static __always_inline u64 wrap_max(u64 x, u64 y)
kernel/sched/clock.c
260
return (s64)(x - y) > 0 ? x : y;
kernel/sched/fair.c
11067
u64 x, y, tmp;
kernel/sched/fair.c
11124
y = SCHED_CAPACITY_SCALE - tmp;
kernel/sched/fair.c
11127
y *= llc_weight;
kernel/sched/fair.c
11128
do_div(y, SCHED_CAPACITY_SCALE);
kernel/sched/fair.c
11129
if ((int)y != sd_share->nr_idle_scan)
kernel/sched/fair.c
11130
WRITE_ONCE(sd_share->nr_idle_scan, (int)y);
lib/bch.c
1142
unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M];
lib/bch.c
1159
y = gf_sqr(bch, x)^x;
lib/bch.c
1161
r = a_log(bch, y);
lib/bch.c
1162
if (y && (r < m) && !xi[r]) {
lib/bch.c
1169
y ^= ak;
lib/crypto/aes.c
197
u32 y = w & 0x80808080;
lib/crypto/aes.c
200
return (x << 1) ^ (y >> 7) * 0x1b;
lib/crypto/aes.c
206
u32 y = w & 0x80808080;
lib/crypto/aes.c
210
return (x << 2) ^ (y >> 7) * 0x36 ^ (z >> 6) * 0x1b;
lib/crypto/aes.c
223
u32 y = mul_by_x(x) ^ ror32(x, 16);
lib/crypto/aes.c
225
return y ^ ror32(x ^ y, 8);
lib/crypto/aes.c
245
u32 y = mul_by_x2(x);
lib/crypto/aes.c
247
return mix_columns(x ^ y ^ ror32(y, 16));
lib/crypto/arc4.c
19
ctx->y = 0;
lib/crypto/arc4.c
41
u32 x, y, a, b;
lib/crypto/arc4.c
48
y = ctx->y;
lib/crypto/arc4.c
51
y = (y + a) & 0xff;
lib/crypto/arc4.c
52
b = S[y];
lib/crypto/arc4.c
55
S[y] = a;
lib/crypto/arc4.c
60
ty = (y + ta) & 0xff;
lib/crypto/arc4.c
65
y = ty;
lib/crypto/arc4.c
71
ctx->y = y;
lib/crypto/curve25519-hacl64.c
30
u64 y = b;
lib/crypto/curve25519-hacl64.c
31
u64 x_xor_y = x ^ y;
lib/crypto/curve25519-hacl64.c
32
u64 x_sub_y = x - y;
lib/crypto/curve25519-hacl64.c
33
u64 x_sub_y_xor_y = x_sub_y ^ y;
lib/crypto/md5.c
26
#define F1(x, y, z) (z ^ (x & (y ^ z)))
lib/crypto/md5.c
27
#define F2(x, y, z) F1(z, x, y)
lib/crypto/md5.c
28
#define F3(x, y, z) (x ^ y ^ z)
lib/crypto/md5.c
29
#define F4(x, y, z) (y ^ (x | ~z))
lib/crypto/md5.c
31
#define MD5STEP(f, w, x, y, z, in, s) \
lib/crypto/md5.c
32
(w += f(x, y, z) + in, w = rol32(w, s) + x)
lib/crypto/mldsa.c
360
static bool decode_hint_vector(u8 h[/* k * N */], int k, int omega, const u8 *y)
lib/crypto/mldsa.c
366
int count = y[omega + i]; /* num 1's in elems 0 through i */
lib/crypto/mldsa.c
373
if (prev >= y[index]) /* Coefficients out of order? */
lib/crypto/mldsa.c
375
prev = y[index];
lib/crypto/mldsa.c
376
h[i * N + y[index]] = 1;
lib/crypto/mldsa.c
379
return mem_is_zero(&y[index], omega - index);
lib/crypto/mpi/generic_mpih-add1.c
24
mpi_limb_t x, y, cy;
lib/crypto/mpi/generic_mpih-add1.c
38
y = s2_ptr[j];
lib/crypto/mpi/generic_mpih-add1.c
40
y += cy; /* add previous carry to one addend */
lib/crypto/mpi/generic_mpih-add1.c
41
cy = y < cy; /* get out carry from that addition */
lib/crypto/mpi/generic_mpih-add1.c
42
y += x; /* add other addend */
lib/crypto/mpi/generic_mpih-add1.c
43
cy += y < x; /* get out carry from that add, combine */
lib/crypto/mpi/generic_mpih-add1.c
44
res_ptr[j] = y;
lib/crypto/mpi/generic_mpih-sub1.c
23
mpi_limb_t x, y, cy;
lib/crypto/mpi/generic_mpih-sub1.c
37
y = s2_ptr[j];
lib/crypto/mpi/generic_mpih-sub1.c
39
y += cy; /* add previous carry to subtrahend */
lib/crypto/mpi/generic_mpih-sub1.c
40
cy = y < cy; /* get out carry from that addition */
lib/crypto/mpi/generic_mpih-sub1.c
41
y = x - y; /* main subtract */
lib/crypto/mpi/generic_mpih-sub1.c
42
cy += y > x; /* get out carry from the subtract, combine */
lib/crypto/mpi/generic_mpih-sub1.c
43
res_ptr[j] = y;
lib/crypto/sha256.c
57
#define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
lib/crypto/sha256.c
58
#define Maj(x, y, z) (((x) & (y)) | ((z) & ((x) | (y))))
lib/crypto/sha512.c
66
#define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
lib/crypto/sha512.c
67
#define Maj(x, y, z) (((x) & (y)) | ((z) & ((x) | (y))))
lib/crypto/sm3.c
57
#define FF1(x, y, z) (x ^ y ^ z)
lib/crypto/sm3.c
58
#define FF2(x, y, z) ((x & y) | (x & z) | (y & z))
lib/crypto/sm3.c
60
#define GG1(x, y, z) FF1(x, y, z)
lib/crypto/sm3.c
61
#define GG2(x, y, z) ((x & y) | (~x & z))
lib/crypto/x86/curve25519.h
26
u64 y = b;
lib/crypto/x86/curve25519.h
27
u64 x_xor_y = x ^ y;
lib/crypto/x86/curve25519.h
28
u64 x_sub_y = x - y;
lib/crypto/x86/curve25519.h
29
u64 x_sub_y_xor_y = x_sub_y ^ y;
lib/decompress_unxz.c
187
const uint8_t *y = b;
lib/decompress_unxz.c
191
if (x[i] != y[i])
lib/extable.c
29
struct exception_table_entry *x = a, *y = b, tmp;
lib/extable.c
33
x->insn = y->insn + delta;
lib/extable.c
34
y->insn = tmp.insn - delta;
lib/extable.c
37
swap_ex_entry_fixup(x, y, tmp, delta);
lib/extable.c
39
x->fixup = y->fixup + delta;
lib/extable.c
40
y->fixup = tmp.fixup - delta;
lib/extable.c
53
const struct exception_table_entry *x = a, *y = b;
lib/extable.c
56
if (ex_to_insn(x) > ex_to_insn(y))
lib/extable.c
58
if (ex_to_insn(x) < ex_to_insn(y))
lib/inflate.c
350
int y; /* number of dummy codes added */
lib/inflate.c
411
for (y = 1 << j; j < i; j++, y <<= 1)
lib/inflate.c
412
if ((y -= c[j]) < 0) {
lib/inflate.c
416
if ((y -= c[i]) < 0) {
lib/inflate.c
420
c[i] += y;
lib/inflate.c
558
ret = y != 0 && g != 1;
lib/kunit/kunit-example-test.c
557
static int __init init_add(int x, int y)
lib/kunit/kunit-example-test.c
559
return (x + y);
lib/locking-selftest.c
272
#define LOCK_UNLOCK_2(x,y) LOCK(x); LOCK(y); UNLOCK(y); UNLOCK(x)
lib/math/div64.c
205
u64 x, y, z;
lib/math/div64.c
209
y = mul_add(a, b >> 32, c >> 32);
lib/math/div64.c
210
y = add_u64_u32(y, x >> 32);
lib/math/div64.c
211
z = mul_add(a >> 32, b >> 32, y >> 32);
lib/math/div64.c
212
y = mul_add(a >> 32, b, y);
lib/math/div64.c
213
*p_lo = (y << 32) + (u32)x;
lib/math/div64.c
214
return add_u64_u32(z, y >> 32);
lib/math/int_sqrt.c
22
unsigned long b, m, y = 0;
lib/math/int_sqrt.c
29
b = y + m;
lib/math/int_sqrt.c
30
y >>= 1;
lib/math/int_sqrt.c
34
y += m;
lib/math/int_sqrt.c
39
return y;
lib/math/int_sqrt.c
51
u64 b, m, y = 0;
lib/math/int_sqrt.c
58
b = y + m;
lib/math/int_sqrt.c
59
y >>= 1;
lib/math/int_sqrt.c
63
y += m;
lib/math/int_sqrt.c
68
return y;
lib/math/prime_numbers.c
122
unsigned long sz, y;
lib/math/prime_numbers.c
155
for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1))
lib/math/prime_numbers.c
156
new->last = clear_multiples(y, new->primes, p->sz, sz);
lib/math/prime_numbers.c
80
unsigned long y = int_sqrt(x);
lib/math/prime_numbers.c
82
while (y > 1) {
lib/math/prime_numbers.c
83
if ((x % y) == 0)
lib/math/prime_numbers.c
85
y--;
lib/math/prime_numbers.c
88
return y == 1;
lib/raid6/algos.c
128
#define time_before(x, y) ((x) < (y))
lib/test_bitmap.c
160
#define expect_eq_uint(x, y) expect_eq_ulong((unsigned int)(x), (unsigned int)(y))
lib/tests/hashtable_test.c
188
struct hashtable_test_entry *x, *y;
lib/tests/hashtable_test.c
220
hash_for_each(hash, bkt, y, node) {
lib/tests/hashtable_test.c
221
KUNIT_ASSERT_GE_MSG(test, y->key, 0, "Unexpected key in hashtable.");
lib/tests/hashtable_test.c
222
KUNIT_ASSERT_LE_MSG(test, y->key, 1, "Unexpected key in hashtable.");
lib/tests/hashtable_test.c
223
buckets[y->key] = bkt;
lib/tests/hashtable_test.c
242
struct hashtable_test_entry *x, *y;
lib/tests/hashtable_test.c
278
hash_for_each(hash, bkt, y, node) {
lib/tests/hashtable_test.c
279
KUNIT_ASSERT_GE_MSG(test, y->key, 0, "Unexpected key in hashtable.");
lib/tests/hashtable_test.c
280
KUNIT_ASSERT_LE_MSG(test, y->key, 1, "Unexpected key in hashtable.");
lib/tests/hashtable_test.c
281
buckets[y->key] = bkt;
lib/tests/list-test.c
229
struct list_head a, b, c, d, x, y;
lib/tests/list-test.c
230
struct list_head *list1_values[] = { &x, &b, &c, &y };
lib/tests/list-test.c
238
list_add_tail(&y, &list1);
lib/tests/list-test.c
246
list_bulk_move_tail(&y, &b, &c);
lib/tests/test_bits.c
121
unsigned int x, y;
lib/tests/test_bits.c
127
KUNIT_EXPECT_EQ(test, 0, GENMASK_INPUT_CHECK(x, y));
lib/ts_bm.c
117
int x = i+g-1, y = j+g-1, ret = 0;
lib/ts_bm.c
119
while(pattern[x--] == pattern[y--]) {
lib/ts_bm.c
120
if (y < 0) {
mm/percpu.c
615
static inline bool pcpu_region_overlap(int a, int b, int x, int y)
mm/percpu.c
617
return (a < y) && (x < b);
mm/vmalloc.c
2574
#define VMAP_MIN(x, y) ((x) < (y) ? (x) : (y)) /* can't use min() */
mm/vmalloc.c
2575
#define VMAP_MAX(x, y) ((x) > (y) ? (x) : (y)) /* can't use max() */
net/batman-adv/main.h
315
#define batadv_seq_before(x, y) ({ \
net/batman-adv/main.h
317
typeof(y)_d2 = (y); \
net/batman-adv/main.h
341
#define batadv_seq_after(x, y) batadv_seq_before(y, x)
net/bluetooth/smp.c
314
const u8 x[16], const u8 y[16], u32 *val)
net/bluetooth/smp.c
321
SMP_DBG("x %16phN y %16phN", x, y);
net/bluetooth/smp.c
323
memcpy(m, y, 16);
net/bluetooth/smp.c
3685
const u8 y[16] = {
net/bluetooth/smp.c
3692
err = smp_g2(tfm_cmac, u, v, x, y, &val);
net/bluetooth/smp.h
112
__u8 y[32];
net/ceph/crush/hash.c
32
__u32 y = 1232;
net/ceph/crush/hash.c
34
crush_hashmix(y, a, hash);
net/ceph/crush/hash.c
42
__u32 y = 1232;
net/ceph/crush/hash.c
45
crush_hashmix(b, y, hash);
net/ceph/crush/hash.c
53
__u32 y = 1232;
net/ceph/crush/hash.c
56
crush_hashmix(y, a, hash);
net/ceph/crush/hash.c
58
crush_hashmix(y, c, hash);
net/ceph/crush/hash.c
66
__u32 y = 1232;
net/ceph/crush/hash.c
70
crush_hashmix(y, b, hash);
net/ceph/crush/hash.c
72
crush_hashmix(y, d, hash);
net/ceph/crush/hash.c
81
__u32 y = 1232;
net/ceph/crush/hash.c
85
crush_hashmix(y, a, hash);
net/ceph/crush/hash.c
87
crush_hashmix(y, c, hash);
net/ceph/crush/hash.c
89
crush_hashmix(y, e, hash);
net/ipv4/tcp_cdg.c
124
u32 y = v[i & -(msb & 1)] + U32_C(1);
net/ipv4/tcp_cdg.c
126
res = ((u64)res * y) >> 16;
net/mac80211/mesh_hwmp.c
371
static bool is_metric_better(u32 x, u32 y)
net/mac80211/mesh_hwmp.c
373
return (x < y) && (x < (y - x / 10));
net/mac80211/mesh_hwmp.c
70
#define SN_GT(x, y) ((s32)(y - x) < 0)
net/mac80211/mesh_hwmp.c
71
#define SN_LT(x, y) ((s32)(x - y) < 0)
net/mac80211/mesh_hwmp.c
74
static inline u32 SN_DELTA(u32 x, u32 y)
net/mac80211/mesh_hwmp.c
76
return x >= y ? x - y : y - x;
net/netfilter/ipset/ip_set_bitmap_ip.c
197
const struct bitmap_ip *y = b->data;
net/netfilter/ipset/ip_set_bitmap_ip.c
199
return x->first_ip == y->first_ip &&
net/netfilter/ipset/ip_set_bitmap_ip.c
200
x->last_ip == y->last_ip &&
net/netfilter/ipset/ip_set_bitmap_ip.c
201
x->netmask == y->netmask &&
net/netfilter/ipset/ip_set_bitmap_ipmac.c
284
const struct bitmap_ipmac *y = b->data;
net/netfilter/ipset/ip_set_bitmap_ipmac.c
286
return x->first_ip == y->first_ip &&
net/netfilter/ipset/ip_set_bitmap_ipmac.c
287
x->last_ip == y->last_ip &&
net/netfilter/ipset/ip_set_bitmap_port.c
213
const struct bitmap_port *y = b->data;
net/netfilter/ipset/ip_set_bitmap_port.c
215
return x->first_port == y->first_port &&
net/netfilter/ipset/ip_set_bitmap_port.c
216
x->last_port == y->last_port &&
net/netfilter/ipset/ip_set_hash_gen.h
469
const struct htype *y = b->data;
net/netfilter/ipset/ip_set_hash_gen.h
472
return x->maxelem == y->maxelem &&
net/netfilter/ipset/ip_set_hash_gen.h
475
nf_inet_addr_cmp(&x->bitmask, &y->bitmask) &&
net/netfilter/ipset/ip_set_hash_gen.h
478
x->markmask == y->markmask &&
net/netfilter/ipset/ip_set_list_set.c
536
const struct list_set *y = b->data;
net/netfilter/ipset/ip_set_list_set.c
538
return x->size == y->size &&
net/netfilter/xt_policy.c
38
#define MATCH_ADDR(x,y,z) (!e->match.x || \
net/netfilter/xt_policy.c
39
(xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \
net/netfilter/xt_policy.c
41
#define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x))
net/netrom/nr_route.c
81
static void re_sort_routes(struct nr_node *nr_node, int x, int y)
net/netrom/nr_route.c
83
if (nr_node->routes[y].quality > nr_node->routes[x].quality) {
net/netrom/nr_route.c
85
nr_node->which = y;
net/netrom/nr_route.c
86
else if (nr_node->which == y)
net/netrom/nr_route.c
89
swap(nr_node->routes[x], nr_node->routes[y]);
net/nfc/hci/llc_shdlc.c
109
static bool llc_shdlc_x_lt_y_lteq_z(int x, int y, int z)
net/nfc/hci/llc_shdlc.c
112
return ((x < y) && (y <= z)) ? true : false;
net/nfc/hci/llc_shdlc.c
114
return ((y > x) || (y <= z)) ? true : false;
net/nfc/hci/llc_shdlc.c
118
static bool llc_shdlc_x_lteq_y_lt_z(int x, int y, int z)
net/nfc/hci/llc_shdlc.c
121
return ((x <= y) && (y < z)) ? true : false;
net/nfc/hci/llc_shdlc.c
123
return ((y >= x) || (y < z)) ? true : false;
net/rds/threads.c
274
u64 x, y;
net/rds/threads.c
286
y = be64_to_cpu(*++a2);
net/rds/threads.c
287
if (x < y)
net/rds/threads.c
289
else if (x > y)
net/rxrpc/key.c
821
__be64 y = cpu_to_be64(x); \
net/rxrpc/key.c
822
memcpy(xdr, &y, 8); \
net/rxrpc/rxkad.c
350
u32 x, y = 0;
net/rxrpc/rxkad.c
386
y = ntohl(crypto.buf[1]);
net/rxrpc/rxkad.c
387
y = (y >> 16) & 0xffff;
net/rxrpc/rxkad.c
388
if (y == 0)
net/rxrpc/rxkad.c
389
y = 1; /* zero checksums are not permitted */
net/rxrpc/rxkad.c
390
txb->cksum = htons(y);
net/rxrpc/rxkad.c
422
_leave(" = %d [set %x]", ret, y);
net/rxrpc/rxkad.c
591
u32 x, y;
net/rxrpc/rxkad.c
621
y = ntohl(crypto.buf[1]);
net/rxrpc/rxkad.c
622
cksum = (y >> 16) & 0xffff;
net/sched/sch_hfsc.c
392
u64 y;
net/sched/sch_hfsc.c
399
y = (x >> SM_SHIFT) * sm + (((x & SM_MASK) * sm) >> SM_SHIFT);
net/sched/sch_hfsc.c
400
return y;
net/sched/sch_hfsc.c
404
seg_y2x(u64 y, u64 ism)
net/sched/sch_hfsc.c
408
if (y == 0)
net/sched/sch_hfsc.c
413
x = (y >> ISM_SHIFT) * ism
net/sched/sch_hfsc.c
414
+ (((y & ISM_MASK) * ism) >> ISM_SHIFT);
net/sched/sch_hfsc.c
496
rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y)
net/sched/sch_hfsc.c
499
rtsc->y = y;
net/sched/sch_hfsc.c
513
rtsc_y2x(struct runtime_sc *rtsc, u64 y)
net/sched/sch_hfsc.c
517
if (y < rtsc->y)
net/sched/sch_hfsc.c
519
else if (y <= rtsc->y + rtsc->dy) {
net/sched/sch_hfsc.c
524
x = rtsc->x + seg_y2x(y - rtsc->y, rtsc->ism1);
net/sched/sch_hfsc.c
528
+ seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2);
net/sched/sch_hfsc.c
536
u64 y;
net/sched/sch_hfsc.c
539
y = rtsc->y;
net/sched/sch_hfsc.c
542
y = rtsc->y + seg_x2y(x - rtsc->x, rtsc->sm1);
net/sched/sch_hfsc.c
545
y = rtsc->y + rtsc->dy
net/sched/sch_hfsc.c
547
return y;
net/sched/sch_hfsc.c
555
rtsc_min(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y)
net/sched/sch_hfsc.c
563
if (y1 < y)
net/sched/sch_hfsc.c
567
rtsc->y = y;
net/sched/sch_hfsc.c
578
if (y1 <= y) {
net/sched/sch_hfsc.c
584
if (y2 >= y + isc->dy) {
net/sched/sch_hfsc.c
587
rtsc->y = y;
net/sched/sch_hfsc.c
599
dx = (y1 - y) << SM_SHIFT;
net/sched/sch_hfsc.c
611
rtsc->y = y;
net/sched/sch_hfsc.c
96
u64 y; /* current starting position on y-axis */
net/wireless/reg.c
1503
unsigned int x, y;
net/wireless/reg.c
1522
for (y = 0; y < rd2->n_reg_rules; y++) {
net/wireless/reg.c
1523
rule2 = &rd2->reg_rules[y];
net/wireless/reg.c
1539
for (y = 0; y < rd2->n_reg_rules; y++) {
net/wireless/reg.c
1540
rule2 = &rd2->reg_rules[y];
samples/auxdisplay/cfag12864b-example.c
102
static unsigned char cfag12864b_isset(unsigned char x, unsigned char y)
samples/auxdisplay/cfag12864b-example.c
104
if (CFAG12864B_CHECK(x, y))
samples/auxdisplay/cfag12864b-example.c
105
if (cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] &
samples/auxdisplay/cfag12864b-example.c
115
static void cfag12864b_not(unsigned char x, unsigned char y)
samples/auxdisplay/cfag12864b-example.c
117
if (cfag12864b_isset(x, y))
samples/auxdisplay/cfag12864b-example.c
118
cfag12864b_unset(x, y);
samples/auxdisplay/cfag12864b-example.c
120
cfag12864b_set(x, y);
samples/auxdisplay/cfag12864b-example.c
28
#define CFAG12864B_ADDRESS(x, y) ((y) * CFAG12864B_WIDTH / \
samples/auxdisplay/cfag12864b-example.c
34
#define CFAG12864B_CHECK(x, y) ((x) < CFAG12864B_WIDTH && \
samples/auxdisplay/cfag12864b-example.c
35
(y) < CFAG12864B_HEIGHT)
samples/auxdisplay/cfag12864b-example.c
37
#define CFAG12864B_CHECK(x, y) (1)
samples/auxdisplay/cfag12864b-example.c
79
static void cfag12864b_set(unsigned char x, unsigned char y)
samples/auxdisplay/cfag12864b-example.c
81
if (CFAG12864B_CHECK(x, y))
samples/auxdisplay/cfag12864b-example.c
82
cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] |=
samples/auxdisplay/cfag12864b-example.c
89
static void cfag12864b_unset(unsigned char x, unsigned char y)
samples/auxdisplay/cfag12864b-example.c
91
if (CFAG12864B_CHECK(x, y))
samples/auxdisplay/cfag12864b-example.c
92
cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] &=
samples/hid/hid_mouse.bpf.c
10
s16 y;
samples/hid/hid_mouse.bpf.c
30
y = data[3] | (data[4] << 8);
samples/hid/hid_mouse.bpf.c
32
y = -y;
samples/hid/hid_mouse.bpf.c
34
data[3] = y & 0xFF;
samples/hid/hid_mouse.bpf.c
35
data[4] = (y >> 8) & 0xFF;
scripts/dtc/include-prefixes/arm64/apple/multi-die-cpp.h
15
#define __concat_1(x, y...) x ## y
scripts/dtc/include-prefixes/arm64/apple/multi-die-cpp.h
16
#define __concat(x, y...) __concat_1(x, y)
scripts/gcc-plugins/gcc-generate-gimple-pass.h
24
#define _GCC_PLUGIN_CONCAT2(x, y) x ## y
scripts/gcc-plugins/gcc-generate-gimple-pass.h
25
#define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z
scripts/gcc-plugins/gcc-generate-ipa-pass.h
32
#define _GCC_PLUGIN_CONCAT2(x, y) x ## y
scripts/gcc-plugins/gcc-generate-ipa-pass.h
33
#define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z
scripts/gcc-plugins/gcc-generate-rtl-pass.h
24
#define _GCC_PLUGIN_CONCAT2(x, y) x ## y
scripts/gcc-plugins/gcc-generate-rtl-pass.h
25
#define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z
scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
24
#define _GCC_PLUGIN_CONCAT2(x, y) x ## y
scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
25
#define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z
scripts/kconfig/gconf.c
756
gint ty = (gint) event->y;
scripts/kconfig/gconf.c
865
gint ty = (gint) event->y;
scripts/kconfig/lxdialog/checklist.c
107
int i, x, y, box_x, box_y;
scripts/kconfig/lxdialog/checklist.c
131
y = (getmaxy(stdscr) - height) / 2;
scripts/kconfig/lxdialog/checklist.c
133
draw_shadow(stdscr, y, x, height, width);
scripts/kconfig/lxdialog/checklist.c
135
dialog = newwin(height, width, y, x);
scripts/kconfig/lxdialog/checklist.c
157
list = subwin(dialog, list_height, list_width, y + box_y + 1,
scripts/kconfig/lxdialog/checklist.c
53
int y, int x, int height)
scripts/kconfig/lxdialog/checklist.c
55
wmove(win, y, x);
scripts/kconfig/lxdialog/checklist.c
69
y = y + height + 1;
scripts/kconfig/lxdialog/checklist.c
70
wmove(win, y, x);
scripts/kconfig/lxdialog/checklist.c
91
int y = height - 2;
scripts/kconfig/lxdialog/checklist.c
93
print_button(dialog, "Select", y, x, selected == 0);
scripts/kconfig/lxdialog/checklist.c
94
print_button(dialog, " Help ", y, x + 14, selected == 1);
scripts/kconfig/lxdialog/checklist.c
96
wmove(dialog, y, x + 1 + 14 * selected);
scripts/kconfig/lxdialog/dialog.h
181
void end_dialog(int x, int y);
scripts/kconfig/lxdialog/dialog.h
184
void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
scripts/kconfig/lxdialog/dialog.h
185
void print_button(WINDOW * win, const char *label, int y, int x, int selected);
scripts/kconfig/lxdialog/dialog.h
187
void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
scripts/kconfig/lxdialog/dialog.h
189
void draw_shadow(WINDOW * win, int y, int x, int height, int width);
scripts/kconfig/lxdialog/dialog.h
27
#define MIN(x,y) (x < y ? x : y)
scripts/kconfig/lxdialog/dialog.h
28
#define MAX(x,y) (x > y ? x : y)
scripts/kconfig/lxdialog/inputbox.c
19
int y = height - 2;
scripts/kconfig/lxdialog/inputbox.c
21
print_button(dialog, " Ok ", y, x, selected == 0);
scripts/kconfig/lxdialog/inputbox.c
22
print_button(dialog, " Help ", y, x + 14, selected == 1);
scripts/kconfig/lxdialog/inputbox.c
24
wmove(dialog, y, x + 1 + 14 * selected);
scripts/kconfig/lxdialog/inputbox.c
34
int i, x, y, box_y, box_x, box_width;
scripts/kconfig/lxdialog/inputbox.c
55
y = (getmaxy(stdscr) - height) / 2;
scripts/kconfig/lxdialog/inputbox.c
57
draw_shadow(stdscr, y, x, height, width);
scripts/kconfig/lxdialog/inputbox.c
59
dialog = newwin(height, width, y, x);
scripts/kconfig/lxdialog/inputbox.c
78
getyx(dialog, y, x);
scripts/kconfig/lxdialog/inputbox.c
79
box_y = y + 2;
scripts/kconfig/lxdialog/inputbox.c
81
draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2,
scripts/kconfig/lxdialog/menubox.c
111
y = y + height + 1;
scripts/kconfig/lxdialog/menubox.c
112
wmove(win, y, x);
scripts/kconfig/lxdialog/menubox.c
137
int y = height - 2;
scripts/kconfig/lxdialog/menubox.c
139
print_button(win, "Select", y, x, selected == 0);
scripts/kconfig/lxdialog/menubox.c
140
print_button(win, " Exit ", y, x + 12, selected == 1);
scripts/kconfig/lxdialog/menubox.c
141
print_button(win, " Help ", y, x + 24, selected == 2);
scripts/kconfig/lxdialog/menubox.c
142
print_button(win, " Save ", y, x + 36, selected == 3);
scripts/kconfig/lxdialog/menubox.c
143
print_button(win, " Load ", y, x + 48, selected == 4);
scripts/kconfig/lxdialog/menubox.c
145
wmove(win, y, x + 1 + 12 * selected);
scripts/kconfig/lxdialog/menubox.c
166
int i, j, x, y, box_x, box_y;
scripts/kconfig/lxdialog/menubox.c
186
y = (getmaxy(stdscr) - height) / 2;
scripts/kconfig/lxdialog/menubox.c
188
draw_shadow(stdscr, y, x, height, width);
scripts/kconfig/lxdialog/menubox.c
190
dialog = newwin(height, width, y, x);
scripts/kconfig/lxdialog/menubox.c
214
y + box_y + 1, x + box_x + 1);
scripts/kconfig/lxdialog/menubox.c
90
static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x,
scripts/kconfig/lxdialog/menubox.c
97
wmove(win, y, x);
scripts/kconfig/lxdialog/textbox.c
155
int i, x, y, cur_x, cur_y, key = 0;
scripts/kconfig/lxdialog/textbox.c
197
y = (getmaxy(stdscr) - height) / 2;
scripts/kconfig/lxdialog/textbox.c
199
draw_shadow(stdscr, y, x, height, width);
scripts/kconfig/lxdialog/textbox.c
201
dialog = newwin(height, width, y, x);
scripts/kconfig/lxdialog/textbox.c
207
box = subwin(dialog, boxh, boxw, y + 1, x + 1);
scripts/kconfig/lxdialog/util.c
314
void end_dialog(int x, int y)
scripts/kconfig/lxdialog/util.c
317
move(y, x);
scripts/kconfig/lxdialog/util.c
342
void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
scripts/kconfig/lxdialog/util.c
352
wmove(win, y, (width - prompt_len) / 2);
scripts/kconfig/lxdialog/util.c
356
cur_y = y;
scripts/kconfig/lxdialog/util.c
406
void print_button(WINDOW * win, const char *label, int y, int x, int selected)
scripts/kconfig/lxdialog/util.c
410
wmove(win, y, x);
scripts/kconfig/lxdialog/util.c
429
wmove(win, y, x + temp + 1);
scripts/kconfig/lxdialog/util.c
436
draw_box(WINDOW * win, int y, int x, int height, int width,
scripts/kconfig/lxdialog/util.c
443
wmove(win, y + i, x);
scripts/kconfig/lxdialog/util.c
470
void draw_shadow(WINDOW * win, int y, int x, int height, int width)
scripts/kconfig/lxdialog/util.c
476
wmove(win, y + height, x + 2);
scripts/kconfig/lxdialog/util.c
479
for (i = y + 1; i < y + height + 1; i++) {
scripts/kconfig/lxdialog/yesno.c
17
int y = height - 2;
scripts/kconfig/lxdialog/yesno.c
19
print_button(dialog, " Yes ", y, x, selected == 0);
scripts/kconfig/lxdialog/yesno.c
20
print_button(dialog, " No ", y, x + 13, selected == 1);
scripts/kconfig/lxdialog/yesno.c
22
wmove(dialog, y, x + 1 + 13 * selected);
scripts/kconfig/lxdialog/yesno.c
31
int i, x, y, key = 0, button = 0;
scripts/kconfig/lxdialog/yesno.c
42
y = (getmaxy(stdscr) - height) / 2;
scripts/kconfig/lxdialog/yesno.c
44
draw_shadow(stdscr, y, x, height, width);
scripts/kconfig/lxdialog/yesno.c
46
dialog = newwin(height, width, y, x);
scripts/kconfig/nconf.gui.c
121
void print_in_middle(WINDOW *win, int y, int width, const char *str, int attrs)
scripts/kconfig/nconf.gui.c
124
mvwprintw(win, y, (width - strlen(str)) / 2, "%s", str);
scripts/kconfig/nconf.gui.c
168
int x, y;
scripts/kconfig/nconf.gui.c
172
getmaxyx(win, y, x);
scripts/kconfig/nconf.gui.c
174
total_lines = min(total_lines, y);
scripts/kconfig/nconf.gui.c
205
int i, x, y;
scripts/kconfig/nconf.gui.c
229
y = (getmaxy(stdscr)-(msg_lines+4))/2;
scripts/kconfig/nconf.gui.c
239
win = newwin(win_rows, total_width+4, y, x);
scripts/kconfig/nconf.gui.c
326
int i, x, y, lines, columns, win_lines, win_cols;
scripts/kconfig/nconf.gui.c
356
y = (lines-win_lines)/2;
scripts/kconfig/nconf.gui.c
363
win = newwin(win_lines, win_cols, y, x);
scripts/kconfig/nconf.gui.c
523
int x, y, lines, columns;
scripts/kconfig/nconf.gui.c
561
y = (lines-win_lines)/2;
scripts/kconfig/nconf.gui.c
564
win = newwin(win_lines, win_cols, y, x);
scripts/kconfig/nconf.h
73
void print_in_middle(WINDOW *win, int y, int width, const char *str, int attrs);
scripts/kconfig/qconf.cc
1205
QVariant x, y;
scripts/kconfig/qconf.cc
1214
y = configSettings->value("/window y");
scripts/kconfig/qconf.cc
1215
if (x.isValid() && y.isValid())
scripts/kconfig/qconf.cc
1216
move(x.toInt(), y.toInt());
scripts/kconfig/qconf.cc
1230
configSettings->setValue("/window y", pos().y());
scripts/kconfig/qconf.cc
1264
QVariant x, y;
scripts/kconfig/qconf.cc
1279
y = configSettings->value("/window y");
scripts/kconfig/qconf.cc
1280
if ((x.isValid())&&(y.isValid()))
scripts/kconfig/qconf.cc
1281
move(x.toInt(), y.toInt());
scripts/kconfig/qconf.cc
1765
configSettings->setValue("/window y", pos().y());
scripts/mod/sumversion.c
54
static inline uint32_t F(uint32_t x, uint32_t y, uint32_t z)
scripts/mod/sumversion.c
56
return (x & y) | ((~x) & z);
scripts/mod/sumversion.c
59
static inline uint32_t G(uint32_t x, uint32_t y, uint32_t z)
scripts/mod/sumversion.c
61
return (x & y) | (x & z) | (y & z);
scripts/mod/sumversion.c
64
static inline uint32_t H(uint32_t x, uint32_t y, uint32_t z)
scripts/mod/sumversion.c
66
return x ^ y ^ z;
security/keys/keyring.c
153
static u64 mult_64x32_and_fold(u64 x, u32 y)
security/keys/keyring.c
155
u64 hi = (u64)(u32)(x >> 32) * y;
security/keys/keyring.c
156
u64 lo = (u64)(u32)(x) * y;
sound/hda/codecs/ca0132.c
5596
unsigned int y;
sound/hda/codecs/ca0132.c
5602
y = 2;
sound/hda/codecs/ca0132.c
5604
y = 1;
sound/hda/codecs/ca0132.c
5622
ca0132_effects[i].reqs[y],
sound/pci/au88x0/au8820.h
87
#define ADB_WTOUT(x,y) (y + OFFSET_WTOUT)
sound/pci/au88x0/au8830.h
121
#define ADB_WTOUT(x,y) (((x)==0)?((y) + OFFSET_WT0):((y) + OFFSET_WT1))
sound/pci/au88x0/au88x0.h
26
#define hwread(x,y) readl((x)+(y))
sound/pci/au88x0/au88x0.h
27
#define hwwrite(x,y,z) writel((z),(x)+(y))
sound/pci/au88x0/au88x0.h
37
#define SRC_RATIO(x,y) ((((x<<15)/y) + 1)/2)
sound/pci/au88x0/au88x0_wt.h
34
#define WT_PARM(x,y) (((WT_BAR(x))+ 0x80 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0200 */
sound/pci/au88x0/au88x0_wt.h
35
#define WT_DELAY(x,y) (((WT_BAR(x))+ 0x100 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0400 */
sound/pci/ctxfi/ctamixer.c
71
static int amixer_set_y(struct amixer *amixer, unsigned int y)
sound/pci/ctxfi/ctamixer.c
76
hw->amixer_set_y(amixer->rsc.ctrl_blk, y);
sound/pci/ctxfi/cthardware.h
141
int (*amixer_set_y)(void *blk, unsigned int y);
sound/pci/ctxfi/cthw20k1.c
624
static int amixer_set_y(void *blk, unsigned int y)
sound/pci/ctxfi/cthw20k1.c
628
set_field(&ctl->amoplo, AMOPLO_Y, y);
sound/pci/ctxfi/cthw20k2.c
626
static int amixer_set_y(void *blk, unsigned int y)
sound/pci/ctxfi/cthw20k2.c
630
set_field(&ctl->amoplo, AMOPLO_Y, y);
sound/pci/emu10k1/emufx.c
487
u32 op, u32 r, u32 a, u32 x, u32 y)
sound/pci/emu10k1/emufx.c
494
code[0] = ((x & 0x3ff) << 10) | (y & 0x3ff);
sound/pci/emu10k1/emufx.c
499
#define OP(icode, ptr, op, r, a, x, y) \
sound/pci/emu10k1/emufx.c
500
snd_emu10k1_write_op(icode, ptr, op, r, a, x, y)
sound/pci/emu10k1/emufx.c
504
u32 op, u32 r, u32 a, u32 x, u32 y)
sound/pci/emu10k1/emufx.c
511
code[0] = ((x & 0x7ff) << 12) | (y & 0x7ff);
sound/pci/emu10k1/emufx.c
516
#define A_OP(icode, ptr, op, r, a, x, y) \
sound/pci/emu10k1/emufx.c
517
snd_emu10k1_audigy_write_op(icode, ptr, op, r, a, x, y)
sound/pci/rme9652/rme9652.c
694
int x, y, ret;
sound/pci/rme9652/rme9652.c
699
y = 48000 * 64 / x;
sound/pci/rme9652/rme9652.c
701
y = 0;
sound/pci/rme9652/rme9652.c
703
if (y > 30400 && y < 33600) ret = 32000;
sound/pci/rme9652/rme9652.c
704
else if (y > 41900 && y < 46000) ret = 44100;
sound/pci/rme9652/rme9652.c
705
else if (y > 46000 && y < 50400) ret = 48000;
sound/pci/rme9652/rme9652.c
706
else if (y > 60800 && y < 67200) ret = 64000;
sound/pci/rme9652/rme9652.c
707
else if (y > 83700 && y < 92000) ret = 88200;
sound/pci/rme9652/rme9652.c
708
else if (y > 92000 && y < 100000) ret = 96000;
sound/ppc/snd_ps3_reg.h
59
#define PS3_AUDIO_AO_SPDCS(n, y) \
sound/ppc/snd_ps3_reg.h
60
(PS3_AUDIO_AO_SPD_REGBASE(n) + 0x34 + 0x04 * (y))
sound/soc/codecs/cs35l56-shared.c
893
u8 y;
sound/soc/codecs/cs35l56-shared.c
913
unique_id |= (u32)pte.x | ((u32)pte.y << 8) | ((u32)pte.wafer_id << 16) |
sound/soc/codecs/max98373-sdw.c
469
int x, y;
sound/soc/codecs/max98373-sdw.c
476
for (y = 0; y < ARRAY_SIZE(max98373_clk_family); y++)
sound/soc/codecs/max98373-sdw.c
477
if (clk_freq == (max98373_clk_family[y] >> x))
sound/soc/codecs/max98373-sdw.c
478
return (x << 3) + y;
sound/soc/intel/avs/registers.h
88
#define MTL_REG_HfFLGP(x, y) (MTL_HfFLV_BASE + 0x1200 + (x) * 0x20 + (y) * 0x08)
sound/soc/sof/intel/hda-mlink.c
80
#define AZX_REG_SDW_SHIM_PCMSyCM(y) (0x16 + 0x4 * (y))
sound/soc/sof/intel/hda-mlink.c
847
int hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y,
sound/soc/sof/intel/hda-mlink.c
862
AZX_REG_SDW_SHIM_PCMSyCM(y);
sound/usb/mixer_us16x08.h
34
#define MUA0(x, y) ((x)[(y) * 10 + 4])
sound/usb/mixer_us16x08.h
35
#define MUA1(x, y) ((x)[(y) * 10 + 5])
sound/usb/mixer_us16x08.h
36
#define MUA2(x, y) ((x)[(y) * 10 + 6])
sound/usb/mixer_us16x08.h
37
#define MUB0(x, y) ((x)[(y) * 10 + 7])
sound/usb/mixer_us16x08.h
38
#define MUB1(x, y) ((x)[(y) * 10 + 8])
sound/usb/mixer_us16x08.h
39
#define MUB2(x, y) ((x)[(y) * 10 + 9])
sound/usb/mixer_us16x08.h
40
#define MUC0(x, y) ((x)[(y) * 10 + 10])
sound/usb/mixer_us16x08.h
41
#define MUC1(x, y) ((x)[(y) * 10 + 11])
sound/usb/mixer_us16x08.h
42
#define MUC2(x, y) ((x)[(y) * 10 + 12])
sound/usb/mixer_us16x08.h
43
#define MUC3(x, y) ((x)[(y) * 10 + 13])
tools/arch/x86/intel_sdsi/intel_sdsi.c
29
#define min(x, y) ({ \
tools/arch/x86/intel_sdsi/intel_sdsi.c
31
typeof(y) _min2 = (y); \
tools/arch/x86/intel_sdsi/intel_sdsi.c
48
#define __round_mask(x, y) ((__typeof__(x))((y) - 1))
tools/arch/x86/intel_sdsi/intel_sdsi.c
49
#define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)
tools/iio/iio_utils.c
295
int x, y;
tools/iio/iio_utils.c
298
for (y = 0; y < (cnt - 1); y++)
tools/iio/iio_utils.c
299
if (ci_array[y].index > ci_array[y + 1].index) {
tools/iio/iio_utils.c
300
temp = ci_array[y + 1];
tools/iio/iio_utils.c
301
ci_array[y + 1] = ci_array[y];
tools/iio/iio_utils.c
302
ci_array[y] = temp;
tools/include/linux/kconfig.h
14
#define __and(x, y) ___and(x, y)
tools/include/linux/kconfig.h
15
#define ___and(x, y) ____and(__ARG_PLACEHOLDER_##x, y)
tools/include/linux/kconfig.h
16
#define ____and(arg1_or_junk, y) __take_second_arg(arg1_or_junk y, 0)
tools/include/linux/kconfig.h
18
#define __or(x, y) ___or(x, y)
tools/include/linux/kconfig.h
19
#define ___or(x, y) ____or(__ARG_PLACEHOLDER_##x, y)
tools/include/linux/kconfig.h
20
#define ____or(arg1_or_junk, y) __take_second_arg(arg1_or_junk 1, y)
tools/include/linux/kernel.h
30
#define max(x, y) ({ \
tools/include/linux/kernel.h
32
typeof(y) _max2 = (y); \
tools/include/linux/kernel.h
38
#define min(x, y) ({ \
tools/include/linux/kernel.h
40
typeof(y) _min2 = (y); \
tools/include/linux/kernel.h
45
#define max_t(type, x, y) max((type)x, (type)y)
tools/include/linux/kernel.h
46
#define min_t(type, x, y) min((type)x, (type)y)
tools/include/linux/math.h
10
#define __round_mask(x, y) ((__typeof__(x))((y)-1))
tools/include/linux/math.h
11
#define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
tools/include/linux/math.h
12
#define round_down(x, y) ((x) & ~__round_mask(x, y))
tools/include/linux/math.h
17
#define roundup(x, y) ( \
tools/include/linux/math.h
19
const typeof(y) __y = y; \
tools/include/uapi/asm-generic/unistd.h
16
#define __SYSCALL(x, y)
tools/include/uapi/linux/bpf.h
6129
#define __BPF_ENUM_FN(x, y) BPF_FUNC_ ## x = y,
tools/lib/bpf/libbpf_internal.h
104
# define min(x, y) ((x) < (y) ? (x) : (y))
tools/lib/bpf/libbpf_internal.h
107
# define max(x, y) ((x) < (y) ? (y) : (x))
tools/lib/bpf/libbpf_utils.c
167
#define Ch(x, y, z) (((x) & (y)) ^ (~(x) & (z)))
tools/lib/bpf/libbpf_utils.c
168
#define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z)))
tools/lib/perf/evlist.c
332
#define SID(e, x, y) xyarray__entry(e->sample_id, x, y)
tools/lib/perf/evlist.c
521
#define FD(e, x, y) (*(int *) xyarray__entry(e->fd, x, y))
tools/lib/perf/include/internal/xyarray.h
21
static inline void *__xyarray__entry(struct xyarray *xy, int x, int y)
tools/lib/perf/include/internal/xyarray.h
23
return &xy->contents[x * xy->row_size + y * xy->entry_size];
tools/lib/perf/include/internal/xyarray.h
26
static inline void *xyarray__entry(struct xyarray *xy, size_t x, size_t y)
tools/lib/perf/include/internal/xyarray.h
28
if (x >= xy->max_x || y >= xy->max_y)
tools/lib/perf/include/internal/xyarray.h
30
return __xyarray__entry(xy, x, y);
tools/mm/page-types.c
213
#define min_t(type, x, y) ({ \
tools/mm/page-types.c
215
type __min2 = (y); \
tools/mm/page-types.c
218
#define max_t(type, x, y) ({ \
tools/mm/page-types.c
220
type __max2 = (y); \
tools/perf/builtin-kmem.c
1494
double x, y;
tools/perf/builtin-kmem.c
1499
y = fragmentation(r->bytes_req, r->bytes_alloc);
tools/perf/builtin-kmem.c
1501
if (x < y)
tools/perf/builtin-kmem.c
1503
else if (x > y)
tools/perf/builtin-record.c
2018
for (int y = 0; y < xyarray__max_y(xy); y++) {
tools/perf/builtin-record.c
2021
if (perf_evsel__read(&evsel->core, x, y, &count) < 0) {
tools/perf/builtin-record.c
2030
x, y, count.lost, 0);
tools/perf/builtin-stat.c
269
#define SID(e, x, y) xyarray__entry(e->core.sample_id, x, y)
tools/perf/tests/builtin-test.c
442
for (int y = running_test; y < child_test_num; y++) {
tools/perf/tests/builtin-test.c
443
if (child_tests[y] == NULL)
tools/perf/tests/builtin-test.c
445
if (check_if_command_finished(&child_tests[y]->process) == 0)
tools/perf/ui/browser.c
199
browser->y = 1;
tools/perf/ui/browser.c
355
SLsmg_fill_region(browser->y + row + browser->extra_title_lines, browser->x,
tools/perf/ui/browser.c
47
void ui_browser__gotorc_title(struct ui_browser *browser, int y, int x)
tools/perf/ui/browser.c
49
SLsmg_gotorc(browser->y + y, browser->x + x);
tools/perf/ui/browser.c
52
void ui_browser__gotorc(struct ui_browser *browser, int y, int x)
tools/perf/ui/browser.c
54
SLsmg_gotorc(browser->y + y + browser->extra_title_lines, browser->x + x);
tools/perf/ui/browser.h
20
u16 y, x, width, height, rows, columns, horiz_scroll;
tools/perf/ui/browser.h
44
void ui_browser__gotorc_title(struct ui_browser *browser, int y, int x);
tools/perf/ui/browser.h
45
void ui_browser__gotorc(struct ui_browser *browser, int y, int x);
tools/perf/ui/tui/progress.c
31
int bar, y;
tools/perf/ui/tui/progress.c
49
y = SLtt_Screen_Rows / 2 - 2;
tools/perf/ui/tui/progress.c
51
SLsmg_draw_box(y, 0, 3, SLtt_Screen_Cols);
tools/perf/ui/tui/progress.c
52
SLsmg_gotorc(y++, 1);
tools/perf/ui/tui/progress.c
54
SLsmg_fill_region(y, 1, 1, SLtt_Screen_Cols - 2, ' ');
tools/perf/ui/tui/progress.c
57
SLsmg_fill_region(y, 1, 1, bar, ' ');
tools/perf/ui/tui/progress.c
64
int y;
tools/perf/ui/tui/progress.c
71
y = SLtt_Screen_Rows / 2 - 2;
tools/perf/ui/tui/progress.c
73
SLsmg_fill_region(y, 0, 3, SLtt_Screen_Cols, ' ');
tools/perf/ui/tui/util.c
102
y = SLtt_Screen_Rows / 2 - nr_lines / 2;
tools/perf/ui/tui/util.c
106
SLsmg_draw_box(y, x++, nr_lines, max_len);
tools/perf/ui/tui/util.c
108
SLsmg_gotorc(y, x + 1);
tools/perf/ui/tui/util.c
111
SLsmg_gotorc(++y, x);
tools/perf/ui/tui/util.c
114
SLsmg_write_wrapped_string((unsigned char *)text, y, x,
tools/perf/ui/tui/util.c
116
y += nr_lines;
tools/perf/ui/tui/util.c
119
SLsmg_gotorc(y + len - 1, x);
tools/perf/ui/tui/util.c
122
SLsmg_draw_box(y++, x + 1, 3, max_len - 2);
tools/perf/ui/tui/util.c
124
SLsmg_gotorc(y + 3, x);
tools/perf/ui/tui/util.c
141
SLsmg_gotorc(y, x + --len);
tools/perf/ui/tui/util.c
145
SLsmg_gotorc(y, x + len++);
tools/perf/ui/tui/util.c
169
int x, y;
tools/perf/ui/tui/util.c
193
y = SLtt_Screen_Rows / 2 - nr_lines / 2,
tools/perf/ui/tui/util.c
197
SLsmg_draw_box(y, x++, nr_lines, max_len);
tools/perf/ui/tui/util.c
199
SLsmg_gotorc(y, x + 1);
tools/perf/ui/tui/util.c
202
SLsmg_gotorc(++y, x);
tools/perf/ui/tui/util.c
206
SLsmg_write_wrapped_string((unsigned char *)text, y, x,
tools/perf/ui/tui/util.c
209
SLsmg_gotorc(y + nr_lines - 2, x);
tools/perf/ui/tui/util.c
211
SLsmg_gotorc(y + nr_lines - 1, x);
tools/perf/ui/tui/util.c
78
int x, y, len, key;
tools/perf/util/bpf-filter.c
289
int x, y, fd;
tools/perf/util/bpf-filter.c
299
for (y = 0; y < xyarray__max_y(evsel->core.fd); y++) {
tools/perf/util/bpf-filter.c
300
int ret = ioctl(FD(evsel, x, y), PERF_EVENT_IOC_ID, &id);
tools/perf/util/bpf-filter.c
449
int i, x, y, fd, ret;
tools/perf/util/bpf-filter.c
497
for (y = 0; y < xyarray__max_y(evsel->core.fd); y++) {
tools/perf/util/bpf-filter.c
498
ret = ioctl(FD(evsel, x, y), PERF_EVENT_IOC_SET_BPF, fd);
tools/perf/util/bpf-filter.c
531
for (y = 0; y < xyarray__max_y(evsel->core.fd); y++) {
tools/perf/util/bpf-filter.c
532
link = bpf_program__attach_perf_event_opts(prog, FD(evsel, x, y),
tools/perf/util/bpf-filter.c
68
#define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
tools/perf/util/evlist.c
73
#define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
tools/perf/util/evlist.c
74
#define SID(e, x, y) xyarray__entry(e->core.sample_id, x, y)
tools/perf/util/evsel.c
254
#define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
tools/perf/util/hwmon_pmu.c
756
#define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
tools/perf/util/tool_pmu.c
220
#define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
tools/power/cpupower/utils/helpers/bitmask.c
12
#define howmany(x, y) (((x)+((y)-1))/(y))
tools/testing/radix-tree/maple.c
24
#define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); }
tools/testing/scatterlist/linux/mm.h
55
#define __min(t1, t2, min1, min2, x, y) ({ \
tools/testing/scatterlist/linux/mm.h
57
t2 min2 = (y); \
tools/testing/scatterlist/linux/mm.h
66
#define min(x, y) \
tools/testing/scatterlist/linux/mm.h
67
__min(typeof(x), typeof(y), \
tools/testing/scatterlist/linux/mm.h
69
x, y)
tools/testing/scatterlist/linux/mm.h
71
#define min_t(type, x, y) \
tools/testing/scatterlist/linux/mm.h
74
x, y)
tools/testing/selftests/arm64/mte/mte_def.h
50
#define MT_SET_TAG(x, y) ((x) | (y << MT_TAG_SHIFT))
tools/testing/selftests/arm64/mte/mte_def.h
55
#define MT_SET_ATAG(x, y) ((x) | (((y) & MT_ATAG_MASK) << MT_ATAG_SHIFT))
tools/testing/selftests/bpf/bpf_arena_alloc.h
10
#define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
tools/testing/selftests/bpf/bpf_arena_alloc.h
7
#define __round_mask(x, y) ((__typeof__(x))((y)-1))
tools/testing/selftests/bpf/prog_tests/core_reloc.c
165
.h = { .y = 8 }, \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1236
static bool assert_range_eq(enum num_t t, struct range x, struct range y,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1241
if (range_eq(x, y))
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1247
snprintf_range(t, sb, y);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1302
struct range x, struct range y, enum op op,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1309
const u64 C = y.a;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1310
const u64 D = y.b;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1422
struct range y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1431
snprintf_range(t->init_t, sb, t->y);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1440
struct range x, struct range y, enum op op)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1458
sim_case(init_t, cond_t, x, y, op, &fe1, &fe2, &te1, &te2, &branch_taken);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1460
err = load_range_cmp_prog(x, y, op, branch_taken, spec,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1506
struct range x, struct range y, bool is_subtest)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1514
.y = y,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1529
err = verify_case_op(init_t, cond_t, x, y, sub.op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1560
struct range x, struct range y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1562
return verify_case_opt(ctx, init_t, cond_t, x, y, true /* is_subtest */);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
2009
u64 x = rand_const(t), y = rand_const(t);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
2011
return range(t, min_t(t, x, y), max_t(t, x, y));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
2196
verify_case(&ctx, c->init_t, c->cond_t, c->x, c->y);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
2197
verify_case(&ctx, c->init_t, c->cond_t, c->y, c->x);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
274
static __always_inline u64 swap_low32(u64 x, u32 y) { return (x & 0xffffffff00000000ULL) | y; }
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
276
static bool range_eq(struct range x, struct range y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
278
return x.a == y.a && x.b == y.b;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
434
static struct range range_union(enum num_t t, struct range x, struct range y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
437
return y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
438
if (!is_valid_range(t, y))
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
440
return range(t, min_t(t, x.a, y.a), max_t(t, x.b, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
457
enum num_t y_t, struct range y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
473
y_pos = range_intersection(y_t, y, range(x_t, 0, smax));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
474
y_neg = range_intersection(y_t, y, range(y_t, smin, neg_one));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
481
static struct range range_refine(enum num_t x_t, struct range x, enum num_t y_t, struct range y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
486
x = range_refine_in_halves(x_t, x, y_t, y);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
488
y_cast = range_cast(y_t, x_t, y);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
563
static bool range_canbe_op(enum num_t t, struct range x, struct range y, enum op op)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
567
case OP_LT: return (T)x.a < (T)y.b; \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
568
case OP_LE: return (T)x.a <= (T)y.b; \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
569
case OP_GT: return (T)x.b > (T)y.a; \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
570
case OP_GE: return (T)x.b >= (T)y.a; \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
571
case OP_EQ: return (T)max_t(t, x.a, y.a) <= (T)min_t(t, x.b, y.b); \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
572
case OP_NE: return !((T)x.a == (T)x.b && (T)y.a == (T)y.b && (T)x.a == (T)y.a); \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
592
static bool range_always_op(enum num_t t, struct range x, struct range y, enum op op)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
595
return !range_canbe_op(t, x, y, complement_op(op));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
603
static bool range_never_op(enum num_t t, struct range x, struct range y, enum op op)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
605
return !range_canbe_op(t, x, y, op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
613
static int range_branch_taken_op(enum num_t t, struct range x, struct range y, enum op op)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
615
if (range_always_op(t, x, y, op))
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
617
if (range_never_op(t, x, y, op))
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
629
static void range_cond(enum num_t t, struct range x, struct range y,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
632
if (!range_canbe_op(t, x, y, op)) {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
635
*newy = y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
640
*newx = range(t, x.a, min_t(t, x.b, y.b - 1));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
641
*newy = range(t, max_t(t, x.a + 1, y.a), y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
644
*newx = range(t, x.a, min_t(t, x.b, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
645
*newy = range(t, max_t(t, x.a, y.a), y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
648
*newx = range(t, max_t(t, x.a, y.a + 1), x.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
649
*newy = range(t, y.a, min_t(t, x.b - 1, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
652
*newx = range(t, max_t(t, x.a, y.a), x.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
653
*newy = range(t, y.a, min_t(t, x.b, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
656
*newx = range(t, max_t(t, x.a, y.a), min_t(t, x.b, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
657
*newy = range(t, max_t(t, x.a, y.a), min_t(t, x.b, y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
661
if (x.a == x.b && x.a == y.a) {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
664
*newy = range(t, y.a + 1, y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
665
} else if (x.a == x.b && x.b == y.b) {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
668
*newy = range(t, y.a, y.b - 1);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
669
} else if (y.a == y.b && x.a == y.a) {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
67
static __always_inline u64 min_t(enum num_t t, u64 x, u64 y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
672
*newy = range(t, y.a, y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
673
} else if (y.a == y.b && x.b == y.b) {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
676
*newy = range(t, y.a, y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
680
*newy = range(t, y.a, y.b);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
70
case U64: return (u64)x < (u64)y ? (u64)x : (u64)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
71
case U32: return (u32)x < (u32)y ? (u32)x : (u32)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
72
case S64: return (s64)x < (s64)y ? (s64)x : (s64)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
73
case S32: return (s32)x < (s32)y ? (s32)x : (s32)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
78
static __always_inline u64 max_t(enum num_t t, u64 x, u64 y)
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
780
static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
785
struct reg_state xx = *x, yy = *y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
804
z2 = y->r[t];
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
81
case U64: return (u64)x > (u64)y ? (u64)x : (u64)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
82
case U32: return (u32)x > (u32)y ? (u32)x : (u32)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
824
static int reg_state_branch_taken_op(enum num_t t, struct reg_state *x, struct reg_state *y,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
83
case S64: return (s64)x > (s64)y ? (s64)x : (s64)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
833
br_u = range_branch_taken_op(tu, x->r[tu], y->r[tu], op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
834
br_s = range_branch_taken_op(ts, x->r[ts], y->r[ts], op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
84
case S32: return (s32)x > (s32)y ? (u32)(s32)x : (u32)(s32)y;
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
843
br = range_branch_taken_op(U32, x->r[U32], y->r[U32], op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
855
br = range_branch_taken_op(S32, x->r[S32], y->r[S32], op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
864
return range_branch_taken_op(t, x->r[t], y->r[t], op);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
891
static int load_range_cmp_prog(struct range x, struct range y, enum op op,
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
970
emit(BPF_MOV32_IMM(BPF_REG_1, (s32)y.a));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
971
emit(BPF_MOV32_IMM(BPF_REG_2, (s32)y.b));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
977
emit(BPF_LD_IMM64(BPF_REG_1, y.a));
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
978
emit(BPF_LD_IMM64(BPF_REG_2, y.b));
tools/testing/selftests/bpf/prog_tests/task_local_data.h
68
#define TLD_ROUND_MASK(x, y) ((__typeof__(x))((y) - 1))
tools/testing/selftests/bpf/prog_tests/task_local_data.h
69
#define TLD_ROUND_UP(x, y) ((((x) - 1) | TLD_ROUND_MASK(x, y)) + 1)
tools/testing/selftests/bpf/prog_tests/usdt.c
185
ASSERT_EQ(bss->usdt12_args[11], t1.y, "usdt12_arg12");
tools/testing/selftests/bpf/prog_tests/usdt.c
19
signed char y;
tools/testing/selftests/bpf/prog_tests/usdt.c
29
long y = 42;
tools/testing/selftests/bpf/prog_tests/usdt.c
34
STAP_PROBE3(test, usdt3, x, y, &bla);
tools/testing/selftests/bpf/prog_tests/usdt.c
37
x, x + 1, y, x + y, 5,
tools/testing/selftests/bpf/prog_tests/usdt.c
38
y / 7, bla, &bla, -9, nums[x],
tools/testing/selftests/bpf/prog_tests/usdt.c
39
nums[idx], t1.y);
tools/testing/selftests/bpf/progs/bpf_dctcp.c
16
#define min_not_zero(x, y) ({ \
tools/testing/selftests/bpf/progs/bpf_dctcp.c
18
typeof(y) __y = (y); \
tools/testing/selftests/bpf/progs/btf__core_reloc_size___err_ambiguous.c
4
struct core_reloc_size___err_ambiguous2 y) {}
tools/testing/selftests/bpf/progs/btf_dump_test_case_namespacing.c
65
union Y y;
tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c
149
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
1003
typedef struct { int z, x, y; } anon_struct_typedef___diff;
tools/testing/selftests/bpf/progs/core_reloc_types.h
1045
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
1097
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
548
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
553
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
576
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
828
struct { int x; int y; int z; } struct_field;
tools/testing/selftests/bpf/progs/core_reloc_types.h
927
volatile long y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
931
int y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
937
typedef struct { int x, y, z; } anon_struct_typedef;
tools/testing/selftests/bpf/progs/core_reloc_types.h
993
volatile long y;
tools/testing/selftests/bpf/progs/core_reloc_types.h
998
int y;
tools/testing/selftests/bpf/progs/dynptr_success.c
859
#define min_t(type, x, y) ({ \
tools/testing/selftests/bpf/progs/dynptr_success.c
861
type __y = (y); \
tools/testing/selftests/bpf/progs/err.h
10
#define set_if_not_errno_or_zero(x, y) \
tools/testing/selftests/bpf/progs/err.h
14
"%0 = " __STR(y) "\n" \
tools/testing/selftests/bpf/progs/task_local_data.bpf.h
60
#define TLD_ROUND_MASK(x, y) ((__typeof__(x))((y) - 1))
tools/testing/selftests/bpf/progs/task_local_data.bpf.h
61
#define TLD_ROUND_UP(x, y) ((((x) - 1) | TLD_ROUND_MASK(x, y)) + 1)
tools/testing/selftests/bpf/progs/test_core_reloc_mods.c
26
int y;
tools/testing/selftests/bpf/progs/test_core_reloc_mods.c
31
int y;
tools/testing/selftests/bpf/progs/test_core_reloc_mods.c
69
CORE_READ(&out->h, &in->h.y))
tools/testing/selftests/bpf/progs/test_core_reloc_type_based.c
27
volatile long y;
tools/testing/selftests/bpf/progs/test_core_reloc_type_based.c
31
int y;
tools/testing/selftests/bpf/progs/test_core_reloc_type_based.c
37
typedef struct { int x, y, z; } anon_struct_typedef;
tools/testing/selftests/bpf/progs/test_core_reloc_type_id.c
24
int y;
tools/testing/selftests/bpf/progs/test_global_func10.c
17
long y;
tools/testing/selftests/bpf/progs/test_global_func10.c
25
return bpf_get_prandom_u32() < big->y;
tools/testing/selftests/bpf/progs/test_global_func9.c
13
int y;
tools/testing/selftests/bpf/progs/test_global_func9.c
97
const struct C c = {.x = skb->len, .y = skb->family };
tools/testing/selftests/bpf/progs/test_skeleton.c
58
struct my_value { int x, y, z; };
tools/testing/selftests/bpf/progs/test_subprogs.c
24
__noinline int sub2(int y)
tools/testing/selftests/bpf/progs/test_subprogs.c
26
return sub5(y + 2);
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c
166
int y = 74;
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c
168
return subprog_nonnull_ptr_good(&x, &y);
tools/testing/selftests/kvm/include/x86/apic.h
32
#define SET_APIC_PRI(x, y) (((x) & ~GENMASK(7, 4)) | (y << 4))
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
34
#define EX_TABLE(x, y) \
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
36
.8byte x, y; \
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
43
#define ALT_FTR_SECTION_END(x, y) .endif
tools/testing/selftests/powerpc/math/mma.c
19
uint16_t y[] = {1, 0, 2, 0, 3, 0, 4, 0};
tools/testing/selftests/powerpc/math/mma.c
29
test_mma(&x, &y, &z);
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.h
53
#define EV_CODE_EXTRACT(x, y) \
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.h
54
((x >> ev_shift_##y) & ev_mask_##y)
tools/testing/selftests/powerpc/stringloops/memcmp.c
44
int x, y;
tools/testing/selftests/powerpc/stringloops/memcmp.c
47
y = memcmp(s1+offset, s2+offset, size);
tools/testing/selftests/powerpc/stringloops/memcmp.c
50
if (((x ^ y) < 0) && /* Trick to compare sign */
tools/testing/selftests/powerpc/stringloops/memcmp.c
51
((x | y) != 0)) { /* check for zero */
tools/testing/selftests/powerpc/stringloops/memcmp.c
52
printf("memcmp returned %d, should have returned %d (offset %ld size %ld)\n", x, y, offset, size);
tools/testing/selftests/powerpc/stringloops/strlen.c
20
int x, y;
tools/testing/selftests/powerpc/stringloops/strlen.c
23
y = strlen(s + offset);
tools/testing/selftests/powerpc/stringloops/strlen.c
26
if (x != y) {
tools/testing/selftests/powerpc/stringloops/strlen.c
27
printf("strlen() returned %d, should have returned %d (%p offset %ld)\n", x, y, s, offset);
tools/testing/selftests/sparc64/drivers/adi-test.c
48
#define min(x, y) ((x) < (y) ? x : y)
tools/testing/selftests/timers/freq-step.c
114
double x, y, r, x_sum, y_sum, xy_sum, x2_sum, r2_sum;
tools/testing/selftests/timers/freq-step.c
121
y = samples[i].offset;
tools/testing/selftests/timers/freq-step.c
124
y_sum += y;
tools/testing/selftests/timers/freq-step.c
125
xy_sum += x * y;
tools/testing/selftests/timers/freq-step.c
136
y = samples[i].offset;
tools/testing/selftests/timers/freq-step.c
137
r = fabs(x * *slope + *intercept - y);
tools/testing/selftests/user_events/dyn_test.c
181
#define TEST_MATCH(x, y) \
tools/testing/selftests/user_events/dyn_test.c
184
ASSERT_NE(-1, check_match(&self->check, x, y, &match)); \
tools/testing/selftests/user_events/dyn_test.c
188
#define TEST_NMATCH(x, y) \
tools/testing/selftests/user_events/dyn_test.c
191
ASSERT_NE(-1, check_match(&self->check, x, y, &match)); \
tools/testing/shared/linux/radix-tree.h
24
#define call_rcu(x, y) trace_call_rcu(x, y)
tools/thermal/tmon/tui.c
201
int i, j, x, y = 0;
tools/thermal/tmon/tui.c
228
y = j;
tools/thermal/tmon/tui.c
231
draw_hbar(cooling_device_window, y+2, x,
tools/thermal/tmon/tui.c
235
mvwprintw(cooling_device_window, y+2, x-1, " ");
tools/thermal/tmon/tui.c
24
#define min(x, y) ({ \
tools/thermal/tmon/tui.c
247
i, j, trip_binding, y,
tools/thermal/tmon/tui.c
256
y + 2,
tools/thermal/tmon/tui.c
26
typeof(y) _min2 = (y); \
tools/thermal/tmon/tui.c
278
int j, x = 0, y = 0;
tools/thermal/tmon/tui.c
295
y = j % diag_dev_rows();
tools/thermal/tmon/tui.c
296
if (y == 0 && j != 0)
tools/thermal/tmon/tui.c
30
#define max(x, y) ({ \
tools/thermal/tmon/tui.c
300
mvwprintw(w, y+1, x+1, "%C-%.12s", 'A'+j, "Set Temp");
tools/thermal/tmon/tui.c
302
mvwprintw(w, y+1, x+1, "%C-%.10s-%2d", 'A'+j,
tools/thermal/tmon/tui.c
315
void write_dialogue_win(char *buf, int y, int x)
tools/thermal/tmon/tui.c
319
mvwprintw(w, y, x, "%s", buf);
tools/thermal/tmon/tui.c
32
typeof(y) _max2 = (y); \
tools/thermal/tmon/tui.c
49
static void draw_hbar(WINDOW *win, int y, int start, int len,
tools/thermal/tmon/tui.c
524
static void draw_hbar(WINDOW *win, int y, int start, int len, unsigned long ptn,
tools/thermal/tmon/tui.c
527
mvwaddch(win, y, start, ptn);
tools/thermal/tmon/tui.c
530
mvwaddch(win, y, MAX_DISP_TEMP+TDATA_LEFT, ']');
tools/thermal/tmon/tui.c
549
static void draw_tp_line(int tz, int y)
tools/thermal/tmon/tui.c
556
mvwprintw(thermal_data_window, y + 0, x + TDATA_LEFT,
tools/thermal/tmon/tui.c
584
int y = 0;
tools/thermal/tmon/tui.c
586
y = i * NR_LINES_TZDATA + 2;
tools/thermal/tmon/tui.c
588
mvwprintw(thermal_data_window, y, 1, "%6.6s%2d:[%3d][",
tools/thermal/tmon/tui.c
591
draw_hbar(thermal_data_window, y, TDATA_LEFT, temp, ACS_RARROW,
tools/thermal/tmon/tui.c
593
draw_tp_line(i, y);
tools/virtio/linux/kernel.h
154
#define min(x, y) ({ \
tools/virtio/linux/kernel.h
156
typeof(y) _min2 = (y); \