/linux-5.19.10/include/linux/ |
D | rpmsg.h | 23 struct rpmsg_device; 53 struct rpmsg_device { struct 66 typedef int (*rpmsg_rx_cb_t)(struct rpmsg_device *, void *, int, void *, u32); argument 92 struct rpmsg_device *rpdev; 113 int (*probe)(struct rpmsg_device *dev); 114 void (*remove)(struct rpmsg_device *dev); 115 int (*callback)(struct rpmsg_device *, void *, int, void *, u32); 118 static inline u16 rpmsg16_to_cpu(struct rpmsg_device *rpdev, __rpmsg16 val) in rpmsg16_to_cpu() 126 static inline __rpmsg16 cpu_to_rpmsg16(struct rpmsg_device *rpdev, u16 val) in cpu_to_rpmsg16() 134 static inline u32 rpmsg32_to_cpu(struct rpmsg_device *rpdev, __rpmsg32 val) in rpmsg32_to_cpu() [all …]
|
/linux-5.19.10/drivers/rpmsg/ |
D | rpmsg_internal.h | 18 #define to_rpmsg_device(d) container_of(d, struct rpmsg_device, dev) 36 struct rpmsg_device *(*create_channel)(struct rpmsg_device *rpdev, 38 int (*release_channel)(struct rpmsg_device *rpdev, 40 struct rpmsg_endpoint *(*create_ept)(struct rpmsg_device *rpdev, 44 int (*announce_create)(struct rpmsg_device *ept); 45 int (*announce_destroy)(struct rpmsg_device *ept); 84 struct rpmsg_device *rpmsg_create_channel(struct rpmsg_device *rpdev, 86 int rpmsg_release_channel(struct rpmsg_device *rpdev, 95 static inline int rpmsg_ctrldev_register_device(struct rpmsg_device *rpdev) in rpmsg_ctrldev_register_device()
|
D | rpmsg_core.c | 34 struct rpmsg_device *rpmsg_create_channel(struct rpmsg_device *rpdev, in rpmsg_create_channel() 56 int rpmsg_release_channel(struct rpmsg_device *rpdev, in rpmsg_release_channel() 110 struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_device *rpdev, in rpmsg_create_ept() 362 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_device_match() 391 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \ 402 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \ 429 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \ 445 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in modalias_show() 468 static inline int rpmsg_id_match(const struct rpmsg_device *rpdev, in rpmsg_id_match() 477 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_dev_match() [all …]
|
D | virtio_rpmsg_bus.c | 104 struct rpmsg_device rpdev; 152 static struct rpmsg_device *__rpmsg_create_channel(struct virtproc_info *vrp, 210 struct rpmsg_device *rpdev, in __rpmsg_create_ept() 259 static struct rpmsg_device *virtio_rpmsg_create_channel(struct rpmsg_device *rpdev, in virtio_rpmsg_create_channel() 268 static int virtio_rpmsg_release_channel(struct rpmsg_device *rpdev, in virtio_rpmsg_release_channel() 277 static struct rpmsg_endpoint *virtio_rpmsg_create_ept(struct rpmsg_device *rpdev, in virtio_rpmsg_create_ept() 320 static int virtio_rpmsg_announce_create(struct rpmsg_device *rpdev) in virtio_rpmsg_announce_create() 344 static int virtio_rpmsg_announce_destroy(struct rpmsg_device *rpdev) in virtio_rpmsg_announce_destroy() 378 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in virtio_rpmsg_release_device() 389 static struct rpmsg_device *__rpmsg_create_channel(struct virtproc_info *vrp, in __rpmsg_create_channel() [all …]
|
D | rpmsg_ns.c | 21 int rpmsg_ns_register_device(struct rpmsg_device *rpdev) in rpmsg_ns_register_device() 31 static int rpmsg_ns_cb(struct rpmsg_device *rpdev, void *data, int len, in rpmsg_ns_cb() 35 struct rpmsg_device *newch; in rpmsg_ns_cb() 74 static int rpmsg_ns_probe(struct rpmsg_device *rpdev) in rpmsg_ns_probe()
|
D | rpmsg_char.h | 19 int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent, 33 static inline int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent, in rpmsg_chrdev_eptdev_create()
|
D | rpmsg_char.c | 60 struct rpmsg_device *rpdev; 94 static int rpmsg_ept_cb(struct rpmsg_device *rpdev, void *buf, int len, in rpmsg_ept_cb() 120 struct rpmsg_device *rpdev = eptdev->rpdev; in rpmsg_eptdev_open() 355 static struct rpmsg_eptdev *rpmsg_chrdev_eptdev_alloc(struct rpmsg_device *rpdev, in rpmsg_chrdev_eptdev_alloc() 423 int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent, in rpmsg_chrdev_eptdev_create() 439 static int rpmsg_chrdev_probe(struct rpmsg_device *rpdev) in rpmsg_chrdev_probe() 465 static void rpmsg_chrdev_remove(struct rpmsg_device *rpdev) in rpmsg_chrdev_remove()
|
D | mtk_rpmsg.c | 51 struct rpmsg_device rpdev; 86 struct rpmsg_device *rpdev, rpmsg_rx_cb_t cb, void *priv, in __mtk_create_ept() 120 mtk_rpmsg_create_ept(struct rpmsg_device *rpdev, rpmsg_rx_cb_t cb, void *priv, in mtk_rpmsg_create_ept() 168 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in mtk_rpmsg_release_device() 200 struct rpmsg_device *rpdev; in mtk_rpmsg_register_device() 270 static int mtk_rpmsg_ns_cb(struct rpmsg_device *rpdev, void *data, int len, in mtk_rpmsg_ns_cb()
|
D | qcom_glink_ssr.c | 71 static int qcom_glink_ssr_callback(struct rpmsg_device *rpdev, in qcom_glink_ssr_callback() 127 static int qcom_glink_ssr_probe(struct rpmsg_device *rpdev) in qcom_glink_ssr_probe() 146 static void qcom_glink_ssr_remove(struct rpmsg_device *rpdev) in qcom_glink_ssr_remove()
|
D | rpmsg_ctrl.c | 49 struct rpmsg_device *rpdev; 81 struct rpmsg_device *rpdev; in rpmsg_ctrldev_ioctl() 138 static int rpmsg_ctrldev_probe(struct rpmsg_device *rpdev) in rpmsg_ctrldev_probe() 192 static void rpmsg_ctrldev_remove(struct rpmsg_device *rpdev) in rpmsg_ctrldev_remove()
|
/linux-5.19.10/drivers/media/platform/st/sti/delta/ |
D | delta-ipc.c | 115 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_open() local 121 if (!rpmsg_device) { in delta_ipc_open() 185 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_open() 233 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_set_stream() local 244 if (!rpmsg_device) { in delta_ipc_set_stream() 284 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_set_stream() 324 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_decode() local 335 if (!rpmsg_device) { in delta_ipc_decode() 398 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_decode() 437 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_close() local [all …]
|
D | delta.h | 510 struct rpmsg_device *rpmsg_device; member
|
/linux-5.19.10/samples/rpmsg/ |
D | rpmsg_client_sample.c | 25 static int rpmsg_sample_cb(struct rpmsg_device *rpdev, void *data, int len, in rpmsg_sample_cb() 51 static int rpmsg_sample_probe(struct rpmsg_device *rpdev) in rpmsg_sample_probe() 75 static void rpmsg_sample_remove(struct rpmsg_device *rpdev) in rpmsg_sample_remove()
|
/linux-5.19.10/drivers/net/wwan/ |
D | rpmsg_wwan_ctrl.c | 12 struct rpmsg_device *rpdev; 17 static int rpmsg_wwan_ctrl_callback(struct rpmsg_device *rpdev, in rpmsg_wwan_ctrl_callback() 113 static int rpmsg_wwan_ctrl_probe(struct rpmsg_device *rpdev) in rpmsg_wwan_ctrl_probe() 141 static void rpmsg_wwan_ctrl_remove(struct rpmsg_device *rpdev) in rpmsg_wwan_ctrl_remove()
|
/linux-5.19.10/net/qrtr/ |
D | smd.c | 20 static int qcom_smd_qrtr_callback(struct rpmsg_device *rpdev, in qcom_smd_qrtr_callback() 59 static int qcom_smd_qrtr_probe(struct rpmsg_device *rpdev) in qcom_smd_qrtr_probe() 83 static void qcom_smd_qrtr_remove(struct rpmsg_device *rpdev) in qcom_smd_qrtr_remove()
|
/linux-5.19.10/drivers/tty/ |
D | rpmsg_tty.c | 32 struct rpmsg_device *rpdev; /* rpmsg device */ 35 static int rpmsg_tty_cb(struct rpmsg_device *rpdev, void *data, int len, void *priv, u32 src) in rpmsg_tty_cb() 79 struct rpmsg_device *rpdev; in rpmsg_tty_write() 170 static int rpmsg_tty_probe(struct rpmsg_device *rpdev) in rpmsg_tty_probe() 202 static void rpmsg_tty_remove(struct rpmsg_device *rpdev) in rpmsg_tty_remove()
|
/linux-5.19.10/drivers/platform/chrome/ |
D | cros_ec_rpmsg.c | 46 struct rpmsg_device *rpdev; 158 static int cros_ec_rpmsg_callback(struct rpmsg_device *rpdev, void *data, in cros_ec_rpmsg_callback() 201 cros_ec_rpmsg_create_ept(struct rpmsg_device *rpdev) in cros_ec_rpmsg_create_ept() 212 static int cros_ec_rpmsg_probe(struct rpmsg_device *rpdev) in cros_ec_rpmsg_probe() 261 static void cros_ec_rpmsg_remove(struct rpmsg_device *rpdev) in cros_ec_rpmsg_remove()
|
/linux-5.19.10/sound/soc/fsl/ |
D | imx-audio-rpmsg.c | 17 static int imx_audio_rpmsg_cb(struct rpmsg_device *rpdev, void *data, int len, in imx_audio_rpmsg_cb() 74 static int imx_audio_rpmsg_probe(struct rpmsg_device *rpdev) in imx_audio_rpmsg_probe() 101 static void imx_audio_rpmsg_remove(struct rpmsg_device *rpdev) in imx_audio_rpmsg_remove()
|
D | imx-pcm-rpmsg.h | 483 struct rpmsg_device *rpdev;
|
/linux-5.19.10/drivers/soc/qcom/ |
D | smd-rpm.c | 149 static int qcom_smd_rpm_callback(struct rpmsg_device *rpdev, in qcom_smd_rpm_callback() 197 static int qcom_smd_rpm_probe(struct rpmsg_device *rpdev) in qcom_smd_rpm_probe() 225 static void qcom_smd_rpm_remove(struct rpmsg_device *rpdev) in qcom_smd_rpm_remove()
|
D | wcnss_ctrl.c | 118 static int wcnss_ctrl_smd_callback(struct rpmsg_device *rpdev, in wcnss_ctrl_smd_callback() 315 static int wcnss_ctrl_probe(struct rpmsg_device *rpdev) in wcnss_ctrl_probe() 337 static void wcnss_ctrl_remove(struct rpmsg_device *rpdev) in wcnss_ctrl_remove()
|
/linux-5.19.10/include/linux/rpmsg/ |
D | ns.h | 43 int rpmsg_ns_register_device(struct rpmsg_device *rpdev);
|
/linux-5.19.10/drivers/bluetooth/ |
D | btqcomsmd.c | 45 static int btqcomsmd_acl_callback(struct rpmsg_device *rpdev, void *data, in btqcomsmd_acl_callback() 54 static int btqcomsmd_cmd_callback(struct rpmsg_device *rpdev, void *data, in btqcomsmd_cmd_callback()
|
/linux-5.19.10/drivers/net/wireless/ath/wcn36xx/ |
D | smd.h | 54 struct rpmsg_device; 146 int wcn36xx_smd_rsp_process(struct rpmsg_device *rpdev,
|
/linux-5.19.10/drivers/remoteproc/ |
D | qcom_sysmon.c | 158 static int sysmon_callback(struct rpmsg_device *rpdev, void *data, int count, in sysmon_callback() 744 static int sysmon_probe(struct rpmsg_device *rpdev) in sysmon_probe() 781 static void sysmon_remove(struct rpmsg_device *rpdev) in sysmon_remove()
|