/arch/parisc/lib/ |
D | io.c | 183 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/ |
D | setup.c | 62 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()
|
D | pm.c | 114 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter() 136 hd64461_stbcr = inw(HD64461_STBCR); in hp6x0_pm_enter()
|
/arch/mips/loongson64/common/cs5536/ |
D | cs5536_mfgpt.c | 43 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/ |
D | io_noioport.h | 11 static inline u16 inw(unsigned long addr) in inw() function 50 #define inw_p(addr) inw(addr)
|
/arch/hexagon/include/asm/ |
D | io.h | 238 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/ |
D | io.h | 241 #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
|
D | pci.h | 144 u16 (*inw) (struct pci_hba_data *hba, u16 port); member
|
/arch/mips/pci/ |
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()
|
D | pci-virtio-guest.c | 86 *val = inw(PCI_CONFIG_DATA + (reg & 2)); in pci_virtio_guest_read_config()
|
/arch/x86/xen/ |
D | platform-pci-unplug.c | 43 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/ |
D | sys_eiger.c | 98 intstatus = inw(0x500) & 15; in eiger_device_interrupt() 170 int backplane = inw(0x502) & 0x0f; in eiger_swizzle()
|
D | sys_noritake.c | 77 pld = (((unsigned long) inw(0x54c) << 32) in noritake_device_interrupt() 78 | ((unsigned long) inw(0x54a) << 16) in noritake_device_interrupt()
|
/arch/sparc/include/asm/ |
D | io_64.h | 201 #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/ |
D | ops-dreamcast.c | 58 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; in gapspci_read()
|
/arch/mips/mti-malta/ |
D | malta-pm.c | 31 sts = inw(pm_io_offset + PIIX4_FUNC3IO_PMSTS); in mips_pm_suspend()
|
/arch/tile/include/asm/ |
D | io.h | 297 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/ |
D | io.h | 93 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/ |
D | io_no.h | 117 #define inw(addr) readw(addr) macro 124 #define inw_p(addr) inw(addr)
|
/arch/x86/pci/ |
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()
|
/arch/mn10300/unit-asb2303/include/unit/ |
D | smc91111.h | 32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r)))
|
/arch/arm/mach-ixp4xx/include/mach/ |
D | io.h | 319 #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/ |
D | scx200_32.c | 18 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
|
/arch/mips/loongson64/loongson-3/ |
D | acpi_init.c | 73 value = inw(ACPI_PM_EVT_BLK); in acpi_hw_clear_status()
|
/arch/x86/include/asm/ |
D | io.h | 314 #define inw inw macro
|