Lines Matching defs:args
232 struct nouveau_job_args args = {};
264 args.sched_entity = __args->sched_entity;
265 args.file_priv = __args->file_priv;
267 args.in_sync.count = __args->in_sync.count;
268 args.in_sync.s = __args->in_sync.s;
270 args.out_sync.count = __args->out_sync.count;
271 args.out_sync.s = __args->out_sync.s;
273 args.ops = &nouveau_exec_job_ops;
274 args.resv_usage = DMA_RESV_USAGE_WRITE;
276 ret = nouveau_job_init(&job->base, &args);
292 nouveau_exec(struct nouveau_exec_job_args *args)
297 ret = nouveau_exec_job_init(&job, args);
313 nouveau_exec_ucopy(struct nouveau_exec_job_args *args,
326 args->push.count = pushc;
327 args->push.s = u_memcpya(pushs, pushc, sizeof(*args->push.s));
328 if (IS_ERR(args->push.s))
329 return PTR_ERR(args->push.s);
333 s = &args->in_sync.s;
335 args->in_sync.count = inc;
344 s = &args->out_sync.s;
346 args->out_sync.count = outc;
357 u_free(args->push.s);
359 u_free(args->in_sync.s);
364 nouveau_exec_ufree(struct nouveau_exec_job_args *args)
366 u_free(args->push.s);
367 u_free(args->in_sync.s);
368 u_free(args->out_sync.s);
380 struct nouveau_exec_job_args args = {};
414 ret = nouveau_exec_ucopy(&args, req);
418 args.sched_entity = &chan16->sched_entity;
419 args.file_priv = file_priv;
420 args.chan = chan;
422 ret = nouveau_exec(&args);
427 nouveau_exec_ufree(&args);