Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_drm.c151 struct nouveau_cli *cli = container_of(w, typeof(*cli), work); in nouveau_cli_work() local
153 mutex_lock(&cli->lock); in nouveau_cli_work()
154 list_for_each_entry_safe(work, wtmp, &cli->worker, head) { in nouveau_cli_work()
160 mutex_unlock(&cli->lock); in nouveau_cli_work()
167 schedule_work(&work->cli->work); in nouveau_cli_work_fence()
171 nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence, in nouveau_cli_work_queue() argument
175 work->cli = cli; in nouveau_cli_work_queue()
176 mutex_lock(&cli->lock); in nouveau_cli_work_queue()
177 list_add_tail(&work->head, &cli->worker); in nouveau_cli_work_queue()
180 mutex_unlock(&cli->lock); in nouveau_cli_work_queue()
[all …]
Dnouveau_mem.c80 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); in nouveau_mem_fini()
81 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); in nouveau_mem_fini()
82 mutex_lock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
84 mutex_unlock(&mem->cli->drm->master.lock); in nouveau_mem_fini()
91 struct nouveau_cli *cli = mem->cli; in nouveau_mem_host() local
92 struct nouveau_drm *drm = cli->drm; in nouveau_mem_host()
93 struct nvif_mmu *mmu = &cli->mmu; in nouveau_mem_host()
117 ret = nvif_mem_ctor_type(mmu, "ttmHostMem", cli->mem->oclass, type, PAGE_SHIFT, in nouveau_mem_host()
128 struct nouveau_cli *cli = mem->cli; in nouveau_mem_vram() local
129 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_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_object_open()
173 nouveau_cli_work_queue(vma->vmm->cli, fence, &work->work); in nouveau_gem_object_unmap()
179 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_close() local
183 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : & cli->vmm; in nouveau_gem_object_close()
222 nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, in nouveau_gem_new() argument
226 struct nouveau_drm *drm = cli->drm; in nouveau_gem_new()
233 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_gem_new()
270 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_info() local
272 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_info()
[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()
177 mutex_unlock(&cli->mutex); in usif_ioctl()
187 usif_client_fini(struct nouveau_cli *cli) in usif_client_fini() argument
191 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
[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.c104 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
106 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
112 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_svmm_bind() local
171 if (!cli->svm.svmm) { in nouveau_svmm_bind()
188 nouveau_dmem_migrate_vma(cli->drm, cli->svm.svmm, vma, addr, in nouveau_svmm_bind()
212 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
213 ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); in nouveau_svmm_part()
218 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
233 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join()
234 list_add(&ivmm->head, &svmm->vmm->cli->drm->svm->inst); in nouveau_svmm_join()
[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
93 if (cli) in nouveau_channel_del()
141 struct nouveau_cli *cli = (void *)device->object.client; in nouveau_channel_prep() local
153 chan->vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_channel_prep()
161 ret = nouveau_bo_new(cli, size, 0, target, 0, 0, NULL, NULL, in nouveau_channel_prep()
[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.c200 nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 domain, in nouveau_bo_alloc() argument
203 struct nouveau_drm *drm = cli->drm; in nouveau_bo_alloc()
205 struct nvif_mmu *mmu = &cli->mmu; in nouveau_bo_alloc()
206 struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; in nouveau_bo_alloc()
234 if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { in nouveau_bo_alloc()
243 if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_bo_alloc()
265 if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && in nouveau_bo_alloc()
324 nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, in nouveau_bo_new() argument
332 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_bo_new()
801 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_bo_move_m2mf() local
[all …]
Dnouveau_vmm.h26 struct nouveau_cli *cli; member
Dnouveau_mem.h11 struct nouveau_cli *cli; member
Dnouveau_bo.h121 nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 domain, in nouveau_bo_new_pin_map() argument
124 int ret = nouveau_bo_new(cli, size, align, domain, in nouveau_bo_new_pin_map()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()
/linux-6.1.9/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-6.1.9/tools/perf/scripts/python/
Dflamegraph.py177 cli = FlameGraphCLI(cli_args) variable
179 process_event = cli.process_event
180 trace_end = cli.trace_end
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/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))
/linux-6.1.9/arch/x86/realmode/rm/
Dtrampoline_64.S42 cli # We should be safe anyway
87 cli # We should be safe anyway
/linux-6.1.9/drivers/video/backlight/
Dili9320.h69 struct ili9320_client *cli);

123