/linux-5.19.10/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-5.19.10/mm/ |
D | debug_vm_pgtable.c | 94 static void __init pte_basic_tests(struct pgtable_debug_args *args, int idx) in pte_basic_tests() argument 97 pte_t pte = pfn_pte(args->fixed_pte_pfn, prot); in pte_basic_tests() 122 static void __init pte_advanced_tests(struct pgtable_debug_args *args) in pte_advanced_tests() argument 138 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests() 143 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests() 144 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests() 146 ptep_set_wrprotect(args->mm, args->vaddr, args->ptep); in pte_advanced_tests() 147 pte = ptep_get(args->ptep); in pte_advanced_tests() 149 ptep_get_and_clear(args->mm, args->vaddr, args->ptep); in pte_advanced_tests() 150 pte = ptep_get(args->ptep); in pte_advanced_tests() [all …]
|
/linux-5.19.10/fs/xfs/libxfs/ |
D | xfs_attr.c | 45 STATIC int xfs_attr_shortform_addname(xfs_da_args_t *args); 50 STATIC int xfs_attr_leaf_get(xfs_da_args_t *args); 51 STATIC int xfs_attr_leaf_removename(xfs_da_args_t *args); 52 STATIC int xfs_attr_leaf_hasname(struct xfs_da_args *args, struct xfs_buf **bp); 53 STATIC int xfs_attr_leaf_try_add(struct xfs_da_args *args); 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); [all …]
|
D | xfs_dir2.c | 74 struct xfs_da_args *args, in xfs_ascii_ci_compname() argument 81 if (args->namelen != len) in xfs_ascii_ci_compname() 86 if (args->name[i] == name[i]) in xfs_ascii_ci_compname() 88 if (tolower(args->name[i]) != tolower(name[i])) in xfs_ascii_ci_compname() 230 struct xfs_da_args *args; in xfs_dir_init() local 238 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_init() 239 if (!args) in xfs_dir_init() 242 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init() 243 args->dp = dp; in xfs_dir_init() 244 args->trans = tp; in xfs_dir_init() [all …]
|
D | xfs_alloc.c | 290 xfs_alloc_arg_t *args, /* allocation argument structure */ in xfs_alloc_compute_aligned() argument 303 busy = xfs_extent_busy_trim(args, &bno, &len, busy_gen); in xfs_alloc_compute_aligned() 309 if (bno < args->min_agbno && bno + len > args->min_agbno) { in xfs_alloc_compute_aligned() 310 diff = args->min_agbno - bno; in xfs_alloc_compute_aligned() 317 if (args->alignment > 1 && len >= args->minlen) { in xfs_alloc_compute_aligned() 318 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned() 409 xfs_alloc_arg_t *args) /* allocation argument structure */ in xfs_alloc_fix_len() argument 414 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len() 415 rlen = args->len; in xfs_alloc_fix_len() 416 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len() [all …]
|
D | xfs_attr_leaf.c | 47 STATIC int xfs_attr3_leaf_create(struct xfs_da_args *args, 51 struct xfs_da_args *args, int freemap_index); 52 STATIC void xfs_attr3_leaf_compact(struct xfs_da_args *args, 69 STATIC void xfs_attr3_leaf_moveents(struct xfs_da_args *args, 476 struct xfs_da_args *args, in xfs_attr_match() argument 482 if (args->namelen != namelen) in xfs_attr_match() 484 if (memcmp(args->name, name, namelen) != 0) in xfs_attr_match() 488 if ((args->op_flags & XFS_DA_OP_RECOVERY) && in xfs_attr_match() 489 args->attr_filter == (flags & XFS_ATTR_NSP_ONDISK_MASK)) in xfs_attr_match() 493 if (args->attr_filter != in xfs_attr_match() [all …]
|
/linux-5.19.10/drivers/media/test-drivers/vidtv/ |
D | vidtv_pes.c | 59 static u32 vidtv_pes_write_header_stuffing(struct pes_header_write_args *args) in vidtv_pes_write_header_stuffing() argument 67 if (args->n_pes_h_s_bytes > PES_HEADER_MAX_STUFFING_BYTES) { in vidtv_pes_write_header_stuffing() 70 args->n_pes_h_s_bytes = PES_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_header_stuffing() 73 return vidtv_memset(args->dest_buf, in vidtv_pes_write_header_stuffing() 74 args->dest_offset, in vidtv_pes_write_header_stuffing() 75 args->dest_buf_sz, in vidtv_pes_write_header_stuffing() 77 args->n_pes_h_s_bytes); in vidtv_pes_write_header_stuffing() 80 static u32 vidtv_pes_write_pts_dts(struct pes_header_write_args *args) in vidtv_pes_write_pts_dts() argument 92 if (!args->send_pts && args->send_dts) in vidtv_pes_write_pts_dts() 100 if (args->send_pts && args->send_dts) { in vidtv_pes_write_pts_dts() [all …]
|
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/nouveau/nvif/ |
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() 43 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; in nvif_object_ioctl() 63 } *args = NULL; in nvif_object_sclass_get() local 68 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nvif_object_sclass_get() 69 if (!(args = kmalloc(size, GFP_KERNEL))) in nvif_object_sclass_get() 71 args->ioctl.version = 0; in nvif_object_sclass_get() 72 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get() [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 …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 46 SET_CRTC_OVERSCAN_PS_ALLOCATION args; in amdgpu_atombios_crtc_overscan_setup() local 50 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_overscan_setup() 52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup() 56 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 57 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 58 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 59 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 66 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() 67 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup() 69 … 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 | 321 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in amdgpu_atombios_encoder_setup_dac() local 324 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dac() 337 args.ucAction = action; in amdgpu_atombios_encoder_setup_dac() 338 args.ucDacStandard = ATOM_DAC1_PS2; in amdgpu_atombios_encoder_setup_dac() 339 args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dac() 341 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); in amdgpu_atombios_encoder_setup_dac() 384 union dvo_encoder_control args; in amdgpu_atombios_encoder_setup_dvo() local 388 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dvo() 398 args.ext_tmds.sXTmdsEncoder.ucEnable = action; in amdgpu_atombios_encoder_setup_dvo() 401 args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo() [all …]
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | nettest.c | 157 va_list args; in log_msg() local 165 va_start(args, format); in log_msg() 166 vfprintf(stdout, format, args); in log_msg() 167 va_end(args); in log_msg() 175 va_list args; in log_error() local 183 va_start(args, format); in log_error() 184 vfprintf(stderr, format, args); in log_error() 185 va_end(args); in log_error() 193 va_list args; in log_err_errno() local 201 va_start(args, fmt); in log_err_errno() [all …]
|
/linux-5.19.10/tools/perf/examples/bpf/ |
D | augmented_raw_syscalls.c | 54 unsigned long args[6]; member 72 struct syscall_enter_args args; member 90 static inline int augmented__output(void *ctx, struct augmented_args_payload *args, int len) in augmented__output() argument 93 return perf_event_output(ctx, &__augmented_syscalls__, BPF_F_CURRENT_CPU, args, len); in augmented__output() 124 int syscall_unaugmented(struct syscall_enter_args *args) in syscall_unaugmented() argument 136 int sys_enter_connect(struct syscall_enter_args *args) in sys_enter_connect() argument 139 const void *sockaddr_arg = (const void *)args->args[1]; in sys_enter_connect() 140 unsigned int socklen = args->args[2]; in sys_enter_connect() 141 unsigned int len = sizeof(augmented_args->args); in sys_enter_connect() 151 return augmented__output(args, augmented_args, len + socklen); in sys_enter_connect() [all …]
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ioctl.c | 37 } *args = data; in nvkm_ioctl_nop() local 41 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_ioctl_nop() 42 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop() 43 args->v0.version = NVIF_VERSION_LATEST; in nvkm_ioctl_nop() 55 } *args = data; in nvkm_ioctl_sclass() local 60 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nvkm_ioctl_sclass() 62 args->v0.version, args->v0.count); in nvkm_ioctl_sclass() 63 if (size != args->v0.count * sizeof(args->v0.oclass[0])) in nvkm_ioctl_sclass() 68 if (i < args->v0.count) { in nvkm_ioctl_sclass() 69 args->v0.oclass[i].oclass = oclass.base.oclass; in nvkm_ioctl_sclass() [all …]
|
/linux-5.19.10/drivers/media/pci/cx18/ |
D | cx18-driver.h | 159 #define CX18_DEBUG(x, type, fmt, args...) \ argument 162 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 164 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument 165 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument 166 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument 167 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument 168 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument 169 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument 170 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument 171 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument [all …]
|
/linux-5.19.10/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-5.19.10/drivers/net/wireless/marvell/libertas/ |
D | defs.h | 51 #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ argument 53 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) 55 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 59 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument 61 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument 62 #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) argument 63 #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) argument 64 #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) argument [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 159 struct kfd_ioctl_get_version_args *args = data; in kfd_ioctl_get_version() local 161 args->major_version = KFD_IOCTL_MAJOR_VERSION; in kfd_ioctl_get_version() 162 args->minor_version = KFD_IOCTL_MINOR_VERSION; in kfd_ioctl_get_version() 168 struct kfd_ioctl_create_queue_args *args) in set_queue_properties_from_user() argument 170 if (args->queue_percentage > KFD_MAX_QUEUE_PERCENTAGE) { in set_queue_properties_from_user() 175 if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { in set_queue_properties_from_user() 180 if ((args->ring_base_address) && in set_queue_properties_from_user() 181 (!access_ok((const void __user *) args->ring_base_address, in set_queue_properties_from_user() 187 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { in set_queue_properties_from_user() 192 if (!access_ok((const void __user *) args->read_pointer_address, in set_queue_properties_from_user() [all …]
|
/linux-5.19.10/fs/cachefiles/ |
D | daemon.c | 61 int (*handler)(struct cachefiles_cache *cache, char *args); 283 char *data, *args, *cp; in cachefiles_daemon_write() local 316 for (args = data; *args; args++) in cachefiles_daemon_write() 317 if (isspace(*args)) in cachefiles_daemon_write() 319 if (*args) { in cachefiles_daemon_write() 320 if (args == data) in cachefiles_daemon_write() 322 *args = '\0'; in cachefiles_daemon_write() 323 args = skip_spaces(++args); in cachefiles_daemon_write() 341 ret = cmd->handler(cache, args); in cachefiles_daemon_write() 382 char *args) in cachefiles_daemon_range_error() argument [all …]
|
/linux-5.19.10/drivers/gpu/drm/i915/gvt/ |
D | debug.h | 27 #define gvt_err(fmt, args...) \ argument 28 pr_err("gvt: "fmt, ##args) 30 #define gvt_vgpu_err(fmt, args...) \ argument 33 pr_err("gvt: "fmt, ##args); \ 35 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ 38 #define gvt_dbg_core(fmt, args...) \ argument 39 pr_debug("gvt: core: "fmt, ##args) 41 #define gvt_dbg_irq(fmt, args...) \ argument 42 pr_debug("gvt: irq: "fmt, ##args) 44 #define gvt_dbg_mm(fmt, args...) \ argument [all …]
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv50.c | 42 } *args = data; in nv50_disp_root_mthd_() local 54 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nv50_disp_root_mthd_() 56 args->v0.version, args->v0.method, args->v0.head); in nv50_disp_root_mthd_() 57 mthd = args->v0.method; in nv50_disp_root_mthd_() 58 hidx = args->v0.head; in nv50_disp_root_mthd_() 60 if (!(ret = nvif_unpack(ret, &data, &size, args->v1, 1, 1, true))) { in nv50_disp_root_mthd_() 63 args->v1.version, args->v1.method, in nv50_disp_root_mthd_() 64 args->v1.hasht, args->v1.hashm); in nv50_disp_root_mthd_() 65 mthd = args->v1.method; in nv50_disp_root_mthd_() 66 type = args->v1.hasht; in nv50_disp_root_mthd_() [all …]
|
/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | atombios_encoders.c | 100 DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; in atombios_set_backlight_level() local 117 args.ucAction = ATOM_LCD_BLOFF; in atombios_set_backlight_level() 118 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 120 args.ucAction = ATOM_LCD_BL_BRIGHTNESS_CONTROL; in atombios_set_backlight_level() 121 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 122 args.ucAction = ATOM_LCD_BLON; in atombios_set_backlight_level() 123 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 355 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in atombios_dac_setup() local 359 memset(&args, 0, sizeof(args)); in atombios_dac_setup() 372 args.ucAction = action; in atombios_dac_setup() [all …]
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 39 } *args = data; in nvkm_control_mthd_pstate_info() local 44 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_control_mthd_pstate_info() 46 args->v0.version); in nvkm_control_mthd_pstate_info() 51 args->v0.count = clk->state_nr; in nvkm_control_mthd_pstate_info() 52 args->v0.ustate_ac = clk->ustate_ac; in nvkm_control_mthd_pstate_info() 53 args->v0.ustate_dc = clk->ustate_dc; in nvkm_control_mthd_pstate_info() 54 args->v0.pwrsrc = clk->pwrsrc; in nvkm_control_mthd_pstate_info() 55 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info() 57 args->v0.count = 0; in nvkm_control_mthd_pstate_info() 58 args->v0.ustate_ac = NVIF_CONTROL_PSTATE_INFO_V0_USTATE_DISABLE; in nvkm_control_mthd_pstate_info() [all …]
|