/drivers/gpu/drm/nouveau/ |
D | nouveau_mem.c | 87 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_init_type(mmu, cli->mem->oclass, type, PAGE_SHIFT, in nouveau_mem_host() [all …]
|
D | nouveau_drm.c | 135 struct nouveau_cli *cli = container_of(w, typeof(*cli), work); in nouveau_cli_work() local 137 mutex_lock(&cli->lock); in nouveau_cli_work() 138 list_for_each_entry_safe(work, wtmp, &cli->worker, head) { in nouveau_cli_work() 144 mutex_unlock(&cli->lock); in nouveau_cli_work() 151 schedule_work(&work->cli->work); in nouveau_cli_work_fence() 155 nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence, in nouveau_cli_work_queue() argument 159 work->cli = cli; in nouveau_cli_work_queue() 160 mutex_lock(&cli->lock); in nouveau_cli_work_queue() 161 list_add_tail(&work->head, &cli->worker); in nouveau_cli_work_queue() 164 mutex_unlock(&cli->lock); in nouveau_cli_work_queue() [all …]
|
D | nouveau_gem.c | 63 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_open() local 67 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_object_open() 132 nouveau_cli_work_queue(vma->vmm->cli, fence, &work->work); in nouveau_gem_object_unmap() 138 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_close() local 142 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : & cli->vmm; in nouveau_gem_object_close() 168 nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, in nouveau_gem_new() argument 172 struct nouveau_drm *drm = cli->drm; in nouveau_gem_new() 187 nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, in nouveau_gem_new() 224 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_info() local 226 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_info() [all …]
|
D | nouveau_usif.c | 56 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 …]
|
D | nouveau_chan.c | 55 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_killed() local 56 NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid); in nouveau_channel_killed() 65 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_idle() local 76 NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", in nouveau_channel_idle() 77 chan->chid, nvxx_client(&cli->base)->name); in nouveau_channel_idle() 89 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_del() local 92 if (cli) { in nouveau_channel_del() 93 super = cli->base.super; in nouveau_channel_del() 94 cli->base.super = true; in nouveau_channel_del() 100 if (cli) in nouveau_channel_del() [all …]
|
D | nouveau_abi16.c | 43 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_init(&cli->base.object, 0, NV_DEVICE, 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 …]
|
D | nouveau_svm.c | 104 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 186 nouveau_dmem_migrate_vma(cli->drm, vma, addr, next); in nouveau_svmm_bind() 209 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part() 210 ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); in nouveau_svmm_part() 215 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part() 230 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join() 231 list_add(&ivmm->head, &svmm->vmm->cli->drm->svm->inst); in nouveau_svmm_join() 232 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join() [all …]
|
D | nouveau_vmm.c | 125 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_init(&cli->mmu, oclass, false, PAGE_SIZE, 0, NULL, 0, in nouveau_vmm_init() 136 vmm->cli = cli; in nouveau_vmm_init()
|
D | nv17_fence.c | 37 struct nouveau_cli *cli = (void *)prev->user.client; in nv17_fence_sync() local 43 if (!mutex_trylock(&cli->mutex)) in nv17_fence_sync() 70 mutex_unlock(&cli->mutex); in nv17_fence_sync()
|
D | nouveau_bo.c | 195 nouveau_bo_alloc(struct nouveau_cli *cli, u64 *size, int *align, u32 flags, in nouveau_bo_alloc() argument 198 struct nouveau_drm *drm = cli->drm; in nouveau_bo_alloc() 200 struct nvif_mmu *mmu = &cli->mmu; in nouveau_bo_alloc() 201 struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; in nouveau_bo_alloc() 229 if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { in nouveau_bo_alloc() 238 if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_bo_alloc() 260 if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && in nouveau_bo_alloc() 320 nouveau_bo_new(struct nouveau_cli *cli, u64 size, int align, in nouveau_bo_new() argument 328 nvbo = nouveau_bo_alloc(cli, &size, &align, flags, tile_mode, in nouveau_bo_new() 1129 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_bo_move_m2mf() local [all …]
|
D | nouveau_bo.h | 118 nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 flags, in nouveau_bo_new_pin_map() argument 121 int ret = nouveau_bo_new(cli, size, align, flags, in nouveau_bo_new_pin_map()
|
D | nouveau_mem.h | 16 struct nouveau_cli *cli; member
|
D | nouveau_vmm.h | 26 struct nouveau_cli *cli; member
|
D | nouveau_sgdma.c | 39 ret = nouveau_mem_map(mem, &mem->cli->vmm.vmm, &mem->vma[0]); in nv04_sgdma_bind()
|
/drivers/i2c/busses/ |
D | i2c-nomadik.c | 175 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 …]
|
/drivers/nvme/host/ |
D | Kconfig | 40 To configure a NVMe over Fabrics controller use the nvme-cli tool 41 from https://github.com/linux-nvme/nvme-cli. 57 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.
|
/drivers/iio/common/ms_sensors/ |
D | ms_sensors_i2c.h | 43 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,
|
D | ms_sensors_i2c.c | 47 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()
|
/drivers/iio/magnetometer/ |
D | hmc5843_i2c.c | 55 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()
|
/drivers/iio/temperature/ |
D | tsys01.c | 33 int (*reset)(void *cli, u8 cmd, unsigned int delay); 34 int (*convert_and_read)(void *cli, u8 conv, u8 rd, 36 int (*read_prom_word)(void *cli, int cmd, u16 *word);
|
/drivers/scsi/esas2r/ |
D | esas2r_vda.c | 126 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()
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 410 #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))
|
/drivers/video/backlight/ |
D | ili9320.h | 69 struct ili9320_client *cli);
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | crtc.c | 1079 struct nouveau_cli *cli = (void *)notify->object->client; in nv04_flip_complete() local 1080 struct nouveau_drm *drm = cli->drm; in nv04_flip_complete() 1150 struct nouveau_cli *cli; in nv04_crtc_page_flip() local 1159 cli = (void *)chan->user.client; in nv04_crtc_page_flip() 1171 mutex_lock(&cli->mutex); in nv04_crtc_page_flip() 1220 mutex_unlock(&cli->mutex); in nv04_crtc_page_flip() 1236 mutex_unlock(&cli->mutex); in nv04_crtc_page_flip()
|
/drivers/misc/eeprom/ |
D | idt_89hpesx.c | 1371 struct i2c_client *cli = pdev->client; in idt_create_dbgfs_files() local 1375 snprintf(fname, CSRNAME_LEN, "%d-%04hx", cli->adapter->nr, cli->addr); in idt_create_dbgfs_files() 1379 debugfs_create_file(cli->name, 0600, pdev->csr_dir, pdev, in idt_create_dbgfs_files()
|