Home
last modified time | relevance | path

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

12345678910>>...130

/linux/arch/mips/include/asm/
H A 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 …]
H A 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 …]
H A Dr4kcache.h47 #define _cache_op(insn, op, addr) \ argument
57 #define cache_op(op, addr) \ argument
60 static inline void flush_icache_line_indexed(unsigned long addr) in flush_icache_line_indexed()
65 static inline void flush_dcache_line_indexed(unsigned long addr) in flush_dcache_line_indexed()
70 static inline void flush_scache_line_indexed(unsigned long addr) in flush_scache_line_indexed()
75 static inline void flush_icache_line(unsigned long addr) in flush_icache_line()
88 static inline void flush_dcache_line(unsigned long addr) in flush_dcache_line()
93 static inline void invalidate_dcache_line(unsigned long addr) in invalidate_dcache_line()
98 static inline void invalidate_scache_line(unsigned long addr) in invalidate_scache_line()
103 static inline void flush_scache_line(unsigned long addr) in flush_scache_line()
[all …]
/linux/arch/parisc/lib/
H A 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
74 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) argument
76 static unsigned int ioport_read8(const void __iomem *addr) in ioport_read8()
81 static unsigned int ioport_read16(const void __iomem *addr) in ioport_read16()
86 static unsigned int ioport_read32(const void __iomem *addr) in ioport_read32()
91 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8()
96 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16()
[all …]
/linux/arch/sh/kernel/
H A 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 …]
/linux/lib/
H A Diomap.c52 #define IO_COND(addr, is_pio, is_mmio) do { \ argument
69 #define mmio_read16be(addr) swab16(readw(addr)) argument
70 #define mmio_read32be(addr) swab32(readl(addr)) argument
71 #define mmio_read64be(addr) swab64(readq(addr)) argument
79 unsigned int ioread8(const void __iomem *addr) in ioread8()
85 unsigned int ioread16(const void __iomem *addr) in ioread16()
91 unsigned int ioread16be(const void __iomem *addr) in ioread16be()
97 unsigned int ioread32(const void __iomem *addr) in ioread32()
103 unsigned int ioread32be(const void __iomem *addr) in ioread32be()
156 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi()
[all …]
/linux/include/linux/
H A Din.h38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback()
43 static inline bool ipv4_is_multicast(__be32 addr) in ipv4_is_multicast()
48 static inline bool ipv4_is_local_multicast(__be32 addr) in ipv4_is_local_multicast()
53 static inline bool ipv4_is_lbcast(__be32 addr) in ipv4_is_lbcast()
59 static inline bool ipv4_is_all_snoopers(__be32 addr) in ipv4_is_all_snoopers()
64 static inline bool ipv4_is_zeronet(__be32 addr) in ipv4_is_zeronet()
71 static inline bool ipv4_is_private_10(__be32 addr) in ipv4_is_private_10()
76 static inline bool ipv4_is_private_172(__be32 addr) in ipv4_is_private_172()
81 static inline bool ipv4_is_private_192(__be32 addr) in ipv4_is_private_192()
86 static inline bool ipv4_is_linklocal_169(__be32 addr) in ipv4_is_linklocal_169()
[all …]
H A Detherdevice.h89 static inline bool is_link_local_ether_addr(const u8 *addr) in is_link_local_ether_addr()
111 static inline bool is_zero_ether_addr(const u8 *addr) in is_zero_ether_addr()
129 static inline bool is_multicast_ether_addr(const u8 *addr) in is_multicast_ether_addr()
143 static inline bool is_multicast_ether_addr_64bits(const u8 *addr) in is_multicast_ether_addr_64bits()
162 static inline bool is_local_ether_addr(const u8 *addr) in is_local_ether_addr()
175 static inline bool is_broadcast_ether_addr(const u8 *addr) in is_broadcast_ether_addr()
188 static inline bool is_unicast_ether_addr(const u8 *addr) in is_unicast_ether_addr()
204 static inline bool is_valid_ether_addr(const u8 *addr) in is_valid_ether_addr()
236 static inline void eth_random_addr(u8 *addr) in eth_random_addr()
249 static inline void eth_broadcast_addr(u8 *addr) in eth_broadcast_addr()
[all …]
H A Dfind.h56 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit()
175 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
202 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
228 unsigned long find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) in find_nth_bit()
385 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
406 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit()
452 unsigned long find_next_bit_wrap(const unsigned long *addr, in find_next_bit_wrap()
510 unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, unsigned long offset) in find_next_zero_bit_le()
516 unsigned long find_next_bit_le(const void *addr, unsigned long size, unsigned long offset) in find_next_bit_le()
522 unsigned long find_first_zero_bit_le(const void *addr, unsigned long size) in find_first_zero_bit_le()
[all …]
/linux/arch/csky/kernel/probes/
H A 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 …]
/linux/arch/alpha/kernel/
H A 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 u64 ioread64(const void __iomem *addr) in ioread64()
53 void iowrite8(u8 b, void __iomem *addr) in iowrite8()
59 void iowrite16(u16 b, void __iomem *addr) in iowrite16()
65 void iowrite32(u32 b, void __iomem *addr) in iowrite32()
71 void iowrite64(u64 b, void __iomem *addr) in iowrite64()
123 u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
128 u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
[all …]
/linux/arch/riscv/include/asm/
H A 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 …]
H A Dbitops.h196 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument
208 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument
215 #define __test_and_op_bit(op, mod, nr, addr) \ argument
217 #define __op_bit(op, mod, nr, addr) \ argument
231 static inline int arch_test_and_set_bit(int nr, volatile unsigned long *addr) in arch_test_and_set_bit()
243 static inline int arch_test_and_clear_bit(int nr, volatile unsigned long *addr) in arch_test_and_clear_bit()
256 static inline int arch_test_and_change_bit(int nr, volatile unsigned long *addr) in arch_test_and_change_bit()
273 static inline void arch_set_bit(int nr, volatile unsigned long *addr) in arch_set_bit()
287 static inline void arch_clear_bit(int nr, volatile unsigned long *addr) in arch_clear_bit()
301 static inline void arch_change_bit(int nr, volatile unsigned long *addr) in arch_change_bit()
[all …]
/linux/arch/hexagon/include/asm/
H A 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()
131 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
137 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
143 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit()
150 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit()
[all …]
/linux/arch/alpha/include/asm/
H A Dio.h291 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap()
305 static inline void iounmap(volatile void __iomem *addr) in iounmap()
310 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr()
316 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio()
327 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8()
336 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16()
345 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8()
351 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16()
384 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32()
393 extern inline u64 ioread64(const void __iomem *addr) in ioread64()
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-io.h24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl()
30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry()
35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel()
46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl()
52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry()
57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel()
68 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect()
84 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw()
90 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry()
95 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew()
[all …]
/linux/arch/m68k/include/asm/
H A 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 …]
H A Draw_io.h19 #define in_8(addr) \ argument
21 #define in_be16(addr) \ argument
23 #define in_be32(addr) \ argument
25 #define in_le16(addr) \ argument
27 #define in_le32(addr) \ argument
30 #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) argument
31 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (unsigned long)(addr)) = (w)) argument
32 #define out_be32(addr,l) (void)((*(__force volatile u32 *) (unsigned long)(addr)) = (l)) argument
33 #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (unsigned long)(addr)) = cpu_to_le16(… argument
34 #define out_le32(addr,l) (void)((*(__force volatile __le32 *) (unsigned long)(addr)) = cpu_to_le32(… argument
[all …]
/linux/arch/powerpc/boot/
H A 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()
/linux/include/asm-generic/bitops/
H A Dinstrumented-non-atomic.h26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit()
42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit()
58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit()
64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop()
97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit()
112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit()
127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit()
139 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit()
151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in _test_bit_acquire()
H A Dle.h19 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
24 static inline void set_bit_le(int nr, void *addr) in set_bit_le()
29 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le()
34 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
39 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
44 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
49 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
54 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
59 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
/linux/arch/sparc/include/asm/
H A Dio_64.h22 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
34 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
46 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl()
58 static inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq()
70 static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) in __raw_writeb()
78 static inline void __raw_writew(u16 w, const volatile void __iomem *addr) in __raw_writew()
86 static inline void __raw_writel(u32 l, const volatile void __iomem *addr) in __raw_writel()
94 static inline void __raw_writeq(u64 q, const volatile void __iomem *addr) in __raw_writeq()
107 static inline u8 readb(const volatile void __iomem *addr) in readb()
119 static inline u16 readw(const volatile void __iomem *addr) in readw()
[all …]
/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio.c20 gpa_t addr, unsigned int len) in vgic_mmio_read_raz()
26 gpa_t addr, unsigned int len) in vgic_mmio_read_rao()
31 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_wi()
37 int vgic_mmio_uaccess_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_uaccess_write_wi()
45 gpa_t addr, unsigned int len) in vgic_mmio_read_group()
69 void vgic_mmio_write_group(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_group()
97 gpa_t addr, unsigned int len) in vgic_mmio_read_enable()
117 gpa_t addr, unsigned int len, in vgic_mmio_write_senable()
166 gpa_t addr, unsigned int len, in vgic_mmio_write_cenable()
188 gpa_t addr, unsigned int len, in vgic_uaccess_write_senable()
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal2_avb.c93 int port, int addr, u16 *data, in mv88e6352_g2_avb_port_ptp_read()
105 int port, int addr, u16 data) in mv88e6352_g2_avb_port_ptp_write()
113 static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_read()
121 static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_write()
129 static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_read()
137 static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_write()
154 static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_read()
162 static int mv88e6165_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_write()
180 int port, int addr, u16 *data, in mv88e6390_g2_avb_port_ptp_read()
192 int port, int addr, u16 data) in mv88e6390_g2_avb_port_ptp_write()
[all …]
/linux/drivers/net/phy/
H A Dmdio_bus.c108 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr) in mdiobus_find_device()
118 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy()
133 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device()
202 int addr; member
260 int addr = mdiodev->addr; in mdio_bus_device_stat_field_show() local
297 #define MDIO_BUS_STATS_ADDR_ATTR_DECL(field, addr, file) \ argument
307 #define MDIO_BUS_STATS_ADDR_ATTR(field, addr) \ argument
311 #define MDIO_BUS_STATS_ADDR_ATTR_GROUP_DECL(addr) \ argument
350 #define MDIO_BUS_STATS_ADDR_ATTR_GROUP(addr) \ argument
468 int addr; in of_mdiobus_find_phy() local
[all …]

12345678910>>...130