Home
last modified time | relevance | path

Searched refs:value (Results 23751 - 23775 of 29413) sorted by relevance

1...<<951952953954955956957958959960>>...1177

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderOperatorTests.cpp54 template<typename T> inline T leftShift (T value, int amount) { return value << amount; } in leftShift() argument
56 inline deUint32 rightShift (deUint32 value, int amount) { return value >> amount; } in rightShift() argument
57 inline int rightShift (int value, int amount) { return (value >> amount) | (value >= 0 ? 0 : ~(~0U >> amount)); } // \note Arithmetic shift. in rightShift() argument
59 template<typename T, int Size> Vector<T, Size> leftShift (const Vector<T, Size>& value, const Vector<int, Size>& amount) in leftShift() argument
63 result[i] = leftShift(value[i], amount[i]); in leftShift()
67 template<typename T, int Size> Vector<T, Size> rightShift (const Vector<T, Size>& value, cons argument
75 leftShiftVecScalar(const Vector<T, Size>& value, int amount) leftShiftVecScalar() argument
76 rightShiftVecScalar(const Vector<T, Size>& value, int amount) rightShiftVecScalar() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_dpm.c1820 u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage);
1825 u16 reg_offset, u32 value);
2839 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
3193 if (voltage <= table->entries[i].value) in btc_find_voltage()
3194 return table->entries[i].value; in btc_find_voltage()
3196 return table->entries[table->count - 1].value; in btc_find_voltage()
3623 u16 reg_offset, u32 *value)
3628 si_pi->soft_regs_start + reg_offset, value,
3634 u16 reg_offset, u32 value) in si_write_smc_soft_register()
3640 value, si_p in si_write_smc_soft_register()
3633 si_write_smc_soft_register(struct amdgpu_device *adev, u16 reg_offset, u32 value) si_write_smc_soft_register() argument
4552 si_populate_voltage_value(struct amdgpu_device *adev, const struct atom_voltage_table *table, u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_voltage_value() argument
4640 si_populate_std_voltage_value(struct amdgpu_device *adev, u16 value, u8 index, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_std_voltage_value() argument
7980 si_dpm_read_sensor(void *handle, int idx, void *value, int *size) si_dpm_read_sensor() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c1835 u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage);
1840 u16 reg_offset, u32 value);
2854 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
3208 if (voltage <= table->entries[i].value) in btc_find_voltage()
3209 return table->entries[i].value; in btc_find_voltage()
3211 return table->entries[table->count - 1].value; in btc_find_voltage()
3638 u16 reg_offset, u32 *value)
3643 si_pi->soft_regs_start + reg_offset, value,
3649 u16 reg_offset, u32 value) in si_write_smc_soft_register()
3655 value, si_p in si_write_smc_soft_register()
3648 si_write_smc_soft_register(struct amdgpu_device *adev, u16 reg_offset, u32 value) si_write_smc_soft_register() argument
4567 si_populate_voltage_value(struct amdgpu_device *adev, const struct atom_voltage_table *table, u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_voltage_value() argument
4655 si_populate_std_voltage_value(struct amdgpu_device *adev, u16 value, u8 index, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_std_voltage_value() argument
8006 si_dpm_read_sensor(void *handle, int idx, void *value, int *size) si_dpm_read_sensor() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dsi_dpm.c1730 u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage);
1735 u16 reg_offset, u32 value);
2741 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
3168 u16 reg_offset, u32 *value)
3173 si_pi->soft_regs_start + reg_offset, value,
3179 u16 reg_offset, u32 value) in si_write_smc_soft_register()
3185 value, si_pi->sram_end); in si_write_smc_soft_register()
3933 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in si_get_svi2_voltage_table()
4052 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in si_populate_smc_voltage_tables()
4095 u16 value, SISLANDS_SMC_VOLTAGE_VALU in si_populate_voltage_value()
3178 si_write_smc_soft_register(struct radeon_device *rdev, u16 reg_offset, u32 value) si_write_smc_soft_register() argument
4093 si_populate_voltage_value(struct radeon_device *rdev, const struct atom_voltage_table *table, u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_voltage_value() argument
4181 si_populate_std_voltage_value(struct radeon_device *rdev, u16 value, u8 index, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_std_voltage_value() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dsi_dpm.c1727 u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage);
1732 u16 reg_offset, u32 value);
2738 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
3165 u16 reg_offset, u32 *value)
3170 si_pi->soft_regs_start + reg_offset, value,
3176 u16 reg_offset, u32 value) in si_write_smc_soft_register()
3182 value, si_pi->sram_end); in si_write_smc_soft_register()
3930 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in si_get_svi2_voltage_table()
4049 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in si_populate_smc_voltage_tables()
4092 u16 value, SISLANDS_SMC_VOLTAGE_VALU in si_populate_voltage_value()
3175 si_write_smc_soft_register(struct radeon_device *rdev, u16 reg_offset, u32 value) si_write_smc_soft_register() argument
4090 si_populate_voltage_value(struct radeon_device *rdev, const struct atom_voltage_table *table, u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_voltage_value() argument
4178 si_populate_std_voltage_value(struct radeon_device *rdev, u16 value, u8 index, SISLANDS_SMC_VOLTAGE_VALUE *voltage) si_populate_std_voltage_value() argument
[all...]
/third_party/backends/backend/
H A Davision.c1686 per-device value in the future - 0x32 was tested on the AV122,
1729 constrain_value (Avision_Scanner* s, SANE_Int option, void* value, in constrain_value() argument
1733 return sanei_constrain_value (s->opt + option, value, info); in constrain_value()
2266 ADDITIONAL_SENSE (0x26,0x02, "parameter value invalid"); in sense_handler()
4025 #define add_token(format,value) do { \ in get_button_status()
4027 message == message_begin ? "" : ":", value); \ in get_button_status()
5573 /* calculate calibration value for pixel i */ in compute_white_shading_data()
5729 brightness_contrast_func (double brightness, double contrast, double value) in brightness_contrast_func() argument
5736 value = value * (1. in brightness_contrast_func()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp737 // test max int64 value in TestInt64()
754 // test negative of max int64 value (1 shy of min int64 value) in TestInt64()
770 // test min int64 value in TestInt64()
786 // test negative of min int 64 value (1 more than max int64 value) in TestInt64()
1357 * Test the functioning of the secondary grouping value.
1443 // Use .00392625 because that's 2^-8. Any value less than 0.005 is fine. in TestComplexCurrency()
2990 double value, const UnicodeString& string) { in expectCurrency()
3004 fmt.format(value, in expectCurrency()
2989 expectCurrency(NumberFormat& nf, const Locale& locale, double value, const UnicodeString& string) expectCurrency() argument
3532 double value; global() member
6986 double value = 99.12345; TestCurrencyFractionDigits() local
7716 double value; global() member
7827 double value; global() member
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dsimplified-lowering.cc36 #include "src/wasm/value-type.h"
862 // value dead. in ChangeToDeadValue()
1014 // Visit value, context and frame state inputs as tagged. in VisitReturn()
1257 // Rest of the value inputs. in VisitCall()
1471 MachineRepresentation value_representation, Node* value) { in WriteBarrierKindFor()
1474 Type value_type = NodeProperties::GetType(value); in WriteBarrierKindFor()
1501 NumberMatcher m(value); in WriteBarrierKindFor()
1519 Node* value) { in WriteBarrierKindFor()
1522 value_representation, value); in WriteBarrierKindFor()
1644 // know that the left hand side is a proper Signed32 value, in VisitSpeculativeIntegerAdditiveOp()
1468 WriteBarrierKindFor( BaseTaggedness base_taggedness, MachineRepresentation field_representation, Type field_type, MachineRepresentation value_representation, Node* value) WriteBarrierKindFor() argument
1515 WriteBarrierKindFor( BaseTaggedness base_taggedness, MachineRepresentation field_representation, int field_offset, Type field_type, MachineRepresentation value_representation, Node* value) WriteBarrierKindFor() argument
2131 double const value = OpParameter<double>(node->op()); VisitNode() local
2153 intptr_t const value = OpParameter<intptr_t>(node->op()); VisitNode() local
2986 Node* value = node->InputAt(0); VisitNode() local
4391 Node* value = node->InputAt(0); DoJSToNumberOrNumericTruncatesToFloat64() local
4493 Node* value = node->InputAt(0); DoJSToNumberOrNumericTruncatesToWord32() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShadingLanguage420PackTests.cpp57 * @param expected_binding Expected binding value
78 * @param expected_binding Expected binding value
3077 /** Get expected value, blue color as vec4
11293 TCU_FAIL("Wrong binding value"); in prepareUniforms()
13139 TCU_FAIL("Wrong binding value"); in prepareUniforms()
13831 /** Get string representing expected value of sum for current test case
13839 GLfloat value = 0.0f; in getExpectedValue() local
13846 value = (GLfloat)(test_case.m_n_cols * test_case.m_n_rows); in getExpectedValue()
13854 value = (GLfloat)(test_case.m_n_cols * test_case.m_n_rows) * 4.0f; in getExpectedValue()
13858 value in getExpectedValue()
15597 GLfloat value = 0.125f * (GLfloat)count; getExpectedValue() local
15603 GLint value = -1 * (GLint)count; getExpectedValue() local
15609 GLuint value = 1 * (GLuint)count; getExpectedValue() local
15681 const GLchar* value = 0; getVectorInitializer() local
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc190 // Empty enums technically aren't allowed. We need to insert a dummy value
359 foo_enum_value_ = foo_enum_->value(0); in SetUp()
370 bar_enum_value_ = bar_enum_->value(0); in SetUp()
700 AddField(entry, "value", 2, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
1011 EXPECT_EQ(map_value->name(), "value"); in TEST_F()
1366 foo_ = enum_->value(0); in SetUp()
1367 bar_ = enum_->value(1); in SetUp()
1373 foo2_ = enum2_->value(0); in SetUp()
1374 baz2_ = enum2_->value(1); in SetUp()
1409 EXPECT_EQ(foo_, enum_->value( in TEST_F()
5640 EmbedAggregateValue(const char* value) EmbedAggregateValue() argument
6049 FieldDescriptorProto* value = TEST_F() local
6059 FieldDescriptorProto* value = TEST_F() local
6069 FieldDescriptorProto* value = TEST_F() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/sysconfig/
H A Dsys_config.c45 #define sys_writel(addr, value) ((*(volatile unsigned int *)(addr)) = value)
148 static inline void reg_write32(unsigned long value, unsigned long mask, const void *addr) in reg_write32() argument
154 t |= value & mask; in reg_write32()
/device/soc/hisilicon/common/platform/mipi_dsi/
H A Dmipi_tx_hi35xx.c45 static void WriteReg32(unsigned long *addr, unsigned int value, unsigned int mask) in WriteReg32() argument
51 t |= value & mask; in WriteReg32()
77 static void SetPhyReg(unsigned int addr, unsigned char value) in SetPhyReg() argument
86 g_mipiTxRegsVa->PHY_TST_CTRL1.u32 = value; in SetPhyReg()
460 videoMode = 2; /* 2 register value */ in SetVideoModeCfg()
463 videoMode = 2; /* 2 register value */ in SetVideoModeCfg()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/
H A Ddrv_i2c.c109 hi_u32 value, sclh, scll, chip; in i2c_drv_set_rate() local
121 value = i2c_read_reg((g_i2c_kernel_addr[i2c_num] + I2C_CTRL_REG)); in i2c_drv_set_rate()
124 i2c_write_reg((g_i2c_kernel_addr[i2c_num] + I2C_CTRL_REG), (value & (~I2C_UNMASK_TOTAL))); in i2c_drv_set_rate()
133 i2c_write_reg((g_i2c_kernel_addr[i2c_num] + I2C_CTRL_REG), value); in i2c_drv_set_rate()
813 return value : None
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c602 int ret, value; in dw_mipi_dsi_init() local
623 value = esc_rate + 1; in dw_mipi_dsi_init()
624 if (value == 0) { in dw_mipi_dsi_init()
627 esc_clk_division = (dsi->lane_mbps >> 0x3) / value; in dw_mipi_dsi_init()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmutils.h309 #define IOVT_VOID 0 /* no value (implictly set only) */
310 #define IOVT_BOOL 1 /* any value ok (zero/nonzero) */
629 * 'stbit' is the value's start bit offset
630 * 'nbits' is the value's bit size
703 #define CRC8_INIT_VALUE 0xff /* Initial CRC8 checksum value */
704 #define CRC8_GOOD_VALUE 0x9f /* Good final CRC8 checksum value */
705 #define CRC16_INIT_VALUE 0xffff /* Initial CRC16 checksum value */
706 #define CRC16_GOOD_VALUE 0xf0b8 /* Good final CRC16 checksum value */
707 #define CRC32_INIT_VALUE 0xffffffff /* Initial CRC32 checksum value */
708 #define CRC32_GOOD_VALUE 0xdebb20e3 /* Good final CRC32 checksum value */
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/regulator/
H A Drk806-regulator.c241 static int get_count(int value) in get_count() argument
245 while (value != 0) { in get_count()
246 if (value % 2 == 1) in get_count()
248 value >>= 1; in get_count()
/kernel/linux/common_modules/tzdriver/core/
H A Dsession_manager.c780 params->mb_pack->operation.params[3].value.a = index; in load_image_by_frame()
781 params->mb_pack->operation.params[1].value.a = sec_file_info->secfile_type; in load_image_by_frame()
785 params->mb_pack->operation.params[1].value.a, smc_ret, in load_image_by_frame()
793 sec_file_info->sec_load_err = (int32_t)params->mb_pack->operation.params[3].value.b; in load_image_by_frame()
1394 * return its default value, so using -EXXX is safe. in tc_client_session_ioctl()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dround.S35 | On return the value pointed to by a0 is correctly rounded,
473 movel #0x20000000,%d0 |set sticky bit in return value
496 | The LOCAL_LO and LOCAL_GRS parts of the value are copied to FP_SCR2
609 | Shift value is out of range. Set d1 for inex2 flag and
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dinsn.c751 enum aarch64_insn_register value, in aarch64_insn_gen_ldadd()
774 value); in aarch64_insn_gen_ldadd()
778 enum aarch64_insn_register value, in aarch64_insn_gen_stadd()
786 value, size); in aarch64_insn_gen_stadd()
895 /* We can't encode more than a 24bit value (12bit + 12bit shift) */ in aarch64_insn_gen_add_sub_imm()
1338 * signed value (so it can be used when computing a new branch
1564 /* Can't encode full zeroes, full ones, or value wider than the mask */ in aarch64_encode_immediate()
1582 /* N is only set if we're encoding a 64bit value */ in aarch64_encode_immediate()
749 aarch64_insn_gen_ldadd(enum aarch64_insn_register result, enum aarch64_insn_register address, enum aarch64_insn_register value, enum aarch64_insn_size_type size) aarch64_insn_gen_ldadd() argument
777 aarch64_insn_gen_stadd(enum aarch64_insn_register address, enum aarch64_insn_register value, enum aarch64_insn_size_type size) aarch64_insn_gen_stadd() argument
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
H A Drepository.c71 * Returns field value.
87 * Returns field value.
104 * @v1: First repository value (high word).
105 * @v2: Second repository value (low word). Optional parameter, use zero
150 u64 *value) in ps3_repository_read_bus_str()
156 value, NULL); in ps3_repository_read_bus_str()
196 unsigned int dev_index, const char *dev_str, u64 *value) in ps3_repository_read_dev_str()
203 value, NULL); in ps3_repository_read_dev_str()
862 * ps3_repository_read_spu_resource_id - spu resource reservation id value.
149 ps3_repository_read_bus_str(unsigned int bus_index, const char *bus_str, u64 *value) ps3_repository_read_bus_str() argument
195 ps3_repository_read_dev_str(unsigned int bus_index, unsigned int dev_index, const char *dev_str, u64 *value) ps3_repository_read_dev_str() argument
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dperf_event_cpu.c180 * Set the next IRQ period, based on the hwc->period_left value.
524 static inline void nds32_pmu_write_counter(struct perf_event *event, u32 value) in nds32_pmu_write_counter() argument
535 __nds32__mtsr_isb(value, NDS32_SR_PFMC0); in nds32_pmu_write_counter()
538 __nds32__mtsr_isb(value, NDS32_SR_PFMC1); in nds32_pmu_write_counter()
541 __nds32__mtsr_isb(value, NDS32_SR_PFMC2); in nds32_pmu_write_counter()
840 * of the counter width. That way, the new counter value in __hw_perf_event_init()
1250 /* TODO: How to deal with the value in first in unwind_frame_kernel()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dvirtio_uml.c182 u64 *value) in vhost_user_recv_u64()
192 *value = msg.payload.integer; in vhost_user_recv_u64()
282 u32 request, u64 value) in vhost_user_send_u64()
287 .payload.integer = value, in vhost_user_send_u64()
181 vhost_user_recv_u64(struct virtio_uml_device *vu_dev, u64 *value) vhost_user_recv_u64() argument
281 vhost_user_send_u64(struct virtio_uml_device *vu_dev, u32 request, u64 value) vhost_user_send_u64() argument
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dkvm_host.h424 * eventsel value for general purpose counters,
425 * ctrl value for fixed counters.
799 * value of the eax register in the KVM_CPUID_FEATURES CPUID
1133 void (*set_dr7)(struct kvm_vcpu *vcpu, unsigned long value);
1411 /* maximum allowed value of TSC scaling ratio */
1450 * case the CR2/GPA value pass on the stack is valid.
1594 u64 value; in read_msr() local
1596 rdmsrl(msr, value); in read_msr()
1597 return value; in read_msr()
/kernel/linux/linux-5.10/drivers/char/
H A Drandom.c75 * its value (from empty->early->ready).
207 * into the given buffer or as a return value. This is equivalent to
279 * key value, at index 4, so the state should always be zeroed out
753 * void add_input_randomness(unsigned int type, unsigned int code, unsigned int value);
1028 * value "num" is also added to the pool; it should somehow describe
1097 void add_input_randomness(unsigned int type, unsigned int code, unsigned int value) in add_input_randomness() argument
1103 if (value == last_value) in add_input_randomness()
1106 last_value = value; in add_input_randomness()
1108 (type << 4) ^ code ^ (code >> 4) ^ value); in add_input_randomness()
1434 * - urandom_min_reseed_secs - fixed to the value CRNG_RESEED_INTERVA
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c1053 uint32_t value = dm_read_reg_soc15(ctx, mmCC_DC_PIPE_DIS, 0); in read_pipe_fuses() local
1055 value = value & 0x3f; in read_pipe_fuses()
1056 return value; in read_pipe_fuses()

Completed in 110 milliseconds

1...<<951952953954955956957958959960>>...1177