| /arch/m68k/include/asm/ |
| D | ide.h | 50 #define __ide_mm_insw(port, addr, n) raw_insw((u16 *)port, addr, n) argument 51 #define __ide_mm_insl(port, addr, n) raw_insl((u32 *)port, addr, n) argument 52 #define writeb(val, port) out_8(port, val) argument 53 #define writew(val, port) out_be16(port, val) argument 54 #define __ide_mm_outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) argument 55 #define __ide_mm_outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) argument 59 #define __ide_mm_insw(port, addr, n) io_insw((unsigned int)port, addr, n) argument 60 #define __ide_mm_insl(port, addr, n) io_insl((unsigned int)port, addr, n) argument 61 #define __ide_mm_outsw(port, addr, n) io_outsw((unsigned int)port, addr, n) argument 62 #define __ide_mm_outsl(port, addr, n) io_outsl((unsigned int)port, addr, n) argument
|
| D | vga.h | 28 #define inb_p(port) 0 argument 29 #define inw_p(port) 0 argument 30 #define outb_p(port, val) do { } while (0) argument 31 #define outw(port, val) do { } while (0) argument
|
| D | io_mm.h | 203 #define isa_inb(port) in_8(isa_itb(port)) argument 204 #define isa_inw(port) (ISA_SEX ? in_be16(isa_itw(port)) : in_le16(isa_itw(port))) argument 205 #define isa_inl(port) (ISA_SEX ? in_be32(isa_itl(port)) : in_le32(isa_itl(port))) argument 206 #define isa_outb(val,port) out_8(isa_itb(port),(val)) argument 207 #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val))) argument 208 #define isa_outl(val,port) (ISA_SEX ? out_be32(isa_itl(port),(val)) : out_le32(isa_itl(port),(val))) argument 220 #define isa_rom_inb(port) rom_in_8(isa_itb(port)) argument 221 #define isa_rom_inw(port) \ argument 225 #define isa_rom_outb(val, port) rom_out_8(isa_itb(port), (val)) argument 226 #define isa_rom_outw(val, port) \ argument [all …]
|
| D | raw_io.h | 43 #define raw_outb(val,port) out_8((port),(val)) argument 44 #define raw_outw(val,port) out_be16((port),(val)) argument 45 #define raw_outl(val,port) out_be32((port),(val)) argument 97 #define raw_rom_outb(val, port) rom_out_8((port), (val)) argument 98 #define raw_rom_outw(val, port) rom_out_be16((port), (val)) argument 101 static inline void raw_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_insb() 109 static inline void raw_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_outsb() 149 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw() 188 static inline void raw_outsw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw() 228 static inline void raw_insl(volatile u32 __iomem *port, u32 *buf, unsigned int nr) in raw_insl() [all …]
|
| D | mcfgpio.h | 106 #define mcfgpio_read(port) __raw_readb(port) argument 107 #define mcfgpio_write(data, port) __raw_writeb(data, port) argument 115 #define mcfgpio_read(port) __raw_readw(port) argument 116 #define mcfgpio_write(data, port) __raw_writew(data, port) argument 124 #define mcfgpio_read(port) __raw_readl(port) argument 125 #define mcfgpio_write(data, port) __raw_writel(data, port) argument
|
| /arch/mips/include/asm/mach-generic/ |
| D | ide.h | 59 static inline void __ide_insw(unsigned long port, void *addr, in __ide_insw() 68 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) in __ide_insl() 76 static inline void __ide_outsw(unsigned long port, const void *addr, in __ide_outsw() 85 static inline void __ide_outsl(unsigned long port, const void *addr, in __ide_outsl() 94 static inline void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() 102 static inline void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() 110 static inline void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() 118 static inline void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) in __ide_mm_outsl() 131 #define insw(port, addr, count) __ide_insw(port, addr, count) argument 132 #define insl(port, addr, count) __ide_insl(port, addr, count) argument [all …]
|
| /arch/mips/include/asm/mach-cavium-octeon/ |
| D | mangle-port.h | 23 # define __swizzle_addr_b(port) (port) argument 24 # define __swizzle_addr_w(port) (port) argument 25 # define __swizzle_addr_l(port) (port) argument 26 # define __swizzle_addr_q(port) (port) argument 38 # define __swizzle_addr_b(port) \ argument 40 # define __swizzle_addr_w(port) \ argument 42 # define __swizzle_addr_l(port) \ argument 44 # define __swizzle_addr_q(port) (port) argument
|
| /arch/arm/include/asm/ |
| D | ide.h | 17 #define __ide_mm_insw(port,addr,len) readsw(port,addr,len) argument 18 #define __ide_mm_insl(port,addr,len) readsl(port,addr,len) argument 19 #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len) argument 20 #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len) argument
|
| /arch/arm/mach-ebsa110/ |
| D | io.c | 210 u8 __inb8(unsigned int port) in __inb8() 237 u8 __inb16(unsigned int port) in __inb16() 252 u16 __inw(unsigned int port) in __inw() 271 u32 __inl(unsigned int port) in __inl() 288 void __outb8(u8 val, unsigned int port) in __outb8() 308 void __outb16(u8 val, unsigned int port) in __outb16() 323 void __outw(u16 val, unsigned int port) in __outw() 339 void __outl(u32 val, unsigned int port) in __outl() 349 void outsb(unsigned int port, const void *from, int len) in outsb() 364 void insb(unsigned int port, void *from, int len) in insb() [all …]
|
| /arch/ia64/include/asm/ |
| D | io.h | 44 #define IO_SPACE_NR(port) ((port) >> IO_SPACE_BITS) argument 46 #define IO_SPACE_PORT(port) ((port) & (IO_SPACE_SIZE - 1)) argument 116 __ia64_mk_io_addr (unsigned long port) in __ia64_mk_io_addr() 140 static inline unsigned int inb(unsigned long port) in inb() 151 static inline unsigned int inw(unsigned long port) in inw() 162 static inline unsigned int inl(unsigned long port) in inl() 173 static inline void outb(unsigned char val, unsigned long port) in outb() 182 static inline void outw(unsigned short val, unsigned long port) in outw() 191 static inline void outl(unsigned int val, unsigned long port) in outl() 200 static inline void insb(unsigned long port, void *dst, unsigned long count) in insb() [all …]
|
| /arch/parisc/include/asm/ |
| D | ide.h | 24 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() 32 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() 40 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() 48 static __inline__ void __ide_mm_outsl(void __iomem *port, void *addr, u32 count) in __ide_mm_outsl()
|
| /arch/alpha/kernel/ |
| D | io.c | 63 u8 inb(unsigned long port) in inb() 68 u16 inw(unsigned long port) in inw() 73 u32 inl(unsigned long port) in inl() 78 void outb(u8 b, unsigned long port) in outb() 83 void outw(u16 b, unsigned long port) in outw() 88 void outl(u32 b, unsigned long port) in outl() 214 void ioread8_rep(void __iomem *port, void *dst, unsigned long count) in ioread8_rep() 242 void insb(unsigned long port, void *dst, unsigned long count) in insb() 257 void ioread16_rep(void __iomem *port, void *dst, unsigned long count) in ioread16_rep() 282 void insw(unsigned long port, void *dst, unsigned long count) in insw() [all …]
|
| /arch/powerpc/platforms/4xx/ |
| D | pci.c | 664 static int __init ppc4xx_pciex_wait_on_sdr(struct ppc4xx_pciex_port *port, in ppc4xx_pciex_wait_on_sdr() 684 static int __init ppc4xx_pciex_port_reset_sdr(struct ppc4xx_pciex_port *port) in ppc4xx_pciex_port_reset_sdr() 696 static void __init ppc4xx_pciex_check_link_sdr(struct ppc4xx_pciex_port *port) in ppc4xx_pciex_check_link_sdr() 843 static int __init ppc440spe_pciex_init_port_hw(struct ppc4xx_pciex_port *port) in ppc440spe_pciex_init_port_hw() 881 static int __init ppc440speA_pciex_init_port_hw(struct ppc4xx_pciex_port *port) in ppc440speA_pciex_init_port_hw() 886 static int __init ppc440speB_pciex_init_port_hw(struct ppc4xx_pciex_port *port) in ppc440speB_pciex_init_port_hw() 895 static int ppc440speA_pciex_init_utl(struct ppc4xx_pciex_port *port) in ppc440speA_pciex_init_utl() 915 static int ppc440speB_pciex_init_utl(struct ppc4xx_pciex_port *port) in ppc440speB_pciex_init_utl() 947 static int __init ppc460ex_pciex_init_port_hw(struct ppc4xx_pciex_port *port) in ppc460ex_pciex_init_port_hw() 1023 static int ppc460ex_pciex_init_utl(struct ppc4xx_pciex_port *port) in ppc460ex_pciex_init_utl() [all …]
|
| /arch/um/drivers/ |
| D | port_kern.c | 23 int port; member 31 struct port_list *port; member 42 struct port_list *port; member 76 static int port_accept(struct port_list *port) in port_accept() 130 struct port_list *port; in port_work_proc() local 151 struct port_list *port = data; in port_interrupt() local 161 struct port_list *port; in port_data() local 227 struct port_list *port = dev->port; in port_wait() local 294 struct port_list *port; in free_port() local
|
| /arch/powerpc/platforms/powernv/ |
| D | opal-lpc.c | 24 static u8 opal_lpc_inb(unsigned long port) in opal_lpc_inb() 35 static __le16 __opal_lpc_inw(unsigned long port) in __opal_lpc_inw() 47 static u16 opal_lpc_inw(unsigned long port) in opal_lpc_inw() 52 static __le32 __opal_lpc_inl(unsigned long port) in __opal_lpc_inl() 68 static u32 opal_lpc_inl(unsigned long port) in opal_lpc_inl() 73 static void opal_lpc_outb(u8 val, unsigned long port) in opal_lpc_outb() 80 static void __opal_lpc_outw(__le16 val, unsigned long port) in __opal_lpc_outw() 92 static void opal_lpc_outw(u16 val, unsigned long port) in opal_lpc_outw() 97 static void __opal_lpc_outl(__le32 val, unsigned long port) in __opal_lpc_outl() 111 static void opal_lpc_outl(u32 val, unsigned long port) in opal_lpc_outl()
|
| /arch/powerpc/kernel/ |
| D | io.c | 27 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb() 44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb() 58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns() 75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns() 89 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns() 106 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
|
| /arch/parisc/lib/ |
| D | io.c | 127 void insb (unsigned long port, void *dst, unsigned long count) in insb() 167 void insw (unsigned long port, void *dst, unsigned long count) in insw() 239 void insl (unsigned long port, void *dst, unsigned long count) in insl() 319 void outsb(unsigned long port, const void * src, unsigned long count) in outsb() 337 void outsw (unsigned long port, const void *src, unsigned long count) in outsw() 409 void outsl (unsigned long port, const void *src, unsigned long count) in outsl()
|
| /arch/arm/mach-imx/ |
| D | iomux-v1.c | 48 unsigned int port, unsigned int pin, int on) in imx_iomuxv1_set_puen() 56 unsigned int port, unsigned int pin, int out) in imx_iomuxv1_set_ddir() 64 unsigned int port, unsigned int pin, int af) in imx_iomuxv1_set_gpr() 72 unsigned int port, unsigned int pin, int inuse) in imx_iomuxv1_set_gius() 80 unsigned int port, unsigned int pin, unsigned int ocr) in imx_iomuxv1_set_ocr() 91 unsigned int port, unsigned int pin, unsigned int aout) in imx_iomuxv1_set_iconfa() 102 unsigned int port, unsigned int pin, unsigned int bout) in imx_iomuxv1_set_iconfb() 115 unsigned int port = (gpio_mode & GPIO_PORT_MASK) >> GPIO_PORT_SHIFT; in mxc_gpio_mode() local
|
| /arch/mips/pic32/pic32mzda/ |
| D | early_console.c | 32 static int __init configure_uart_pins(int port) in configure_uart_pins() 50 static void __init configure_uart(char port, int baud) in configure_uart() 63 static void __init setup_early_console(char port, int baud) in setup_early_console() 88 int port = -1; in get_port_from_cmdline() local 133 void __init fw_init_early_console(char port) in fw_init_early_console()
|
| /arch/hexagon/include/asm/ |
| D | io.h | 218 static inline u8 inb(unsigned long port) in inb() 223 static inline u16 inw(unsigned long port) in inw() 228 static inline u32 inl(unsigned long port) in inl() 238 static inline void outb(u8 data, unsigned long port) in outb() 243 static inline void outw(u16 data, unsigned long port) in outw() 248 static inline void outl(u32 data, unsigned long port) in outl() 261 static inline void insb(unsigned long port, void *buffer, int count) in insb() 272 static inline void insw(unsigned long port, void *buffer, int count) in insw() 283 static inline void insl(unsigned long port, void *buffer, int count) in insl() 294 static inline void outsb(unsigned long port, const void *buffer, int count) in outsb() [all …]
|
| /arch/arm/mach-s3c24xx/include/mach/ |
| D | io.h | 66 static inline void __iomem *__ioaddr (unsigned long port) in __ioaddr() 88 #define __outbc(value,port) \ argument 100 #define __inbc(port) \ argument 114 #define __outwc(value,port) \ argument 139 #define __inwc(port) \ argument 167 #define __outlc(value,port) \ argument 180 #define __inlc(port) \ argument 194 #define __ioaddrc(port) ((__PORT_PCIO(port) ? PCIO_BASE + (port) : (void __iomem *)0 + (port))) argument
|
| /arch/mips/include/asm/mach-ip27/ |
| D | mangle-port.h | 11 #define __swizzle_addr_b(port) (port) argument 12 #define __swizzle_addr_w(port) ((port) ^ 2) argument 13 #define __swizzle_addr_l(port) (port) argument 14 #define __swizzle_addr_q(port) (port) argument
|
| /arch/mips/include/asm/mach-ip32/ |
| D | mangle-port.h | 12 #define __swizzle_addr_b(port) ((port) ^ 3) argument 13 #define __swizzle_addr_w(port) ((port) ^ 2) argument 14 #define __swizzle_addr_l(port) (port) argument 15 #define __swizzle_addr_q(port) (port) argument
|
| /arch/mips/include/asm/mach-tx49xx/ |
| D | mangle-port.h | 5 #define __swizzle_addr_b(port) (port) argument 6 #define __swizzle_addr_w(port) (port) argument 7 #define __swizzle_addr_l(port) (port) argument 8 #define __swizzle_addr_q(port) (port) argument
|
| /arch/mips/include/asm/mach-tx39xx/ |
| D | mangle-port.h | 9 #define __swizzle_addr_b(port) (port) argument 11 #define __swizzle_addr_w(port) (port) argument 12 #define __swizzle_addr_l(port) (port) argument 13 #define __swizzle_addr_q(port) (port) argument
|