/linux-6.6.21/drivers/rpmsg/ |
D | rpmsg_ns.c | 36 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()
|
D | rpmsg_core.c | 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() 380 struct rpmsg_channel_info *chinfo = data; in rpmsg_device_match() local 383 if (chinfo->src != RPMSG_ADDR_ANY && chinfo->src != rpdev->src) in rpmsg_device_match() 386 if (chinfo->dst != RPMSG_ADDR_ANY && chinfo->dst != rpdev->dst) in rpmsg_device_match() 389 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match() [all …]
|
D | rpmsg_char.c | 63 struct rpmsg_channel_info chinfo; member 162 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open() 165 dev_err(dev, "failed to open %s\n", eptdev->chinfo.name); in rpmsg_eptdev_open() 278 ret = rpmsg_trysendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter() 282 ret = rpmsg_sendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter() 335 ret = rpmsg_set_flow_control(eptdev->ept, set, eptdev->chinfo.dst); in rpmsg_eptdev_ioctl() 368 return sprintf(buf, "%s\n", eptdev->chinfo.name); in name_show() 377 return sprintf(buf, "%d\n", eptdev->chinfo.src); in src_show() 386 return sprintf(buf, "%d\n", eptdev->chinfo.dst); in dst_show() 437 static int rpmsg_chrdev_eptdev_add(struct rpmsg_eptdev *eptdev, struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_add() argument [all …]
|
D | rpmsg_ctrl.c | 80 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()
|
D | rpmsg_internal.h | 37 struct rpmsg_channel_info *chinfo); 39 struct rpmsg_channel_info *chinfo); 42 struct rpmsg_channel_info chinfo); 84 struct rpmsg_channel_info *chinfo); 87 struct rpmsg_channel_info *chinfo); 89 struct rpmsg_channel_info *chinfo);
|
D | virtio_rpmsg_bus.c | 153 struct rpmsg_channel_info *chinfo); 260 struct rpmsg_channel_info *chinfo) in virtio_rpmsg_create_channel() argument 265 return __rpmsg_create_channel(vrp, chinfo); in virtio_rpmsg_create_channel() 269 struct rpmsg_channel_info *chinfo) in virtio_rpmsg_release_channel() argument 274 return rpmsg_unregister_device(&vrp->vdev->dev, chinfo); in virtio_rpmsg_release_channel() 280 struct rpmsg_channel_info chinfo) in virtio_rpmsg_create_ept() argument 284 return __rpmsg_create_ept(vch->vrp, rpdev, cb, priv, chinfo.src); in virtio_rpmsg_create_ept() 391 struct rpmsg_channel_info *chinfo) in __rpmsg_create_channel() argument 399 tmp = rpmsg_find_device(dev, chinfo); in __rpmsg_create_channel() 404 chinfo->name, chinfo->src, chinfo->dst); in __rpmsg_create_channel() [all …]
|
D | rpmsg_char.h | 20 struct rpmsg_channel_info chinfo); 34 struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_create() argument
|
D | qcom_glink_native.c | 1240 chinfo) in qcom_glink_create_ept() 1246 const char *name = chinfo.name; in qcom_glink_create_ept() 1601 struct rpmsg_channel_info chinfo; in qcom_glink_rx_close() local 1615 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_glink_rx_close() 1616 chinfo.src = RPMSG_ADDR_ANY; in qcom_glink_rx_close() 1617 chinfo.dst = RPMSG_ADDR_ANY; in qcom_glink_rx_close() 1619 rpmsg_unregister_device(glink->dev, &chinfo); in qcom_glink_rx_close() 1635 struct rpmsg_channel_info chinfo; in qcom_glink_rx_close_ack() local 1655 strscpy(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_glink_rx_close_ack() 1656 chinfo.src = RPMSG_ADDR_ANY; in qcom_glink_rx_close_ack() [all …]
|
D | qcom_smd.c | 903 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 1326 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_channel_state_worker() 1327 chinfo.src = RPMSG_ADDR_ANY; in qcom_channel_state_worker() 1328 chinfo.dst = RPMSG_ADDR_ANY; in qcom_channel_state_worker() 1329 rpmsg_unregister_device(&edge->dev, &chinfo); in qcom_channel_state_worker()
|
D | mtk_rpmsg.c | 121 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()
|
/linux-6.6.21/drivers/cdx/controller/ |
D | cdx_rpmsg.c | 123 struct rpmsg_channel_info chinfo = {0}; in cdx_rpmsg_probe() local 130 chinfo.src = RPMSG_ADDR_ANY; in cdx_rpmsg_probe() 131 chinfo.dst = rpdev->dst; in cdx_rpmsg_probe() 132 strscpy(chinfo.name, cdx_rpmsg_id_table[0].name, in cdx_rpmsg_probe() 135 cdx_mcdi->ept = rpmsg_create_ept(rpdev, cdx_rpmsg_cb, NULL, chinfo); in cdx_rpmsg_probe() 139 chinfo.name); in cdx_rpmsg_probe()
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 670 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 …]
|
/linux-6.6.21/drivers/soc/qcom/ |
D | wcnss_ctrl.c | 281 struct rpmsg_channel_info chinfo; in qcom_wcnss_open_channel() local 284 strscpy(chinfo.name, name, sizeof(chinfo.name)); in qcom_wcnss_open_channel() 285 chinfo.src = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel() 286 chinfo.dst = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel() 288 return rpmsg_create_ept(_wcnss->channel->rpdev, cb, priv, chinfo); in qcom_wcnss_open_channel()
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_rpmsg.c | 203 struct rpmsg_channel_info chinfo = {}; in cros_ec_rpmsg_create_ept() local 205 strscpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in cros_ec_rpmsg_create_ept() 206 chinfo.src = rpdev->src; in cros_ec_rpmsg_create_ept() 207 chinfo.dst = RPMSG_ADDR_ANY; in cros_ec_rpmsg_create_ept() 209 return rpmsg_create_ept(rpdev, cros_ec_rpmsg_callback, NULL, chinfo); in cros_ec_rpmsg_create_ept()
|
/linux-6.6.21/include/linux/ |
D | rpmsg.h | 177 struct rpmsg_channel_info *chinfo); 183 struct rpmsg_channel_info chinfo); 216 struct rpmsg_channel_info *chinfo) in rpmsg_unregister_device() argument 248 struct rpmsg_channel_info chinfo) in rpmsg_create_ept() argument
|
/linux-6.6.21/drivers/net/wwan/ |
D | rpmsg_wwan_ctrl.c | 35 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()
|
/linux-6.6.21/Documentation/staging/ |
D | rpmsg.rst | 197 struct rpmsg_channel_info chinfo);
|