Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 3418) sorted by relevance

12345678910>>...137

/openbmc/u-boot/arch/arm/mach-tegra/tegra210/
H A Dxusb-padctl.c98 u32 value; in tegra_xusb_padctl_enable() local
103 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
104 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN; in tegra_xusb_padctl_enable()
105 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
109 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
110 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN_EARLY; in tegra_xusb_padctl_enable()
111 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
115 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
116 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN; in tegra_xusb_padctl_enable()
117 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dpdr_numeric_effecter.hpp34 auto entries = json.value("entries", emptyList); in generateNumericEffecterPDR()
54 pdr->terminus_handle = e.value("terminus_handle", 0); in generateNumericEffecterPDR()
58 std::string entity_path = e.value("entity_path", ""); in generateNumericEffecterPDR()
71 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR()
72 pdr->entity_instance = e.value("instance", 0); in generateNumericEffecterPDR()
73 pdr->container_id = e.value("container", 0); in generateNumericEffecterPDR()
85 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR()
86 pdr->entity_instance = e.value("instance", 0); in generateNumericEffecterPDR()
87 pdr->container_id = e.value("container", 0); in generateNumericEffecterPDR()
90 pdr->effecter_semantic_id = e.value("effecter_semantic_id", 0); in generateNumericEffecterPDR()
[all …]
/openbmc/openpower-hw-diags/attn/pel/
H A Dstream.hpp26 inline uint64_t htonll(uint64_t value) in htonll() argument
28 return bswap_64(value); in htonll()
37 inline uint64_t ntohll(uint64_t value) in ntohll() argument
39 return bswap_64(value); in ntohll()
87 Stream& operator>>(uint8_t& value) in operator >>() argument
89 read(&value, 1); in operator >>()
99 Stream& operator>>(char& value) in operator >>() argument
101 read(&value, 1); in operator >>()
111 Stream& operator>>(uint16_t& value) in operator >>() argument
113 read(&value, 2); in operator >>()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dstream.hpp25 inline uint64_t htonll(uint64_t value) in htonll() argument
27 return bswap_64(value); in htonll()
36 inline uint64_t ntohll(uint64_t value) in ntohll() argument
38 return bswap_64(value); in ntohll()
86 Stream& operator>>(uint8_t& value) in operator >>() argument
88 read(&value, 1); in operator >>()
98 Stream& operator>>(char& value) in operator >>() argument
100 read(&value, 1); in operator >>()
110 Stream& operator>>(uint16_t& value) in operator >>() argument
112 read(&value, 2); in operator >>()
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/
H A Dxusb-padctl.c110 u32 value; in tegra_xusb_padctl_enable() local
115 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
116 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN; in tegra_xusb_padctl_enable()
117 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
121 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
122 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN_EARLY; in tegra_xusb_padctl_enable()
123 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
127 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
128 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN; in tegra_xusb_padctl_enable()
129 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable()
[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/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 …]
H A Detsec.c58 uint32_t ievent = etsec->regs[IEVENT].value; in etsec_update_irq()
59 uint32_t imask = etsec->regs[IMASK].value; in etsec_update_irq()
98 ret = reg->value; in etsec_read()
112 uint32_t value) in write_tstat() argument
118 if (value & (1 << (31 - i))) { in write_tstat()
124 reg->value &= ~value; in write_tstat()
130 uint32_t value) in write_rstat() argument
136 if (value & (1 << (23 - i)) && !(reg->value & (1 << (23 - i)))) { in write_rstat()
142 reg->value &= ~value; in write_rstat()
148 uint32_t value) in write_tbasex() argument
[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/qemu/tests/qtest/
H A Dlsm303dlhc-mag-test.c41 int value) in qmp_lsm303dlhc_mag_set_property() argument
46 "'property': %s, 'value': %d } }", id, prop, value); in qmp_lsm303dlhc_mag_set_property()
53 int64_t value; in send_and_receive() local
61 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
63 g_assert_cmpint(value, ==, 100000); in send_and_receive()
67 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
69 g_assert_cmpint(value, ==, 150000); in send_and_receive()
73 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
75 g_assert_cmpint(value, ==, 50000); in send_and_receive()
80 value = qmp_lsm303dlhc_mag_get_property( in send_and_receive()
[all …]
H A Dtmp105-test.c34 static void qmp_tmp105_set_temperature(const char *id, int value) in qmp_tmp105_set_temperature() argument
39 "'property': 'temperature', 'value': %d } }", id, value); in qmp_tmp105_set_temperature()
47 uint16_t value; in send_and_receive() local
50 value = qmp_tmp105_get_temperature(TMP105_TEST_ID); in send_and_receive()
51 g_assert_cmpuint(value, ==, 0); in send_and_receive()
53 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive()
54 g_assert_cmphex(value, ==, 0); in send_and_receive()
57 value = qmp_tmp105_get_temperature(TMP105_TEST_ID); in send_and_receive()
58 g_assert_cmpuint(value, ==, 20000); in send_and_receive()
60 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive()
[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/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/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_ethernet_interface.cpp19 bool HypEthInterface::ipv6AcceptRA(bool value) in ipv6AcceptRA() argument
22 if (currValue != value) in ipv6AcceptRA()
24 HypEthernetIntf::ipv6AcceptRA(value); in ipv6AcceptRA()
26 return value; in ipv6AcceptRA()
29 bool HypEthInterface::dhcp4(bool value) in dhcp4() argument
32 if (currValue != value) in dhcp4()
34 HypEthernetIntf::dhcp4(value); in dhcp4()
36 return value; in dhcp4()
39 bool HypEthInterface::dhcp6(bool value) in dhcp6() argument
42 if (currValue != value) in dhcp6()
[all …]
/openbmc/phosphor-power/
H A Djson_parser_utils.cpp32 int value = parseInteger(element, variables); in parseBitPosition() local
33 if ((value < 0) || (value > 7)) in parseBitPosition()
37 return static_cast<uint8_t>(value); in parseBitPosition()
43 int value = parseInteger(element, variables); in parseBitValue() local
44 if ((value < 0) || (value > 1)) in parseBitValue()
48 return static_cast<uint8_t>(value); in parseBitValue()
61 std::string value = parseString(element, true, variables); in parseBoolean() local
62 if (value == "true") in parseBoolean()
66 else if (value == "false") in parseBoolean()
88 double value; in parseDouble() 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/qemu/hw/rtc/
H A Dtrace-events4 allwinner_rtc_read(uint64_t addr, uint64_t value) "addr 0x%" PRIx64 " value 0x%" PRIx64
5 allwinner_rtc_write(uint64_t addr, uint64_t value) "addr 0x%" PRIx64 " value 0x%" PRIx64
8 sun4v_rtc_read(uint64_t addr, uint64_t value) "read: addr 0x%" PRIx64 " value 0x%" PRIx64
9 sun4v_rtc_write(uint64_t addr, uint64_t value) "write: addr 0x%" PRIx64 " value 0x%" PRIx64
16 pl031_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
17 pl031_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
22 aspeed_rtc_read(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
23 aspeed_rtc_write(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
26 ds1338_recv(uint32_t addr, uint8_t value) "[0x%" PRIx32 "] -> 0x%02" PRIx8
27 ds1338_send(uint32_t addr, uint8_t value) "[0x%" PRIx32 "] <- 0x%02" PRIx8
[all …]
/openbmc/qemu/hw/misc/
H A Dbcm2835_property.c26 static void bcm2835_property_mbox_push(BCM2835PropertyState *s, uint32_t value) in bcm2835_property_mbox_push() argument
38 value &= ~0xf; in bcm2835_property_mbox_push()
40 s->addr = value; in bcm2835_property_mbox_push()
42 tot_len = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
45 value = s->addr + 8; in bcm2835_property_mbox_push()
46 while (value + 8 <= s->addr + tot_len) { in bcm2835_property_mbox_push()
47 uint32_t tag = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
48 uint32_t bufsize = ldl_le_phys(&s->dma_as, value + 4); in bcm2835_property_mbox_push()
55 stl_le_phys(&s->dma_as, value + 12, 346337); in bcm2835_property_mbox_push()
65 stl_le_phys(&s->dma_as, value + 12, s->board_rev); in bcm2835_property_mbox_push()
[all …]
/openbmc/u-boot/include/
H A Datmel_hlcdc.h51 #define LCDC_LCDCFG0_CLKDIV(value) \ argument
52 ((LCDC_LCDCFG0_CLKDIV_Msk & ((value) << LCDC_LCDCFG0_CLKDIV_Pos)))
56 #define LCDC_LCDCFG1_HSPW(value) \ argument
57 ((LCDC_LCDCFG1_HSPW_Msk & ((value) << LCDC_LCDCFG1_HSPW_Pos)))
60 #define LCDC_LCDCFG1_VSPW(value) \ argument
61 ((LCDC_LCDCFG1_VSPW_Msk & ((value) << LCDC_LCDCFG1_VSPW_Pos)))
65 #define LCDC_LCDCFG2_VFPW(value) \ argument
66 ((LCDC_LCDCFG2_VFPW_Msk & ((value) << LCDC_LCDCFG2_VFPW_Pos)))
69 #define LCDC_LCDCFG2_VBPW(value) \ argument
70 ((LCDC_LCDCFG2_VBPW_Msk & ((value) << LCDC_LCDCFG2_VBPW_Pos)))
[all …]
/openbmc/pldm/platform-mc/
H A Ddbus_impl_fru.cpp10 std::string PldmEntityReq::partNumber(std::string value) in partNumber() argument
12 return assetserver::partNumber(value); in partNumber()
15 std::string PldmEntityReq::serialNumber(std::string value) in serialNumber() argument
17 return assetserver::serialNumber(value); in serialNumber()
20 std::string PldmEntityReq::manufacturer(std::string value) in manufacturer() argument
22 return assetserver::manufacturer(value); in manufacturer()
25 std::string PldmEntityReq::buildDate(std::string value) in buildDate() argument
27 return assetserver::buildDate(value); in buildDate()
30 std::string PldmEntityReq::model(std::string value) in model() argument
32 return assetserver::model(value); in model()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/
H A Dmac.c37 u32 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse() local
39 mac[0] = value >> 24; in imx_get_mac_from_fuse()
40 mac[1] = value >> 16; in imx_get_mac_from_fuse()
41 mac[2] = value >> 8; in imx_get_mac_from_fuse()
42 mac[3] = value; in imx_get_mac_from_fuse()
44 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
45 mac[4] = value >> 24; in imx_get_mac_from_fuse()
46 mac[5] = value >> 16; in imx_get_mac_from_fuse()
49 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse() local
51 mac[0] = value >> 8; in imx_get_mac_from_fuse()
[all …]
/openbmc/qemu/hw/i2c/
H A Dnpcm7xx_smbus.c244 static void npcm7xx_smbus_send_byte(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_byte() argument
246 int rv = i2c_send(s->bus, value); in npcm7xx_smbus_send_byte()
262 trace_npcm7xx_smbus_send_byte((DEVICE(s)->canonical_path), value, !rv); in npcm7xx_smbus_send_byte()
368 static void npcm7xx_smbus_send_address(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_address() argument
373 recv = value & BIT(0); in npcm7xx_smbus_send_address()
374 rv = i2c_start_transfer(s->bus, value >> 1, recv); in npcm7xx_smbus_send_address()
376 value >> 1, recv, !rv); in npcm7xx_smbus_send_address()
380 DEVICE(s)->canonical_path, value, rv); in npcm7xx_smbus_send_address()
454 uint8_t value = s->sda; in npcm7xx_smbus_read_sda() local
470 value = s->sda; in npcm7xx_smbus_read_sda()
[all …]
/openbmc/u-boot/drivers/video/
H A Datmel_hlcdfb.c60 unsigned long value; in lcd_ctrl_init() local
96 value = get_lcdc_clk_rate(0) / panel_info.vl_clk; in lcd_ctrl_init()
98 value++; in lcd_ctrl_init()
100 if (value < 1) { in lcd_ctrl_init()
112 writel(LCDC_LCDCFG0_CLKDIV(value - 2) in lcd_ctrl_init()
122 value = 0; in lcd_ctrl_init()
124 value |= panel_info.vl_sync; in lcd_ctrl_init()
128 value |= LCDC_LCDCFG5_MODE_OUTPUT_24BPP; in lcd_ctrl_init()
132 value |= LCDC_LCDCFG5_MODE_OUTPUT_12BPP; in lcd_ctrl_init()
135 value |= LCDC_LCDCFG5_MODE_OUTPUT_16BPP; in lcd_ctrl_init()
[all …]
/openbmc/u-boot/board/samsung/smdkc100/
H A Donenand.c24 int value; in onenand_board_init() local
30 value = readl(&clk->gate_d01); in onenand_board_init()
31 value &= ~(1 << 2); /* CLK_ONENANDC */ in onenand_board_init()
32 value |= (1 << 2); in onenand_board_init()
33 writel(value, &clk->gate_d01); in onenand_board_init()
35 value = readl(&clk->src0); in onenand_board_init()
36 value &= ~(1 << 24); /* MUX_1nand: 0 from HCLKD0 */ in onenand_board_init()
37 value &= ~(1 << 20); /* MUX_HREF: 0 from FIN_27M */ in onenand_board_init()
38 writel(value, &clk->src0); in onenand_board_init()
40 value = readl(&clk->div1); in onenand_board_init()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A DCOW.py54 def __setitem__(cls, key, value): argument
55 if value is not None and not isinstance(value, ImmutableTypes):
56 if not isinstance(value, COWMeta):
59 setattr(cls, key, value)
68 value = getattr(cls, nkey)
70 return value
72 if not cls.__warn__ is False and not isinstance(value, COWMeta):
75 value = value.copy()
77 value = copy.copy(value)
78 setattr(cls, nkey, value)
[all …]

12345678910>>...137