| /arch/parisc/lib/ |
| A D | io.c | 75 l = cpu_to_le16(inw(port)) << 16; in insw() 76 l |= cpu_to_le16(inw(port)); in insw() 81 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 86 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 92 l = cpu_to_le16(inw(port)) << 16; in insw() 93 l |= cpu_to_le16(inw(port)); in insw() 98 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 108 l = cpu_to_le16(inw(port)); in insw() 113 l2 = cpu_to_le16(inw(port)); in insw()
|
| /arch/parisc/include/asm/ |
| A D | io.h | 141 #define inw_p inw 156 extern unsigned short inw(int addr); 162 #define inw inw macro 169 #define inw eisa_in16 macro 181 static inline short inw(unsigned long addr) in inw() function 193 #define inw inw macro
|
| A D | pci.h | 112 u16 (*inw) (struct pci_hba_data *hba, u16 port); member
|
| /arch/sh/boards/mach-hp6xx/ |
| A D | setup.c | 60 v = inw(HD64461_GPADR); in dac_audio_start() 78 v = inw(HD64461_GPADR); in dac_audio_stop() 129 v = inw(HD64461_STBCR); in hp6xx_setup() 139 v = inw(HD64461_GPADR); in hp6xx_setup()
|
| A D | pm.c | 112 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter() 134 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter()
|
| /arch/mips/loongson2ef/common/cs5536/ |
| A D | cs5536_mfgpt.c | 39 outw(inw(MFGPT0_SETUP) & 0x7fff, MFGPT0_SETUP); in disable_mfgpt0_counter() 96 outw(inw(MFGPT0_SETUP) | 0x4000, MFGPT0_SETUP); in timer_interrupt() 165 count = inw(MFGPT0_CNT); in mfgpt_read()
|
| /arch/mips/pci/ |
| A D | ops-sni.c | 53 *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); in pcimt_read() 128 *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); in pcit_read()
|
| /arch/x86/xen/ |
| A D | platform-pci-unplug.c | 33 magic = inw(XEN_IOPORT_MAGIC); in check_platform_magic() 48 if (inw(XEN_IOPORT_MAGIC) != XEN_IOPORT_MAGIC_VAL) { in check_platform_magic()
|
| /arch/alpha/kernel/ |
| A D | sys_noritake.c | 75 pld = (((unsigned long) inw(0x54c) << 32) in noritake_device_interrupt() 76 | ((unsigned long) inw(0x54a) << 16) in noritake_device_interrupt()
|
| A D | sys_eiger.c | 97 intstatus = inw(0x500) & 15; in eiger_device_interrupt() 169 int backplane = inw(0x502) & 0x0f; in eiger_swizzle()
|
| A D | sys_mikasa.c | 70 pld = (((~inw(0x534) & 0x0000ffffUL) << 16) in mikasa_device_interrupt()
|
| A D | sys_takara.c | 92 intstatus = inw(0x500) & 15; in takara_device_interrupt()
|
| A D | io.c | 91 u16 inw(unsigned long port) in inw() function 117 EXPORT_SYMBOL(inw);
|
| /arch/x86/boot/ |
| A D | io.h | 8 #undef inw
|
| /arch/x86/include/asm/shared/ |
| A D | io.h | 28 #define inw __inw macro
|
| /arch/sparc/include/asm/ |
| A D | io_64.h | 202 #define inw inw macro 203 static inline u16 inw(unsigned long addr) in inw() function 235 #define inw_p(__addr) inw(__addr)
|
| /arch/sh/include/asm/ |
| A D | io_noioport.h | 11 static inline u16 inw(unsigned long addr) in inw() function
|
| A D | io.h | 229 #define inw(addr) inw(addr) macro 236 #define inw_p(addr) inw(addr)
|
| /arch/sh/drivers/pci/ |
| A D | ops-dreamcast.c | 55 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; in gapspci_read()
|
| /arch/alpha/include/asm/ |
| A D | io.h | 229 extern u16 inw(unsigned long port); 235 #define inw inw macro 369 extern inline u16 inw(unsigned long port) in inw() function 549 #define inw_p inw
|
| /arch/x86/pci/ |
| A D | direct.c | 40 *value = inw(0xCFC + (reg & 2)); in pci_conf1_read() 123 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
|
| A D | early.c | 31 v = inw(0xcfc + (offset&2)); in read_pci_config_16()
|
| /arch/powerpc/include/asm/ |
| A D | io-defs.h | 5 DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port))
|
| /arch/x86/platform/scx200/ |
| A D | scx200_32.c | 19 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
|
| /arch/m68k/include/asm/ |
| A D | io_mm.h | 318 #define inw isa_inw macro 347 #define inw(port) ((port) < 1024 ? isa_rom_inw(port) : in_le16(port)) macro
|