search for: reply_buf

Displaying 5 results from an estimated 5 matches for "reply_buf".

2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2020 May 16
0
[PATCH RFC] vhost: add an SOF Audio DSP driver
...*snd; + + bool active; + + /* RPMsg address of the position update endpoint */ + u32 posn_addr; + /* position update buffer and work */ + struct vhost_work posn_work; + struct sof_ipc_stream_posn posn; + + /* IPC request buffer */ + struct sof_rpmsg_ipc_req ipc_buf; + /* IPC response buffer */ + u8 reply_buf[SOF_IPC_MSG_MAX_SIZE]; + /* + * data response header, captured audio data is copied directly from the + * DMA buffer + */ + struct sof_rpmsg_data_resp data_resp; +}; + +/* A guest is booting */ +static int vhost_dsp_activate(struct vhost_dsp *dsp) +{ + unsigned int i; + int ret = 0; + + mutex_lo...
2013 Nov 18
2
[PATCH] al175: updated driver, please restore it
...s a show stopper for now. > > > > > > I've reworked it not to use alloca and to use auto-variables + xmalloc > > > in one place. > > > > > > Now it usually looks like > > > > > > raw_data reply; > > > byte_t reply_buf[11]; > > > > > > ... > > > > > > raw_alloc_onstack(&reply, reply_buf); > > > > > > > Also something I really don't like in this driver is the use of > > alarm(). > > > > Although this is presently used in the...
2020 May 25
0
[Sound-open-firmware] [PATCH RFC] vhost: add an SOF Audio DSP driver
...u32 posn_addr; > > + /* position update buffer and work */ > > + struct vhost_work posn_work; > > + struct sof_ipc_stream_posn posn; > > + > > + /* IPC request buffer */ > > + struct sof_rpmsg_ipc_req ipc_buf; > > + /* IPC response buffer */ > > + u8 reply_buf[SOF_IPC_MSG_MAX_SIZE]; > > + /* > > + * data response header, captured audio data is copied directly from the > > + * DMA buffer > > so zero-copy is not supported for now, right? Not yet, no, the infrastructure isn't in the mainline yet. > > + */ > > +...