Home
last modified time | relevance | path

Searched refs:rpmsg_device (Results 1 – 25 of 32) sorted by relevance

12

/linux-5.19.10/include/linux/
Drpmsg.h23 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/
Drpmsg_internal.h18 #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()
Drpmsg_core.c34 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 …]
Dvirtio_rpmsg_bus.c104 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 …]
Drpmsg_ns.c21 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()
Drpmsg_char.h19 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()
Drpmsg_char.c60 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()
Dmtk_rpmsg.c51 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()
Dqcom_glink_ssr.c71 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()
Drpmsg_ctrl.c49 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/
Ddelta-ipc.c115 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 …]
Ddelta.h510 struct rpmsg_device *rpmsg_device; member
/linux-5.19.10/samples/rpmsg/
Drpmsg_client_sample.c25 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/
Drpmsg_wwan_ctrl.c12 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/
Dsmd.c20 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/
Drpmsg_tty.c32 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/
Dcros_ec_rpmsg.c46 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/
Dimx-audio-rpmsg.c17 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()
Dimx-pcm-rpmsg.h483 struct rpmsg_device *rpdev;
/linux-5.19.10/drivers/soc/qcom/
Dsmd-rpm.c149 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()
Dwcnss_ctrl.c118 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/
Dns.h43 int rpmsg_ns_register_device(struct rpmsg_device *rpdev);
/linux-5.19.10/drivers/bluetooth/
Dbtqcomsmd.c45 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/
Dsmd.h54 struct rpmsg_device;
146 int wcn36xx_smd_rsp_process(struct rpmsg_device *rpdev,
/linux-5.19.10/drivers/remoteproc/
Dqcom_sysmon.c158 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()

12