Home
last modified time | relevance | path

Searched refs:inw (Results 1 – 25 of 30) sorted by relevance

12

/arch/parisc/lib/
A Dio.c75 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 Dio.h141 #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 Dpci.h112 u16 (*inw) (struct pci_hba_data *hba, u16 port); member
/arch/sh/boards/mach-hp6xx/
A Dsetup.c60 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 Dpm.c112 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 Dcs5536_mfgpt.c39 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 Dops-sni.c53 *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 Dplatform-pci-unplug.c33 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 Dsys_noritake.c75 pld = (((unsigned long) inw(0x54c) << 32) in noritake_device_interrupt()
76 | ((unsigned long) inw(0x54a) << 16) in noritake_device_interrupt()
A Dsys_eiger.c97 intstatus = inw(0x500) & 15; in eiger_device_interrupt()
169 int backplane = inw(0x502) & 0x0f; in eiger_swizzle()
A Dsys_mikasa.c70 pld = (((~inw(0x534) & 0x0000ffffUL) << 16) in mikasa_device_interrupt()
A Dsys_takara.c92 intstatus = inw(0x500) & 15; in takara_device_interrupt()
A Dio.c91 u16 inw(unsigned long port) in inw() function
117 EXPORT_SYMBOL(inw);
/arch/x86/boot/
A Dio.h8 #undef inw
/arch/x86/include/asm/shared/
A Dio.h28 #define inw __inw macro
/arch/sparc/include/asm/
A Dio_64.h202 #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 Dio_noioport.h11 static inline u16 inw(unsigned long addr) in inw() function
A Dio.h229 #define inw(addr) inw(addr) macro
236 #define inw_p(addr) inw(addr)
/arch/sh/drivers/pci/
A Dops-dreamcast.c55 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; in gapspci_read()
/arch/alpha/include/asm/
A Dio.h229 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 Ddirect.c40 *value = inw(0xCFC + (reg & 2)); in pci_conf1_read()
123 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
A Dearly.c31 v = inw(0xcfc + (offset&2)); in read_pci_config_16()
/arch/powerpc/include/asm/
A Dio-defs.h5 DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port))
/arch/x86/platform/scx200/
A Dscx200_32.c19 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
/arch/m68k/include/asm/
A Dio_mm.h318 #define inw isa_inw macro
347 #define inw(port) ((port) < 1024 ? isa_rom_inw(port) : in_le16(port)) macro

Completed in 43 milliseconds

12