Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 267) sorted by relevance

1234567891011

/arch/cris/include/arch-v32/arch/
Dbitops.h12 cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz() argument
18 : "=r" (res) : "0" (w)); in cris_swapnwbrlz()
24 cris_swapwbrlz(unsigned long w) in cris_swapwbrlz() argument
30 : "=r" (res) : "0" (w)); in cris_swapwbrlz()
40 ffz(unsigned long w) in ffz() argument
42 return cris_swapnwbrlz(w); in ffz()
50 __ffs(unsigned long w) in __ffs() argument
52 return cris_swapnwbrlz(~w); in __ffs()
59 kernel_ffs(unsigned long w) in kernel_ffs() argument
61 return w ? cris_swapwbrlz (w) + 1 : 0; in kernel_ffs()
/arch/m68k/ifpsp060/src/
Ditest.S173 mov.w &0x0004,ICCR(%a6)
174 mov.w &0x0000,%cc
179 mov.w %cc,SCCR(%a6)
197 mov.w &0x0004,ICCR(%a6)
198 mov.w &0x0000,%cc
203 mov.w %cc,SCCR(%a6)
220 mov.w &0x0000,ICCR(%a6)
221 mov.w &0x0000,%cc
226 mov.w %cc,SCCR(%a6)
243 mov.w &0x0000,ICCR(%a6)
[all …]
/arch/cris/include/arch-v10/arch/
Dbitops.h13 static inline unsigned long cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz() argument
25 : "=r" (res) : "0" (w)); in cris_swapnwbrlz()
29 static inline unsigned long cris_swapwbrlz(unsigned long w) in cris_swapwbrlz() argument
35 : "0" (w)); in cris_swapwbrlz()
43 static inline unsigned long ffz(unsigned long w) in ffz() argument
45 return cris_swapnwbrlz(w); in ffz()
68 static inline unsigned long kernel_ffs(unsigned long w) in kernel_ffs() argument
70 return w ? cris_swapwbrlz (w) + 1 : 0; in kernel_ffs()
/arch/m68k/include/asm/
Dmcfne.h29 #define BSWAP(w) (((w) << 8) | ((w) >> 8)) argument
30 #define RSWAP(w) (w) argument
75 #define BSWAP(w) (w) argument
78 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
88 #define BSWAP(w) (w) argument
91 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
99 #define BSWAP(w) (w) argument
102 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
202 unsigned short w, *buf; in ne2000_insw() local
207 w = *rp; in ne2000_insw()
[all …]
/arch/mips/kernel/
Dcpu-bugs64.c44 static inline void mult_sh_align_mod(long *v1, long *v2, long *w, in mult_sh_align_mod() argument
116 *w = lw; in mult_sh_align_mod()
121 long v1[8], v2[8], w[8]; in check_mult_sh() local
135 mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); in check_mult_sh()
136 mult_sh_align_mod(&v1[1], &v2[1], &w[1], 32, 1); in check_mult_sh()
137 mult_sh_align_mod(&v1[2], &v2[2], &w[2], 32, 2); in check_mult_sh()
138 mult_sh_align_mod(&v1[3], &v2[3], &w[3], 32, 3); in check_mult_sh()
139 mult_sh_align_mod(&v1[4], &v2[4], &w[4], 32, 4); in check_mult_sh()
140 mult_sh_align_mod(&v1[5], &v2[5], &w[5], 32, 5); in check_mult_sh()
141 mult_sh_align_mod(&v1[6], &v2[6], &w[6], 32, 6); in check_mult_sh()
[all …]
/arch/arm/plat-omap/include/mach/
Dusb.h39 # define USB2_TRX_MODE(w) (((w)>>24)&0x07) argument
40 # define USB1_TRX_MODE(w) (((w)>>20)&0x07) argument
41 # define USB0_TRX_MODE(w) (((w)>>16)&0x07) argument
53 # define SRP_GPUVBUS(w) (((w)>>24)&0x07) argument
54 # define A_WAIT_VRISE(w) (((w)>>20)&0x07) argument
55 # define B_ASE_BRST(w) (((w)>>16)&0x07) argument
64 # define OTG_HMC(w) (((w)>>0)&0x3f) argument
/arch/sparc/include/asm/
Dbitops_64.h47 static inline unsigned int hweight64(unsigned long w) in hweight64() argument
51 __asm__ ("popc %1,%0" : "=r" (res) : "r" (w)); in hweight64()
55 static inline unsigned int hweight32(unsigned int w) in hweight32() argument
59 __asm__ ("popc %1,%0" : "=r" (res) : "r" (w & 0xffffffff)); in hweight32()
63 static inline unsigned int hweight16(unsigned int w) in hweight16() argument
67 __asm__ ("popc %1,%0" : "=r" (res) : "r" (w & 0xffff)); in hweight16()
71 static inline unsigned int hweight8(unsigned int w) in hweight8() argument
75 __asm__ ("popc %1,%0" : "=r" (res) : "r" (w & 0xff)); in hweight8()
Dide.h49 u32 w; in __ide_insw() local
51 w = __raw_readw(port) << 16; in __ide_insw()
52 w |= __raw_readw(port); in __ide_insw()
53 *pi++ = w; in __ide_insw()
79 u32 w; in __ide_outsw() local
81 w = *pi++; in __ide_outsw()
82 __raw_writew((w >> 16), port); in __ide_outsw()
83 __raw_writew(w, port); in __ide_outsw()
/arch/xtensa/mm/
Dtlb.c27 int w, i; in __flush_itlb_all() local
29 for (w = 0; w < ITLB_ARF_WAYS; w++) { in __flush_itlb_all()
31 int e = w + (i << PAGE_SHIFT); in __flush_itlb_all()
40 int w, i; in __flush_dtlb_all() local
42 for (w = 0; w < DTLB_ARF_WAYS; w++) { in __flush_dtlb_all()
44 int e = w + (i << PAGE_SHIFT); in __flush_dtlb_all()
/arch/avr32/lib/
Dfindbit.S16 cp.w r11, 0
19 1: ld.w r8, r12[0]
43 ld.w r8, r12[0]
55 1: ld.w r8, r12[0]
80 cp.w r11, 0
83 1: ld.w r8, r12[0]
84 cp.w r8, 0
107 ld.w r8, r12[0]
118 1: ld.w r8, r12[0]
119 cp.w r8, 0
[all …]
/arch/mips/lib/
Dashldi3.c7 DWunion uu, w; in __ashldi3() local
17 w.s.low = 0; in __ashldi3()
18 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
22 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3()
23 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3()
26 return w.ll; in __ashldi3()
Dlshrdi3.c7 DWunion uu, w; in __lshrdi3() local
17 w.s.high = 0; in __lshrdi3()
18 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
22 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3()
23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3()
26 return w.ll; in __lshrdi3()
Dashrdi3.c7 DWunion uu, w; in __ashrdi3() local
18 w.s.high = in __ashrdi3()
20 w.s.low = uu.s.high >> -bm; in __ashrdi3()
24 w.s.high = uu.s.high >> b; in __ashrdi3()
25 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3()
28 return w.ll; in __ashrdi3()
/arch/sh/lib/
Dashldi3.c7 DWunion uu, w; in __ashldi3() local
17 w.s.low = 0; in __ashldi3()
18 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
22 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3()
23 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3()
26 return w.ll; in __ashldi3()
Dlshrdi3.c7 DWunion uu, w; in __lshrdi3() local
17 w.s.high = 0; in __lshrdi3()
18 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
22 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3()
23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3()
26 return w.ll; in __lshrdi3()
Dashrdi3.c7 DWunion uu, w; in __ashrdi3() local
18 w.s.high = in __ashrdi3()
20 w.s.low = uu.s.high >> -bm; in __ashrdi3()
24 w.s.high = uu.s.high >> b; in __ashrdi3()
25 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3()
28 return w.ll; in __ashrdi3()
/arch/m32r/platforms/mappi/
Dio.c70 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
72 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
102 unsigned short w; in _inw() local
103 pcc_ioread(0, port, &w, sizeof(w), 1, 0); in _inw()
104 return w; in _inw()
106 unsigned short w; in _inw() local
107 pcc_ioread(1, port, &w, sizeof(w), 1, 0); in _inw()
108 return w; in _inw()
166 void _outw(unsigned short w, unsigned long port) in _outw() argument
169 _ne_outw(w, PORT2ADDR_NE(port)); in _outw()
[all …]
/arch/avr32/include/asm/
Dasm.h22 st.w --sp, r7
25 ld.w r7, sp++
48 st.w --sp, \tmp
52 ld.w \tmp, sp++
62 st.w --sp, \tmp
66 ld.w \tmp, sp++
74 st.w --sp, lr
77 st.w --sp, \tmp
81 ld.w \tmp, sp++
83 ld.w lr, sp++
[all …]
/arch/m68k/math-emu/
Dfp_move.S48 move.w %d0,%d1 | store data size twice in %d1
50 move.w %d0,%d1
54 move.b (%a0,%d1.w),%d0
75 move.w %d0,%d1
86 jmp ([0f:w,%pc,%d1.w*4])
100 move.w %d2,%d0
103 move.w %d2,%d1
112 move.w %d2,%d0
114 move.w %d1,%d0
123 move.w %d2,%d1
[all …]
Dfp_decode.h74 jmp ([0f:w,%pc,%d0*4])
86 jmp ([0f:w,%pc,%d0*4])
116 jmp ([0f:w,%pc,%d0*4])
136 ext.w %d0
157 move.w %d2,%d1 | scale factor
158 rol.w #7,%d1
159 and.w #3,%d1
170 jmp ([0f:w,%pc,%d0*4])
180 jmp ([0f:w,%pc,%d0*4])
231 move.w #6,%d1
[all …]
/arch/blackfin/lib/
Dashrdi3.c38 DIunion w; in __ashrdi3() local
50 w.s.high = uu.s.high >> (sizeof(SItype) * BITS_PER_UNIT - 1); in __ashrdi3()
51 w.s.low = uu.s.high >> -bm; in __ashrdi3()
54 w.s.high = uu.s.high >> b; in __ashrdi3()
55 w.s.low = ((USItype) uu.s.low >> b) | carries; in __ashrdi3()
58 return w.ll; in __ashrdi3()
Dashldi3.c38 DIunion w; in __ashldi3() local
49 w.s.low = 0; in __ashldi3()
50 w.s.high = (USItype) uu.s.low << -bm; in __ashldi3()
53 w.s.low = (USItype) uu.s.low << b; in __ashldi3()
54 w.s.high = ((USItype) uu.s.high << b) | carries; in __ashldi3()
57 return w.ll; in __ashldi3()
/arch/mn10300/lib/
Dnegdi2.c48 union DWunion w; in __negdi2() local
53 w.s.low = -uu.s.low; in __negdi2()
54 w.s.high = -uu.s.high - ((u32) w.s.low > 0); in __negdi2()
56 return w.ll; in __negdi2()
/arch/avr32/mach-at32ap/
Dpm-at32ap700x.S49 ld.w r9, r8[TI_flags]
53 st.w r8[TI_flags], r9
66 ld.w r9, r8[TI_flags]
68 st.w r8[TI_flags], r9
132 ld.w r10, r12[SDRAMC_LPR]
137 st.w r12[SDRAMC_LPR], r10 /* put SDRAM in self-refresh mode */
138 ld.w r11, r12[SDRAMC_LPR]
155 ld.w r10, r12[SDRAMC_LPR]
159 st.w r12[SDRAMC_LPR], r10 /* put SDRAM in self-refresh mode */
160 ld.w r11, r12[SDRAMC_LPR]
/arch/m68k/lib/
Dlshrdi3.c39 DIunion w; in __lshrdi3() local
51 w.s.high = 0; in __lshrdi3()
52 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3()
57 w.s.high = (USItype)uu.s.high >> b; in __lshrdi3()
58 w.s.low = ((USItype)uu.s.low >> b) | carries; in __lshrdi3()
61 return w.ll; in __lshrdi3()

1234567891011