cli 127 arch/x86/include/asm/irqflags.h #define DISABLE_INTERRUPTS(x) cli cli 190 arch/x86/include/asm/irqflags.h cli; \ cli 1079 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_cli *cli = (void *)notify->object->client; cli 1080 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_drm *drm = cli->drm; cli 1150 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_cli *cli; cli 1159 drivers/gpu/drm/nouveau/dispnv04/crtc.c cli = (void *)chan->user.client; cli 1171 drivers/gpu/drm/nouveau/dispnv04/crtc.c mutex_lock(&cli->mutex); cli 1220 drivers/gpu/drm/nouveau/dispnv04/crtc.c mutex_unlock(&cli->mutex); cli 1236 drivers/gpu/drm/nouveau/dispnv04/crtc.c mutex_unlock(&cli->mutex); cli 138 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nouveau_cli *cli = (void *)device->object.client; cli 157 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = nvif_mem_init_map(&cli->mmu, type, 0x1000, &dmac->push); cli 43 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 44 drivers/gpu/drm/nouveau/nouveau_abi16.c if (!cli->abi16) { cli 46 drivers/gpu/drm/nouveau/nouveau_abi16.c cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); cli 47 drivers/gpu/drm/nouveau/nouveau_abi16.c if (cli->abi16) { cli 58 drivers/gpu/drm/nouveau/nouveau_abi16.c if (nvif_device_init(&cli->base.object, 0, NV_DEVICE, cli 61 drivers/gpu/drm/nouveau/nouveau_abi16.c return cli->abi16; cli 63 drivers/gpu/drm/nouveau/nouveau_abi16.c kfree(cli->abi16); cli 64 drivers/gpu/drm/nouveau/nouveau_abi16.c cli->abi16 = NULL; cli 67 drivers/gpu/drm/nouveau/nouveau_abi16.c return cli->abi16; cli 73 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 74 drivers/gpu/drm/nouveau/nouveau_abi16.c mutex_lock(&cli->mutex); cli 76 drivers/gpu/drm/nouveau/nouveau_abi16.c return cli->abi16; cli 77 drivers/gpu/drm/nouveau/nouveau_abi16.c mutex_unlock(&cli->mutex); cli 84 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = (void *)abi16->device.object.client; cli 85 drivers/gpu/drm/nouveau/nouveau_abi16.c mutex_unlock(&cli->mutex); cli 161 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = (void *)abi16->device.object.client; cli 172 drivers/gpu/drm/nouveau/nouveau_abi16.c kfree(cli->abi16); cli 173 drivers/gpu/drm/nouveau/nouveau_abi16.c cli->abi16 = NULL; cli 179 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 240 drivers/gpu/drm/nouveau/nouveau_abi16.c NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); cli 251 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 328 drivers/gpu/drm/nouveau/nouveau_abi16.c ret = nouveau_gem_new(cli, PAGE_SIZE, 0, NOUVEAU_GEM_DOMAIN_GART, cli 195 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 flags, cli 198 drivers/gpu/drm/nouveau/nouveau_bo.c struct nouveau_drm *drm = cli->drm; cli 200 drivers/gpu/drm/nouveau/nouveau_bo.c struct nvif_mmu *mmu = &cli->mmu; cli 201 drivers/gpu/drm/nouveau/nouveau_bo.c struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; cli 229 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { cli 238 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { cli 260 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && cli 320 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, cli 328 drivers/gpu/drm/nouveau/nouveau_bo.c nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, cli 1129 drivers/gpu/drm/nouveau/nouveau_bo.c struct nouveau_cli *cli = (void *)chan->user.client; cli 1143 drivers/gpu/drm/nouveau/nouveau_bo.c mutex_lock_nested(&cli->mutex, SINGLE_DEPTH_NESTING); cli 1158 drivers/gpu/drm/nouveau/nouveau_bo.c mutex_unlock(&cli->mutex); cli 118 drivers/gpu/drm/nouveau/nouveau_bo.h nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 flags, cli 121 drivers/gpu/drm/nouveau/nouveau_bo.h int ret = nouveau_bo_new(cli, size, align, flags, cli 55 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_cli *cli = (void *)chan->user.client; cli 56 drivers/gpu/drm/nouveau/nouveau_chan.c NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid); cli 65 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_cli *cli = (void *)chan->user.client; cli 76 drivers/gpu/drm/nouveau/nouveau_chan.c NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", cli 77 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid, nvxx_client(&cli->base)->name); cli 89 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_cli *cli = (void *)chan->user.client; cli 92 drivers/gpu/drm/nouveau/nouveau_chan.c if (cli) { cli 93 drivers/gpu/drm/nouveau/nouveau_chan.c super = cli->base.super; cli 94 drivers/gpu/drm/nouveau/nouveau_chan.c cli->base.super = true; cli 100 drivers/gpu/drm/nouveau/nouveau_chan.c if (cli) cli 116 drivers/gpu/drm/nouveau/nouveau_chan.c if (cli) cli 117 drivers/gpu/drm/nouveau/nouveau_chan.c cli->base.super = super; cli 126 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_cli *cli = (void *)device->object.client; cli 138 drivers/gpu/drm/nouveau/nouveau_chan.c chan->vmm = cli->svm.cli ? &cli->svm : &cli->vmm; cli 146 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_bo_new(cli, size, 0, target, 0, 0, NULL, NULL, cli 478 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_cli *cli = (void *)device->object.client; cli 483 drivers/gpu/drm/nouveau/nouveau_chan.c super = cli->base.super; cli 484 drivers/gpu/drm/nouveau/nouveau_chan.c cli->base.super = true; cli 488 drivers/gpu/drm/nouveau/nouveau_chan.c NV_PRINTK(dbg, cli, "ib channel create, %d\n", ret); cli 491 drivers/gpu/drm/nouveau/nouveau_chan.c NV_PRINTK(dbg, cli, "dma channel create, %d\n", ret); cli 498 drivers/gpu/drm/nouveau/nouveau_chan.c NV_PRINTK(err, cli, "channel failed to initialise, %d\n", ret); cli 507 drivers/gpu/drm/nouveau/nouveau_chan.c cli->base.super = super; cli 646 drivers/gpu/drm/nouveau/nouveau_display.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 661 drivers/gpu/drm/nouveau/nouveau_display.c ret = nouveau_gem_new(cli, args->size, 0, domain, 0, 0, &bo); cli 135 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli = container_of(w, typeof(*cli), work); cli 137 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_lock(&cli->lock); cli 138 drivers/gpu/drm/nouveau/nouveau_drm.c list_for_each_entry_safe(work, wtmp, &cli->worker, head) { cli 144 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_unlock(&cli->lock); cli 151 drivers/gpu/drm/nouveau/nouveau_drm.c schedule_work(&work->cli->work); cli 155 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence, cli 159 drivers/gpu/drm/nouveau/nouveau_drm.c work->cli = cli; cli 160 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_lock(&cli->lock); cli 161 drivers/gpu/drm/nouveau/nouveau_drm.c list_add_tail(&work->head, &cli->worker); cli 164 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_unlock(&cli->lock); cli 168 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_fini(struct nouveau_cli *cli) cli 175 drivers/gpu/drm/nouveau/nouveau_drm.c flush_work(&cli->work); cli 176 drivers/gpu/drm/nouveau/nouveau_drm.c WARN_ON(!list_empty(&cli->worker)); cli 178 drivers/gpu/drm/nouveau/nouveau_drm.c usif_client_fini(cli); cli 179 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_vmm_fini(&cli->svm); cli 180 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_vmm_fini(&cli->vmm); cli 181 drivers/gpu/drm/nouveau/nouveau_drm.c nvif_mmu_fini(&cli->mmu); cli 182 drivers/gpu/drm/nouveau/nouveau_drm.c nvif_device_fini(&cli->device); cli 183 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_lock(&cli->drm->master.lock); cli 184 drivers/gpu/drm/nouveau/nouveau_drm.c nvif_client_fini(&cli->base); cli 185 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_unlock(&cli->drm->master.lock); cli 190 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli) cli 218 drivers/gpu/drm/nouveau/nouveau_drm.c snprintf(cli->name, sizeof(cli->name), "%s", sname); cli 219 drivers/gpu/drm/nouveau/nouveau_drm.c cli->drm = drm; cli 220 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_init(&cli->mutex); cli 221 drivers/gpu/drm/nouveau/nouveau_drm.c usif_client_init(cli); cli 223 drivers/gpu/drm/nouveau/nouveau_drm.c INIT_WORK(&cli->work, nouveau_cli_work); cli 224 drivers/gpu/drm/nouveau/nouveau_drm.c INIT_LIST_HEAD(&cli->worker); cli 225 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_init(&cli->lock); cli 227 drivers/gpu/drm/nouveau/nouveau_drm.c if (cli == &drm->master) { cli 229 drivers/gpu/drm/nouveau/nouveau_drm.c cli->name, device, &cli->base); cli 232 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_client_init(&drm->master.base, cli->name, device, cli 233 drivers/gpu/drm/nouveau/nouveau_drm.c &cli->base); cli 237 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "Client allocation failed: %d\n", ret); cli 241 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_device_init(&cli->base.object, 0, NV_DEVICE, cli 245 drivers/gpu/drm/nouveau/nouveau_drm.c &cli->device); cli 247 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "Device allocation failed: %d\n", ret); cli 251 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_mclass(&cli->device.object, mmus); cli 253 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "No supported MMU class\n"); cli 257 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_mmu_init(&cli->device.object, mmus[ret].oclass, &cli->mmu); cli 259 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "MMU allocation failed: %d\n", ret); cli 263 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_mclass(&cli->mmu.object, vmms); cli 265 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "No supported VMM class\n"); cli 269 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nouveau_vmm_init(cli, vmms[ret].oclass, &cli->vmm); cli 271 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "VMM allocation failed: %d\n", ret); cli 275 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nvif_mclass(&cli->mmu.object, mems); cli 277 drivers/gpu/drm/nouveau/nouveau_drm.c NV_PRINTK(err, cli, "No supported MEM class\n"); cli 281 drivers/gpu/drm/nouveau/nouveau_drm.c cli->mem = &mems[ret]; cli 285 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_fini(cli); cli 1049 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli; cli 1061 drivers/gpu/drm/nouveau/nouveau_drm.c if (!(cli = kzalloc(sizeof(*cli), GFP_KERNEL))) { cli 1066 drivers/gpu/drm/nouveau/nouveau_drm.c ret = nouveau_cli_init(drm, name, cli); cli 1070 drivers/gpu/drm/nouveau/nouveau_drm.c cli->base.super = false; cli 1072 drivers/gpu/drm/nouveau/nouveau_drm.c fpriv->driver_priv = cli; cli 1075 drivers/gpu/drm/nouveau/nouveau_drm.c list_add(&cli->head, &drm->clients); cli 1079 drivers/gpu/drm/nouveau/nouveau_drm.c if (ret && cli) { cli 1080 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_fini(cli); cli 1081 drivers/gpu/drm/nouveau/nouveau_drm.c kfree(cli); cli 1092 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli = nouveau_cli(fpriv); cli 1097 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_lock(&cli->mutex); cli 1098 drivers/gpu/drm/nouveau/nouveau_drm.c if (cli->abi16) cli 1099 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_abi16_fini(cli->abi16); cli 1100 drivers/gpu/drm/nouveau/nouveau_drm.c mutex_unlock(&cli->mutex); cli 1103 drivers/gpu/drm/nouveau/nouveau_drm.c list_del(&cli->head); cli 1106 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_fini(cli); cli 1107 drivers/gpu/drm/nouveau/nouveau_drm.c kfree(cli); cli 116 drivers/gpu/drm/nouveau/nouveau_drv.h struct nouveau_cli *cli; cli 171 drivers/gpu/drm/nouveau/nouveau_fence.c struct nouveau_cli *cli = (void *)chan->user.client; cli 184 drivers/gpu/drm/nouveau/nouveau_fence.c strcpy(fctx->name, nvxx_client(&cli->base)->name); cli 63 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 67 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; cli 132 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_cli_work_queue(vma->vmm->cli, fence, &work->work); cli 138 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 142 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : & cli->vmm; cli 168 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, cli 172 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_drm *drm = cli->drm; cli 187 drivers/gpu/drm/nouveau/nouveau_gem.c nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, cli 224 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 226 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; cli 248 drivers/gpu/drm/nouveau/nouveau_gem.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) cli 251 drivers/gpu/drm/nouveau/nouveau_gem.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) cli 262 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 267 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_new(cli, req->info.size, req->align, cli 379 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 390 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "%s failed and gave up.\n", __func__); cli 401 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "Unknown handle 0x%08x\n", b->handle); cli 413 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "multiple instances of buffer %d on " cli 434 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "fail reserve\n"); cli 443 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "vma not found!\n"); cli 465 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "invalid valid domains: 0x%08x\n", cli 486 drivers/gpu/drm/nouveau/nouveau_gem.c validate_list(struct nouveau_channel *chan, struct nouveau_cli *cli, cli 503 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "fail set_domain\n"); cli 510 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "fail ttm_validate\n"); cli 517 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "fail post-validate sync\n"); cli 553 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 564 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "validate_init\n"); cli 568 drivers/gpu/drm/nouveau/nouveau_gem.c ret = validate_list(chan, cli, &op->list, pbbo, user_buffers); cli 571 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "validating bo list\n"); cli 606 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli, cli 625 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "reloc bo index invalid\n"); cli 635 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "reloc container bo index invalid\n"); cli 643 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "reloc outside of bo\n"); cli 652 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "failed kmap for reloc\n"); cli 675 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "reloc wait_idle failed: %d\n", ret); cli 691 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 721 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "pushbuf push count exceeds limit: %d max %d\n", cli 727 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "pushbuf bo count exceeds limit: %d max %d\n", cli 733 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "pushbuf reloc count exceeds limit: %d max %d\n", cli 751 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "push %d buffer not in list\n", i); cli 762 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "validate: %d\n", ret); cli 768 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_pushbuf_reloc_apply(cli, req, bo); cli 770 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "reloc apply: %d\n", ret); cli 778 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "nv50cal_space: %d\n", ret); cli 793 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "cal_space: %d\n", ret); cli 807 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "jmp_space: %d\n", ret); cli 845 drivers/gpu/drm/nouveau/nouveau_gem.c NV_PRINTK(err, cli, "error fencing pushbuf: %d\n", ret); cli 87 drivers/gpu/drm/nouveau/nouveau_mem.c nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); cli 88 drivers/gpu/drm/nouveau/nouveau_mem.c nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); cli 89 drivers/gpu/drm/nouveau/nouveau_mem.c mutex_lock(&mem->cli->drm->master.lock); cli 91 drivers/gpu/drm/nouveau/nouveau_mem.c mutex_unlock(&mem->cli->drm->master.lock); cli 98 drivers/gpu/drm/nouveau/nouveau_mem.c struct nouveau_cli *cli = mem->cli; cli 99 drivers/gpu/drm/nouveau/nouveau_mem.c struct nouveau_drm *drm = cli->drm; cli 100 drivers/gpu/drm/nouveau/nouveau_mem.c struct nvif_mmu *mmu = &cli->mmu; cli 102 drivers/gpu/drm/nouveau/nouveau_mem.c bool super = cli->base.super; cli 123 drivers/gpu/drm/nouveau/nouveau_mem.c cli->base.super = true; cli 124 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_mem_init_type(mmu, cli->mem->oclass, type, PAGE_SHIFT, cli 127 drivers/gpu/drm/nouveau/nouveau_mem.c cli->base.super = super; cli 136 drivers/gpu/drm/nouveau/nouveau_mem.c struct nouveau_cli *cli = mem->cli; cli 137 drivers/gpu/drm/nouveau/nouveau_mem.c struct nouveau_drm *drm = cli->drm; cli 138 drivers/gpu/drm/nouveau/nouveau_mem.c struct nvif_mmu *mmu = &cli->mmu; cli 139 drivers/gpu/drm/nouveau/nouveau_mem.c bool super = cli->base.super; cli 144 drivers/gpu/drm/nouveau/nouveau_mem.c cli->base.super = true; cli 145 drivers/gpu/drm/nouveau/nouveau_mem.c switch (cli->mem->oclass) { cli 147 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_mem_init_type(mmu, cli->mem->oclass, cli 155 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_mem_init_type(mmu, cli->mem->oclass, cli 168 drivers/gpu/drm/nouveau/nouveau_mem.c cli->base.super = super; cli 185 drivers/gpu/drm/nouveau/nouveau_mem.c nouveau_mem_new(struct nouveau_cli *cli, u8 kind, u8 comp, cli 192 drivers/gpu/drm/nouveau/nouveau_mem.c mem->cli = cli; cli 16 drivers/gpu/drm/nouveau/nouveau_mem.h struct nouveau_cli *cli; cli 39 drivers/gpu/drm/nouveau/nouveau_sgdma.c ret = nouveau_mem_map(mem, &mem->cli->vmm.vmm, &mem->vma[0]); cli 104 drivers/gpu/drm/nouveau/nouveau_svm.c NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) cli 106 drivers/gpu/drm/nouveau/nouveau_svm.c NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) cli 112 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 176 drivers/gpu/drm/nouveau/nouveau_svm.c if (!cli->svm.svmm) { cli 192 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_dmem_migrate_vma(cli->drm, vma, addr, next); cli 215 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_lock(&svmm->vmm->cli->drm->svm->mutex); cli 216 drivers/gpu/drm/nouveau/nouveau_svm.c ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); cli 221 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); cli 236 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_lock(&svmm->vmm->cli->drm->svm->mutex); cli 237 drivers/gpu/drm/nouveau/nouveau_svm.c list_add(&ivmm->head, &svmm->vmm->cli->drm->svm->inst); cli 238 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); cli 312 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_cli *cli = nouveau_cli(file_priv); cli 320 drivers/gpu/drm/nouveau/nouveau_svm.c svmm->vmm = &cli->svm; cli 326 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_lock(&cli->mutex); cli 327 drivers/gpu/drm/nouveau/nouveau_svm.c if (cli->svm.cli) { cli 338 drivers/gpu/drm/nouveau/nouveau_svm.c ret = nvif_vmm_init(&cli->mmu, cli->vmm.vmm.object.oclass, true, cli 342 drivers/gpu/drm/nouveau/nouveau_svm.c }, sizeof(struct gp100_vmm_v0), &cli->svm.vmm); cli 352 drivers/gpu/drm/nouveau/nouveau_svm.c cli->svm.svmm = svmm; cli 353 drivers/gpu/drm/nouveau/nouveau_svm.c cli->svm.cli = cli; cli 361 drivers/gpu/drm/nouveau/nouveau_svm.c mutex_unlock(&cli->mutex); cli 138 drivers/gpu/drm/nouveau/nouveau_ttm.c ret = nvif_vmm_get(&mem->cli->vmm.vmm, PTES, false, 12, 0, cli 56 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(filp); cli 58 drivers/gpu/drm/nouveau/nouveau_usif.c list_for_each_entry(ntfy, &cli->notifys, head) { cli 124 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(f); cli 125 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 160 drivers/gpu/drm/nouveau/nouveau_usif.c list_add(&ntfy->head, &cli->notifys); cli 169 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(f); cli 170 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 192 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(f); cli 193 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 229 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(f); cli 230 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 266 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(f); cli 267 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 276 drivers/gpu/drm/nouveau/nouveau_usif.c list_add(&object->head, &cli->objects); cli 296 drivers/gpu/drm/nouveau/nouveau_usif.c struct nouveau_cli *cli = nouveau_cli(filp); cli 297 drivers/gpu/drm/nouveau/nouveau_usif.c struct nvif_client *client = &cli->base; cli 326 drivers/gpu/drm/nouveau/nouveau_usif.c mutex_lock(&cli->mutex); cli 331 drivers/gpu/drm/nouveau/nouveau_usif.c mutex_unlock(&cli->mutex); cli 369 drivers/gpu/drm/nouveau/nouveau_usif.c mutex_unlock(&cli->mutex); cli 379 drivers/gpu/drm/nouveau/nouveau_usif.c usif_client_fini(struct nouveau_cli *cli) cli 384 drivers/gpu/drm/nouveau/nouveau_usif.c list_for_each_entry_safe(notify, ntemp, &cli->notifys, head) { cli 388 drivers/gpu/drm/nouveau/nouveau_usif.c list_for_each_entry_safe(object, otemp, &cli->objects, head) { cli 394 drivers/gpu/drm/nouveau/nouveau_usif.c usif_client_init(struct nouveau_cli *cli) cli 396 drivers/gpu/drm/nouveau/nouveau_usif.c INIT_LIST_HEAD(&cli->objects); cli 397 drivers/gpu/drm/nouveau/nouveau_usif.c INIT_LIST_HEAD(&cli->notifys); cli 125 drivers/gpu/drm/nouveau/nouveau_vmm.c vmm->cli = NULL; cli 129 drivers/gpu/drm/nouveau/nouveau_vmm.c nouveau_vmm_init(struct nouveau_cli *cli, s32 oclass, struct nouveau_vmm *vmm) cli 131 drivers/gpu/drm/nouveau/nouveau_vmm.c int ret = nvif_vmm_init(&cli->mmu, oclass, false, PAGE_SIZE, 0, NULL, 0, cli 136 drivers/gpu/drm/nouveau/nouveau_vmm.c vmm->cli = cli; cli 26 drivers/gpu/drm/nouveau/nouveau_vmm.h struct nouveau_cli *cli; cli 37 drivers/gpu/drm/nouveau/nv17_fence.c struct nouveau_cli *cli = (void *)prev->user.client; cli 43 drivers/gpu/drm/nouveau/nv17_fence.c if (!mutex_trylock(&cli->mutex)) cli 70 drivers/gpu/drm/nouveau/nv17_fence.c mutex_unlock(&cli->mutex); cli 175 drivers/i2c/busses/i2c-nomadik.c struct i2c_nmk_client cli; cli 286 drivers/i2c/busses/i2c-nomadik.c dev->cli.operation = I2C_NO_OPERATION; cli 305 drivers/i2c/busses/i2c-nomadik.c mcr |= GEN_MASK(dev->cli.slave_adr, I2C_MCR_A7, 1); cli 316 drivers/i2c/busses/i2c-nomadik.c slave_adr_3msb_bits = (dev->cli.slave_adr >> 7) & 0x7; cli 328 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.operation == I2C_WRITE) cli 339 drivers/i2c/busses/i2c-nomadik.c mcr |= GEN_MASK(dev->cli.count, I2C_MCR_LENGTH, 15); cli 482 drivers/i2c/busses/i2c-nomadik.c dev->cli.slave_adr); cli 494 drivers/i2c/busses/i2c-nomadik.c (dev->cli.count != 0); cli 497 drivers/i2c/busses/i2c-nomadik.c writeb(*dev->cli.buffer, cli 499 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; cli 500 drivers/i2c/busses/i2c-nomadik.c dev->cli.count--; cli 501 drivers/i2c/busses/i2c-nomadik.c dev->cli.xfer_bytes++; cli 538 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.count != 0) cli 562 drivers/i2c/busses/i2c-nomadik.c dev->cli.slave_adr); cli 580 drivers/i2c/busses/i2c-nomadik.c dev->cli.operation = I2C_READ; cli 584 drivers/i2c/busses/i2c-nomadik.c dev->cli.operation = I2C_WRITE; cli 677 drivers/i2c/busses/i2c-nomadik.c dev->cli.slave_adr = msgs[i].addr; cli 678 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer = msgs[i].buf; cli 679 drivers/i2c/busses/i2c-nomadik.c dev->cli.count = msgs[i].len; cli 744 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.operation == I2C_READ) { cli 756 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.count == 0) cli 771 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); cli 772 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; cli 774 drivers/i2c/busses/i2c-nomadik.c dev->cli.count -= rft; cli 775 drivers/i2c/busses/i2c-nomadik.c dev->cli.xfer_bytes += rft; cli 781 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); cli 782 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; cli 784 drivers/i2c/busses/i2c-nomadik.c dev->cli.count -= MAX_I2C_FIFO_THRESHOLD; cli 785 drivers/i2c/busses/i2c-nomadik.c dev->cli.xfer_bytes += MAX_I2C_FIFO_THRESHOLD; cli 791 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.operation == I2C_READ) { cli 794 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.count == 0) cli 796 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = cli 798 drivers/i2c/busses/i2c-nomadik.c dev->cli.buffer++; cli 799 drivers/i2c/busses/i2c-nomadik.c dev->cli.count--; cli 800 drivers/i2c/busses/i2c-nomadik.c dev->cli.xfer_bytes++; cli 807 drivers/i2c/busses/i2c-nomadik.c if (dev->cli.count) { cli 811 drivers/i2c/busses/i2c-nomadik.c dev->cli.count); cli 47 drivers/iio/common/ms_sensors/ms_sensors_i2c.c int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay) cli 50 drivers/iio/common/ms_sensors/ms_sensors_i2c.c struct i2c_client *client = cli; cli 73 drivers/iio/common/ms_sensors/ms_sensors_i2c.c int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word) cli 76 drivers/iio/common/ms_sensors/ms_sensors_i2c.c struct i2c_client *client = cli; cli 104 drivers/iio/common/ms_sensors/ms_sensors_i2c.c int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, cli 109 drivers/iio/common/ms_sensors/ms_sensors_i2c.c struct i2c_client *client = cli; cli 43 drivers/iio/common/ms_sensors/ms_sensors_i2c.h int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay); cli 44 drivers/iio/common/ms_sensors/ms_sensors_i2c.h int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word); cli 45 drivers/iio/common/ms_sensors/ms_sensors_i2c.h int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, cli 55 drivers/iio/magnetometer/hmc5843_i2c.c static int hmc5843_i2c_probe(struct i2c_client *cli, cli 58 drivers/iio/magnetometer/hmc5843_i2c.c struct regmap *regmap = devm_regmap_init_i2c(cli, cli 63 drivers/iio/magnetometer/hmc5843_i2c.c return hmc5843_common_probe(&cli->dev, cli 33 drivers/iio/temperature/tsys01.c int (*reset)(void *cli, u8 cmd, unsigned int delay); cli 34 drivers/iio/temperature/tsys01.c int (*convert_and_read)(void *cli, u8 conv, u8 rd, cli 36 drivers/iio/temperature/tsys01.c int (*read_prom_word)(void *cli, int cmd, u16 *word); cli 1371 drivers/misc/eeprom/idt_89hpesx.c struct i2c_client *cli = pdev->client; cli 1375 drivers/misc/eeprom/idt_89hpesx.c snprintf(fname, CSRNAME_LEN, "%d-%04hx", cli->adapter->nr, cli->addr); cli 1379 drivers/misc/eeprom/idt_89hpesx.c debugfs_create_file(cli->name, 0600, pdev->csr_dir, pdev, cli 4927 drivers/net/ethernet/broadcom/cnic.c u32 cli = cp->ethdev->iscsi_l2_client_id; cli 4973 drivers/net/ethernet/broadcom/cnic.c if (cli < MAX_STAT_COUNTER_ID) { cli 4976 drivers/net/ethernet/broadcom/cnic.c data->general.statistics_counter_id = cli; cli 4995 drivers/net/ethernet/broadcom/cnic.c u32 cli = cp->ethdev->iscsi_l2_client_id; cli 4996 drivers/net/ethernet/broadcom/cnic.c int cl_qzone_id = BNX2X_CL_QZONE_ID(bp, cli); cli 5001 drivers/net/ethernet/broadcom/cnic.c data->general.client_id = cli; cli 5003 drivers/net/ethernet/broadcom/cnic.c data->general.sp_client_id = cli; cli 5179 drivers/net/ethernet/broadcom/cnic.c u32 cli = cp->ethdev->iscsi_l2_client_id; cli 5191 drivers/net/ethernet/broadcom/cnic.c cl_qzone_id = BNX2X_CL_QZONE_ID(bp, cli); cli 5196 drivers/net/ethernet/broadcom/cnic.c USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); cli 5228 drivers/net/ethernet/broadcom/cnic.c cnic_ring_ctl(dev, cid, cli, 1); cli 5247 drivers/net/ethernet/broadcom/cnic.c u32 cli = cp->ethdev->iscsi_l2_client_id; cli 5252 drivers/net/ethernet/broadcom/cnic.c cnic_ring_ctl(dev, cid, cli, 0); cli 5256 drivers/net/ethernet/broadcom/cnic.c l5_data.phy_address.lo = cli; cli 410 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_CL_QZONE_ID(bp, cli) \ cli 411 drivers/net/ethernet/broadcom/cnic.h (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \ cli 412 drivers/net/ethernet/broadcom/cnic.h cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H)) cli 77 drivers/net/ethernet/qlogic/qed/qed_cxt.c #define ILT_CFG_REG(cli, reg) PSWRQ2_REG_ ## cli ## _ ## reg ## _RT_OFFSET cli 1161 drivers/scsi/esas2r/atioctl.h struct atto_ioctl_vda_cli_cmd cli; cli 1222 drivers/scsi/esas2r/atvda.h struct atto_vda_cli_req cli; cli 126 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->cli.cmd_rsp_len = cli 127 drivers/scsi/esas2r/esas2r_vda.c cpu_to_le32(vi->cmd.cli.cmd_rsp_len); cli 128 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->cli.length = cpu_to_le32(datalen); cli 130 drivers/scsi/esas2r/esas2r_vda.c firstsg = rq->vrq->cli.sge; cli 335 drivers/scsi/esas2r/esas2r_vda.c vi->cmd.cli.cmd_rsp_len = cli 453 drivers/scsi/esas2r/esas2r_vda.c struct atto_vda_cli_req *vrq = &rq->vrq->cli; cli 69 drivers/video/backlight/ili9320.h struct ili9320_client *cli);