Home
last modified time | relevance | path

Searched refs:cli (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_drm.c158 struct nouveau_cli *cli = container_of(w, typeof(*cli), work); in nouveau_cli_work() local
160 mutex_lock(&cli->lock); in nouveau_cli_work()
161 list_for_each_entry_safe(work, wtmp, &cli->worker, head) { in nouveau_cli_work()
167 mutex_unlock(&cli->lock); in nouveau_cli_work()
174 schedule_work(&work->cli->work); in nouveau_cli_work_fence()
178 nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence, in nouveau_cli_work_queue() argument
182 work->cli = cli; in nouveau_cli_work_queue()
183 mutex_lock(&cli->lock); in nouveau_cli_work_queue()
184 list_add_tail(&work->head, &cli->worker); in nouveau_cli_work_queue()
187 mutex_unlock(&cli->lock); in nouveau_cli_work_queue()
[all …]
Dnouveau_drv.h114 struct nouveau_cli *cli; member
122 nouveau_cli_uvmm(struct nouveau_cli *cli) in nouveau_cli_uvmm() argument
124 if (!cli || !cli->uvmm.vmm.cli) in nouveau_cli_uvmm()
127 return &cli->uvmm; in nouveau_cli_uvmm()
131 nouveau_cli_uvmm_locked(struct nouveau_cli *cli) in nouveau_cli_uvmm_locked() argument
135 mutex_lock(&cli->mutex); in nouveau_cli_uvmm_locked()
136 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_uvmm_locked()
137 mutex_unlock(&cli->mutex); in nouveau_cli_uvmm_locked()
143 nouveau_cli_vmm(struct nouveau_cli *cli) in nouveau_cli_vmm() argument
147 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_vmm()
[all …]
Dnouveau_mem.c81 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); in nouveau_mem_fini()
82 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); in nouveau_mem_fini()
83 mutex_lock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
85 mutex_unlock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
92 struct nouveau_cli *cli = mem->cli; in nouveau_mem_host() local
93 struct nouveau_drm *drm = cli->drm; in nouveau_mem_host()
94 struct nvif_mmu *mmu = &cli->mmu; in nouveau_mem_host()
118 ret = nvif_mem_ctor_type(mmu, "ttmHostMem", cli->mem->oclass, type, PAGE_SHIFT, in nouveau_mem_host()
129 struct nouveau_cli *cli = mem->cli; in nouveau_mem_vram() local
130 struct nouveau_drm *drm = cli->drm; in nouveau_mem_vram()
[all …]
Dnouveau_gem.c102 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_open() local
106 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_gem_object_open()
107 struct nouveau_vmm *vmm = nouveau_cli_vmm(cli); in nouveau_gem_object_open()
128 if (!nouveau_cli_uvmm(cli)) in nouveau_gem_object_open()
181 nouveau_cli_work_queue(vma->vmm->cli, fence, &work->work); in nouveau_gem_object_unmap()
187 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_close() local
191 struct nouveau_vmm *vmm = nouveau_cli_vmm(cli); in nouveau_gem_object_close()
198 if (nouveau_cli_uvmm(cli)) in nouveau_gem_object_close()
234 nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, in nouveau_gem_new() argument
238 struct nouveau_drm *drm = cli->drm; in nouveau_gem_new()
[all …]
Dnouveau_usif.c52 struct nouveau_cli *cli = nouveau_cli(f); in usif_object_new() local
53 struct nvif_client *client = &cli->base; in usif_object_new()
87 list_add(&object->head, &cli->objects); in usif_object_new()
107 struct nouveau_cli *cli = nouveau_cli(filp); in usif_ioctl() local
108 struct nvif_client *client = &cli->base; in usif_ioctl()
138 mutex_lock(&cli->mutex); in usif_ioctl()
143 mutex_unlock(&cli->mutex); in usif_ioctl()
171 mutex_unlock(&cli->mutex); in usif_ioctl()
181 usif_client_fini(struct nouveau_cli *cli) in usif_client_fini() argument
185 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
[all …]
Dnouveau_abi16.c44 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16() local
45 if (!cli->abi16) { in nouveau_abi16()
47 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16()
48 if (cli->abi16) { in nouveau_abi16()
59 if (nvif_device_ctor(&cli->base.object, "abi16Device", in nouveau_abi16()
62 return cli->abi16; in nouveau_abi16()
64 kfree(cli->abi16); in nouveau_abi16()
65 cli->abi16 = NULL; in nouveau_abi16()
68 return cli->abi16; in nouveau_abi16()
74 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_get() local
[all …]
Dnouveau_svm.c105 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
107 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
113 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_svmm_bind() local
172 if (!cli->svm.svmm) { in nouveau_svmm_bind()
189 nouveau_dmem_migrate_vma(cli->drm, cli->svm.svmm, vma, addr, in nouveau_svmm_bind()
213 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
214 ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); in nouveau_svmm_part()
219 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
234 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join()
235 list_add(&ivmm->head, &svmm->vmm->cli->drm->svm->inst); in nouveau_svmm_join()
[all …]
Dnouveau_vmm.c125 vmm->cli = NULL; in nouveau_vmm_fini()
129 nouveau_vmm_init(struct nouveau_cli *cli, s32 oclass, struct nouveau_vmm *vmm) in nouveau_vmm_init() argument
131 int ret = nvif_vmm_ctor(&cli->mmu, "drmVmm", oclass, UNMANAGED, in nouveau_vmm_init()
136 vmm->cli = cli; in nouveau_vmm_init()
Dnouveau_chan.c55 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_killed() local
57 NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid); in nouveau_channel_killed()
69 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_idle() local
80 NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", in nouveau_channel_idle()
81 chan->chid, nvxx_client(&cli->base)->name); in nouveau_channel_idle()
93 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_del() local
98 if (cli) in nouveau_channel_del()
148 struct nouveau_cli *cli = (void *)device->object.client; in nouveau_channel_prep() local
160 chan->vmm = nouveau_cli_vmm(cli); in nouveau_channel_prep()
168 ret = nouveau_bo_new(cli, size, 0, target, 0, 0, NULL, NULL, in nouveau_channel_prep()
[all …]
Dnouveau_exec.c92 struct nouveau_cli *cli = job->cli; in nouveau_exec_job_submit() local
93 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_exec_job_submit()
163 NV_PRINTK(err, job->cli, "nv50cal_space: %d\n", ret); in nouveau_exec_job_run()
177 NV_PRINTK(err, job->cli, "error fencing pushbuf: %d\n", ret); in nouveau_exec_job_run()
211 NV_PRINTK(warn, job->cli, "job timeout, channel %d killed!\n", in nouveau_exec_job_timeout()
377 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_exec_ioctl_exec() local
388 if (unlikely(!nouveau_cli_uvmm(cli))) in nouveau_exec_ioctl_exec()
409 NV_PRINTK(err, cli, "pushbuf push count exceeds limit: %d max %d\n", in nouveau_exec_ioctl_exec()
Dnouveau_uvmm.c994 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); in bind_validate_op()
1044 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); in bind_validate_map_common()
1144 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); in nouveau_uvmm_bind_job_submit()
1434 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); in nouveau_uvmm_bind_job_run()
1460 NV_PRINTK(err, job->cli, "bind job failed: %d\n", ret); in nouveau_uvmm_bind_job_run()
1470 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); in nouveau_uvmm_bind_job_free_work_fn()
1656 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_uvmm_ioctl_vm_init() local
1659 return nouveau_uvmm_init(&cli->uvmm, cli, init->kernel_managed_addr, in nouveau_uvmm_ioctl_vm_init()
1751 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_uvmm_ioctl_vm_bind() local
1756 if (unlikely(!nouveau_cli_uvmm_locked(cli))) in nouveau_uvmm_ioctl_vm_bind()
[all …]
Dnv17_fence.c39 struct nouveau_cli *cli = (void *)prev->user.client; in nv17_fence_sync() local
47 if (!mutex_trylock(&cli->mutex)) in nv17_fence_sync()
72 mutex_unlock(&cli->mutex); in nv17_fence_sync()
Dnouveau_bo.c201 nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 domain, in nouveau_bo_alloc() argument
204 struct nouveau_drm *drm = cli->drm; in nouveau_bo_alloc()
206 struct nvif_mmu *mmu = &cli->mmu; in nouveau_bo_alloc()
207 struct nvif_vmm *vmm = &nouveau_cli_vmm(cli)->vmm; in nouveau_bo_alloc()
237 if (!nouveau_cli_uvmm(cli) || internal) { in nouveau_bo_alloc()
239 if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { in nouveau_bo_alloc()
247 } else if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_bo_alloc()
268 if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && in nouveau_bo_alloc()
369 nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, in nouveau_bo_new() argument
377 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_bo_new()
[all …]
Dnouveau_sched.c37 job->cli = nouveau_cli(args->file_priv); in nouveau_job_init()
163 NV_PRINTK(warn, job->cli, in nouveau_job_add_deps()
213 NV_PRINTK(warn, job->cli, in nouveau_job_fence_attach_prepare()
387 NV_PRINTK(warn, job->cli, "Generic job timeout.\n"); in nouveau_sched_timedout_job()
Dnouveau_debugfs.c224 struct nouveau_cli *cli; in nouveau_debugfs_gpuva() local
227 list_for_each_entry(cli, &drm->clients, head) { in nouveau_debugfs_gpuva()
228 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_debugfs_gpuva()
/Linux-v6.6/drivers/i2c/busses/
Di2c-nomadik.c175 struct i2c_nmk_client cli; member
286 dev->cli.operation = I2C_NO_OPERATION; in init_hw()
305 mcr |= GEN_MASK(dev->cli.slave_adr, I2C_MCR_A7, 1); in load_i2c_mcr_reg()
316 slave_adr_3msb_bits = (dev->cli.slave_adr >> 7) & 0x7; in load_i2c_mcr_reg()
328 if (dev->cli.operation == I2C_WRITE) in load_i2c_mcr_reg()
339 mcr |= GEN_MASK(dev->cli.count, I2C_MCR_LENGTH, 15); in load_i2c_mcr_reg()
482 dev->cli.slave_adr); in read_i2c()
494 (dev->cli.count != 0); in fill_tx_fifo()
497 writeb(*dev->cli.buffer, in fill_tx_fifo()
499 dev->cli.buffer++; in fill_tx_fifo()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsockmap_ktls.c40 int err, cli, srv, zero = 0; in test_sockmap_ktls_disconnect_after_delete() local
50 cli = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_disconnect_after_delete()
51 if (!ASSERT_GE(cli, 0, "socket")) in test_sockmap_ktls_disconnect_after_delete()
54 err = connect(cli, (struct sockaddr *)&addr, len); in test_sockmap_ktls_disconnect_after_delete()
58 err = bpf_map_update_elem(map, &zero, &cli, 0); in test_sockmap_ktls_disconnect_after_delete()
62 err = setsockopt(cli, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_disconnect_after_delete()
70 err = disconnect(cli); in test_sockmap_ktls_disconnect_after_delete()
74 close(cli); in test_sockmap_ktls_disconnect_after_delete()
/Linux-v6.6/drivers/iio/magnetometer/
Dhmc5843_i2c.c55 static int hmc5843_i2c_probe(struct i2c_client *cli) in hmc5843_i2c_probe() argument
57 const struct i2c_device_id *id = i2c_client_get_device_id(cli); in hmc5843_i2c_probe()
58 struct regmap *regmap = devm_regmap_init_i2c(cli, in hmc5843_i2c_probe()
63 return hmc5843_common_probe(&cli->dev, in hmc5843_i2c_probe()
/Linux-v6.6/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h54 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay);
55 int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word);
56 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd,
Dms_sensors_i2c.c47 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay) in ms_sensors_reset() argument
50 struct i2c_client *client = cli; in ms_sensors_reset()
73 int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word) in ms_sensors_read_prom_word() argument
76 struct i2c_client *client = cli; in ms_sensors_read_prom_word()
104 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, in ms_sensors_convert_and_read() argument
109 struct i2c_client *client = cli; in ms_sensors_convert_and_read()
/Linux-v6.6/drivers/nvme/host/
DKconfig57 To configure a NVMe over Fabrics controller use the nvme-cli tool
58 from https://github.com/linux-nvme/nvme-cli.
73 To configure a NVMe over Fabrics controller use the nvme-cli tool
74 from https://github.com/linux-nvme/nvme-cli.
90 To configure a NVMe over Fabrics controller use the nvme-cli tool
91 from https://github.com/linux-nvme/nvme-cli.
/Linux-v6.6/arch/x86/lib/
Dcmpxchg8b_emu.S25 cli
59 cli
/Linux-v6.6/drivers/iio/temperature/
Dtsys01.c34 int (*reset)(void *cli, u8 cmd, unsigned int delay);
35 int (*convert_and_read)(void *cli, u8 conv, u8 rd,
37 int (*read_prom_word)(void *cli, int cmd, u16 *word);
/Linux-v6.6/tools/perf/scripts/python/
Dflamegraph.py240 cli = FlameGraphCLI(cli_args) variable
242 process_event = cli.process_event
243 trace_end = cli.trace_end
/Linux-v6.6/drivers/scsi/esas2r/
Desas2r_vda.c126 rq->vrq->cli.cmd_rsp_len = in esas2r_process_vda_ioctl()
127 cpu_to_le32(vi->cmd.cli.cmd_rsp_len); in esas2r_process_vda_ioctl()
128 rq->vrq->cli.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl()
130 firstsg = rq->vrq->cli.sge; in esas2r_process_vda_ioctl()
335 vi->cmd.cli.cmd_rsp_len = in esas2r_complete_vda_ioctl()
453 struct atto_vda_cli_req *vrq = &rq->vrq->cli; in esas2r_build_cli_req()

123