Home
last modified time | relevance | path

Searched refs:value (Results 26 – 50 of 8217) sorted by relevance

12345678910>>...329

/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h62 int64_t value:63; member
72 int32_t value:31; member
82 int16_t value:15; member
92 int8_t value:7; member
153 int64_t value) in __cvmx_fau_atomic_address() argument
156 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) | in __cvmx_fau_atomic_address()
171 int64_t value) in cvmx_fau_fetch_and_add64() argument
173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add64()
186 int32_t value) in cvmx_fau_fetch_and_add32() argument
189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add32()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c52 #define AZ_REG_WRITE(reg_name, value) \ argument
53 write_indirect_azalia_reg(audio, IX_REG(reg_name), value)
74 uint32_t value = 0; in read_indirect_azalia_reg() local
81 value = REG_READ(AZALIA_F0_CODEC_ENDPOINT_DATA); in read_indirect_azalia_reg()
83 return value; in read_indirect_azalia_reg()
291 uint32_t value = 0; in set_high_bit_rate_capable() local
294 value = AZ_REG_READ(AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_HBR); in set_high_bit_rate_capable()
296 set_reg_field_value(value, capable, in set_high_bit_rate_capable()
300 AZ_REG_WRITE(AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_HBR, value); in set_high_bit_rate_capable()
308 uint32_t value = 0; in set_video_latency() local
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dtypes.py22 def __init__(self, value, separator = None): argument
23 if value is not None:
24 list.__init__(self, value.split(separator))
36 def choice(value, choices): argument
42 if not isinstance(value, str):
43 raise TypeError("choice accepts a string, not '%s'" % type(value))
45 value = value.lower()
47 if value not in choices.split():
49 (value, choices))
50 return value
[all …]
/openbmc/linux/sound/soc/ti/
H A Domap-mcbsp-priv.h78 #define RINTM(value) (((value) & 0x3) << 4) /* bits 4:5 */ argument
81 #define CLKSTP(value) (((value) & 0x3) << 11) /* bits 11:12 */ argument
82 #define RJUST(value) (((value) & 0x3) << 13) /* bits 13:14 */ argument
91 #define XINTM(value) (((value) & 0x3) << 4) /* bits 4:5 */ argument
115 #define RWDLEN1(value) (((value) & 0x7) << 5) /* Bits 5:7 */ argument
116 #define RFRLEN1(value) (((value) & 0x7f) << 8) /* Bits 8:14 */ argument
119 #define XWDLEN1(value) (((value) & 0x7) << 5) /* Bits 5:7 */ argument
120 #define XFRLEN1(value) (((value) & 0x7f) << 8) /* Bits 8:14 */ argument
123 #define RDATDLY(value) ((value) & 0x3) /* Bits 0:1 */ argument
125 #define RCOMPAND(value) (((value) & 0x3) << 3) /* Bits 3:4 */ argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dbw_fixed.h33 int64_t value; member
45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2()
51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2()
68 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value);
69 static inline struct bw_fixed bw_int_to_fixed(int64_t value) in bw_int_to_fixed() argument
71 if (__builtin_constant_p(value)) { in bw_int_to_fixed()
73 BUILD_BUG_ON(value > BW_FIXED_MAX_I32 || value < BW_FIXED_MIN_I32); in bw_int_to_fixed()
74 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_int_to_fixed()
77 return bw_int_to_fixed_nonconst(value); in bw_int_to_fixed()
80 static inline int32_t bw_fixed_to_int(struct bw_fixed value) in bw_fixed_to_int() argument
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c28 u32 value = readl(ioaddr + GMAC_CONFIG); in dwmac4_core_init() local
31 value |= GMAC_CORE_INIT; in dwmac4_core_init()
34 value |= GMAC_CONFIG_TE; in dwmac4_core_init()
36 value &= hw->link.speed_mask; in dwmac4_core_init()
39 value |= hw->link.speed1000; in dwmac4_core_init()
42 value |= hw->link.speed100; in dwmac4_core_init()
45 value |= hw->link.speed10; in dwmac4_core_init()
50 writel(value, ioaddr + GMAC_CONFIG); in dwmac4_core_init()
57 value = GMAC_INT_DEFAULT_ENABLE; in dwmac4_core_init()
60 value |= GMAC_PCS_IRQ_DEFAULT; in dwmac4_core_init()
[all …]
H A Ddwxgmac2_core.c70 u32 value; in dwxgmac2_rx_ipc() local
72 value = readl(ioaddr + XGMAC_RX_CONFIG); in dwxgmac2_rx_ipc()
74 value |= XGMAC_CONFIG_IPC; in dwxgmac2_rx_ipc()
76 value &= ~XGMAC_CONFIG_IPC; in dwxgmac2_rx_ipc()
77 writel(value, ioaddr + XGMAC_RX_CONFIG); in dwxgmac2_rx_ipc()
86 u32 value; in dwxgmac2_rx_queue_enable() local
88 value = readl(ioaddr + XGMAC_RXQ_CTRL0) & ~XGMAC_RXQEN(queue); in dwxgmac2_rx_queue_enable()
90 value |= 0x1 << XGMAC_RXQEN_SHIFT(queue); in dwxgmac2_rx_queue_enable()
92 value |= 0x2 << XGMAC_RXQEN_SHIFT(queue); in dwxgmac2_rx_queue_enable()
93 writel(value, ioaddr + XGMAC_RXQ_CTRL0); in dwxgmac2_rx_queue_enable()
[all …]
/openbmc/linux/include/acpi/
H A Dacbuffer.h122 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* … argument
125 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* … argument
128 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BITS (dword, 8, ACPI_8BIT_MASK, value) /* … argument
131 #define ACPI_PLD_SET_GREEN(dword,value) ACPI_SET_BITS (dword, 16, ACPI_8BIT_MASK, value) /*… argument
134 #define ACPI_PLD_SET_BLUE(dword,value) ACPI_SET_BITS (dword, 24, ACPI_8BIT_MASK, value) /*… argument
139 #define ACPI_PLD_SET_WIDTH(dword,value) ACPI_SET_BITS (dword, 0, ACPI_16BIT_MASK, value) /*… argument
142 #define ACPI_PLD_SET_HEIGHT(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) /… argument
147 #define ACPI_PLD_SET_USER_VISIBLE(dword,value) ACPI_SET_BITS (dword, 0, ACPI_1BIT_MASK, value) /* … argument
150 #define ACPI_PLD_SET_DOCK(dword,value) ACPI_SET_BITS (dword, 1, ACPI_1BIT_MASK, value) /* … argument
153 #define ACPI_PLD_SET_LID(dword,value) ACPI_SET_BITS (dword, 2, ACPI_1BIT_MASK, value) /* … argument
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dio.h84 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() argument
87 __raw_writeq((__force u64)value, efx->membase + reg); in _efx_writeq()
95 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() argument
98 __raw_writel((__force u32)value, efx->membase + reg); in _efx_writed()
106 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() argument
113 EFX_OWORD_VAL(*value)); in efx_writeo()
117 _efx_writeq(efx, value->u64[0], reg + 0); in efx_writeo()
118 _efx_writeq(efx, value->u64[1], reg + 8); in efx_writeo()
120 _efx_writed(efx, value->u32[0], reg + 0); in efx_writeo()
121 _efx_writed(efx, value->u32[1], reg + 4); in efx_writeo()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dio.h67 static inline void _ef4_writeq(struct ef4_nic *efx, __le64 value, in _ef4_writeq() argument
70 __raw_writeq((__force u64)value, efx->membase + reg); in _ef4_writeq()
78 static inline void _ef4_writed(struct ef4_nic *efx, __le32 value, in _ef4_writed() argument
81 __raw_writel((__force u32)value, efx->membase + reg); in _ef4_writed()
89 static inline void ef4_writeo(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo() argument
96 EF4_OWORD_VAL(*value)); in ef4_writeo()
100 _ef4_writeq(efx, value->u64[0], reg + 0); in ef4_writeo()
101 _ef4_writeq(efx, value->u64[1], reg + 8); in ef4_writeo()
103 _ef4_writed(efx, value->u32[0], reg + 0); in ef4_writeo()
104 _ef4_writed(efx, value->u32[1], reg + 4); in ef4_writeo()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsor.c486 u32 value = readl(sor->regs + (offset << 2)); in tegra_sor_readl() local
488 trace_sor_readl(sor->dev, offset, value); in tegra_sor_readl()
490 return value; in tegra_sor_readl()
493 static inline void tegra_sor_writel(struct tegra_sor *sor, u32 value, in tegra_sor_writel() argument
496 trace_sor_writel(sor->dev, offset, value); in tegra_sor_writel()
497 writel(value, sor->regs + (offset << 2)); in tegra_sor_writel()
544 u32 value; in tegra_clk_sor_pad_set_parent() local
546 value = tegra_sor_readl(sor, SOR_CLK_CNTRL); in tegra_clk_sor_pad_set_parent()
547 value &= ~SOR_CLK_CNTRL_DP_CLK_SEL_MASK; in tegra_clk_sor_pad_set_parent()
551 value |= SOR_CLK_CNTRL_DP_CLK_SEL_SINGLE_PCLK; in tegra_clk_sor_pad_set_parent()
[all …]
/openbmc/linux/drivers/phy/tegra/
H A Dxusb-tegra124.c227 u32 value; in tegra124_xusb_padctl_enable() local
234 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
235 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN; in tegra124_xusb_padctl_enable()
236 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
240 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
241 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN_EARLY; in tegra124_xusb_padctl_enable()
242 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
246 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
247 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN; in tegra124_xusb_padctl_enable()
248 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable()
[all …]
/openbmc/bmcweb/include/
H A Devent_service_store.hpp54 const std::string* value = in fromJson() local
56 if (value == nullptr) in fromJson()
60 subvalue.id = *value; in fromJson()
64 const std::string* value = in fromJson() local
66 if (value == nullptr) in fromJson()
71 boost::urls::parse_absolute_uri(*value); in fromJson()
80 const std::string* value = in fromJson() local
82 if (value == nullptr) in fromJson()
86 subvalue.protocol = *value; in fromJson()
90 const bool* value = element.second.get_ptr<const bool*>(); in fromJson() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Dbw_fixed.c48 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value) in bw_int_to_fixed_nonconst() argument
52 ASSERT(value < BW_FIXED_MAX_I32 && value > BW_FIXED_MIN_I32); in bw_int_to_fixed_nonconst()
53 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_int_to_fixed_nonconst()
102 res.value = (int64_t)(res_value); in bw_frc_to_fixed()
105 res.value = -res.value; in bw_frc_to_fixed()
116 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_floor2()
117 result.value = abs_i64(significance.value) * multiplicand; in bw_floor2()
118 ASSERT(abs_i64(result.value) <= abs_i64(arg.value)); in bw_floor2()
129 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_ceil2()
130 result.value = abs_i64(significance.value) * multiplicand; in bw_ceil2()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-visitor-serialization.c57 } value; member
76 } value; member
99 visit_type_str(v, NULL, (char **)&pt->value.string, errp); in visit_primitive_type()
102 visit_type_bool(v, NULL, &pt->value.boolean, errp); in visit_primitive_type()
105 visit_type_number(v, NULL, &pt->value.number, errp); in visit_primitive_type()
108 visit_type_int(v, NULL, &pt->value.integer, errp); in visit_primitive_type()
111 visit_type_uint8(v, NULL, &pt->value.u8, errp); in visit_primitive_type()
114 visit_type_uint16(v, NULL, &pt->value.u16, errp); in visit_primitive_type()
117 visit_type_uint32(v, NULL, &pt->value.u32, errp); in visit_primitive_type()
120 visit_type_uint64(v, NULL, &pt->value.u64, errp); in visit_primitive_type()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dst_accel_core.c130 { .hz = 1, .value = 0x01, },
131 { .hz = 10, .value = 0x02, },
132 { .hz = 25, .value = 0x03, },
133 { .hz = 50, .value = 0x04, },
134 { .hz = 100, .value = 0x05, },
135 { .hz = 200, .value = 0x06, },
136 { .hz = 400, .value = 0x07, },
137 { .hz = 1600, .value = 0x08, },
155 .value = 0x00,
160 .value = 0x01,
[all …]
/openbmc/qemu/include/qemu/
H A Dstats64.h24 aligned_uint64_t value; member
32 static inline void stat64_init(Stat64 *s, uint64_t value) in stat64_init() argument
35 *s = (Stat64) { value }; in stat64_init()
40 return qatomic_read__nocheck(&s->value); in stat64_get()
43 static inline void stat64_set(Stat64 *s, uint64_t value) in stat64_set() argument
45 qatomic_set__nocheck(&s->value, value); in stat64_set()
48 static inline void stat64_add(Stat64 *s, uint64_t value) in stat64_add() argument
50 qatomic_add(&s->value, value); in stat64_add()
53 static inline void stat64_min(Stat64 *s, uint64_t value) in stat64_min() argument
55 uint64_t orig = qatomic_read__nocheck(&s->value); in stat64_min()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c115 res.value = (long long)res_value; in dc_fixpt_from_fraction()
118 res.value = -res.value; in dc_fixpt_from_fraction()
127 bool arg1_negative = arg1.value < 0; in dc_fixpt_mul()
128 bool arg2_negative = arg2.value < 0; in dc_fixpt_mul()
130 unsigned long long arg1_value = arg1_negative ? -arg1.value : arg1.value; in dc_fixpt_mul()
131 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in dc_fixpt_mul()
141 res.value = arg1_int * arg2_int; in dc_fixpt_mul()
143 ASSERT(res.value <= LONG_MAX); in dc_fixpt_mul()
145 res.value <<= FIXED31_32_BITS_PER_FRACTIONAL_PART; in dc_fixpt_mul()
149 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_mul()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dio.h60 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() argument
63 __raw_writeq((__force u64)value, efx->membase + reg); in _efx_writeq()
71 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() argument
74 __raw_writel((__force u32)value, efx->membase + reg); in _efx_writed()
82 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() argument
89 EFX_OWORD_VAL(*value)); in efx_writeo()
93 _efx_writeq(efx, value->u64[0], reg + 0); in efx_writeo()
94 _efx_writeq(efx, value->u64[1], reg + 8); in efx_writeo()
96 _efx_writed(efx, value->u32[0], reg + 0); in efx_writeo()
97 _efx_writed(efx, value->u32[1], reg + 4); in efx_writeo()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c65 u32 value = 0; in initGPIO() local
70 cx231xx_send_gpio_cmd(dev, _gpio_direction, (u8 *)&value, 4, 0, 0); in initGPIO()
86 u8 value[4] = { 0, 0, 0, 0 }; in uninitGPIO() local
91 0x68, value, 4); in uninitGPIO()
262 u8 value = 0; in cx231xx_afe_set_input_mux() local
265 status = afe_read_byte(dev, ADC_INPUT_CH1, &value); in cx231xx_afe_set_input_mux()
266 value &= ~INPUT_SEL_MASK; in cx231xx_afe_set_input_mux()
267 value |= (ch1_setting - 1) << 4; in cx231xx_afe_set_input_mux()
268 value &= 0xff; in cx231xx_afe_set_input_mux()
269 status = afe_write_byte(dev, ADC_INPUT_CH1, value); in cx231xx_afe_set_input_mux()
[all …]
/openbmc/qemu/hw/net/fsl_etsec/
H A Dmiim.c36 uint16_t value; in miim_read_cycle() local
38 phy = (etsec->regs[MIIMADD].value >> 8) & 0x1F; in miim_read_cycle()
40 addr = etsec->regs[MIIMADD].value & 0x1F; in miim_read_cycle()
44 value = etsec->phy_control; in miim_read_cycle()
47 value = etsec->phy_status; in miim_read_cycle()
50 value = MII_STAT1000_LOK | MII_STAT1000_ROK; in miim_read_cycle()
53 value = 0x0; in miim_read_cycle()
58 qemu_log("%s phy:%d addr:0x%x value:0x%x\n", __func__, phy, addr, value); in miim_read_cycle()
61 etsec->regs[MIIMSTAT].value = value; in miim_read_cycle()
68 uint16_t value; in miim_write_cycle() local
[all …]
/openbmc/qemu/
H A Dmeson_options.txt5 option('qemu_suffix', type : 'string', value: 'qemu',
7 option('docdir', type : 'string', value : 'share/doc',
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
11 option('pkgversion', type : 'string', value : '',
13 option('smbd', type : 'string', value : '',
15 option('iasl', type : 'string', value : '',
17 option('tls_priority', type : 'string', value : 'NORMAL',
19 option('default_devices', type : 'boolean', value : true,
21 option('audio_drv_list', type: 'array', value: ['default'],
24 option('block_drv_rw_whitelist', type : 'string', value : '',
[all …]
/openbmc/openbmc-test-automation/openpower/ras/
H A Dtest_host_ras.robot34 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
37 ... HOST ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
44 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV32
47 ... HOST ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
53 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
56 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
65 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_RECV1
68 ... HOST ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
74 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_UE
77 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen_mixer.c23 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info()
24 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info()
29 struct snd_ctl_elem_value *value) in dac_volume_get() argument
36 value->value.integer.value[i] = chip->dac_volume[i]; in dac_volume_get()
42 struct snd_ctl_elem_value *value) in dac_volume_put() argument
51 if (value->value.integer.value[i] != chip->dac_volume[i]) { in dac_volume_put()
52 chip->dac_volume[i] = value->value.integer.value[i]; in dac_volume_put()
62 struct snd_ctl_elem_value *value) in dac_mute_get() argument
67 value->value.integer.value[0] = !chip->dac_mute; in dac_mute_get()
73 struct snd_ctl_elem_value *value) in dac_mute_put() argument
[all …]
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-imx.c102 static inline void cdns_imx_writel(struct cdns_imx *data, u32 offset, u32 value) in cdns_imx_writel() argument
104 writel(value, data->noncore + offset); in cdns_imx_writel()
117 u32 value; in cdns_imx_noncore_init() local
123 ret = readl_poll_timeout(data->noncore + USB3_SSPHY_STATUS, value, in cdns_imx_noncore_init()
124 (value & CLK_VALID_COMPARE_BITS) == CLK_VALID_COMPARE_BITS, in cdns_imx_noncore_init()
131 value = cdns_imx_readl(data, USB3_CORE_CTRL1); in cdns_imx_noncore_init()
132 value |= ALL_SW_RESET; in cdns_imx_noncore_init()
133 cdns_imx_writel(data, USB3_CORE_CTRL1, value); in cdns_imx_noncore_init()
136 value = cdns_imx_readl(data, USB3_CORE_CTRL1); in cdns_imx_noncore_init()
137 value = (value & ~MODE_STRAP_MASK) | OTG_MODE | OC_DISABLE; in cdns_imx_noncore_init()
[all …]

12345678910>>...329