Lines Matching refs:sess
367 struct fastrpc_session_ctx *sess = fl->sctx; in fastrpc_map_lookup() local
379 dev_dbg(sess->dev, "%s: Failed to get map fd=%d ret=%d\n", in fastrpc_map_lookup()
757 struct fastrpc_session_ctx *sess = fl->sctx; in fastrpc_map_create() local
780 map->attach = dma_buf_attach(map->buf, sess->dev); in fastrpc_map_create()
782 dev_err(sess->dev, "Failed to attach dmabuf\n"); in fastrpc_map_create()
819 dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d", in fastrpc_map_create()
2142 struct fastrpc_session_ctx *sess; in fastrpc_cb_probe() local
2160 sess = &cctx->session[cctx->sesscount++]; in fastrpc_cb_probe()
2161 sess->used = false; in fastrpc_cb_probe()
2162 sess->valid = true; in fastrpc_cb_probe()
2163 sess->dev = dev; in fastrpc_cb_probe()
2164 dev_set_drvdata(dev, sess); in fastrpc_cb_probe()
2166 if (of_property_read_u32(dev->of_node, "reg", &sess->sid)) in fastrpc_cb_probe()
2176 memcpy(dup_sess, sess, sizeof(*dup_sess)); in fastrpc_cb_probe()
2192 struct fastrpc_session_ctx *sess = dev_get_drvdata(&pdev->dev); in fastrpc_cb_remove() local
2198 if (cctx->session[i].sid == sess->sid) { in fastrpc_cb_remove()