Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_mem.c87 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); in nouveau_mem_fini()
88 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); in nouveau_mem_fini()
89 mutex_lock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
91 mutex_unlock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
98 struct nouveau_cli *cli = mem->cli; in nouveau_mem_host() local
99 struct nouveau_drm *drm = cli->drm; in nouveau_mem_host()
100 struct nvif_mmu *mmu = &cli->mmu; in nouveau_mem_host()
102 bool super = cli->base.super; in nouveau_mem_host()
123 cli->base.super = true; in nouveau_mem_host()
124 ret = nvif_mem_ctor_type(mmu, "ttmHostMem", cli->mem->oclass, type, PAGE_SHIFT, in nouveau_mem_host()
[all …]
Dnouveau_drm.c136 struct nouveau_cli *cli = container_of(w, typeof(*cli), work); in nouveau_cli_work() local
138 mutex_lock(&cli->lock); in nouveau_cli_work()
139 list_for_each_entry_safe(work, wtmp, &cli->worker, head) { in nouveau_cli_work()
145 mutex_unlock(&cli->lock); in nouveau_cli_work()
152 schedule_work(&work->cli->work); in nouveau_cli_work_fence()
156 nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence, in nouveau_cli_work_queue() argument
160 work->cli = cli; in nouveau_cli_work_queue()
161 mutex_lock(&cli->lock); in nouveau_cli_work_queue()
162 list_add_tail(&work->head, &cli->worker); in nouveau_cli_work_queue()
165 mutex_unlock(&cli->lock); in nouveau_cli_work_queue()
[all …]
Dnouveau_gem.c66 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_open() local
70 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_object_open()
137 nouveau_cli_work_queue(vma->vmm->cli, fence, &work->work); in nouveau_gem_object_unmap()
143 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_close() local
147 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : & cli->vmm; in nouveau_gem_object_close()
173 nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, in nouveau_gem_new() argument
177 struct nouveau_drm *drm = cli->drm; in nouveau_gem_new()
184 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_gem_new()
220 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_info() local
222 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_info()
[all …]
Dnouveau_usif.c56 struct nouveau_cli *cli = nouveau_cli(filp); in usif_notify_find() local
58 list_for_each_entry(ntfy, &cli->notifys, head) { in usif_notify_find()
124 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_new() local
125 struct nvif_client *client = &cli->base; in usif_notify_new()
160 list_add(&ntfy->head, &cli->notifys); in usif_notify_new()
169 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_del() local
170 struct nvif_client *client = &cli->base; in usif_notify_del()
192 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_get() local
193 struct nvif_client *client = &cli->base; in usif_notify_get()
229 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_put() local
[all …]
Dnouveau_chan.c52 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_killed() local
53 NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid); in nouveau_channel_killed()
64 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_idle() local
75 NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", in nouveau_channel_idle()
76 chan->chid, nvxx_client(&cli->base)->name); in nouveau_channel_idle()
88 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_del() local
91 if (cli) { in nouveau_channel_del()
92 super = cli->base.super; in nouveau_channel_del()
93 cli->base.super = true; in nouveau_channel_del()
99 if (cli) in nouveau_channel_del()
[all …]
Dnouveau_abi16.c43 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16() local
44 if (!cli->abi16) { in nouveau_abi16()
46 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16()
47 if (cli->abi16) { in nouveau_abi16()
58 if (nvif_device_ctor(&cli->base.object, "abi16Device", in nouveau_abi16()
61 return cli->abi16; in nouveau_abi16()
63 kfree(cli->abi16); in nouveau_abi16()
64 cli->abi16 = NULL; in nouveau_abi16()
67 return cli->abi16; in nouveau_abi16()
73 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_get() local
[all …]
Dnouveau_svm.c97 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
99 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
105 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_svmm_bind() local
164 if (!cli->svm.svmm) { in nouveau_svmm_bind()
181 nouveau_dmem_migrate_vma(cli->drm, cli->svm.svmm, vma, addr, in nouveau_svmm_bind()
205 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
206 ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); in nouveau_svmm_part()
211 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
226 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join()
227 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, false, PAGE_SIZE, in nouveau_vmm_init()
136 vmm->cli = cli; in nouveau_vmm_init()
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.c198 nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 domain, in nouveau_bo_alloc() argument
201 struct nouveau_drm *drm = cli->drm; in nouveau_bo_alloc()
203 struct nvif_mmu *mmu = &cli->mmu; in nouveau_bo_alloc()
204 struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; in nouveau_bo_alloc()
232 if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { in nouveau_bo_alloc()
241 if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_bo_alloc()
263 if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && in nouveau_bo_alloc()
326 nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, in nouveau_bo_new() argument
334 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_bo_new()
805 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_bo_move_m2mf() local
[all …]
Dnouveau_mem.h16 struct nouveau_cli *cli; member
Dnouveau_vmm.h26 struct nouveau_cli *cli; member
Dnouveau_bo.h125 nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 domain, in nouveau_bo_new_pin_map() argument
128 int ret = nouveau_bo_new(cli, size, align, domain, in nouveau_bo_new_pin_map()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockmap_ktls.c43 int err, cli, srv, zero = 0; in test_sockmap_ktls_disconnect_after_delete() local
55 cli = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_disconnect_after_delete()
56 if (CHECK_FAIL(cli == -1)) { in test_sockmap_ktls_disconnect_after_delete()
61 err = connect(cli, (struct sockaddr *)&addr, len); in test_sockmap_ktls_disconnect_after_delete()
67 err = bpf_map_update_elem(map, &zero, &cli, 0); in test_sockmap_ktls_disconnect_after_delete()
73 err = setsockopt(cli, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_disconnect_after_delete()
85 err = disconnect(cli); in test_sockmap_ktls_disconnect_after_delete()
90 close(cli); in test_sockmap_ktls_disconnect_after_delete()
/kernel/linux/linux-5.10/drivers/nvme/host/
DKconfig49 To configure a NVMe over Fabrics controller use the nvme-cli tool
50 from https://github.com/linux-nvme/nvme-cli.
66 To configure a NVMe over Fabrics controller use the nvme-cli tool
67 from https://github.com/linux-nvme/nvme-cli.
84 To configure a NVMe over Fabrics controller use the nvme-cli tool
85 from https://github.com/linux-nvme/nvme-cli.
/kernel/linux/linux-5.10/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h43 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay);
44 int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word);
45 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()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dhmc5843_i2c.c55 static int hmc5843_i2c_probe(struct i2c_client *cli, in hmc5843_i2c_probe() argument
58 struct regmap *regmap = devm_regmap_init_i2c(cli, in hmc5843_i2c_probe()
63 return hmc5843_common_probe(&cli->dev, in hmc5843_i2c_probe()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dflamegraph.py123 cli = FlameGraphCLI(args) variable
125 process_event = cli.process_event
126 trace_end = cli.trace_end
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/realmode/rm/
Dtrampoline_64.S42 cli # We should be safe anyway
87 cli # We should be safe anyway
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic.h410 #define BNX2X_CL_QZONE_ID(bp, cli) \ argument
411 (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \
412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_011.cpp172 static int StartClients(pthread_t *cli, int cliNum) in StartClients() argument
190 ret = pthread_create(&cli[i], &attr, ClientsThread, (void *)(intptr_t)i); in StartClients()

123