Home
last modified time | relevance | path

Searched refs:out_val (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_sbi_base.c21 unsigned long *out_val = &retdata->out_val; in kvm_sbi_ext_base_handler() local
25 *out_val = (KVM_SBI_VERSION_MAJOR << in kvm_sbi_ext_base_handler()
30 *out_val = KVM_SBI_IMPID; in kvm_sbi_ext_base_handler()
33 *out_val = LINUX_VERSION_CODE; in kvm_sbi_ext_base_handler()
48 *out_val = sbi_ext && sbi_ext->probe ? in kvm_sbi_ext_base_handler()
53 *out_val = vcpu->arch.mvendorid; in kvm_sbi_ext_base_handler()
56 *out_val = vcpu->arch.marchid; in kvm_sbi_ext_base_handler()
59 *out_val = vcpu->arch.mimpid; in kvm_sbi_ext_base_handler()
Dvcpu_pmu.c201 unsigned long *out_val) in pmu_fw_ctr_read_hi() argument
225 *out_val = pmc->counter_val >> 32; in pmu_fw_ctr_read_hi()
231 unsigned long *out_val) in pmu_ctr_read() argument
253 *out_val = pmc->counter_val; in pmu_ctr_read()
460 retdata->out_val = kvm_pmu_num_counters(kvpmu); in kvm_riscv_vcpu_pmu_num_ctrs()
475 retdata->out_val = kvpmu->pmc[cidx].cinfo.value; in kvm_riscv_vcpu_pmu_ctr_info()
726 retdata->out_val = ctr_idx; in kvm_riscv_vcpu_pmu_ctr_cfg_match()
738 ret = pmu_fw_ctr_read_hi(vcpu, cidx, &retdata->out_val); in kvm_riscv_vcpu_pmu_fw_ctr_read_hi()
750 ret = pmu_ctr_read(vcpu, cidx, &retdata->out_val); in kvm_riscv_vcpu_pmu_fw_ctr_read()
Dvcpu_onereg.c426 unsigned long *out_val) in kvm_riscv_vcpu_general_get_csr() argument
435 *out_val = (csr->hvip >> VSIP_TO_HVIP_SHIFT) & VSIP_VALID_MASK; in kvm_riscv_vcpu_general_get_csr()
436 *out_val |= csr->hvip & ~IRQ_LOCAL_MASK; in kvm_riscv_vcpu_general_get_csr()
438 *out_val = ((unsigned long *)csr)[reg_num]; in kvm_riscv_vcpu_general_get_csr()
481 unsigned long *out_val) in kvm_riscv_vcpu_smstateen_get_csr() argument
489 *out_val = ((unsigned long *)csr)[reg_num]; in kvm_riscv_vcpu_smstateen_get_csr()
Daia.c174 unsigned long *out_val) in kvm_riscv_vcpu_aia_get_csr() argument
181 *out_val = 0; in kvm_riscv_vcpu_aia_get_csr()
183 *out_val = ((unsigned long *)csr)[reg_num]; in kvm_riscv_vcpu_aia_get_csr()
Dvcpu_sbi_pmu.c71 retdata->out_val = 0; in kvm_sbi_ext_pmu_handler()
Dvcpu_sbi_hsm.c107 retdata->out_val = ret; in kvm_sbi_ext_hsm_handler()
Dvcpu_sbi.c427 .out_val = 0, in kvm_riscv_vcpu_sbi_ecall()
479 cp->a1 = sbi_ret.out_val; in kvm_riscv_vcpu_sbi_ecall()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dmmap.c93 CHECK_FAIL(bss_data->out_val); in test_mmap()
95 CHECK_FAIL(skel->bss->out_val); in test_mmap()
112 CHECK_FAIL(bss_data->out_val != 123); in test_mmap()
114 CHECK_FAIL(skel->bss->out_val != 123); in test_mmap()
190 CHECK_FAIL(bss_data->out_val != 321); in test_mmap()
192 CHECK_FAIL(skel->bss->out_val != 321); in test_mmap()
242 CHECK_FAIL(bss_data->out_val != 321); in test_mmap()
244 CHECK_FAIL(skel->bss->out_val != 321); in test_mmap()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_mmio.c339 u32 *out_val, bool atomic, bool expect_match) in __xe_mmio_wait32() argument
385 if (out_val) in __xe_mmio_wait32()
386 *out_val = read; in __xe_mmio_wait32()
411 u32 *out_val, bool atomic) in xe_mmio_wait32() argument
413 return __xe_mmio_wait32(gt, reg, mask, val, timeout_us, out_val, atomic, true); in xe_mmio_wait32()
430 u32 *out_val, bool atomic) in xe_mmio_wait32_not() argument
432 return __xe_mmio_wait32(gt, reg, mask, val, timeout_us, out_val, atomic, false); in xe_mmio_wait32_not()
Dxe_mmio.h27 u32 *out_val, bool atomic);
29 u32 *out_val, bool atomic);
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_mmap.c25 __u64 out_val = 0; variable
33 out_val = in_val; in test_mmap()
/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Dsbi_pmu_test.c233 long out_val = 0; in verify_sbi_requirement_assert() local
236 probe = guest_sbi_probe_extension(SBI_EXT_PMU, &out_val); in verify_sbi_requirement_assert()
237 GUEST_ASSERT(probe && out_val == 1); in verify_sbi_requirement_assert()
415 long out_val = 0; in test_pmu_basic_sanity() local
421 probe = guest_sbi_probe_extension(SBI_EXT_PMU, &out_val); in test_pmu_basic_sanity()
422 GUEST_ASSERT(probe && out_val == 1); in test_pmu_basic_sanity()
/linux-6.12.1/drivers/hwmon/pmbus/
Ducd9000.c276 int ret, config, out_val; in ucd9000_gpio_set_direction() local
283 out_val = requested_out ? UCD9000_GPIO_CONFIG_OUT_VALUE : 0; in ucd9000_gpio_set_direction()
286 if ((ret & UCD9000_GPIO_CONFIG_OUT_VALUE) == out_val) in ucd9000_gpio_set_direction()
292 if (out_val) in ucd9000_gpio_set_direction()
/linux-6.12.1/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c824 u32 out_val[2]; in imx8mq_mipi_csi_parse_dt() local
833 ret = of_property_read_u32_array(np, "fsl,mipi-phy-gpr", out_val, in imx8mq_mipi_csi_parse_dt()
834 ARRAY_SIZE(out_val)); in imx8mq_mipi_csi_parse_dt()
840 ph = *out_val; in imx8mq_mipi_csi_parse_dt()
854 state->phy_gpr_reg = out_val[1]; in imx8mq_mipi_csi_parse_dt()
/linux-6.12.1/drivers/platform/chrome/wilco_ec/
Ddebugfs.c176 static int send_ec_cmd(struct wilco_ec_device *ec, u8 sub_cmd, u8 *out_val) in send_ec_cmd() argument
199 *out_val = rs.val; in send_ec_cmd()
/linux-6.12.1/tools/testing/selftests/kvm/
Dsteal_time.c247 long out_val = 0; in guest_code() local
250 probe = guest_sbi_probe_extension(SBI_EXT_STA, &out_val); in guest_code()
251 GUEST_ASSERT(probe && out_val == 1); in guest_code()
/linux-6.12.1/tools/testing/selftests/kvm/include/riscv/
Dsbi.h129 bool guest_sbi_probe_extension(int extid, long *out_val);
/linux-6.12.1/arch/riscv/include/asm/
Dkvm_vcpu_sbi.h30 unsigned long out_val; member
Dkvm_aia.h134 unsigned long *out_val);
/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c488 bool guest_sbi_probe_extension(int extid, long *out_val) in guest_sbi_probe_extension() argument
501 if (out_val) in guest_sbi_probe_extension()
502 *out_val = ret.value; in guest_sbi_probe_extension()
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dcmd.h108 int lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val);
/linux-6.12.1/drivers/hwmon/
Dhp-wmi-sensors.c1443 u32 attr, int channel, long *out_val) in hp_wmi_hwmon_read() argument
1451 *out_val = state->intrusion ? 1 : 0; in hp_wmi_hwmon_read()
1460 *out_val = info->alarm ? 1 : 0; in hp_wmi_hwmon_read()
1474 *out_val = numeric_sensor_has_fault(nsensor); in hp_wmi_hwmon_read()
1476 *out_val = info->cached_val; in hp_wmi_hwmon_read()
/linux-6.12.1/drivers/iio/light/
Dgp2ap020a00f.c966 int i, out_val, ret; in gp2ap020a00f_trigger_handler() local
977 out_val = le16_to_cpup((__le16 *)&priv->buffer[d_size]); in gp2ap020a00f_trigger_handler()
978 gp2ap020a00f_output_to_lux(priv, &out_val); in gp2ap020a00f_trigger_handler()
980 put_unaligned_le32(out_val, &priv->buffer[d_size]); in gp2ap020a00f_trigger_handler()
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dhif.h163 u32 *out_val);
/linux-6.12.1/drivers/net/can/flexcan/
Dflexcan-core.c1923 u32 out_val[3]; in flexcan_setup_stop_mode_gpr() local
1932 ret = of_property_read_u32_array(np, "fsl,stop-mode", out_val, in flexcan_setup_stop_mode_gpr()
1933 ARRAY_SIZE(out_val)); in flexcan_setup_stop_mode_gpr()
1938 phandle = *out_val; in flexcan_setup_stop_mode_gpr()
1954 priv->stm.req_gpr = out_val[1]; in flexcan_setup_stop_mode_gpr()
1955 priv->stm.req_bit = out_val[2]; in flexcan_setup_stop_mode_gpr()

12