Home
last modified time | relevance | path

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

/drivers/rpmsg/
Drpmsg_core.c35 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()
396 struct rpmsg_channel_info *chinfo = data; in rpmsg_device_match() local
399 if (chinfo->src != RPMSG_ADDR_ANY && chinfo->src != rpdev->src) in rpmsg_device_match()
402 if (chinfo->dst != RPMSG_ADDR_ANY && chinfo->dst != rpdev->dst) in rpmsg_device_match()
405 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match()
[all …]
Drpmsg_ns.c36 struct rpmsg_channel_info chinfo; in rpmsg_ns_cb() local
53 strncpy(chinfo.name, msg->name, sizeof(chinfo.name)); in rpmsg_ns_cb()
54 chinfo.src = RPMSG_ADDR_ANY; in rpmsg_ns_cb()
55 chinfo.dst = rpmsg32_to_cpu(rpdev, msg->addr); in rpmsg_ns_cb()
59 "destroy" : "creat", msg->name, chinfo.dst); in rpmsg_ns_cb()
62 ret = rpmsg_release_channel(rpdev, &chinfo); in rpmsg_ns_cb()
66 newch = rpmsg_create_channel(rpdev, &chinfo); in rpmsg_ns_cb()
Drpmsg_ctrl.c80 struct rpmsg_channel_info chinfo; in rpmsg_ctrldev_ioctl() local
87 memcpy(chinfo.name, eptinfo.name, RPMSG_NAME_SIZE); in rpmsg_ctrldev_ioctl()
88 chinfo.name[RPMSG_NAME_SIZE - 1] = '\0'; in rpmsg_ctrldev_ioctl()
89 chinfo.src = eptinfo.src; in rpmsg_ctrldev_ioctl()
90 chinfo.dst = eptinfo.dst; in rpmsg_ctrldev_ioctl()
95 ret = rpmsg_chrdev_eptdev_create(ctrldev->rpdev, &ctrldev->dev, chinfo); in rpmsg_ctrldev_ioctl()
99 rpdev = rpmsg_create_channel(ctrldev->rpdev, &chinfo); in rpmsg_ctrldev_ioctl()
101 dev_err(&ctrldev->dev, "failed to create %s channel\n", chinfo.name); in rpmsg_ctrldev_ioctl()
107 ret = rpmsg_release_channel(ctrldev->rpdev, &chinfo); in rpmsg_ctrldev_ioctl()
110 chinfo.name, ret); in rpmsg_ctrldev_ioctl()
Drpmsg_char.c61 struct rpmsg_channel_info chinfo; member
177 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
180 dev_err(dev, "failed to open %s\n", eptdev->chinfo.name); in rpmsg_eptdev_open()
300 ret = rpmsg_trysendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter()
302 ret = rpmsg_sendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter()
361 return sprintf(buf, "%s\n", eptdev->chinfo.name); in name_show()
370 return sprintf(buf, "%d\n", eptdev->chinfo.src); in src_show()
379 return sprintf(buf, "%d\n", eptdev->chinfo.dst); in dst_show()
430 static int rpmsg_chrdev_eptdev_add(struct rpmsg_eptdev *eptdev, struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_add() argument
435 eptdev->chinfo = chinfo; in rpmsg_chrdev_eptdev_add()
[all …]
Drpmsg_internal.h38 struct rpmsg_channel_info *chinfo);
40 struct rpmsg_channel_info *chinfo);
43 struct rpmsg_channel_info chinfo);
86 struct rpmsg_channel_info *chinfo);
89 struct rpmsg_channel_info *chinfo);
91 struct rpmsg_channel_info *chinfo);
Dvirtio_rpmsg_bus.c153 struct rpmsg_channel_info *chinfo);
259 struct rpmsg_channel_info *chinfo) in virtio_rpmsg_create_channel() argument
264 return __rpmsg_create_channel(vrp, chinfo); in virtio_rpmsg_create_channel()
268 struct rpmsg_channel_info *chinfo) in virtio_rpmsg_release_channel() argument
273 return rpmsg_unregister_device(&vrp->vdev->dev, chinfo); in virtio_rpmsg_release_channel()
279 struct rpmsg_channel_info chinfo) in virtio_rpmsg_create_ept() argument
283 return __rpmsg_create_ept(vch->vrp, rpdev, cb, priv, chinfo.src); in virtio_rpmsg_create_ept()
390 struct rpmsg_channel_info *chinfo) in __rpmsg_create_channel() argument
398 tmp = rpmsg_find_device(dev, chinfo); in __rpmsg_create_channel()
403 chinfo->name, chinfo->src, chinfo->dst); in __rpmsg_create_channel()
[all …]
Drpmsg_char.h20 struct rpmsg_channel_info chinfo);
34 struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_create() argument
Dqcom_smd.c903 struct rpmsg_channel_info chinfo) in qcom_smd_create_ept() argument
910 const char *name = chinfo.name; in qcom_smd_create_ept()
1278 struct rpmsg_channel_info chinfo; in qcom_channel_state_worker() local
1323 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_channel_state_worker()
1324 chinfo.src = RPMSG_ADDR_ANY; in qcom_channel_state_worker()
1325 chinfo.dst = RPMSG_ADDR_ANY; in qcom_channel_state_worker()
1326 rpmsg_unregister_device(&edge->dev, &chinfo); in qcom_channel_state_worker()
Dqcom_glink_native.c1137 chinfo) in qcom_glink_create_ept()
1143 const char *name = chinfo.name; in qcom_glink_create_ept()
1483 struct rpmsg_channel_info chinfo; in qcom_glink_rx_close() local
1497 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_glink_rx_close()
1498 chinfo.src = RPMSG_ADDR_ANY; in qcom_glink_rx_close()
1499 chinfo.dst = RPMSG_ADDR_ANY; in qcom_glink_rx_close()
1501 rpmsg_unregister_device(glink->dev, &chinfo); in qcom_glink_rx_close()
Dmtk_rpmsg.c121 struct rpmsg_channel_info chinfo) in mtk_rpmsg_create_ept() argument
126 return __mtk_create_ept(mtk_subdev, rpdev, cb, priv, chinfo.src); in mtk_rpmsg_create_ept()
/drivers/net/wireless/ath/ath5k/
Deeprom.c670 struct ath5k_chan_pcal_info *chinfo; in ath5k_eeprom_free_pcal_info() local
677 chinfo = ee->ee_pwr_cal_a; in ath5k_eeprom_free_pcal_info()
682 chinfo = ee->ee_pwr_cal_b; in ath5k_eeprom_free_pcal_info()
687 chinfo = ee->ee_pwr_cal_g; in ath5k_eeprom_free_pcal_info()
694 if (!chinfo[pier].pd_curves) in ath5k_eeprom_free_pcal_info()
699 &chinfo[pier].pd_curves[pdg]; in ath5k_eeprom_free_pcal_info()
705 kfree(chinfo[pier].pd_curves); in ath5k_eeprom_free_pcal_info()
715 struct ath5k_chan_pcal_info *chinfo) in ath5k_eeprom_convert_pcal_info_5111() argument
726 pcinfo = &chinfo[pier].rf5111_info; in ath5k_eeprom_convert_pcal_info_5111()
729 chinfo[pier].pd_curves = in ath5k_eeprom_convert_pcal_info_5111()
[all …]
/drivers/soc/qcom/
Dwcnss_ctrl.c280 struct rpmsg_channel_info chinfo; in qcom_wcnss_open_channel() local
283 strscpy(chinfo.name, name, sizeof(chinfo.name)); in qcom_wcnss_open_channel()
284 chinfo.src = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel()
285 chinfo.dst = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel()
287 return rpmsg_create_ept(_wcnss->channel->rpdev, cb, priv, chinfo); in qcom_wcnss_open_channel()
/drivers/platform/chrome/
Dcros_ec_rpmsg.c201 struct rpmsg_channel_info chinfo = {}; in cros_ec_rpmsg_create_ept() local
203 strscpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in cros_ec_rpmsg_create_ept()
204 chinfo.src = rpdev->src; in cros_ec_rpmsg_create_ept()
205 chinfo.dst = RPMSG_ADDR_ANY; in cros_ec_rpmsg_create_ept()
207 return rpmsg_create_ept(rpdev, cros_ec_rpmsg_callback, NULL, chinfo); in cros_ec_rpmsg_create_ept()
/drivers/net/wwan/
Drpmsg_wwan_ctrl.c35 struct rpmsg_channel_info chinfo = { in rpmsg_wwan_ctrl_start() local
40 strncpy(chinfo.name, rpwwan->rpdev->id.name, RPMSG_NAME_SIZE); in rpmsg_wwan_ctrl_start()
42 rpwwan, chinfo); in rpmsg_wwan_ctrl_start()