Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 7 of 7) sorted by relevance

/open-amp-2.7.6/open-amp/lib/rpmsg/
Drpmsg.c27 unsigned int addr = RPMSG_ADDR_ANY; in rpmsg_get_address() local
32 addr = RPMSG_RESERVED_ADDRESSES + nextbit; in rpmsg_get_address()
36 return addr; in rpmsg_get_address()
49 int addr) in rpmsg_release_address() argument
51 addr -= RPMSG_RESERVED_ADDRESSES; in rpmsg_release_address()
52 if (addr >= 0 && addr < size) in rpmsg_release_address()
53 metal_bitmap_clear_bit(bitmap, addr); in rpmsg_release_address()
67 static int rpmsg_is_address_set(unsigned long *bitmap, int size, int addr) in rpmsg_is_address_set() argument
69 addr -= RPMSG_RESERVED_ADDRESSES; in rpmsg_is_address_set()
70 if (addr >= 0 && addr < size) in rpmsg_is_address_set()
[all …]
Drpmsg_internal.h84 uint32_t addr; member
109 ept->addr = src; in rpmsg_initialize_ept()
118 const char *name, uint32_t addr,
124 rpmsg_get_ept_from_addr(struct rpmsg_device *rdev, uint32_t addr) in rpmsg_get_ept_from_addr() argument
126 return rpmsg_get_endpoint(rdev, NULL, addr, RPMSG_ADDR_ANY); in rpmsg_get_ept_from_addr()
Drpmsg_virtio.c551 dest = ns_msg->addr; in rpmsg_virtio_ns_callback()
/open-amp-2.7.6/open-amp/lib/include/openamp/
Drpmsg.h75 uint32_t addr; member
161 return rpmsg_send_offchannel_raw(ept, ept->addr, ept->dest_addr, data, in rpmsg_send()
184 return rpmsg_send_offchannel_raw(ept, ept->addr, dst, data, len, true); in rpmsg_sendto()
229 return rpmsg_send_offchannel_raw(ept, ept->addr, ept->dest_addr, data, in rpmsg_trysend()
252 return rpmsg_send_offchannel_raw(ept, ept->addr, dst, data, len, false); in rpmsg_trysendto()
401 return rpmsg_send_offchannel_nocopy(ept, ept->addr, dst, data, len); in rpmsg_sendto_nocopy()
435 return rpmsg_send_offchannel_nocopy(ept, ept->addr, in rpmsg_send_nocopy()
462 ept->addr = src; in rpmsg_init_ept()
Dvirtio_ring.h42 uint64_t addr; member
/open-amp-2.7.6/open-amp/docs/
Ddata-structure.md155 …int (*new_endpoint_cb)(const char *name, uint32_t addr); /**< name service announcement user desig…
162 …uint32_t addr; …
164 …dpoint *ept, void *data, struct metal_io_region *io, size_t len, uint32_t addr); /**< endpoint cal…
/open-amp-2.7.6/open-amp/lib/virtio/
Dvirtqueue.c253 buffer = virtqueue_phys_to_virt(vq, vq->vq_ring.desc[*avail_idx].addr); in virtqueue_get_available_buffer()
444 dp->addr = virtqueue_virt_to_phys(vq, buf_list[i].buf); in vq_ring_add_buffer()