Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rpmsg/
H A Drpmsg_char.c83 if (eptdev->ept) { in rpmsg_chrdev_eptdev_destroy()
94 cdev_device_del(&eptdev->cdev, &eptdev->dev); in rpmsg_chrdev_eptdev_destroy()
210 if (!eptdev->ept) in rpmsg_eptdev_read_iter()
282 ret = rpmsg_sendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter()
404 kfree(eptdev); in rpmsg_eptdev_release_device()
413 eptdev = kzalloc(sizeof(*eptdev), GFP_KERNEL); in rpmsg_chrdev_eptdev_alloc()
414 if (!eptdev) in rpmsg_chrdev_eptdev_alloc()
434 return eptdev; in rpmsg_chrdev_eptdev_alloc()
455 ret = cdev_device_add(&eptdev->cdev, &eptdev->dev); in rpmsg_chrdev_eptdev_add()
470 kfree(eptdev); in rpmsg_chrdev_eptdev_add()
[all …]