Home
last modified time | relevance | path

Searched defs:addr (Results 251 – 275 of 8447) sorted by relevance

1...<<11121314151617181920>>...338

/openbmc/u-boot/drivers/gpio/
H A Dpca9698.c28 static int pca9698_read40(u8 addr, u8 offset, u8 *buffer) in pca9698_read40()
35 static int pca9698_write40(u8 addr, u8 offset, u8 *buffer) in pca9698_write40()
65 int pca9698_direction_input(u8 addr, unsigned gpio) in pca9698_direction_input()
79 int pca9698_direction_output(u8 addr, unsigned gpio, int value) in pca9698_direction_output()
97 int pca9698_get_value(u8 addr, unsigned gpio) in pca9698_get_value()
114 int pca9698_set_value(u8 addr, unsigned gpio, int value) in pca9698_set_value()
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h77 #define __put_user_asm_goto(x, addr, label, op) \ argument
86 #define __put_user_asm_goto(x, addr, label, op) \ argument
101 #define __put_user_asm2_goto(x, addr, label) \ argument
110 #define __put_user_asm2_goto(x, addr, label) \ argument
159 #define __get_user_asm_goto(x, addr, label, op) \ argument
168 #define __get_user_asm_goto(x, addr, label, op) \ argument
179 #define __get_user_asm2_goto(x, addr, label) \ argument
182 #define __get_user_asm2_goto(x, addr, label) \ argument
220 #define __get_user_asm(x, addr, err, op) \ argument
234 #define __get_user_asm2(x, addr, err) \ argument
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dpage.h21 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) argument
22 #define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1))) argument
25 #define _ALIGN(addr,size) _ALIGN_UP(addr,size) argument
28 #define PAGE_ALIGN(addr) _ALIGN(addr, PAGE_SIZE) argument
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_xgmac.c18 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_wr_csr() local
26 void __iomem *addr = pdata->eth_ring_if_addr + offset; in xgene_enet_wr_ring_if() local
34 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_wr_diag_csr() local
39 static bool xgene_enet_wr_indirect(void __iomem *addr, void __iomem *wr, in xgene_enet_wr_indirect()
65 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_pcs() local
80 void __iomem *addr = pdata->mcx_mac_csr_addr + offset; in xgene_enet_wr_axg_csr() local
88 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_rd_csr() local
96 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_rd_diag_csr() local
101 static bool xgene_enet_rd_indirect(void __iomem *addr, void __iomem *rd, in xgene_enet_rd_indirect()
127 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_pcs() local
[all …]
/openbmc/qemu/hw/ppc/
H A Dpnv_homer.c33 static bool core_max_array(PnvHomer *homer, hwaddr addr) in core_max_array()
67 static uint64_t pnv_power8_homer_read(void *opaque, hwaddr addr, in pnv_power8_homer_read()
103 static void pnv_power8_homer_write(void *opaque, hwaddr addr, in pnv_power8_homer_write()
130 static uint64_t pnv_homer_power8_pba_read(void *opaque, hwaddr addr, in pnv_homer_power8_pba_read()
158 static void pnv_homer_power8_pba_write(void *opaque, hwaddr addr, in pnv_homer_power8_pba_write()
216 static uint64_t pnv_power9_homer_read(void *opaque, hwaddr addr, in pnv_power9_homer_read()
256 static void pnv_power9_homer_write(void *opaque, hwaddr addr, in pnv_power9_homer_write()
273 static uint64_t pnv_homer_power9_pba_read(void *opaque, hwaddr addr, in pnv_homer_power9_pba_read()
301 static void pnv_homer_power9_pba_write(void *opaque, hwaddr addr, in pnv_homer_power9_pba_write()
336 static uint64_t pnv_homer_power10_pba_read(void *opaque, hwaddr addr, in pnv_homer_power10_pba_read()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dalternative.c524 static int emit_call_track_retpoline(void *addr, struct insn *insn, int reg, u8 *bytes) in emit_call_track_retpoline()
584 static int patch_retpoline(void *addr, struct insn *insn, u8 *bytes) in patch_retpoline()
670 void *addr = (void *)s + *s; in apply_retpolines() local
724 static int patch_return(void *addr, struct insn *insn, u8 *bytes) in patch_return()
750 void *dest = NULL, *addr = (void *)s + *s; in apply_returns() local
797 static void __init_or_module poison_endbr(void *addr, bool warn) in poison_endbr()
830 void *addr = (void *)s + *s; in apply_seal_endbr() local
968 static u32 decode_preamble_hash(void *addr) in decode_preamble_hash()
979 static u32 decode_caller_hash(void *addr) in decode_caller_hash()
1006 void *addr = (void *)s + *s; in cfi_disable_callers() local
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dio.h44 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
62 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
94 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32()
110 static inline int __must_check wlcore_raw_write32(struct wl1271 *wl, int addr, in wlcore_raw_write32()
118 static inline int __must_check wlcore_read(struct wl1271 *wl, int addr, in wlcore_read()
128 static inline int __must_check wlcore_write(struct wl1271 *wl, int addr, in wlcore_write()
157 int addr; in wlcore_read_hwaddr() local
167 static inline int __must_check wlcore_read32(struct wl1271 *wl, int addr, in wlcore_read32()
173 static inline int __must_check wlcore_write32(struct wl1271 *wl, int addr, in wlcore_write32()
/openbmc/qemu/hw/pci-host/
H A Ddino.c47 uint32_t addr = 0xf0000000 + i * DINO_MEM_CHUNK_SIZE; in gsc_to_pci_forwarding() local
57 static bool dino_chip_mem_valid(void *opaque, hwaddr addr, in dino_chip_mem_valid()
93 static MemTxResult dino_chip_read_with_attrs(void *opaque, hwaddr addr, in dino_chip_read_with_attrs()
186 static MemTxResult dino_chip_write_with_attrs(void *opaque, hwaddr addr, in dino_chip_write_with_attrs()
307 static uint64_t dino_config_data_read(void *opaque, hwaddr addr, unsigned len) in dino_config_data_read()
313 static void dino_config_data_write(void *opaque, hwaddr addr, in dino_config_data_write()
326 static uint64_t dino_config_addr_read(void *opaque, hwaddr addr, unsigned len) in dino_config_addr_read()
332 static void dino_config_addr_write(void *opaque, hwaddr addr, in dino_config_addr_write()
480 uint32_t addr = 0xf0000000 + i * DINO_MEM_CHUNK_SIZE; in dino_pcihost_init() local
/openbmc/linux/tools/testing/selftests/mm/
H A Dhugepage-mmap.c38 static void check_bytes(char *addr) in check_bytes()
43 static void write_bytes(char *addr) in write_bytes()
51 static int read_bytes(char *addr) in read_bytes()
66 void *addr; in main() local
/openbmc/u-boot/arch/sh/include/asm/
H A Dbitops.h14 static inline void set_bit(int nr, volatile void * addr) in set_bit()
32 static inline void clear_bit(int nr, volatile void * addr) in clear_bit()
45 static inline void change_bit(int nr, volatile void * addr) in change_bit()
58 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit()
74 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit()
90 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
/openbmc/u-boot/arch/nios2/include/asm/bitops/
H A Datomic.h65 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit()
86 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
107 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit()
127 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit()
151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit()
174 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
/openbmc/qemu/hw/intc/
H A Dloongson_ipi_common.c18 MemTxResult loongson_ipi_core_readl(void *opaque, hwaddr addr, uint64_t *data, in loongson_ipi_core_readl()
54 static MemTxResult loongson_ipi_iocsr_readl(void *opaque, hwaddr addr, in loongson_ipi_iocsr_readl()
70 uint64_t val, hwaddr addr, MemTxAttrs attrs) in send_ipi_data()
106 hwaddr addr; in mail_send() local
126 hwaddr addr; in any_send() local
141 MemTxResult loongson_ipi_core_writel(void *opaque, hwaddr addr, uint64_t val, in loongson_ipi_core_writel()
196 static MemTxResult loongson_ipi_iocsr_writel(void *opaque, hwaddr addr, in loongson_ipi_iocsr_writel()
222 static MemTxResult loongson_ipi_writeq(void *opaque, hwaddr addr, uint64_t val, in loongson_ipi_writeq()
/openbmc/linux/include/linux/
H A Dhighmem-internal.h28 static inline void kmap_flush_tlb(unsigned long addr) { } in kmap_flush_tlb()
42 void *addr; in kmap() local
61 static inline struct page *kmap_to_page(void *addr) in kmap_to_page()
124 static inline void __kunmap_atomic(const void *addr) in __kunmap_atomic()
154 unsigned long addr = (unsigned long)x; in is_kmap_addr() local
162 static inline struct page *kmap_to_page(void *addr) in kmap_to_page()
203 static inline void __kunmap_local(const void *addr) in __kunmap_local()
230 static inline void __kunmap_atomic(const void *addr) in __kunmap_atomic()
H A Dvirtio_pci_modern.h57 static inline u8 vp_ioread8(const u8 __iomem *addr) in vp_ioread8()
61 static inline u16 vp_ioread16 (const __le16 __iomem *addr) in vp_ioread16()
66 static inline u32 vp_ioread32(const __le32 __iomem *addr) in vp_ioread32()
71 static inline void vp_iowrite8(u8 value, u8 __iomem *addr) in vp_iowrite8()
76 static inline void vp_iowrite16(u16 value, __le16 __iomem *addr) in vp_iowrite16()
81 static inline void vp_iowrite32(u32 value, __le32 __iomem *addr) in vp_iowrite32()
/openbmc/qemu/monitor/
H A Dhmp-cmds-target.c124 hwaddr addr, int is_physical) in memory_dump()
237 target_long addr = qdict_get_int(qdict, "addr"); in hmp_memory_dump() local
247 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_physical_memory_dump() local
252 void *gpa2hva(MemoryRegion **p_mr, hwaddr addr, uint64_t size, Error **errp) in gpa2hva()
283 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_gpa2hva() local
303 target_ulong addr = qdict_get_int(qdict, "addr"); in hmp_gva2gpa() local
327 uintptr_t addr = (uintptr_t) ptr; in vtop() local
358 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_gpa2hpa() local
/openbmc/linux/arch/s390/mm/
H A Dhugetlbpage.c145 void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in __set_huge_pte_at()
166 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at()
178 unsigned long addr, pte_t *ptep) in __huge_ptep_get_and_clear()
192 unsigned long addr, unsigned long sz) in huge_pte_alloc()
214 unsigned long addr, unsigned long sz) in huge_pte_offset()
257 unsigned long addr, unsigned long len, in hugetlb_get_unmapped_area_bottomup()
278 unsigned long addr; in hugetlb_get_unmapped_area_topdown() local
305 unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr, in hugetlb_get_unmapped_area()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c269 static unsigned long next_boundary(unsigned long addr, unsigned long end) in next_boundary()
298 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local
674 static bool __meminit vmemmap_pmd_is_unused(unsigned long addr, unsigned long end) in vmemmap_pmd_is_unused()
681 static bool __meminit vmemmap_page_is_unused(unsigned long addr, unsigned long end) in vmemmap_page_is_unused()
722 static void __meminit remove_pte_table(pte_t *pte_start, unsigned long addr, in remove_pte_table()
755 static void __meminit remove_pmd_table(pmd_t *pmd_start, unsigned long addr, in remove_pmd_table()
795 static void __meminit remove_pud_table(pud_t *pud_start, unsigned long addr, in remove_pud_table()
833 unsigned long addr, next; in remove_pagetable() local
925 unsigned long addr, unsigned long next) in vmemmap_check_pmd()
936 unsigned long addr, unsigned long next) in vmemmap_set_pmd()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dsdio.c23 static bool rtw_sdio_is_bus_addr(u32 addr) in rtw_sdio_is_bus_addr()
34 static u32 rtw_sdio_to_bus_offset(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_to_bus_offset()
55 static bool rtw_sdio_use_memcpy_io(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_use_memcpy_io()
62 static void rtw_sdio_writel(struct rtw_dev *rtwdev, u32 val, u32 addr, in rtw_sdio_writel()
83 static void rtw_sdio_writew(struct rtw_dev *rtwdev, u16 val, u32 addr, in rtw_sdio_writew()
99 static u32 rtw_sdio_readl(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readl()
117 static u16 rtw_sdio_readw(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readw()
132 static u32 rtw_sdio_to_io_address(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_to_io_address()
144 static bool rtw_sdio_use_direct_io(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_use_direct_io()
150 static int rtw_sdio_indirect_reg_cfg(struct rtw_dev *rtwdev, u32 addr, u32 cfg) in rtw_sdio_indirect_reg_cfg()
[all …]
/openbmc/linux/drivers/mtd/tests/
H A Dspeedtest.c47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in multiblock_erase() local
65 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() local
73 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_page() local
91 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_2pages() local
109 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock() local
117 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_page() local
135 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_2pages() local
/openbmc/qemu/include/qemu/
H A Dtsan.h27 #define QEMU_TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument
29 #define QEMU_TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument
55 #define QEMU_TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument
56 #define QEMU_TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument
/openbmc/u-boot/board/micronas/vct/
H A Debi_smc911x.c35 u32 smc911x_reg_read(struct eth_device *dev, u32 addr) in smc911x_reg_read()
49 void smc911x_reg_write(struct eth_device *dev, u32 addr, u32 data) in smc911x_reg_write()
60 void pkt_data_push(struct eth_device *dev, u32 addr, u32 data) in pkt_data_push()
73 u32 pkt_data_pull(struct eth_device *dev, u32 addr) in pkt_data_pull()
/openbmc/qemu/accel/tcg/
H A Duser-exec.c749 target_ulong addr = start + i; in page_unprotect() local
779 static int probe_access_internal(CPUArchState *env, vaddr addr, in probe_access_internal()
821 int probe_access_flags(CPUArchState *env, vaddr addr, int size, in probe_access_flags()
833 void *probe_access(CPUArchState *env, vaddr addr, int size, in probe_access()
845 tb_page_addr_t get_page_addr_code_hostp(CPUArchState *env, vaddr addr, in get_page_addr_code_hostp()
954 static void *cpu_mmu_lookup(CPUState *cpu, vaddr addr, in cpu_mmu_lookup()
972 static uint8_t do_ld1_mmu(CPUState *cpu, vaddr addr, MemOpIdx oi, in do_ld1_mmu()
985 static uint16_t do_ld2_mmu(CPUState *cpu, vaddr addr, MemOpIdx oi, in do_ld2_mmu()
1003 static uint32_t do_ld4_mmu(CPUState *cpu, vaddr addr, MemOpIdx oi, in do_ld4_mmu()
1021 static uint64_t do_ld8_mmu(CPUState *cpu, vaddr addr, MemOpIdx oi, in do_ld8_mmu()
[all …]
/openbmc/linux/arch/arc/kernel/
H A Dunaligned.c26 #define __get8_unaligned_check(val, addr, err) \ argument
42 #define get16_unaligned_check(val, addr) \ argument
53 #define get32_unaligned_check(val, addr) \ argument
68 #define put16_unaligned_check(val, addr) \ argument
95 #define put32_unaligned_check(val, addr) \ argument
/openbmc/qemu/util/
H A Dqemu-sockets.c126 int inet_ai_family_from_address(InetSocketAddress *addr, in inet_ai_family_from_address()
360 struct addrinfo *addr, Error **errp) in inet_connect_addr()
499 const char *addr; in inet_dgram_saddr() local
622 int inet_parse(InetSocketAddress *addr, const char *str, Error **errp) in inet_parse()
808 static int vsock_parse(VsockSocketAddress *addr, const char *str, in vsock_parse()
848 static int vsock_parse(VsockSocketAddress *addr, const char *str, in vsock_parse()
1052 char *socket_uri(SocketAddress *addr) in socket_uri()
1075 SocketAddress *addr; in socket_parse() local
1142 int socket_address_parse_named_fd(SocketAddress *addr, Error **errp) in socket_address_parse_named_fd()
1161 int socket_connect(SocketAddress *addr, Error **errp) in socket_connect()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Daddr.c59 struct rdma_dev_addr *addr; member
195 int rdma_addr_size(const struct sockaddr *addr) in rdma_addr_size()
210 int rdma_addr_size_in6(struct sockaddr_in6 *addr) in rdma_addr_size_in6()
218 int rdma_addr_size_kss(struct __kernel_sockaddr_storage *addr) in rdma_addr_size_kss()
275 int rdma_translate_ip(const struct sockaddr *addr, in rdma_translate_ip()
386 struct rdma_dev_addr *addr, in addr4_resolve()
419 struct rdma_dev_addr *addr, in addr6_resolve()
448 struct rdma_dev_addr *addr, in addr6_resolve()
457 struct rdma_dev_addr *addr, in addr_resolve_neigh()
526 static int set_addr_netns_by_gid_rcu(struct rdma_dev_addr *addr) in set_addr_netns_by_gid_rcu()
[all …]

1...<<11121314151617181920>>...338