/drivers/gpu/drm/nouveau/ |
D | nouveau_usif.c | 125 usif_notify_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_new() argument 156 ret = nvif_client_ioctl(client, argv, argc); in usif_notify_new() 170 usif_notify_del(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_del() argument 186 ret = nvif_client_ioctl(client, argv, argc); in usif_notify_del() 193 usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_get() argument 220 ret = nvif_client_ioctl(client, argv, argc); in usif_notify_get() 230 usif_notify_put(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_put() argument 246 ret = nvif_client_ioctl(client, argv, argc); in usif_notify_put() 267 usif_object_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc, bool parent_abi16) in usif_object_new() argument 310 ret = nvif_client_ioctl(client, argv, argc); in usif_object_new() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | uvmm.c | 46 nvkm_uvmm_mthd_pfnclr(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_pfnclr() argument 50 } *args = argv; in nvkm_uvmm_mthd_pfnclr() 55 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_uvmm_mthd_pfnclr() 71 nvkm_uvmm_mthd_pfnmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_pfnmap() argument 75 } *args = argv; in nvkm_uvmm_mthd_pfnmap() 81 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_uvmm_mthd_pfnmap() 101 nvkm_uvmm_mthd_unmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_unmap() argument 105 } *args = argv; in nvkm_uvmm_mthd_unmap() 111 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_uvmm_mthd_unmap() 142 nvkm_uvmm_mthd_map(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_map() argument [all …]
|
D | ummu.c | 57 nvkm_ummu_heap(struct nvkm_ummu *ummu, void *argv, u32 argc) in nvkm_ummu_heap() argument 62 } *args = argv; in nvkm_ummu_heap() 66 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_ummu_heap() 77 nvkm_ummu_type(struct nvkm_ummu *ummu, void *argv, u32 argc) in nvkm_ummu_type() argument 82 } *args = argv; in nvkm_ummu_type() 86 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_ummu_type() 106 nvkm_ummu_kind(struct nvkm_ummu *ummu, void *argv, u32 argc) in nvkm_ummu_kind() argument 111 } *args = argv; in nvkm_ummu_kind() 119 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_ummu_kind() 133 nvkm_ummu_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) in nvkm_ummu_mthd() argument [all …]
|
D | memgf100.c | 34 gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in gf100_mem_map() argument 41 } *args = argv; in gf100_mem_map() 46 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gf100_mem_map() 50 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_map() 70 void *argv, u32 argc, struct nvkm_memory **pmemory) in gf100_mem_new() argument 75 } *args = argv; in gf100_mem_new() 79 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gf100_mem_new() 82 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_new()
|
D | memnv50.c | 34 nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv50_mem_map() argument 41 } *args = argv; in nv50_mem_map() 47 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_mem_map() 52 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_map() 67 void *argv, u32 argc, struct nvkm_memory **pmemory) in nv50_mem_new() argument 72 } *args = argv; in nv50_mem_new() 76 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_mem_new() 80 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_new()
|
D | memnv04.c | 31 nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv04_mem_map() argument 36 } *args = argv; in nv04_mem_map() 41 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_map() 52 void *argv, u32 argc, struct nvkm_memory **pmemory) in nv04_mem_new() argument 56 } *args = argv; in nv04_mem_new() 59 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_new()
|
D | vmmnv04.c | 80 nv04_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, in nv04_vmm_valid() argument 85 } *args = argv; in nv04_vmm_valid() 87 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_vmm_valid() 104 void *argv, u32 argc, struct lock_class_key *key, in nv04_vmm_new_() argument 109 } *args = argv; in nv04_vmm_new_() 117 return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); in nv04_vmm_new_() 122 void *argv, u32 argc, struct lock_class_key *key, const char *name, in nv04_vmm_new() argument 130 argv, argc, key, name, &vmm); in nv04_vmm_new()
|
D | mem.c | 71 struct nvkm_vma *vma, void *argv, u32 argc) in nvkm_mem_map_dma() argument 79 return nvkm_vmm_map(vmm, vma, argv, argc, &map); in nvkm_mem_map_dma() 111 struct nvkm_vma *vma, void *argv, u32 argc) in nvkm_mem_map_sgl() argument 119 return nvkm_vmm_map(vmm, vma, argv, argc, &map); in nvkm_mem_map_sgl() 145 void *argv, u32 argc, struct nvkm_memory **pmemory) in nvkm_mem_new_host() argument 151 } *args = argv; in nvkm_mem_new_host() 172 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_mem_new_host() 186 if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nvkm_mem_new_host() 225 void *argv, u32 argc, struct nvkm_memory **pmemory) in nvkm_mem_new_type() argument 232 argv, argc, &memory); in nvkm_mem_new_type() [all …]
|
D | vmmgm200.c | 145 void *argv, u32 argc, struct lock_class_key *key, in gm200_vmm_new_() argument 152 } *args = argv; in gm200_vmm_new_() 155 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gm200_vmm_new_() 163 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gm200_vmm_new_() 173 void *argv, u32 argc, struct lock_class_key *key, in gm200_vmm_new() argument 177 size, argv, argc, key, name, pvmm); in gm200_vmm_new() 182 void *argv, u32 argc, struct lock_class_key *key, in gm200_vmm_new_fixed() argument 186 size, argv, argc, key, name, pvmm); in gm200_vmm_new_fixed()
|
D | vmmgp100.c | 405 gp100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, in gp100_vmm_valid() argument 413 } *args = argv; in gp100_vmm_valid() 423 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gp100_vmm_valid() 429 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_valid() 484 gp100_vmm_fault_cancel(struct nvkm_vmm *vmm, void *argv, u32 argc) in gp100_vmm_fault_cancel() argument 489 } *args = argv; in gp100_vmm_fault_cancel() 493 if ((ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) in gp100_vmm_fault_cancel() 519 gp100_vmm_fault_replay(struct nvkm_vmm *vmm, void *argv, u32 argc) in gp100_vmm_fault_replay() argument 523 } *args = argv; in gp100_vmm_fault_replay() 526 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_fault_replay() [all …]
|
D | vmmgm20b.c | 58 void *argv, u32 argc, struct lock_class_key *key, in gm20b_vmm_new() argument 62 size, argv, argc, key, name, pvmm); in gm20b_vmm_new() 67 void *argv, u32 argc, struct lock_class_key *key, in gm20b_vmm_new_fixed() argument 71 size, argv, argc, key, name, pvmm); in gm20b_vmm_new_fixed()
|
D | umem.c | 86 nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_umem_map() argument 109 int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc, in nvkm_umem_map() 142 nvkm_umem_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nvkm_umem_new() argument 148 } *args = argv; in nvkm_umem_new() 154 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_umem_new() 177 ret = nvkm_mem_new_type(mmu, type, page, size, argv, argc, in nvkm_umem_new()
|
/drivers/md/ |
D | dm-dust.c | 321 static int dust_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dust_ctr() argument 336 if (kstrtouint(argv[2], 10, &blksz) || !blksz) { in dust_ctr() 358 if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1 || tmp != (sector_t)tmp) { in dust_ctr() 369 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dd->dev)) { in dust_ctr() 414 static int dust_message(struct dm_target *ti, unsigned int argc, char **argv, in dust_message() argument 429 if (!strcasecmp(argv[0], "addbadblock") || in dust_message() 430 !strcasecmp(argv[0], "removebadblock") || in dust_message() 431 !strcasecmp(argv[0], "queryblock")) { in dust_message() 432 DMERR("%s requires an additional argument", argv[0]); in dust_message() 433 } else if (!strcasecmp(argv[0], "disable")) { in dust_message() [all …]
|
D | dm-switch.c | 252 static int switch_ctr(struct dm_target *ti, unsigned argc, char **argv) in switch_ctr() argument 266 as.argv = argv; in switch_ctr() 374 unsigned argc, char **argv) in process_set_region_mappings() argument 381 const char *string = argv[i]; in process_set_region_mappings() 388 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() 393 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() 398 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() 403 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() 433 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() 440 DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); in process_set_region_mappings() [all …]
|
D | dm-stats.c | 982 unsigned argc, char **argv, in message_stats_create() argument 1009 as.argv = argv; in message_stats_create() 1107 unsigned argc, char **argv) in message_stats_delete() argument 1115 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_delete() 1122 unsigned argc, char **argv) in message_stats_clear() argument 1130 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_clear() 1137 unsigned argc, char **argv, in message_stats_list() argument 1147 program = kstrdup(argv[1], GFP_KERNEL); in message_stats_list() 1160 unsigned argc, char **argv, bool clear, in message_stats_print() argument 1170 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_print() [all …]
|
D | dm-default-key.c | 78 unsigned int argc, char **argv) in default_key_ctr_optional() argument 92 as.argv = argv; in default_key_ctr_optional() 141 static int default_key_ctr(struct dm_target *ti, unsigned int argc, char **argv) in default_key_ctr() argument 166 dkc->cipher_string = kstrdup(argv[0], GFP_KERNEL); in default_key_ctr() 180 raw_key_size = strlen(argv[1]); in default_key_ctr() 188 if (hex2bin(raw_key, argv[1], raw_key_size) != 0) { in default_key_ctr() 195 if (sscanf(argv[2], "%llu%c", &dkc->iv_offset, &dummy) != 1) { in default_key_ctr() 202 err = dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), in default_key_ctr() 210 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1 || in default_key_ctr() 221 err = default_key_ctr_optional(ti, argc - 5, &argv[5]); in default_key_ctr()
|
D | dm-delay.c | 139 static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) in delay_class_ctr() argument 145 if (sscanf(argv[1], "%llu%c", &tmpll, &dummy) != 1 || tmpll != (sector_t)tmpll) { in delay_class_ctr() 151 if (sscanf(argv[2], "%u%c", &c->delay, &dummy) != 1) { in delay_class_ctr() 156 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &c->dev); in delay_class_ctr() 173 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) in delay_ctr() argument 197 ret = delay_class_ctr(ti, &dc->read, argv); in delay_ctr() 202 ret = delay_class_ctr(ti, &dc->write, argv); in delay_ctr() 205 ret = delay_class_ctr(ti, &dc->flush, argv); in delay_ctr() 211 ret = delay_class_ctr(ti, &dc->write, argv + 3); in delay_ctr() 215 ret = delay_class_ctr(ti, &dc->flush, argv + 3); in delay_ctr() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | oimmnv50.c | 35 const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_oimm_new_() argument 40 } *args = argv; in nv50_disp_oimm_new_() 45 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_oimm_new_() 59 nv50_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_oimm_new() argument 63 oclass, argv, argc, pobject); in nv50_disp_oimm_new()
|
D | cursnv50.c | 35 const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_curs_new_() argument 40 } *args = argv; in nv50_disp_curs_new_() 45 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_curs_new_() 59 nv50_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_curs_new() argument 63 oclass, argv, argc, pobject); in nv50_disp_curs_new()
|
D | basenv50.c | 36 const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_base_new_() argument 41 } *args = argv; in nv50_disp_base_new_() 47 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_base_new_() 114 nv50_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_base_new() argument 118 disp, 1, oclass, argv, argc, pobject); in nv50_disp_base_new()
|
D | ovlynv50.c | 36 const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_ovly_new_() argument 41 } *args = argv; in nv50_disp_ovly_new_() 47 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_ovly_new_() 102 nv50_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_ovly_new() argument 106 disp, 3, oclass, argv, argc, pobject); in nv50_disp_ovly_new()
|
D | wimmgv100.c | 50 const struct nvkm_oclass *oclass, void *argv, u32 argc, in gv100_disp_wimm_new_() argument 55 } *args = argv; in gv100_disp_wimm_new_() 61 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gv100_disp_wimm_new_() 77 gv100_disp_wimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in gv100_disp_wimm_new() argument 81 oclass, argv, argc, pobject); in gv100_disp_wimm_new()
|
D | wndwgv100.c | 152 const struct nvkm_oclass *oclass, void *argv, u32 argc, in gv100_disp_wndw_new_() argument 157 } *args = argv; in gv100_disp_wndw_new_() 163 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gv100_disp_wndw_new_() 179 gv100_disp_wndw_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in gv100_disp_wndw_new() argument 183 disp, 1, oclass, argv, argc, pobject); in gv100_disp_wndw_new()
|
D | corenv50.c | 36 const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_core_new_() argument 41 } *args = argv; in nv50_disp_core_new_() 47 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_core_new_() 229 nv50_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nv50_disp_core_new() argument 233 disp, 0, oclass, argv, argc, pobject); in nv50_disp_core_new()
|
/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 160 int main(int argc, char *argv[]) in main() argument 166 (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))) { in main() 172 fwdev = argv[1]; in main() 175 fw_update_type = strtoul(argv[2], &endptr, 10); in main() 178 firmware_tag = argv[3]; in main() 185 fw_timeout = strtoul(argv[4], &endptr, 10); in main()
|