Home
last modified time | relevance | path

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

/drivers/rpmsg/
Drpmsg_core.c65 struct rpmsg_channel_info chinfo) in rpmsg_create_ept() argument
70 return rpdev->ops->create_ept(rpdev, cb, priv, chinfo); in rpmsg_create_ept()
329 struct rpmsg_channel_info *chinfo = data; in rpmsg_device_match() local
332 if (chinfo->src != RPMSG_ADDR_ANY && chinfo->src != rpdev->src) in rpmsg_device_match()
335 if (chinfo->dst != RPMSG_ADDR_ANY && chinfo->dst != rpdev->dst) in rpmsg_device_match()
338 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match()
346 struct rpmsg_channel_info *chinfo) in rpmsg_find_device() argument
348 return device_find_child(parent, chinfo, rpmsg_device_match); in rpmsg_find_device()
486 struct rpmsg_channel_info chinfo = {}; in rpmsg_dev_probe() local
495 strncpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in rpmsg_dev_probe()
[all …]
Drpmsg_char.c71 struct rpmsg_channel_info chinfo; member
132 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
134 dev_err(dev, "failed to open %s\n", eptdev->chinfo.name); in rpmsg_eptdev_open()
299 return sprintf(buf, "%s\n", eptdev->chinfo.name); in name_show()
308 return sprintf(buf, "%d\n", eptdev->chinfo.src); in src_show()
317 return sprintf(buf, "%d\n", eptdev->chinfo.dst); in dst_show()
339 struct rpmsg_channel_info chinfo) in rpmsg_eptdev_create() argument
352 eptdev->chinfo = chinfo; in rpmsg_eptdev_create()
424 struct rpmsg_channel_info chinfo; in rpmsg_ctrldev_ioctl() local
432 memcpy(chinfo.name, eptinfo.name, RPMSG_NAME_SIZE); in rpmsg_ctrldev_ioctl()
[all …]
Dvirtio_rpmsg_bus.c291 struct rpmsg_channel_info chinfo) in virtio_rpmsg_create_ept() argument
295 return __rpmsg_create_ept(vch->vrp, rpdev, cb, priv, chinfo.src); in virtio_rpmsg_create_ept()
400 struct rpmsg_channel_info *chinfo) in rpmsg_create_channel() argument
408 tmp = rpmsg_find_device(dev, chinfo); in rpmsg_create_channel()
413 chinfo->name, chinfo->src, chinfo->dst); in rpmsg_create_channel()
426 rpdev->src = chinfo->src; in rpmsg_create_channel()
427 rpdev->dst = chinfo->dst; in rpmsg_create_channel()
436 strncpy(rpdev->id.name, chinfo->name, RPMSG_NAME_SIZE); in rpmsg_create_channel()
831 struct rpmsg_channel_info chinfo; in rpmsg_ns_cb() local
860 strncpy(chinfo.name, msg->name, sizeof(chinfo.name)); in rpmsg_ns_cb()
[all …]
Drpmsg_internal.h35 struct rpmsg_channel_info chinfo);
78 struct rpmsg_channel_info *chinfo);
81 struct rpmsg_channel_info *chinfo);
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()
1262 struct rpmsg_channel_info chinfo; in qcom_channel_state_worker() local
1307 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_channel_state_worker()
1308 chinfo.src = RPMSG_ADDR_ANY; in qcom_channel_state_worker()
1309 chinfo.dst = RPMSG_ADDR_ANY; in qcom_channel_state_worker()
1310 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()
1467 struct rpmsg_channel_info chinfo; in qcom_glink_rx_close() local
1481 strscpy_pad(chinfo.name, channel->name, sizeof(chinfo.name)); in qcom_glink_rx_close()
1482 chinfo.src = RPMSG_ADDR_ANY; in qcom_glink_rx_close()
1483 chinfo.dst = RPMSG_ADDR_ANY; in qcom_glink_rx_close()
1485 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.c273 struct rpmsg_channel_info chinfo; in qcom_wcnss_open_channel() local
276 strscpy(chinfo.name, name, sizeof(chinfo.name)); in qcom_wcnss_open_channel()
277 chinfo.src = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel()
278 chinfo.dst = RPMSG_ADDR_ANY; in qcom_wcnss_open_channel()
280 return rpmsg_create_ept(_wcnss->channel->rpdev, cb, priv, chinfo); in qcom_wcnss_open_channel()
/drivers/platform/chrome/
Dcros_ec_rpmsg.c205 struct rpmsg_channel_info chinfo = {}; in cros_ec_rpmsg_create_ept() local
207 strscpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in cros_ec_rpmsg_create_ept()
208 chinfo.src = rpdev->src; in cros_ec_rpmsg_create_ept()
209 chinfo.dst = RPMSG_ADDR_ANY; in cros_ec_rpmsg_create_ept()
211 return rpmsg_create_ept(rpdev, cros_ec_rpmsg_callback, NULL, chinfo); in cros_ec_rpmsg_create_ept()