Lines Matching +full:ipc +full:-
1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Header file for the DSP IPC implementation
18 struct imx_dsp_ipc *ipc; member
26 void (*handle_reply)(struct imx_dsp_ipc *ipc);
27 void (*handle_request)(struct imx_dsp_ipc *ipc);
31 /* Host <-> DSP communication uses 2 txdb and 2 rxdb channels */
38 static inline void imx_dsp_set_data(struct imx_dsp_ipc *ipc, void *data) in imx_dsp_set_data() argument
40 if (!ipc) in imx_dsp_set_data()
43 ipc->private_data = data; in imx_dsp_set_data()
46 static inline void *imx_dsp_get_data(struct imx_dsp_ipc *ipc) in imx_dsp_get_data() argument
48 if (!ipc) in imx_dsp_get_data()
51 return ipc->private_data; in imx_dsp_get_data()
58 struct mbox_chan *imx_dsp_request_channel(struct imx_dsp_ipc *ipc, int idx);
59 void imx_dsp_free_channel(struct imx_dsp_ipc *ipc, int idx);
63 static inline int imx_dsp_ring_doorbell(struct imx_dsp_ipc *ipc, in imx_dsp_ring_doorbell() argument
66 return -ENOTSUPP; in imx_dsp_ring_doorbell()
69 struct mbox_chan *imx_dsp_request_channel(struct imx_dsp_ipc *ipc, int idx) in imx_dsp_request_channel() argument
71 return ERR_PTR(-EOPNOTSUPP); in imx_dsp_request_channel()
74 void imx_dsp_free_channel(struct imx_dsp_ipc *ipc, int idx) { } in imx_dsp_free_channel() argument