Searched refs:le16_to_cpu (Results 1 - 25 of 29) sorted by relevance

12

/arch/mips/include/asm/mach-tx39xx/
H A Dmangle-port.h16 #define ioswabw(a, x) le16_to_cpu(x)
/arch/mips/include/asm/
H A Dvga.h39 return le16_to_cpu(*addr);
/arch/parisc/lib/
H A Dio.c353 outw(le16_to_cpu(l >> 16), port);
354 outw(le16_to_cpu(l & 0xffff), port);
357 outw(le16_to_cpu(*(unsigned short*)p), port);
363 outw(le16_to_cpu(*(unsigned short*)p), port);
371 outw(le16_to_cpu(l >> 16), port);
372 outw(le16_to_cpu(l & 0xffff), port);
375 outw(le16_to_cpu(*(unsigned short *)p), port);
391 outw(le16_to_cpu(l | l2 >> 8), port);
395 outw (le16_to_cpu(l | l2>>8), port);
H A Dchecksum.c91 result += le16_to_cpu(*buff);
/arch/mips/include/asm/mach-tx49xx/
H A Dmangle-port.h18 #define ioswabw(a, x) le16_to_cpu(x)
/arch/sh/include/mach-common/mach/
H A Dmangle-port.h29 # define ioswabw(x) le16_to_cpu(x)
/arch/mips/include/asm/mach-generic/
H A Dmangle-port.h32 # define ioswabw(a, x) le16_to_cpu(x)
/arch/sparc/lib/
H A DPeeCeeI.c124 *ps++ = le16_to_cpu(inw(addr));
131 w = (le16_to_cpu(inw(addr)) << 16);
132 w |= (le16_to_cpu(inw(addr)) << 0);
138 *ps = le16_to_cpu(inw(addr));
/arch/arm/mach-ixp2000/include/mach/
H A Dio.h79 __v = le16_to_cpu(__raw_readw(p)); \
/arch/sh/include/asm/
H A Dunaligned-sh4a.h65 return le16_to_cpu(sh4a_get_unaligned_cpu16(p));
/arch/arm/include/asm/
H A Dio.h178 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \
227 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \
278 #define ioread16(p) ({ unsigned int __v = le16_to_cpu((__force __le16)__raw_readw(p)); __iormb(); __v; })
/arch/m68k/include/asm/
H A Draw_io.h39 ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; })
/arch/mips/pci/
H A Dops-tx3927.c90 *val = le16_to_cpu(*(volatile u16 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3)));
/arch/m32r/platforms/m32104ut/
H A Dio.c87 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
/arch/m32r/platforms/mappi/
H A Dio.c62 return le16_to_cpu(tmp);
/arch/microblaze/include/asm/
H A Dio.h82 return le16_to_cpu(*(volatile unsigned short __force *)addr);
/arch/parisc/include/asm/
H A Dio.h183 return le16_to_cpu(__raw_readw(addr));
/arch/powerpc/include/asm/
H A Dsmu.h550 #define SMU_U16_MIX(x) le16_to_cpu(x)
/arch/arm/mach-ixp4xx/include/mach/
H A Dio.h300 *vaddr++ = le16_to_cpu(inw(io_addr));
360 return le16_to_cpu((__force __le16)__raw_readw(addr));
/arch/mips/txx9/rbtx4939/
H A Dsetup.c50 return IS_CE1_ADDR(a) ? x : le16_to_cpu(x);
54 return !IS_CE1_ADDR(a) ? x : le16_to_cpu(x);
/arch/m32r/platforms/m32700ut/
H A Dio.c95 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
/arch/m32r/platforms/mappi2/
H A Dio.c91 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
/arch/m32r/platforms/mappi3/
H A Dio.c106 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
/arch/m32r/platforms/opsput/
H A Dio.c95 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
/arch/x86/tools/
H A Drelocs.c252 #define le16_to_cpu(val) (val) macro
256 #define le16_to_cpu(val) bswap_16(val) macro
262 return le16_to_cpu(val);

Completed in 1053 milliseconds

12