Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Drpmsg.h23 struct rpmsg_device;
53 struct rpmsg_device { struct
94 struct rpmsg_device *rpdev;
117 int (*probe)(struct rpmsg_device *dev);
118 void (*remove)(struct rpmsg_device *dev);
119 int (*callback)(struct rpmsg_device *, void *, int, void *, u32);
120 int (*flowcontrol)(struct rpmsg_device *, void *, bool);
173 int rpmsg_register_device_override(struct rpmsg_device *rpdev,
175 int rpmsg_register_device(struct rpmsg_device *rpdev);
181 struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_device *,
[all …]
/openbmc/linux/drivers/rpmsg/
H A 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 *rpdev);
45 int (*announce_destroy)(struct rpmsg_device *rpdev);
86 struct rpmsg_device *rpmsg_create_channel(struct rpmsg_device *rpdev,
88 int rpmsg_release_channel(struct rpmsg_device *rpdev,
97 static inline int rpmsg_ctrldev_register_device(struct rpmsg_device *rpdev) in rpmsg_ctrldev_register_device()
H A 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()
381 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_device_match()
410 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \
421 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \
448 struct rpmsg_device *rpdev = to_rpmsg_device(dev); \
464 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in modalias_show()
496 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_dev_match()
537 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_dev_probe()
593 struct rpmsg_device *rpdev = to_rpmsg_device(dev); in rpmsg_dev_remove()
[all …]
H A Dvirtio_rpmsg_bus.c104 struct rpmsg_device rpdev;
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()
394 struct rpmsg_device *rpdev; in __rpmsg_create_channel()
653 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_send()
662 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_sendto()
671 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_send_offchannel()
678 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_trysend()
687 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_trysendto()
696 struct rpmsg_device *rpdev = ept->rpdev; in virtio_rpmsg_trysend_offchannel()
[all …]
H A 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()
H A 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()
H A Drpmsg_char.c62 struct rpmsg_device *rpdev;
101 static int rpmsg_ept_cb(struct rpmsg_device *rpdev, void *buf, int len, in rpmsg_ept_cb()
123 static int rpmsg_ept_flow_cb(struct rpmsg_device *rpdev, void *priv, bool enable) in rpmsg_ept_flow_cb()
139 struct rpmsg_device *rpdev = eptdev->rpdev; in rpmsg_eptdev_open()
407 static struct rpmsg_eptdev *rpmsg_chrdev_eptdev_alloc(struct rpmsg_device *rpdev, in rpmsg_chrdev_eptdev_alloc()
475 int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent, in rpmsg_chrdev_eptdev_create()
488 static int rpmsg_chrdev_probe(struct rpmsg_device *rpdev) in rpmsg_chrdev_probe()
514 static void rpmsg_chrdev_remove(struct rpmsg_device *rpdev) in rpmsg_chrdev_remove()
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.c115 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_open() local
121 if (!rpmsg_device) { 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()
324 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_decode() local
335 if (!rpmsg_device) { in delta_ipc_decode()
437 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_close() local
453 if (!rpmsg_device) { in delta_ipc_close()
550 static int delta_ipc_probe(struct rpmsg_device *rpmsg_device) in delta_ipc_probe() argument
555 delta->rpmsg_device = rpmsg_device; in delta_ipc_probe()
[all …]
H A Ddelta.h510 struct rpmsg_device *rpmsg_device; member
/openbmc/linux/samples/rpmsg/
H A 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()
/openbmc/linux/net/qrtr/
H A 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()
/openbmc/linux/drivers/net/wwan/
H A 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()
/openbmc/linux/drivers/platform/chrome/
H A 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()
/openbmc/linux/drivers/tty/
H A 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()
80 struct rpmsg_device *rpdev; in rpmsg_tty_write()
171 static int rpmsg_tty_probe(struct rpmsg_device *rpdev) in rpmsg_tty_probe()
203 static void rpmsg_tty_remove(struct rpmsg_device *rpdev) in rpmsg_tty_remove()
/openbmc/linux/sound/soc/fsl/
H A 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()
/openbmc/linux/drivers/cdx/controller/
H A Dcdx_rpmsg.c97 static int cdx_rpmsg_cb(struct rpmsg_device *rpdev, void *data, in cdx_rpmsg_cb()
121 static int cdx_rpmsg_probe(struct rpmsg_device *rpdev) in cdx_rpmsg_probe()
150 static void cdx_rpmsg_remove(struct rpmsg_device *rpdev) in cdx_rpmsg_remove()
/openbmc/linux/drivers/soc/qcom/
H A Dsmd-rpm.c147 static int qcom_smd_rpm_callback(struct rpmsg_device *rpdev, in qcom_smd_rpm_callback()
195 static int qcom_smd_rpm_probe(struct rpmsg_device *rpdev) in qcom_smd_rpm_probe()
213 static void qcom_smd_rpm_remove(struct rpmsg_device *rpdev) in qcom_smd_rpm_remove()
H A Dwcnss_ctrl.c119 static int wcnss_ctrl_smd_callback(struct rpmsg_device *rpdev, in wcnss_ctrl_smd_callback()
316 static int wcnss_ctrl_probe(struct rpmsg_device *rpdev) in wcnss_ctrl_probe()
338 static void wcnss_ctrl_remove(struct rpmsg_device *rpdev) in wcnss_ctrl_remove()
H A Dpmic_glink.c123 static int pmic_glink_rpmsg_callback(struct rpmsg_device *rpdev, void *data, in pmic_glink_rpmsg_callback()
213 static int pmic_glink_rpmsg_probe(struct rpmsg_device *rpdev) in pmic_glink_rpmsg_probe()
236 static void pmic_glink_rpmsg_remove(struct rpmsg_device *rpdev) in pmic_glink_rpmsg_remove()
/openbmc/linux/include/linux/rpmsg/
H A Dns.h43 int rpmsg_ns_register_device(struct rpmsg_device *rpdev);
/openbmc/linux/drivers/bluetooth/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A Dsmd.h54 struct rpmsg_device;
143 int wcn36xx_smd_rsp_process(struct rpmsg_device *rpdev,

12