Lines Matching refs:rpmsg_device
115 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_open() local
121 if (!rpmsg_device) { in delta_ipc_open()
185 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_open()
233 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_set_stream() local
244 if (!rpmsg_device) { in delta_ipc_set_stream()
284 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_set_stream()
324 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_decode() local
335 if (!rpmsg_device) { in delta_ipc_decode()
398 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_decode()
437 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_close() local
453 if (!rpmsg_device) { in delta_ipc_close()
464 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_close()
492 static int delta_ipc_cb(struct rpmsg_device *rpdev, void *data, in delta_ipc_cb()
550 static int delta_ipc_probe(struct rpmsg_device *rpmsg_device) in delta_ipc_probe() argument
552 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpmsg_device->dev.driver); in delta_ipc_probe()
555 delta->rpmsg_device = rpmsg_device; in delta_ipc_probe()
560 static void delta_ipc_remove(struct rpmsg_device *rpmsg_device) in delta_ipc_remove() argument
562 struct rpmsg_driver *rpdrv = to_rpmsg_driver(rpmsg_device->dev.driver); in delta_ipc_remove()
565 delta->rpmsg_device = NULL; in delta_ipc_remove()