Searched refs:inw (Results 1 - 25 of 48) sorted by relevance

12

/arch/sh/include/asm/
H A Dio_noioport.h10 static inline u16 inw(unsigned long addr) function
49 #define inw_p(addr) inw(addr)
/arch/parisc/lib/
H A Dio.c164 * of the inw() breaks things.
182 l = cpu_to_le16(inw(port)) << 16;
183 l |= cpu_to_le16(inw(port));
188 *(unsigned short *)p = cpu_to_le16(inw(port));
193 *(unsigned short *)p = cpu_to_le16(inw(port));
199 l = cpu_to_le16(inw(port)) << 16;
200 l |= cpu_to_le16(inw(port));
205 *(unsigned short *)p = cpu_to_le16(inw(port));
215 l = cpu_to_le16(inw(port));
220 l2 = cpu_to_le16(inw(por
[all...]
/arch/mips/loongson/common/cs5536/
H A Dcs5536_mfgpt.c43 outw(inw(MFGPT0_SETUP) & 0x7fff, MFGPT0_SETUP);
104 outw(inw(MFGPT0_SETUP) | 0x4000, MFGPT0_SETUP);
175 count = inw(MFGPT0_CNT);
/arch/sh/boards/mach-hp6xx/
H A Dsetup.c62 v = inw(HD64461_GPADR);
80 v = inw(HD64461_GPADR);
131 v = inw(HD64461_STBCR);
141 v = inw(HD64461_GPADR);
H A Dpm.c114 hd64461_stbcr = inw(HD64461_STBCR);
136 hd64461_stbcr = inw(HD64461_STBCR);
/arch/mips/pci/
H A Dops-sni.c53 *val = inw(PCIMT_CONFIG_DATA + (reg & 2));
128 *val = inw(PCIMT_CONFIG_DATA + (reg & 2));
H A Dpci-virtio-guest.c86 *val = inw(PCI_CONFIG_DATA + (reg & 2));
/arch/x86/xen/
H A Dplatform-pci-unplug.c43 magic = inw(XEN_IOPORT_MAGIC);
58 if (inw(XEN_IOPORT_MAGIC) != XEN_IOPORT_MAGIC_VAL) {
/arch/hexagon/include/asm/
H A Dio.h237 static inline u16 inw(unsigned long port) function
272 #define inw_p inw
291 u16 x = inw(port);
302 u32 x = inw(port);
/arch/mips/mti-malta/
H A Dmalta-pm.c31 sts = inw(pm_io_offset + PIIX4_FUNC3IO_PMSTS);
/arch/mn10300/unit-asb2303/include/unit/
H A Dsmc91111.h32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r)))
/arch/parisc/include/asm/
H A Dio.h234 #define inw_p inw
249 extern unsigned short inw(int addr);
257 #define inw eisa_in16 macro
269 static inline short inw(unsigned long addr) function
H A Dpci.h143 u16 (*inw) (struct pci_hba_data *hba, u16 port); member in struct:pci_port_ops
/arch/sh/drivers/pci/
H A Dops-dreamcast.c58 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break;
/arch/alpha/kernel/
H A Dsys_eiger.c98 intstatus = inw(0x500) & 15;
170 int backplane = inw(0x502) & 0x0f;
H A Dsys_noritake.c76 pld = (((unsigned long) inw(0x54c) << 32)
77 | ((unsigned long) inw(0x54a) << 16)
H A Dsys_eb64p.c100 if (inw(0x806) != 0xffff) {
/arch/sparc/include/asm/
H A Dio_64.h193 #define inw inw macro
194 static inline u16 inw(unsigned long addr) function
226 #define inw_p(__addr) inw(__addr)
/arch/mn10300/include/asm/
H A Dio.h89 static inline u16 inw(unsigned long addr) function
115 #define inw_p(addr) inw(addr)
137 u16 x = inw(addr);
/arch/arm/mach-ebsa110/include/mach/
H A Dio.h48 #define inw(p) __inw(p) macro
/arch/tile/include/asm/
H A Dio.h292 static inline u16 inw(unsigned long addr) function
333 u16 x = inw(addr);
419 static inline u16 inw(unsigned long addr) function
477 #define inw_p(addr) inw(addr)
/arch/x86/platform/scx200/
H A Dscx200_32.c18 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
/arch/cris/include/asm/
H A Dio.h132 #define inw(port) (cris_iops ? cris_iops->read_io(port,NULL,2,1) : 0) macro
172 #define inw_p(port) inw(port)
/arch/ia64/include/asm/
H A Dmachvec.h138 # define platform_inw ia64_mv.inw
182 ia64_mv_inw_t *inw; member in struct:ia64_machine_vector
/arch/m68k/include/asm/
H A Dio_no.h118 #define inw(addr) readw(addr) macro
125 #define inw_p(addr) inw(addr)

Completed in 1155 milliseconds

12