Searched refs:abi16 (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.c | 45 if (!cli->abi16) { in nouveau_abi16() 46 struct nouveau_abi16 *abi16; in nouveau_abi16() local 47 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16() 48 if (cli->abi16) { in nouveau_abi16() 49 abi16->cli = cli; in nouveau_abi16() 50 INIT_LIST_HEAD(&abi16->channels); in nouveau_abi16() 51 INIT_LIST_HEAD(&abi16->objects); in nouveau_abi16() 54 return cli->abi16; in nouveau_abi16() 63 return cli->abi16; in nouveau_abi16_get() 69 nouveau_abi16_put(struct nouveau_abi16 *abi16, int ret) in nouveau_abi16_put() argument [all …]
|
H A D | nouveau_exec.c | 350 struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); in nouveau_exec_ioctl_exec() local 358 if (unlikely(!abi16)) in nouveau_exec_ioctl_exec() 363 return nouveau_abi16_put(abi16, -ENOSYS); in nouveau_exec_ioctl_exec() 365 list_for_each_entry(chan16, &abi16->channels, head) { in nouveau_exec_ioctl_exec() 373 return nouveau_abi16_put(abi16, -ENOENT); in nouveau_exec_ioctl_exec() 376 return nouveau_abi16_put(abi16, -ENODEV); in nouveau_exec_ioctl_exec() 379 return nouveau_abi16_put(abi16, -ENOSYS); in nouveau_exec_ioctl_exec() 385 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_exec_ioctl_exec() 403 return nouveau_abi16_put(abi16, ret); in nouveau_exec_ioctl_exec()
|
H A D | nouveau_gem.c | 750 struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); in nouveau_gem_ioctl_pushbuf() local 764 if (unlikely(!abi16)) in nouveau_gem_ioctl_pushbuf() 768 return nouveau_abi16_put(abi16, -ENOSYS); in nouveau_gem_ioctl_pushbuf() 770 list_for_each_entry(temp, &abi16->channels, head) { in nouveau_gem_ioctl_pushbuf() 778 return nouveau_abi16_put(abi16, -ENOENT); in nouveau_gem_ioctl_pushbuf() 780 return nouveau_abi16_put(abi16, -ENODEV); in nouveau_gem_ioctl_pushbuf() 792 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf() 798 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf() 804 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf() 809 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf() [all …]
|
H A D | nouveau_drm.c | 593 if (cli->abi16) in nouveau_drm_device_fini() 594 nouveau_abi16_fini(cli->abi16); in nouveau_drm_device_fini() 1219 if (cli->abi16) in nouveau_drm_postclose() 1220 nouveau_abi16_fini(cli->abi16); in nouveau_drm_postclose()
|
H A D | nouveau_drv.h | 106 void *abi16; member
|