Home
last modified time | relevance | path

Searched refs:status (Results 1 – 15 of 15) sorted by relevance

/open-amp-3.5.0/open-amp/lib/rpmsg/
Drpmsg_virtio.c263 uint8_t status; in rpmsg_virtio_wait_remote_ready() local
266 status = rpmsg_virtio_get_status(rvdev); in rpmsg_virtio_wait_remote_ready()
268 if (status & VIRTIO_CONFIG_STATUS_NEEDS_RESET) { in rpmsg_virtio_wait_remote_ready()
271 } else if (status & VIRTIO_CONFIG_STATUS_DRIVER_OK) { in rpmsg_virtio_wait_remote_ready()
364 int status; in rpmsg_virtio_get_tx_payload_buffer() local
370 status = rpmsg_virtio_get_status(rvdev); in rpmsg_virtio_get_tx_payload_buffer()
371 if (!(status & VIRTIO_CONFIG_STATUS_DRIVER_OK)) in rpmsg_virtio_get_tx_payload_buffer()
411 int status; in rpmsg_virtio_send_offchannel_nocopy() local
429 status = metal_io_block_write(io, metal_io_virt_to_offset(io, hdr), in rpmsg_virtio_send_offchannel_nocopy()
431 RPMSG_ASSERT(status == sizeof(rp_hdr), "failed to write header\r\n"); in rpmsg_virtio_send_offchannel_nocopy()
[all …]
Drpmsg.c272 int status = RPMSG_SUCCESS; in rpmsg_create_ept() local
282 status = RPMSG_ERR_ADDR; in rpmsg_create_ept()
286 status = rpmsg_is_address_set(rdev->bitmap, in rpmsg_create_ept()
288 if (!status) { in rpmsg_create_ept()
292 } else if (status > 0) { in rpmsg_create_ept()
293 status = RPMSG_ERR_ADDR; in rpmsg_create_ept()
311 status = rpmsg_send_ns_message(ept, RPMSG_NS_CREATE); in rpmsg_create_ept()
313 if (status) in rpmsg_create_ept()
315 return status; in rpmsg_create_ept()
319 return status; in rpmsg_create_ept()
/open-amp-3.5.0/open-amp/lib/remoteproc/
Drsc_table_parser.c30 int status = 0; in handle_rsc_table() local
64 status = rsc_handler_table[rsc_type](rproc, hdr); in handle_rsc_table()
67 status = handle_vendor_rsc(rproc, hdr); in handle_rsc_table()
68 if (status == -RPROC_ERR_RSC_TAB_NS) { in handle_rsc_table()
69 status = 0; in handle_rsc_table()
71 } else if (status) { in handle_rsc_table()
76 return status; in handle_rsc_table()
Dremoteproc_virtio.c38 char status; in rproc_virtio_get_status() local
44 status = metal_io_read8(io, in rproc_virtio_get_status()
45 metal_io_virt_to_offset(io, &vdev_rsc->status)); in rproc_virtio_get_status()
46 return status; in rproc_virtio_get_status()
51 unsigned char status) in rproc_virtio_set_status() argument
61 metal_io_virt_to_offset(io, &vdev_rsc->status), in rproc_virtio_set_status()
62 status); in rproc_virtio_set_status()
349 uint8_t status; in rproc_virtio_wait_remote_ready() local
361 status = rproc_virtio_get_status(vdev); in rproc_virtio_wait_remote_ready()
362 if (status & VIRTIO_CONFIG_STATUS_DRIVER_OK) in rproc_virtio_wait_remote_ready()
/open-amp-3.5.0/open-amp/lib/include/openamp/
Dvirtio.h186 void (*set_status)(struct virtio_device *dev, uint8_t status);
247 static inline int virtio_get_status(struct virtio_device *vdev, uint8_t *status) in virtio_get_status() argument
249 if (!vdev || !status) in virtio_get_status()
255 *status = vdev->func->get_status(vdev); in virtio_get_status()
267 static inline int virtio_set_status(struct virtio_device *vdev, uint8_t status) in virtio_set_status() argument
275 vdev->func->set_status(vdev, status); in virtio_set_status()
Drpmsg_rpc_client_server.h61 int32_t status; member
210 int status, void *request_param,
Drpmsg_virtio.h108 uint8_t status) in rpmsg_virtio_set_status() argument
110 rvdev->vdev->func->set_status(rvdev->vdev, status); in rpmsg_virtio_set_status()
Dremoteproc.h300 uint8_t status; member
/open-amp-3.5.0/open-amp/lib/virtio/
Dvirtqueue.c64 int status = VQUEUE_SUCCESS; in virtqueue_create() local
66 VQ_PARAM_CHK(ring == NULL, status, ERROR_VQUEUE_INVLD_PARAM); in virtqueue_create()
67 VQ_PARAM_CHK(ring->num_descs == 0, status, ERROR_VQUEUE_INVLD_PARAM); in virtqueue_create()
68 VQ_PARAM_CHK(ring->num_descs & (ring->num_descs - 1), status, in virtqueue_create()
70 VQ_PARAM_CHK(vq == NULL, status, ERROR_NO_MEM); in virtqueue_create()
72 if (status == VQUEUE_SUCCESS) { in virtqueue_create()
90 return status; in virtqueue_create()
97 int status = VQUEUE_SUCCESS; in virtqueue_add_buffer() local
104 VQ_PARAM_CHK(vq == NULL, status, ERROR_VQUEUE_INVLD_PARAM); in virtqueue_add_buffer()
105 VQ_PARAM_CHK(needed < 1, status, ERROR_VQUEUE_INVLD_PARAM); in virtqueue_add_buffer()
[all …]
/open-amp-3.5.0/open-amp/lib/service/rpmsg/rpc/
Drpmsg_rpc_server.c82 int status, void *request_param, size_t param_size) in rpmsg_rpc_server_send() argument
89 if (param_size > (MAX_BUF_LEN - sizeof(msg.status))) in rpmsg_rpc_server_send()
93 msg.status = status; in rpmsg_rpc_server_send()
Drpmsg_rpc_client.c112 service->cb(rpc, msg->status, msg->params, len); in rpmsg_endpoint_client_cb()
/open-amp-3.5.0/open-amp/doc/img-src/
Dcoprocessor-rpmsg-static-ep.gv17 … name service, it will not create name service endpoint;\l* it sets vdev status to DRVIER_READY, A…
66 …t create name service endpoint;\l* It will not return until the host set status to DRIVER READY\l"…
Dcoprocessor-rpmsg-ns.gv17 … name service, it will not create name service endpoint;\l* it sets vdev status to DRVIER_READY, A…
70 …l create name service endpoint;\l* It will not return until the host set status to DRIVER READY\l"…
Dcoprocessor-rpmsg-ns-dynamic.gv17 …orts name service, it will create name service endpoint;\l* it sets vdev status to DRVIER_READY, A…
72 …l create name service endpoint;\l* It will not return until the host set status to DRIVER READY\l"…
/open-amp-3.5.0/open-amp/
DDoxyfile865 # at the end of the doxygen process doxygen will return with a non-zero status.