Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 1376) sorted by relevance

12345678910>>...56

/arch/mips/include/asm/
Dasm-eva.h19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument
20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument
21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument
22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument
23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument
24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument
25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument
26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument
27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument
28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument
[all …]
Dunaligned-emul.h8 #define _LoadHW(addr, value, res, type) \ argument
31 #define _LoadW(addr, value, res, type) \ argument
53 #define _LoadW(addr, value, res, type) \ argument
88 #define _LoadHWU(addr, value, res, type) \ argument
113 #define _LoadWU(addr, value, res, type) \ argument
135 #define _LoadDW(addr, value, res) \ argument
157 #define _LoadWU(addr, value, res, type) \ argument
190 #define _LoadDW(addr, value, res) \ argument
242 #define _StoreHW(addr, value, res, type) \ argument
266 #define _StoreW(addr, value, res, type) \ argument
[all …]
Dr4kcache.h43 #define _cache_op(insn, op, addr) \ argument
53 #define cache_op(op, addr) \ argument
56 static inline void flush_icache_line_indexed(unsigned long addr) in flush_icache_line_indexed()
61 static inline void flush_dcache_line_indexed(unsigned long addr) in flush_dcache_line_indexed()
66 static inline void flush_scache_line_indexed(unsigned long addr) in flush_scache_line_indexed()
71 static inline void flush_icache_line(unsigned long addr) in flush_icache_line()
84 static inline void flush_dcache_line(unsigned long addr) in flush_dcache_line()
89 static inline void invalidate_dcache_line(unsigned long addr) in invalidate_dcache_line()
94 static inline void invalidate_scache_line(unsigned long addr) in invalidate_scache_line()
99 static inline void flush_scache_line(unsigned long addr) in flush_scache_line()
[all …]
/arch/parisc/lib/
Diomap.c36 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<63) != 0) argument
37 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 60) & 7) argument
40 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<31) != 0) argument
41 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 28) & 7) argument
70 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) argument
72 static unsigned int ioport_read8(const void __iomem *addr) in ioport_read8()
77 static unsigned int ioport_read16(const void __iomem *addr) in ioport_read16()
82 static unsigned int ioport_read32(const void __iomem *addr) in ioport_read32()
87 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8()
92 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16()
[all …]
/arch/sh/kernel/
Diomap.c11 unsigned int ioread8(const void __iomem *addr) in ioread8()
17 unsigned int ioread16(const void __iomem *addr) in ioread16()
23 unsigned int ioread16be(const void __iomem *addr) in ioread16be()
29 unsigned int ioread32(const void __iomem *addr) in ioread32()
35 unsigned int ioread32be(const void __iomem *addr) in ioread32be()
41 void iowrite8(u8 val, void __iomem *addr) in iowrite8()
47 void iowrite16(u16 val, void __iomem *addr) in iowrite16()
53 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be()
59 void iowrite32(u32 val, void __iomem *addr) in iowrite32()
65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be()
[all …]
/arch/parisc/include/asm/
Dio.h13 static inline unsigned long isa_bus_to_virt(unsigned long addr) { in isa_bus_to_virt()
18 static inline unsigned long isa_virt_to_bus(void *addr) { in isa_virt_to_bus()
32 static inline unsigned char gsc_readb(unsigned long addr) in gsc_readb()
46 static inline unsigned short gsc_readw(unsigned long addr) in gsc_readw()
60 static inline unsigned int gsc_readl(unsigned long addr) in gsc_readl()
71 static inline unsigned long long gsc_readq(unsigned long addr) in gsc_readq()
87 static inline void gsc_writeb(unsigned char val, unsigned long addr) in gsc_writeb()
97 static inline void gsc_writew(unsigned short val, unsigned long addr) in gsc_writew()
107 static inline void gsc_writel(unsigned int val, unsigned long addr) in gsc_writel()
114 static inline void gsc_writeq(unsigned long long val, unsigned long addr) in gsc_writeq()
[all …]
/arch/alpha/include/asm/
Djensen.h92 __EXTERN_INLINE void jensen_set_hae(unsigned long addr) in jensen_set_hae()
114 __EXTERN_INLINE unsigned int jensen_local_inb(unsigned long addr) in jensen_local_inb()
119 __EXTERN_INLINE void jensen_local_outb(u8 b, unsigned long addr) in jensen_local_outb()
125 __EXTERN_INLINE unsigned int jensen_bus_inb(unsigned long addr) in jensen_bus_inb()
134 __EXTERN_INLINE void jensen_bus_outb(u8 b, unsigned long addr) in jensen_bus_outb()
147 #define jensen_is_local(addr) ( \ argument
154 __EXTERN_INLINE u8 jensen_inb(unsigned long addr) in jensen_inb()
162 __EXTERN_INLINE void jensen_outb(u8 b, unsigned long addr) in jensen_outb()
170 __EXTERN_INLINE u16 jensen_inw(unsigned long addr) in jensen_inw()
180 __EXTERN_INLINE u32 jensen_inl(unsigned long addr) in jensen_inl()
[all …]
Dio.h276 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap()
288 static inline void iounmap(volatile void __iomem *addr) in iounmap()
293 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr()
299 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio()
310 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8()
319 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16()
328 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8()
334 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16()
362 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32()
371 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32()
[all …]
/arch/x86/include/asm/
Dbitops.h48 #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3)) argument
52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit()
66 arch___set_bit(long nr, volatile unsigned long *addr) in arch___set_bit()
72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit()
85 arch_clear_bit_unlock(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock()
92 arch___clear_bit(long nr, volatile unsigned long *addr) in arch___clear_bit()
98 arch_clear_bit_unlock_is_negative_byte(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock_is_negative_byte()
111 arch___clear_bit_unlock(long nr, volatile unsigned long *addr) in arch___clear_bit_unlock()
117 arch___change_bit(long nr, volatile unsigned long *addr) in arch___change_bit()
123 arch_change_bit(long nr, volatile unsigned long *addr) in arch_change_bit()
[all …]
Dsync_bitops.h32 static inline void sync_set_bit(long nr, volatile unsigned long *addr) in sync_set_bit()
50 static inline void sync_clear_bit(long nr, volatile unsigned long *addr) in sync_clear_bit()
67 static inline void sync_change_bit(long nr, volatile unsigned long *addr) in sync_change_bit()
83 static inline bool sync_test_and_set_bit(long nr, volatile unsigned long *addr) in sync_test_and_set_bit()
96 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr) in sync_test_and_clear_bit()
109 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr) in sync_test_and_change_bit()
114 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
/arch/powerpc/boot/
Dio.h12 static inline int in_8(const volatile unsigned char *addr) in in_8()
21 static inline void out_8(volatile unsigned char *addr, int val) in out_8()
27 static inline unsigned in_le16(const volatile u16 *addr) in in_le16()
37 static inline unsigned in_be16(const volatile u16 *addr) in in_be16()
46 static inline void out_le16(volatile u16 *addr, int val) in out_le16()
52 static inline void out_be16(volatile u16 *addr, int val) in out_be16()
58 static inline unsigned in_le32(const volatile unsigned *addr) in in_le32()
67 static inline unsigned in_be32(const volatile unsigned *addr) in in_be32()
76 static inline void out_le32(volatile unsigned *addr, int val) in out_le32()
82 static inline void out_be32(volatile unsigned *addr, int val) in out_be32()
/arch/hexagon/include/asm/
Dbitops.h31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit()
55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit()
81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit()
106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit()
111 static inline void set_bit(int nr, volatile void *addr) in set_bit()
116 static inline void change_bit(int nr, volatile void *addr) in change_bit()
130 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
135 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
140 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
146 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
[all …]
/arch/riscv/include/asm/
Dbitops.h37 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument
49 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument
56 #define __test_and_op_bit(op, mod, nr, addr) \ argument
58 #define __op_bit(op, mod, nr, addr) \ argument
72 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit()
84 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit()
97 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
114 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit()
128 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
142 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit()
[all …]
Dio.h97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument
99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument
111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument
112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument
113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument
118 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument
[all …]
/arch/mips/include/asm/mach-generic/
Dide.h39 static inline void __ide_flush_dcache_range(unsigned long addr, unsigned long size) in __ide_flush_dcache_range()
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
[all …]
/arch/h8300/include/asm/
Dio.h12 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
18 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
24 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl()
30 static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) in __raw_writeb()
36 static inline void __raw_writew(u16 b, const volatile void __iomem *addr) in __raw_writew()
42 static inline void __raw_writel(u32 b, const volatile void __iomem *addr) in __raw_writel()
47 static inline void ctrl_bclr(int b, void __iomem *addr) in ctrl_bclr()
55 static inline void ctrl_bset(int b, void __iomem *addr) in ctrl_bset()
/arch/s390/include/asm/
Debcdic.h23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) in codepage_convert()
39 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument
40 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument
41 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument
42 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument
43 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument
44 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
/arch/sh/include/asm/
Dcache_insns_32.h8 #define __icbi(addr) __asm__ __volatile__ ( "icbi @%0\n\t" : : "r" (addr)) argument
10 #define __icbi(addr) mb() argument
13 #define __ocbp(addr) __asm__ __volatile__ ( "ocbp @%0\n\t" : : "r" (addr)) argument
14 #define __ocbi(addr) __asm__ __volatile__ ( "ocbi @%0\n\t" : : "r" (addr)) argument
15 #define __ocbwb(addr) __asm__ __volatile__ ( "ocbwb @%0\n\t" : : "r" (addr)) argument
/arch/csky/kernel/probes/
Dsimulate-insn.c69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16()
76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32()
83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16()
93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32()
103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16()
113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf32()
123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp16()
133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp32()
143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr16()
155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr32()
[all …]
/arch/m68k/include/asm/
Dio_no.h16 #define __raw_readb(addr) \ argument
18 #define __raw_readw(addr) \ argument
20 #define __raw_readl(addr) \ argument
23 #define __raw_writeb(b, addr) (void)((*(__force volatile u8 *) (addr)) = (b)) argument
24 #define __raw_writew(b, addr) (void)((*(__force volatile u16 *) (addr)) = (b)) argument
25 #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b)) argument
48 static int __cf_internalio(unsigned long addr) in __cf_internalio()
53 static int cf_internalio(const volatile void __iomem *addr) in cf_internalio()
66 static inline u16 readw(const volatile void __iomem *addr) in readw()
74 static inline u32 readl(const volatile void __iomem *addr) in readl()
[all …]
Dide.h50 #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
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
/arch/nios2/include/asm/
Dio.h20 #define readb_relaxed(addr) readb(addr) argument
21 #define readw_relaxed(addr) readw(addr) argument
22 #define readl_relaxed(addr) readl(addr) argument
24 #define writeb_relaxed(x, addr) writeb(x, addr) argument
25 #define writew_relaxed(x, addr) writew(x, addr) argument
26 #define writel_relaxed(x, addr) writel(x, addr) argument
/arch/powerpc/include/asm/
Dio.h170 static inline u64 in_le64(const volatile u64 __iomem *addr) in in_le64()
175 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64()
184 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64()
189 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64()
280 #define PCI_FIX_ADDR(addr) \ argument
282 #define PCI_GET_ADDR_TOKEN(addr) \ argument
285 #define PCI_SET_ADDR_TOKEN(addr, token) \ argument
293 #define PCI_FIX_ADDR(addr) (addr) argument
301 static inline unsigned char __raw_readb(const volatile void __iomem *addr) in __raw_readb()
307 static inline unsigned short __raw_readw(const volatile void __iomem *addr) in __raw_readw()
[all …]
Dset_memory.h14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro()
19 static inline int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw()
24 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx()
29 static inline int set_memory_x(unsigned long addr, int numpages) in set_memory_x()
34 static inline int set_memory_np(unsigned long addr, int numpages) in set_memory_np()
39 static inline int set_memory_p(unsigned long addr, int numpages) in set_memory_p()
/arch/alpha/kernel/
Dio.c17 ioread8(const void __iomem *addr) in ioread8()
26 unsigned int ioread16(const void __iomem *addr) in ioread16()
35 unsigned int ioread32(const void __iomem *addr) in ioread32()
44 void iowrite8(u8 b, void __iomem *addr) in iowrite8()
50 void iowrite16(u16 b, void __iomem *addr) in iowrite16()
56 void iowrite32(u32 b, void __iomem *addr) in iowrite32()
106 u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
111 u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
116 u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl()
121 u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq()
[all …]

12345678910>>...56