/linux-6.12.1/drivers/gpu/drm/nouveau/nvif/ |
D | outp.c | 32 struct nvif_outp_dp_mst_vcpi_v0 args; in nvif_outp_dp_mst_vcpi() local 35 args.version = 0; in nvif_outp_dp_mst_vcpi() 36 args.head = head; in nvif_outp_dp_mst_vcpi() 37 args.start_slot = start_slot; in nvif_outp_dp_mst_vcpi() 38 args.num_slots = num_slots; in nvif_outp_dp_mst_vcpi() 39 args.pbn = pbn; in nvif_outp_dp_mst_vcpi() 40 args.aligned_pbn = aligned_pbn; in nvif_outp_dp_mst_vcpi() 42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); in nvif_outp_dp_mst_vcpi() 45 args.head, args.start_slot, args.num_slots, args.pbn, args.aligned_pbn); in nvif_outp_dp_mst_vcpi() 52 struct nvif_outp_dp_mst_id_get_v0 args; in nvif_outp_dp_mst_id_put() local [all …]
|
D | vmm.c | 39 struct nvif_vmm_map_v0 *args; in nvif_vmm_map() local 43 if (sizeof(*args) + argc > sizeof(stack)) { in nvif_vmm_map() 44 if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) in nvif_vmm_map() 47 args = (void *)stack; in nvif_vmm_map() 50 args->version = 0; in nvif_vmm_map() 51 args->addr = addr; in nvif_vmm_map() 52 args->size = size; in nvif_vmm_map() 53 args->memory = nvif_handle(&mem->object); in nvif_vmm_map() 54 args->offset = offset; in nvif_vmm_map() 55 memcpy(args->data, argv, argc); in nvif_vmm_map() [all …]
|
D | object.c | 36 } *args = data; in nvif_object_ioctl() local 38 if (size >= sizeof(*args) && args->v0.version == 0) { in nvif_object_ioctl() 40 args->v0.object = nvif_handle(object); in nvif_object_ioctl() 42 args->v0.object = 0; in nvif_object_ioctl() 62 } *args = NULL; in nvif_object_sclass_get() local 67 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nvif_object_sclass_get() 68 if (!(args = kmalloc(size, GFP_KERNEL))) in nvif_object_sclass_get() 70 args->ioctl.version = 0; in nvif_object_sclass_get() 71 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get() 72 args->sclass.version = 0; in nvif_object_sclass_get() [all …]
|
/linux-6.12.1/arch/sparc/prom/ |
D | misc_64.c | 23 unsigned long args[5]; in prom_service_exists() local 25 args[0] = (unsigned long) "test"; in prom_service_exists() 26 args[1] = 1; in prom_service_exists() 27 args[2] = 1; in prom_service_exists() 28 args[3] = (unsigned long) service_name; in prom_service_exists() 29 args[4] = (unsigned long) -1; in prom_service_exists() 31 p1275_cmd_direct(args); in prom_service_exists() 33 if (args[4]) in prom_service_exists() 41 unsigned long args[3]; in prom_sun4v_guest_soft_state() local 45 args[0] = (unsigned long) svc; in prom_sun4v_guest_soft_state() [all …]
|
D | tree_64.c | 22 unsigned long args[5]; in prom_node_to_node() local 24 args[0] = (unsigned long) type; in prom_node_to_node() 25 args[1] = 1; in prom_node_to_node() 26 args[2] = 1; in prom_node_to_node() 27 args[3] = (unsigned int) node; in prom_node_to_node() 28 args[4] = (unsigned long) -1; in prom_node_to_node() 30 p1275_cmd_direct(args); in prom_node_to_node() 32 return (phandle) args[4]; in prom_node_to_node() 95 unsigned long args[6]; in prom_getproplen() local 100 args[0] = (unsigned long) "getproplen"; in prom_getproplen() [all …]
|
/linux-6.12.1/mm/ |
D | debug_vm_pgtable.c | 78 static void __init pte_basic_tests(struct pgtable_debug_args *args, int idx) in pte_basic_tests() argument 81 pte_t pte = pfn_pte(args->fixed_pte_pfn, prot); in pte_basic_tests() 98 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests() 101 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests() 106 static void __init pte_advanced_tests(struct pgtable_debug_args *args) in pte_advanced_tests() argument 122 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests() 127 if (WARN_ON(!args->ptep)) in pte_advanced_tests() 130 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests() 131 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests() 133 ptep_set_wrprotect(args->mm, args->vaddr, args->ptep); in pte_advanced_tests() [all …]
|
/linux-6.12.1/include/linux/ |
D | unroll.h | 10 #include <linux/args.h> 12 #define UNROLL(N, MACRO, args...) CONCATENATE(__UNROLL_, N)(MACRO, args) argument 14 #define __UNROLL_0(MACRO, args...) argument 15 #define __UNROLL_1(MACRO, args...) __UNROLL_0(MACRO, args) MACRO(0, args) argument 16 #define __UNROLL_2(MACRO, args...) __UNROLL_1(MACRO, args) MACRO(1, args) argument 17 #define __UNROLL_3(MACRO, args...) __UNROLL_2(MACRO, args) MACRO(2, args) argument 18 #define __UNROLL_4(MACRO, args...) __UNROLL_3(MACRO, args) MACRO(3, args) argument 19 #define __UNROLL_5(MACRO, args...) __UNROLL_4(MACRO, args) MACRO(4, args) argument 20 #define __UNROLL_6(MACRO, args...) __UNROLL_5(MACRO, args) MACRO(5, args) argument 21 #define __UNROLL_7(MACRO, args...) __UNROLL_6(MACRO, args) MACRO(6, args) argument [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | messages.h | 26 #define btrfs_printk(fs_info, fmt, args...) \ argument 27 _btrfs_printk(fs_info, fmt, ##args) 35 #define btrfs_printk(fs_info, fmt, args...) \ argument 36 btrfs_no_printk(fs_info, fmt, ##args) 39 #define btrfs_emerg(fs_info, fmt, args...) \ argument 40 btrfs_printk(fs_info, KERN_EMERG fmt, ##args) 41 #define btrfs_alert(fs_info, fmt, args...) \ argument 42 btrfs_printk(fs_info, KERN_ALERT fmt, ##args) 43 #define btrfs_crit(fs_info, fmt, args...) \ argument 44 btrfs_printk(fs_info, KERN_CRIT fmt, ##args) [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | uoutp.c | 36 union nvif_outp_dp_mst_vcpi_args *args = argv; in nvkm_uoutp_mthd_dp_mst_vcpi() local 38 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_vcpi() 40 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi() 43 ior->func->dp->vcpi(ior, args->v0.head, args->v0.start_slot, args->v0.num_slots, in nvkm_uoutp_mthd_dp_mst_vcpi() 44 args->v0.pbn, args->v0.aligned_pbn); in nvkm_uoutp_mthd_dp_mst_vcpi() 51 union nvif_outp_dp_mst_id_put_args *args = argv; in nvkm_uoutp_mthd_dp_mst_id_put() local 53 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_id_put() 58 return outp->func->dp.mst_id_put(outp, args->v0.id); in nvkm_uoutp_mthd_dp_mst_id_put() 64 union nvif_outp_dp_mst_id_get_args *args = argv; in nvkm_uoutp_mthd_dp_mst_id_get() local 66 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_id_get() [all …]
|
D | uconn.c | 36 union nvif_conn_event_args args; in nvkm_uconn_uevent_gsp() local 38 args.v0.version = 0; in nvkm_uconn_uevent_gsp() 39 args.v0.types = 0; in nvkm_uconn_uevent_gsp() 41 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gsp() 43 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_gsp() 45 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_gsp() 47 return object->client->event(token, &args, sizeof(args.v0)); in nvkm_uconn_uevent_gsp() 53 union nvif_conn_event_args args; in nvkm_uconn_uevent_aux() local 55 args.v0.version = 0; in nvkm_uconn_uevent_aux() 56 args.v0.types = 0; in nvkm_uconn_uevent_aux() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 45 SET_CRTC_OVERSCAN_PS_ALLOCATION args; in amdgpu_atombios_crtc_overscan_setup() local 49 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_overscan_setup() 51 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup() 55 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 56 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 65 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() 66 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup() 68 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() [all …]
|
D | atombios_encoders.c | 318 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in amdgpu_atombios_encoder_setup_dac() local 321 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dac() 334 args.ucAction = action; in amdgpu_atombios_encoder_setup_dac() 335 args.ucDacStandard = ATOM_DAC1_PS2; in amdgpu_atombios_encoder_setup_dac() 336 args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dac() 338 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args, sizeof(args)); in amdgpu_atombios_encoder_setup_dac() 381 union dvo_encoder_control args; in amdgpu_atombios_encoder_setup_dvo() local 385 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dvo() 395 args.ext_tmds.sXTmdsEncoder.ucEnable = action; in amdgpu_atombios_encoder_setup_dvo() 398 args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo() [all …]
|
/linux-6.12.1/drivers/media/test-drivers/vidtv/ |
D | vidtv_pes.c | 60 static u32 vidtv_pes_write_header_stuffing(struct pes_header_write_args *args) in vidtv_pes_write_header_stuffing() argument 68 if (args->n_pes_h_s_bytes > PES_HEADER_MAX_STUFFING_BYTES) { in vidtv_pes_write_header_stuffing() 71 args->n_pes_h_s_bytes = PES_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_header_stuffing() 74 return vidtv_memset(args->dest_buf, in vidtv_pes_write_header_stuffing() 75 args->dest_offset, in vidtv_pes_write_header_stuffing() 76 args->dest_buf_sz, in vidtv_pes_write_header_stuffing() 78 args->n_pes_h_s_bytes); in vidtv_pes_write_header_stuffing() 81 static u32 vidtv_pes_write_pts_dts(struct pes_header_write_args *args) in vidtv_pes_write_pts_dts() argument 93 if (!args->send_pts && args->send_dts) in vidtv_pes_write_pts_dts() 101 if (args->send_pts && args->send_dts) { in vidtv_pes_write_pts_dts() [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas_tf/ |
D | deb_defs.h | 49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 51 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 64 __func__, ##args); 65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_attr.c | 46 STATIC int xfs_attr_shortform_addname(xfs_da_args_t *args); 51 STATIC int xfs_attr_leaf_get(xfs_da_args_t *args); 52 STATIC int xfs_attr_leaf_removename(xfs_da_args_t *args); 53 STATIC int xfs_attr_leaf_hasname(struct xfs_da_args *args, struct xfs_buf **bp); 58 STATIC int xfs_attr_node_get(xfs_da_args_t *args); 59 STATIC void xfs_attr_restore_rmt_blk(struct xfs_da_args *args); 63 STATIC int xfs_attr_node_lookup(struct xfs_da_args *args, 125 trace_xfs_attr_fillstate(state->args); 173 trace_xfs_attr_refillstate(state->args); 183 error = xfs_da3_node_read_mapped(state->args->trans, [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_args.h | 9 #include <linux/args.h> 15 * all of the following macros unchanged to linux/args.h. 21 * @args: arguments for the macro 34 #define CALL_ARGS(f, args...) __CALL_ARGS(f, args) argument 35 #define __CALL_ARGS(f, args...) f(args) argument 39 * @args: arguments 51 #define DROP_FIRST_ARG(args...) __DROP_FIRST_ARG(args) argument 56 * @args: arguments 68 #define FIRST_ARG(args...) __FIRST_ARG(args) argument 73 * @args: arguments [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | nettest.c | 163 va_list args; in log_msg() local 171 va_start(args, format); in log_msg() 172 vfprintf(stdout, format, args); in log_msg() 173 va_end(args); in log_msg() 181 va_list args; in log_error() local 189 va_start(args, format); in log_error() 190 vfprintf(stderr, format, args); in log_error() 191 va_end(args); in log_error() 199 va_list args; in log_err_errno() local 207 va_start(args, fmt); in log_err_errno() [all …]
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_rtas.c | 19 static void kvm_rtas_set_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) in kvm_rtas_set_xive() argument 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 29 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 30 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 31 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 40 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_set_xive() 43 static void kvm_rtas_get_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) in kvm_rtas_get_xive() argument 48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 53 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 65 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 177 struct kfd_ioctl_get_version_args *args = data; in kfd_ioctl_get_version() local 179 args->major_version = KFD_IOCTL_MAJOR_VERSION; in kfd_ioctl_get_version() 180 args->minor_version = KFD_IOCTL_MINOR_VERSION; in kfd_ioctl_get_version() 186 struct kfd_ioctl_create_queue_args *args) in set_queue_properties_from_user() argument 193 if ((args->queue_percentage & 0xFF) > KFD_MAX_QUEUE_PERCENTAGE) { in set_queue_properties_from_user() 198 if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { in set_queue_properties_from_user() 203 if ((args->ring_base_address) && in set_queue_properties_from_user() 204 (!access_ok((const void __user *) args->ring_base_address, in set_queue_properties_from_user() 210 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { in set_queue_properties_from_user() 215 if (!access_ok((const void __user *) args->read_pointer_address, in set_queue_properties_from_user() [all …]
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | atombios_encoders.c | 104 DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; in atombios_set_backlight_level() local 121 args.ucAction = ATOM_LCD_BLOFF; in atombios_set_backlight_level() 122 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args, sizeof(args)); in atombios_set_backlight_level() 124 args.ucAction = ATOM_LCD_BL_BRIGHTNESS_CONTROL; in atombios_set_backlight_level() 125 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args, sizeof(args)); in atombios_set_backlight_level() 126 args.ucAction = ATOM_LCD_BLON; in atombios_set_backlight_level() 127 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args, sizeof(args)); in atombios_set_backlight_level() 350 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in atombios_dac_setup() local 354 memset(&args, 0, sizeof(args)); in atombios_dac_setup() 367 args.ucAction = action; in atombios_dac_setup() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | uvmm.c | 50 } *args = argv; in nvkm_uvmm_mthd_pfnclr() local 55 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_uvmm_mthd_pfnclr() 56 addr = args->v0.addr; in nvkm_uvmm_mthd_pfnclr() 57 size = args->v0.size; in nvkm_uvmm_mthd_pfnclr() 78 } *args = argv; in nvkm_uvmm_mthd_pfnmap() local 84 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_uvmm_mthd_pfnmap() 85 page = args->v0.page; in nvkm_uvmm_mthd_pfnmap() 86 addr = args->v0.addr; in nvkm_uvmm_mthd_pfnmap() 87 size = args->v0.size; in nvkm_uvmm_mthd_pfnmap() 88 phys = args->v0.phys; in nvkm_uvmm_mthd_pfnmap() [all …]
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_tracing.h | 644 #define ___bpf_ctx_cast2(x, args...) ___bpf_ctx_cast1(args), ctx[1] argument 645 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), ctx[2] argument 646 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), ctx[3] argument 647 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), ctx[4] argument 648 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), ctx[5] argument 649 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), ctx[6] argument 650 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), ctx[7] argument 651 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), ctx[8] argument 652 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), ctx[9] argument 653 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), ctx[10] argument [all …]
|
/linux-6.12.1/fs/fuse/ |
D | xattr.c | 18 FUSE_ARGS(args); in fuse_setxattr() 30 args.opcode = FUSE_SETXATTR; in fuse_setxattr() 31 args.nodeid = get_node_id(inode); in fuse_setxattr() 32 args.in_numargs = 3; in fuse_setxattr() 33 args.in_args[0].size = fm->fc->setxattr_ext ? in fuse_setxattr() 35 args.in_args[0].value = &inarg; in fuse_setxattr() 36 args.in_args[1].size = strlen(name) + 1; in fuse_setxattr() 37 args.in_args[1].value = name; in fuse_setxattr() 38 args.in_args[2].size = size; in fuse_setxattr() 39 args.in_args[2].value = value; in fuse_setxattr() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_chan.c | 148 struct nv_dma_v0 args = {}; in nouveau_channel_prep() local 205 args.target = NV_DMA_V0_TARGET_VM; in nouveau_channel_prep() 206 args.access = NV_DMA_V0_ACCESS_VM; in nouveau_channel_prep() 207 args.start = 0; in nouveau_channel_prep() 208 args.limit = chan->vmm->vmm.limit - 1; in nouveau_channel_prep() 216 args.target = NV_DMA_V0_TARGET_PCI; in nouveau_channel_prep() 217 args.access = NV_DMA_V0_ACCESS_RDWR; in nouveau_channel_prep() 218 args.start = nvxx_device(drm)->func->resource_addr(nvxx_device(drm), 1); in nouveau_channel_prep() 219 args.limit = args.start + device->info.ram_user - 1; in nouveau_channel_prep() 221 args.target = NV_DMA_V0_TARGET_VRAM; in nouveau_channel_prep() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | habanalabs_ioctl.c | 36 static int device_status_info(struct hl_device *hdev, struct hl_info_args *args) in device_status_info() argument 39 u32 size = args->return_size; in device_status_info() 40 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in device_status_info() 51 static int hw_ip_info(struct hl_device *hdev, struct hl_info_args *args) in hw_ip_info() argument 54 u32 size = args->return_size; in hw_ip_info() 55 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_ip_info() 122 struct hl_info_args *args) in hw_events_info() argument 124 u32 size, max_size = args->return_size; in hw_events_info() 125 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_events_info() 140 static int events_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in events_info() argument [all …]
|