Home
last modified time | relevance | path

Searched refs:value (Results 251 – 275 of 12708) sorted by relevance

1...<<11121314151617181920>>...509

/openbmc/linux/drivers/acpi/acpica/
H A Dexoparg1.c141 status = acpi_ex_system_do_sleep(operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
147 acpi_ex_system_do_stall((u32) operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
263 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
268 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
274 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
276 return_desc->integer.value >>= 1; in acpi_ex_opcode_1A_1T_1R()
279 return_desc->integer.value = temp32; in acpi_ex_opcode_1A_1T_1R()
284 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
290 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
292 return_desc->integer.value <<= 1; in acpi_ex_opcode_1A_1T_1R()
[all …]
/openbmc/linux/sound/drivers/pcsp/
H A Dpcsp_mixer.c19 uinfo->value.integer.min = 0; in pcsp_enable_info()
20 uinfo->value.integer.max = 1; in pcsp_enable_info()
28 ucontrol->value.integer.value[0] = chip->enable; in pcsp_enable_get()
37 int enab = ucontrol->value.integer.value[0]; in pcsp_enable_put()
51 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
52 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
53 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info()
54 sprintf(uinfo->value.enumerated.name, "%lu", in pcsp_treble_info()
55 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info()
63 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get()
[all …]
/openbmc/linux/drivers/soc/samsung/
H A Dexynos5420-pmu.c214 unsigned int value; in exynos5420_pmu_init() local
228 value = pmu_raw_readl(EXYNOS_L2_OPTION(0)); in exynos5420_pmu_init()
229 value &= ~EXYNOS_L2_USE_RETENTION; in exynos5420_pmu_init()
230 pmu_raw_writel(value, EXYNOS_L2_OPTION(0)); in exynos5420_pmu_init()
232 value = pmu_raw_readl(EXYNOS_L2_OPTION(1)); in exynos5420_pmu_init()
233 value &= ~EXYNOS_L2_USE_RETENTION; in exynos5420_pmu_init()
234 pmu_raw_writel(value, EXYNOS_L2_OPTION(1)); in exynos5420_pmu_init()
241 value = pmu_raw_readl(EXYNOS5420_LPI_MASK); in exynos5420_pmu_init()
242 value |= EXYNOS5420_ATB_ISP_ARM; in exynos5420_pmu_init()
243 pmu_raw_writel(value, EXYNOS5420_LPI_MASK); in exynos5420_pmu_init()
[all …]
/openbmc/linux/fs/reiserfs/
H A Dxattr_acl.c68 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk() argument
70 const char *end = (char *)value + size; in reiserfs_posix_acl_from_disk()
74 if (!value) in reiserfs_posix_acl_from_disk()
78 if (((reiserfs_acl_header *) value)->a_version != in reiserfs_posix_acl_from_disk()
81 value = (char *)value + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_from_disk()
91 reiserfs_acl_entry *entry = (reiserfs_acl_entry *) value; in reiserfs_posix_acl_from_disk()
92 if ((char *)value + sizeof(reiserfs_acl_entry_short) > end) in reiserfs_posix_acl_from_disk()
101 value = (char *)value + in reiserfs_posix_acl_from_disk()
106 value = (char *)value + sizeof(reiserfs_acl_entry); in reiserfs_posix_acl_from_disk()
107 if ((char *)value > end) in reiserfs_posix_acl_from_disk()
[all …]
/openbmc/qemu/hw/i2c/
H A Dppc4xx_i2c.c186 static void ppc4xx_i2c_writeb(void *opaque, hwaddr addr, uint64_t value, in ppc4xx_i2c_writeb() argument
196 i2c->mdata[++i2c->mdidx] = value; in ppc4xx_i2c_writeb()
204 i2c->lmadr = value; in ppc4xx_i2c_writeb()
207 i2c->hmadr = value; in ppc4xx_i2c_writeb()
210 i2c->cntl = value & ~IIC_CNTL_PT; in ppc4xx_i2c_writeb()
211 if (value & IIC_CNTL_AMD) { in ppc4xx_i2c_writeb()
215 if (value & IIC_CNTL_HMT && i2c_bus_busy(i2c->bus)) { in ppc4xx_i2c_writeb()
222 } else if (value & IIC_CNTL_PT) { in ppc4xx_i2c_writeb()
223 int recv = (value & IIC_CNTL_READ) >> 1; in ppc4xx_i2c_writeb()
224 int tct = value >> 4 & 3; in ppc4xx_i2c_writeb()
[all …]
/openbmc/linux/sound/pci/ca0106/
H A Dca0106_proc.c84 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958() argument
88 status[0] = value & 0xff; in snd_ca0106_proc_dump_iec958()
89 status[1] = (value >> 8) & 0xff; in snd_ca0106_proc_dump_iec958()
90 status[2] = (value >> 16) & 0xff; in snd_ca0106_proc_dump_iec958()
91 status[3] = (value >> 24) & 0xff; in snd_ca0106_proc_dump_iec958()
262 u32 value; in snd_ca0106_proc_iec958() local
264 value = snd_ca0106_ptr_read(emu, SAMPLE_RATE_TRACKER_STATUS, 0); in snd_ca0106_proc_iec958()
266 (value & 0x100000) ? "Rate Locked" : "Not Rate Locked", in snd_ca0106_proc_iec958()
267 (value & 0x200000) ? "SPDIF Locked" : "No SPDIF Lock", in snd_ca0106_proc_iec958()
268 (value & 0x400000) ? "Audio Valid" : "No valid audio" ); in snd_ca0106_proc_iec958()
[all …]
/openbmc/u-boot/board/aspeed/evb_ast2600/
H A Devb_ast2600.c35 u32 value; in port80h_snoop_init() local
38 value = readl(LPC_SNPWADR) & 0xffff0000; in port80h_snoop_init()
39 writel(value | 0x80, LPC_SNPWADR); in port80h_snoop_init()
42 value = readl(LPC_HICR6); in port80h_snoop_init()
43 value |= HICR6_STR_SNP0W | HICR6_STR_SNP1W; in port80h_snoop_init()
44 writel(value, LPC_HICR6); in port80h_snoop_init()
47 value = readl(LPC_HICR5) & ~(HICR5_UNKVAL_MASK); in port80h_snoop_init()
48 value |= HICR5_EN_SIOGIO | HICR5_EN_SNP0W; in port80h_snoop_init()
49 writel(value, LPC_HICR5); in port80h_snoop_init()
52 value = readl(LPC_HICRB) | HICRB_EN80HSGIO; in port80h_snoop_init()
[all …]
/openbmc/linux/sound/aoa/codecs/
H A Donyx.c65 static int onyx_read_register(struct onyx *onyx, u8 reg, u8 *value) in onyx_read_register() argument
70 *value = onyx->cache[reg-FIRSTREGISTER]; in onyx_read_register()
75 *value = 0; in onyx_read_register()
78 *value = (u8)v; in onyx_read_register()
79 onyx->cache[ONYX_REG_CONTROL-FIRSTREGISTER] = *value; in onyx_read_register()
83 static int onyx_write_register(struct onyx *onyx, u8 reg, u8 value) in onyx_write_register() argument
87 result = i2c_smbus_write_byte_data(onyx->i2c, reg, value); in onyx_write_register()
89 onyx->cache[reg-FIRSTREGISTER] = value; in onyx_write_register()
113 uinfo->value.integer.min = -128 + VOLUME_RANGE_SHIFT; in onyx_snd_vol_info()
114 uinfo->value.integer.max = -1 + VOLUME_RANGE_SHIFT; in onyx_snd_vol_info()
[all …]
/openbmc/linux/drivers/hid/usbhid/
H A Dhid-pidff.c141 s32 *value; member
208 static void pidff_set(struct pidff_usage *usage, u16 value) in pidff_set() argument
210 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); in pidff_set()
211 pr_debug("calculated from %d to %d\n", value, usage->value[0]); in pidff_set()
214 static void pidff_set_signed(struct pidff_usage *usage, s16 value) in pidff_set_signed() argument
217 usage->value[0] = pidff_rescale_signed(value, usage->field); in pidff_set_signed()
219 if (value < 0) in pidff_set_signed()
220 usage->value[0] = in pidff_set_signed()
221 pidff_rescale(-value, 0x8000, usage->field); in pidff_set_signed()
223 usage->value[0] = in pidff_set_signed()
[all …]
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/
H A Dcs5536_isa.c84 void pci_isa_write_bar(int n, u32 value) in pci_isa_write_bar() argument
86 u32 hi = 0, lo = value; in pci_isa_write_bar()
88 if (value == PCI_BAR_RANGE_MASK) { in pci_isa_write_bar()
92 } else if (value & 0x01) { in pci_isa_write_bar()
99 hi = ((value & 0x000ffffc) << 12) | in pci_isa_write_bar()
101 lo = ((value & 0x000ffffc) << 12) | 0x01; in pci_isa_write_bar()
134 void pci_isa_write_reg(int reg, u32 value) in pci_isa_write_reg() argument
136 u32 hi = 0, lo = value; in pci_isa_write_reg()
141 if (value & PCI_COMMAND_IO) in pci_isa_write_reg()
149 if ((value & PCI_STATUS_SIG_TARGET_ABORT) && in pci_isa_write_reg()
[all …]
/openbmc/qemu/tests/qtest/
H A Dpca9552-test.c57 uint8_t value; in send_and_receive() local
59 value = i2c_get8(i2cdev, PCA9552_LS0); in send_and_receive()
60 g_assert_cmphex(value, ==, 0x55); in send_and_receive()
62 value = i2c_get8(i2cdev, PCA9552_INPUT0); in send_and_receive()
63 g_assert_cmphex(value, ==, 0xFF); in send_and_receive()
67 value = i2c_get8(i2cdev, PCA9552_LS0); in send_and_receive()
68 g_assert_cmphex(value, ==, 0x54); in send_and_receive()
70 value = i2c_get8(i2cdev, PCA9552_INPUT0); in send_and_receive()
71 g_assert_cmphex(value, ==, 0xFE); in send_and_receive()
73 value = i2c_get8(i2cdev, PCA9552_LS3); in send_and_receive()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.h39 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument
42 ADF_RING_CSR_RING_CONFIG + ((ring) << 2), value)
43 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
48 dma_addr_t _value = value; \
60 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
63 ADF_RING_CSR_RING_HEAD + ((ring) << 2), value)
64 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
67 ADF_RING_CSR_RING_TAIL + ((ring) << 2), value)
68 #define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) \ argument
71 ADF_RING_CSR_INT_FLAG, (value))
[all …]
/openbmc/qemu/hw/net/
H A Dvmware_utils.h75 vmw_shmem_st8(PCIDevice *d, hwaddr addr, uint8_t value) in vmw_shmem_st8() argument
77 VMW_SHPRN("SHMEM store8: %" PRIx64 " (value 0x%X)", addr, value); in vmw_shmem_st8()
78 pci_dma_write(d, addr, &value, 1); in vmw_shmem_st8()
92 vmw_shmem_st16(PCIDevice *d, hwaddr addr, uint16_t value) in vmw_shmem_st16() argument
94 VMW_SHPRN("SHMEM store16: %" PRIx64 " (value 0x%X)", addr, value); in vmw_shmem_st16()
95 value = cpu_to_le16(value); in vmw_shmem_st16()
96 pci_dma_write(d, addr, &value, 2); in vmw_shmem_st16()
110 vmw_shmem_st32(PCIDevice *d, hwaddr addr, uint32_t value) in vmw_shmem_st32() argument
112 VMW_SHPRN("SHMEM store32: %" PRIx64 " (value 0x%X)", addr, value); in vmw_shmem_st32()
113 value = cpu_to_le32(value); in vmw_shmem_st32()
[all …]
/openbmc/qemu/hw/ppc/
H A Dmpc8544_guts.c78 uint32_t value = 0; in mpc8544_guts_read() local
84 value = FIELD_DP32(value, GUTS_PORPLLSR, E500_1_RATIO, 6); /* 3:1 */ in mpc8544_guts_read()
85 value = FIELD_DP32(value, GUTS_PORPLLSR, E500_0_RATIO, 6); /* 3:1 */ in mpc8544_guts_read()
86 value = FIELD_DP32(value, GUTS_PORPLLSR, DDR_RATIO, 12); /* 12:1 */ in mpc8544_guts_read()
87 value = FIELD_DP32(value, GUTS_PORPLLSR, PLAT_RATIO, 6); /* 6:1 */ in mpc8544_guts_read()
90 value = env->spr[SPR_PVR]; in mpc8544_guts_read()
93 value = env->spr[SPR_E500_SVR]; in mpc8544_guts_read()
102 return value; in mpc8544_guts_read()
106 uint64_t value, unsigned size) in mpc8544_guts_write() argument
112 if (value & MPC8544_GUTS_RSTCR_RESET) { in mpc8544_guts_write()
[all …]
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py20 def define_flag_value(event_name, field_name, value, field_str): argument
21 flag_fields[event_name][field_name]['values'][value] = field_str
27 def define_symbolic_value(event_name, field_name, value, field_str): argument
28 symbolic_fields[event_name][field_name]['values'][value] = field_str
30 def flag_str(event_name, field_name, value): argument
36 if not value and not idx:
39 if idx and (value & idx) == idx:
44 value &= ~idx
48 def symbol_str(event_name, field_name, value): argument
53 if not value and not idx:
[all …]
/openbmc/qemu/qobject/
H A Dqlit.c30 for (i = 0; lhs->value.qdict[i].key; i++) { in qlit_equal_qdict()
31 QObject *obj = qdict_get(qdict, lhs->value.qdict[i].key); in qlit_equal_qdict()
33 if (!qlit_equal_qobject(&lhs->value.qdict[i].value, obj)) { in qlit_equal_qdict()
55 if (!qlit_equal_qobject(&lhs->value.qlist[i], obj)) { in qlit_equal_qlist()
61 return !e && lhs->value.qlist[i].type == QTYPE_NONE; in qlit_equal_qlist()
72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
74 return lhs->value.qnum == qnum_get_int(qobject_to(QNum, rhs)); in qlit_equal_qobject()
76 return (strcmp(lhs->value.qstr, in qlit_equal_qobject()
97 return QOBJECT(qnum_from_int(qlit->value.qnum)); in qobject_from_qlit()
99 return QOBJECT(qstring_from_str(qlit->value.qstr)); in qobject_from_qlit()
[all …]
/openbmc/dbus-sensors/
H A Dmeson.options4 value: 'enabled',
10 value: 'enabled',
16 value: 'enabled',
22 value: 'enabled',
28 value: 'enabled',
34 value: 'enabled',
40 value: 'enabled',
46 value: 'enabled',
52 value: 'enabled',
58 value: 'enabled',
[all …]
/openbmc/qemu/hw/char/
H A Davr_usart.c154 static void avr_usart_write(void *opaque, hwaddr addr, uint64_t value, in avr_usart_write() argument
160 assert((value & 0xff) == value); in avr_usart_write()
182 data = value; in avr_usart_write()
188 value = (value & mask) | (usart->csra & (0xff ^ mask)); in avr_usart_write()
189 usart->csra = value; in avr_usart_write()
190 if (value & USART_CSRA_TXC) { in avr_usart_write()
194 if (value & USART_CSRA_MPCM) { in avr_usart_write()
204 value = (value & mask) | (usart->csrb & (0xff ^ mask)); in avr_usart_write()
205 usart->csrb = value; in avr_usart_write()
206 if (!(value & USART_CSRB_RXEN)) { in avr_usart_write()
[all …]
/openbmc/phosphor-fan-presence/
H A Dmeson.options2 option('tests', type: 'feature', value: 'enabled', description: 'Build tests.')
7 value: 'enabled',
14 value: '',
23 value: 'enabled',
30 value: 'enabled',
40 value: '/var/lib/phosphor-fan-presence/control',
47 value: 'example/fans.yaml',
53 value: 'example/zones.yaml',
59 value: 'example/events.yaml',
65 value: 'example/zone_conditions.yaml',
[all …]
/openbmc/phosphor-state-manager/
H A Dmeson.options6 value: '/xyz/openbmc_project/scheduled/host',
13 value: 'xyz.openbmc_project.State.Hypervisor',
20 value: '/xyz/openbmc_project/state/hypervisor',
27 value: '/var/lib/phosphor-state-manager/host{}-PersistData',
34 value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
41 value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
48 value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
55 value: 3,
62 value: 2,
69 value: 'enabled',
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-realtek-rtl.c36 u32 value; in rt_set_cs() local
39 value = readl(REG(RTL_SPI_SFCSR)); in rt_set_cs()
41 value |= RTL_SPI_SFCSR_CSB0; in rt_set_cs()
43 value &= ~RTL_SPI_SFCSR_CSB0; in rt_set_cs()
44 writel(value, REG(RTL_SPI_SFCSR)); in rt_set_cs()
49 u32 value; in set_size() local
51 value = readl(REG(RTL_SPI_SFCSR)); in set_size()
52 value &= RTL_SPI_SFCSR_LEN_MASK; in set_size()
54 value |= RTL_SPI_SFCSR_LEN4; in set_size()
56 value |= RTL_SPI_SFCSR_LEN1; in set_size()
[all …]
/openbmc/linux/fs/jffs2/
H A Dacl.c55 static struct posix_acl *jffs2_acl_from_medium(void *value, size_t size) in jffs2_acl_from_medium() argument
57 void *end = value + size; in jffs2_acl_from_medium()
58 struct jffs2_acl_header *header = value; in jffs2_acl_from_medium()
64 if (!value) in jffs2_acl_from_medium()
74 value += sizeof(struct jffs2_acl_header); in jffs2_acl_from_medium()
86 entry = value; in jffs2_acl_from_medium()
87 if (value + sizeof(struct jffs2_acl_entry_short) > end) in jffs2_acl_from_medium()
96 value += sizeof(struct jffs2_acl_entry_short); in jffs2_acl_from_medium()
100 value += sizeof(struct jffs2_acl_entry); in jffs2_acl_from_medium()
101 if (value > end) in jffs2_acl_from_medium()
[all …]
/openbmc/linux/sound/i2c/
H A Dtea6330t.c57 unsigned char addr, unsigned char value)
60 printk(KERN_DEBUG "set - 0x%x/0x%x\n", addr, value);
62 snd_i2c_write(tea->bus, TEA6330T_ADDR, addr, value, 1);
76 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
77 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
87 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
88 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
102 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; in snd_tea6330t_put_master_volume()
139 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
[all …]
/openbmc/qemu/hw/timer/
H A Daspeed_timer.c110 static uint32_t calculate_min_ticks(AspeedTimer *t, uint32_t value) in calculate_min_ticks() argument
115 return value < min_ticks ? min_ticks : value; in calculate_min_ticks()
216 uint64_t value; in aspeed_timer_get_value() local
221 value = calculate_ticks(t, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in aspeed_timer_get_value()
223 value = t->reload; in aspeed_timer_get_value()
227 value = t->reload; in aspeed_timer_get_value()
231 value = t->match[reg - 2]; in aspeed_timer_get_value()
236 value = 0; in aspeed_timer_get_value()
239 return value; in aspeed_timer_get_value()
246 uint64_t value; in aspeed_timer_read() local
[all …]
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A DCVE-2024-38535_pre.patch9 express a previously seen arbitrary-size header block (name+value)
37 tx: &mut HTTP2Transaction, direction: Direction, value: u8,
44 return Ok(&block.value);
54 vec.extend_from_slice(&block.value);
63 single = Ok(&block.value);
70 - value: input.to_vec(),
72 + value: Rc::new(input.to_vec()),
81 - value: "abc.com".as_bytes().to_vec(),
83 + value: "abc.com".as_bytes().to_vec().into(),
90 - value: "efg.net".as_bytes().to_vec(),
[all …]

1...<<11121314151617181920>>...509