Home
last modified time | relevance | path

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

12

/arch/parisc/lib/
Dio.c183 l = cpu_to_le16(inw(port)) << 16; in insw()
184 l |= cpu_to_le16(inw(port)); in insw()
189 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
194 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
200 l = cpu_to_le16(inw(port)) << 16; in insw()
201 l |= cpu_to_le16(inw(port)); in insw()
206 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
216 l = cpu_to_le16(inw(port)); in insw()
221 l2 = cpu_to_le16(inw(port)); in insw()
/arch/sh/boards/mach-hp6xx/
Dsetup.c62 v = inw(HD64461_GPADR); in dac_audio_start()
80 v = inw(HD64461_GPADR); in dac_audio_stop()
131 v = inw(HD64461_STBCR); in hp6xx_setup()
141 v = inw(HD64461_GPADR); in hp6xx_setup()
Dpm.c114 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter()
136 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter()
/arch/mips/loongson64/common/cs5536/
Dcs5536_mfgpt.c43 outw(inw(MFGPT0_SETUP) & 0x7fff, MFGPT0_SETUP); in disable_mfgpt0_counter()
100 outw(inw(MFGPT0_SETUP) | 0x4000, MFGPT0_SETUP); in timer_interrupt()
173 count = inw(MFGPT0_CNT); in mfgpt_read()
/arch/sh/include/asm/
Dio_noioport.h11 static inline u16 inw(unsigned long addr) in inw() function
50 #define inw_p(addr) inw(addr)
/arch/hexagon/include/asm/
Dio.h238 static inline u16 inw(unsigned long port) in inw() function
273 #define inw_p inw
292 u16 x = inw(port); in insw()
303 u32 x = inw(port); in insl()
/arch/parisc/include/asm/
Dio.h241 #define inw_p inw
256 extern unsigned short inw(int addr);
264 #define inw eisa_in16 macro
276 static inline short inw(unsigned long addr) in inw() function
Dpci.h144 u16 (*inw) (struct pci_hba_data *hba, u16 port); member
/arch/mips/pci/
Dops-sni.c53 *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); in pcimt_read()
128 *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); in pcit_read()
Dpci-virtio-guest.c86 *val = inw(PCI_CONFIG_DATA + (reg & 2)); in pci_virtio_guest_read_config()
/arch/x86/xen/
Dplatform-pci-unplug.c43 magic = inw(XEN_IOPORT_MAGIC); in check_platform_magic()
58 if (inw(XEN_IOPORT_MAGIC) != XEN_IOPORT_MAGIC_VAL) { in check_platform_magic()
/arch/alpha/kernel/
Dsys_eiger.c98 intstatus = inw(0x500) & 15; in eiger_device_interrupt()
170 int backplane = inw(0x502) & 0x0f; in eiger_swizzle()
Dsys_noritake.c77 pld = (((unsigned long) inw(0x54c) << 32) in noritake_device_interrupt()
78 | ((unsigned long) inw(0x54a) << 16) in noritake_device_interrupt()
/arch/sparc/include/asm/
Dio_64.h201 #define inw inw macro
202 static inline u16 inw(unsigned long addr) in inw() function
234 #define inw_p(__addr) inw(__addr)
/arch/sh/drivers/pci/
Dops-dreamcast.c58 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; in gapspci_read()
/arch/mips/mti-malta/
Dmalta-pm.c31 sts = inw(pm_io_offset + PIIX4_FUNC3IO_PMSTS); in mips_pm_suspend()
/arch/tile/include/asm/
Dio.h297 static inline u16 inw(unsigned long addr) in inw() function
338 u16 x = inw(addr); in insw()
423 static inline u16 inw(unsigned long addr) in inw() function
481 #define inw_p(addr) inw(addr)
/arch/mn10300/include/asm/
Dio.h93 static inline u16 inw(unsigned long addr) in inw() function
119 #define inw_p(addr) inw(addr)
141 u16 x = inw(addr); in insw()
/arch/m68k/include/asm/
Dio_no.h117 #define inw(addr) readw(addr) macro
124 #define inw_p(addr) inw(addr)
/arch/x86/pci/
Ddirect.c40 *value = inw(0xCFC + (reg & 2)); in pci_conf1_read()
123 *value = inw(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
/arch/mn10300/unit-asb2303/include/unit/
Dsmc91111.h32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r)))
/arch/arm/mach-ixp4xx/include/mach/
Dio.h319 #define inw inw macro
320 static inline u16 inw(u32 addr) in inw() function
336 *vaddr++ = le16_to_cpu(inw(io_addr)); in insw()
396 return (unsigned int)inw(port & PIO_MASK); in ioread16()
/arch/x86/platform/scx200/
Dscx200_32.c18 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
/arch/mips/loongson64/loongson-3/
Dacpi_init.c73 value = inw(ACPI_PM_EVT_BLK); in acpi_hw_clear_status()
/arch/x86/include/asm/
Dio.h314 #define inw inw macro

12