Lines Matching refs:sctx
299 struct fastrpc_session_ctx *sctx; member
329 dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n", in fastrpc_free_map()
368 struct fastrpc_session_ctx *sess = fl->sctx; in fastrpc_map_lookup()
447 if (fl->sctx && fl->sctx->sid) in fastrpc_buf_alloc()
448 buf->phys += ((u64)fl->sctx->sid << 32); in fastrpc_buf_alloc()
758 struct fastrpc_session_ctx *sess = fl->sctx; in fastrpc_map_create()
799 map->phys += ((u64)fl->sctx->sid << 32); in fastrpc_map_create()
905 struct device *dev = ctx->fl->sctx->dev; in fastrpc_create_maps()
937 struct device *dev = ctx->fl->sctx->dev; in fastrpc_get_args()
957 if (ctx->fl->sctx->sid) in fastrpc_get_args()
1108 static int fastrpc_invoke_send(struct fastrpc_session_ctx *sctx, in fastrpc_invoke_send() argument
1149 if (!fl->sctx) in fastrpc_internal_invoke()
1156 …dev_warn_ratelimited(fl->sctx->dev, "user app trying to send a kernel RPC message (%d)\n", handle… in fastrpc_internal_invoke()
1171 err = fastrpc_invoke_send(fl->sctx, ctx, kernel, handle); in fastrpc_internal_invoke()
1214 dev_dbg(fl->sctx->dev, "Error: Invoke Failed %d\n", err); in fastrpc_internal_invoke()
1274 err = fastrpc_remote_heap_alloc(fl, fl->sctx->dev, init.memlen, in fastrpc_init_create_static_process()
1288 dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d\n", in fastrpc_init_create_static_process()
1342 dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n", in fastrpc_init_create_static_process()
1414 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen, in fastrpc_init_create_process()
1551 fastrpc_session_free(cctx, fl->sctx); in fastrpc_device_release()
1588 fl->sctx = fastrpc_session_alloc(fl); in fastrpc_device_open()
1589 if (!fl->sctx) { in fastrpc_device_open()
1614 err = fastrpc_buf_alloc(fl, fl->sctx->dev, bp.size, &buf); in fastrpc_dmabuf_alloc()
1804 struct device *dev = fl->sctx->dev; in fastrpc_req_munmap_impl()
1835 struct device *dev = fl->sctx->dev; in fastrpc_req_munmap()
1866 struct device *dev = fl->sctx->dev; in fastrpc_req_mmap()
1933 dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d", in fastrpc_req_mmap()
1966 struct device *dev = fl->sctx->dev; in fastrpc_req_mem_unmap_impl()
2021 struct device *dev = fl->sctx->dev; in fastrpc_req_mem_map()