Lines Matching refs:chinfo
35 struct rpmsg_channel_info *chinfo) in rpmsg_create_channel() argument
44 return rpdev->ops->create_channel(rpdev, chinfo); in rpmsg_create_channel()
57 struct rpmsg_channel_info *chinfo) in rpmsg_release_channel() argument
66 return rpdev->ops->release_channel(rpdev, chinfo); in rpmsg_release_channel()
112 struct rpmsg_channel_info chinfo) in rpmsg_create_ept() argument
117 return rpdev->ops->create_ept(rpdev, cb, priv, chinfo); in rpmsg_create_ept()
361 struct rpmsg_channel_info *chinfo = data; in rpmsg_device_match() local
364 if (chinfo->src != RPMSG_ADDR_ANY && chinfo->src != rpdev->src) in rpmsg_device_match()
367 if (chinfo->dst != RPMSG_ADDR_ANY && chinfo->dst != rpdev->dst) in rpmsg_device_match()
370 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match()
378 struct rpmsg_channel_info *chinfo) in rpmsg_find_device() argument
380 return device_find_child(parent, chinfo, rpmsg_device_match); in rpmsg_find_device()
520 struct rpmsg_channel_info chinfo = {}; in rpmsg_dev_probe() local
529 strncpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in rpmsg_dev_probe()
530 chinfo.src = rpdev->src; in rpmsg_dev_probe()
531 chinfo.dst = RPMSG_ADDR_ANY; in rpmsg_dev_probe()
533 ept = rpmsg_create_ept(rpdev, rpdrv->callback, NULL, chinfo); in rpmsg_dev_probe()
649 struct rpmsg_channel_info *chinfo) in rpmsg_unregister_device() argument
653 dev = rpmsg_find_device(parent, chinfo); in rpmsg_unregister_device()