.. | .. |
---|
2 | 2 | /* |
---|
3 | 3 | * remote processor messaging bus internals |
---|
4 | 4 | * |
---|
| 5 | + * Copyright (c) 2020 The Linux Foundation. |
---|
5 | 6 | * Copyright (C) 2011 Texas Instruments, Inc. |
---|
6 | 7 | * Copyright (C) 2011 Google, Inc. |
---|
7 | 8 | * |
---|
.. | .. |
---|
20 | 21 | |
---|
21 | 22 | /** |
---|
22 | 23 | * struct rpmsg_device_ops - indirection table for the rpmsg_device operations |
---|
23 | | - * @create_ept: create backend-specific endpoint, requried |
---|
| 24 | + * @create_ept: create backend-specific endpoint, required |
---|
24 | 25 | * @announce_create: announce presence of new channel, optional |
---|
25 | 26 | * @announce_destroy: announce destruction of channel, optional |
---|
26 | 27 | * |
---|
.. | .. |
---|
39 | 40 | |
---|
40 | 41 | /** |
---|
41 | 42 | * struct rpmsg_endpoint_ops - indirection table for rpmsg_endpoint operations |
---|
42 | | - * @destroy_ept: destroy the given endpoint, required |
---|
| 43 | + * @destroy_ept: see @rpmsg_destroy_ept(), required |
---|
43 | 44 | * @send: see @rpmsg_send(), required |
---|
44 | 45 | * @sendto: see @rpmsg_sendto(), optional |
---|
45 | 46 | * @send_offchannel: see @rpmsg_send_offchannel(), optional |
---|
46 | 47 | * @trysend: see @rpmsg_trysend(), required |
---|
47 | 48 | * @trysendto: see @rpmsg_trysendto(), optional |
---|
48 | 49 | * @trysend_offchannel: see @rpmsg_trysend_offchannel(), optional |
---|
| 50 | + * @poll: see @rpmsg_poll(), optional |
---|
| 51 | + * @get_signals: see @rpmsg_get_signals(), optional |
---|
| 52 | + * @set_signals: see @rpmsg_set_signals(), optional |
---|
49 | 53 | * |
---|
50 | 54 | * Indirection table for the operations that a rpmsg backend should implement. |
---|
51 | 55 | * In addition to @destroy_ept, the backend must at least implement @send and |
---|
.. | .. |
---|
65 | 69 | void *data, int len); |
---|
66 | 70 | __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp, |
---|
67 | 71 | poll_table *wait); |
---|
| 72 | + int (*get_signals)(struct rpmsg_endpoint *ept); |
---|
| 73 | + int (*set_signals)(struct rpmsg_endpoint *ept, u32 set, u32 clear); |
---|
68 | 74 | }; |
---|
69 | 75 | |
---|
70 | 76 | int rpmsg_register_device(struct rpmsg_device *rpdev); |
---|