}
static inline
-bool rproc_peek_remote_kick(struct rproc *rproc)
+bool rproc_peek_remote_kick(struct rproc *rproc, char *buf, size_t *len)
{
if (rproc->ops->peek_remote_kick)
- return rproc->ops->peek_remote_kick(rproc);
+ return rproc->ops->peek_remote_kick(rproc, buf, len);
else
return false;
}
int (*start)(struct rproc *rproc);
int (*stop)(struct rproc *rproc);
void (*kick)(struct rproc *rproc, int vqid);
- bool (*peek_remote_kick)(struct rproc *rproc);
+ bool (*peek_remote_kick)(struct rproc *rproc, char *buf, size_t *len);
void (*ack_remote_kick)(struct rproc *rproc);
void * (*da_to_va)(struct rproc *rproc, u64 da, int len);
int (*parse_fw)(struct rproc *rproc, const struct firmware *fw);