Lines Matching defs:sctx
303 struct fastrpc_session_ctx *sctx;
330 struct fastrpc_session_ctx *sctx)
332 return (u64)sctx->sid << cctx->soc_data->sid_pos;
353 dev_err(map->fl->sctx->dev,
475 if (fl->sctx && fl->sctx->sid)
476 buf->dma_addr += fastrpc_sid_offset(fl->cctx, fl->sctx);
831 return sg_dma_addr + fastrpc_sid_offset(fl->cctx, fl->sctx);
837 struct fastrpc_session_ctx *sess = fl->sctx;
998 struct device *dev = ctx->fl->sctx->dev;
1034 struct device *dev = ctx->fl->sctx->dev;
1054 if (ctx->fl->sctx->sid)
1209 static int fastrpc_invoke_send(struct fastrpc_session_ctx *sctx,
1250 if (!fl->sctx)
1257 dev_warn_ratelimited(fl->sctx->dev, "user app trying to send a kernel RPC message (%d)\n", handle);
1272 err = fastrpc_invoke_send(fl->sctx, ctx, kernel, handle);
1315 dev_dbg(fl->sctx->dev, "Error: Invoke Failed %d\n", err);
1375 err = fastrpc_remote_heap_alloc(fl, fl->sctx->dev, init.memlen,
1389 dev_err(fl->sctx->dev,
1445 dev_err(fl->sctx->dev, "Failed to assign memory dma_addr %pad size 0x%llx err %d\n",
1518 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen,
1636 fastrpc_session_free(cctx, fl->sctx);
1671 fl->sctx = fastrpc_session_alloc(fl);
1672 if (!fl->sctx) {
1698 err = fastrpc_buf_alloc(fl, fl->sctx->dev, bp.size, &buf);
1876 struct device *dev = fl->sctx->dev;
1907 struct device *dev = fl->sctx->dev;
1938 struct device *dev = fl->sctx->dev;
2005 dev_err(fl->sctx->dev,
2039 struct device *dev = fl->sctx->dev;
2094 struct device *dev = fl->sctx->dev;