/openbmc/phosphor-led-manager/manager/ |
H A D | json-parser.hpp | 82 auto name = member.value("Name", ""); in loadJsonConfigV1GroupMember() 83 auto action = getAction(member.value("Action", "")); in loadJsonConfigV1GroupMember() 84 uint8_t dutyOn = member.value("DutyOn", 50); in loadJsonConfigV1GroupMember() 85 uint16_t period = member.value("Period", 0); in loadJsonConfigV1GroupMember() 87 const std::string priorityStr = member.value("Priority", ""); in loadJsonConfigV1GroupMember() 107 const std::string groupName = entry.value("group", ""); in loadJsonConfigV1Group() 111 auto members = entry.value("members", empty); in loadJsonConfigV1Group() 115 int priority = entry.value("Priority", 0); in loadJsonConfigV1Group() 142 auto leds = json.value("leds", empty); in loadJsonConfigV1() 160 auto version = json.value("version", 1); in loadJsonConfig()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_storage_trace_itself.c | 12 __type(value, int); 18 int *value; in BPF_PROG() local 20 value = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG() 23 if (value) in BPF_PROG() 24 *value = 1; in BPF_PROG()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
H A D | 0001-Fix-tautological-compare-warning.patch | 29 value.c | 4 ++-- 41 + assert(!"Unexpected value of type"); 63 + assert(!"Unexpected value of info->type"); 102 + assert(!"Unexpected value of unit"); 237 diff --git a/value.c b/value.c 239 --- a/value.c 240 +++ b/value.c 241 @@ -363,7 +363,7 @@ value_set_word(struct value *value, long word) 246 + assert(!"Unexpected value of sz"); 250 @@ -414,7 +414,7 @@ value_extract_word(struct value *value, long *retp, [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.c | 456 uint8_t value) in qpci_io_writeb() argument 463 bus->memwrite(bus, token.addr + off, &value, sizeof(value)); in qpci_io_writeb() 468 uint16_t value) in qpci_io_writew() argument 475 value = cpu_to_le16(value); in qpci_io_writew() 476 bus->memwrite(bus, token.addr + off, &value, sizeof(value)); in qpci_io_writew() 481 uint32_t value) in qpci_io_writel() argument 488 value = cpu_to_le32(value); in qpci_io_writel() 489 bus->memwrite(bus, token.addr + off, &value, sizeof(value)); in qpci_io_writel() 494 uint64_t value) in qpci_io_writeq() argument 501 value = cpu_to_le64(value); in qpci_io_writeq() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs.c | 29 u8 *value, *mask; in vcap_debugfs_show_rule_keyfield() local 40 value = (u8 *)(&data->u32.value); in vcap_debugfs_show_rule_keyfield() 60 value = data->u48.value; in vcap_debugfs_show_rule_keyfield() 69 value = data->u56.value; in vcap_debugfs_show_rule_keyfield() 74 value = data->u64.value; in vcap_debugfs_show_rule_keyfield() 79 value = data->u72.value; in vcap_debugfs_show_rule_keyfield() 84 value = data->u112.value; in vcap_debugfs_show_rule_keyfield() 89 value = data->u128.value; in vcap_debugfs_show_rule_keyfield() 121 u8 *value) in vcap_debugfs_show_rule_actionfield() argument 137 val = *(u32 *)value; in vcap_debugfs_show_rule_actionfield() [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | event_manager.cpp | 128 double value = static_cast<double>(presentReading); in processNumericSensorEvent() local 164 value, true, true); in processNumericSensorEvent() 181 pldm::utils::Direction::LOW, value, true, true); in processNumericSensorEvent() 188 value, true, true); in processNumericSensorEvent() 209 value, false, false); in processNumericSensorEvent() 247 value, false, false); in processNumericSensorEvent() 250 value, true, true); in processNumericSensorEvent() 259 value, false, false); in processNumericSensorEvent() 295 value, true, true); in processNumericSensorEvent() 383 if (tmp && !tmp.value().empty()) in processCperEvent() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | gpio.h | 34 TP_PROTO(unsigned gpio, int get, int value), 36 TP_ARGS(gpio, get, value), 41 __field(int, value) 47 __entry->value = value; 51 __entry->get ? "get" : "set", __entry->value)
|
/openbmc/telemetry/src/types/ |
H A D | reporting_type.hpp | 41 toReportingType(std::underlying_type_t<ReportingType> value) in toReportingType() argument 44 maxEnumValue(convDataReportingType)>(value); in toReportingType() 47 inline ReportingType toReportingType(const std::string& value) in toReportingType() argument 49 return toEnum(convDataReportingType, value); in toReportingType() 52 inline std::string enumToString(ReportingType value) in enumToString() argument 54 return std::string(enumToString(convDataReportingType, value)); in enumToString()
|
H A D | collection_time_scope.hpp | 41 toCollectionTimeScope(std::underlying_type_t<CollectionTimeScope> value) in toCollectionTimeScope() argument 45 maxEnumValue(convDataCollectionTimeScope)>(value); in toCollectionTimeScope() 48 inline CollectionTimeScope toCollectionTimeScope(const std::string& value) in toCollectionTimeScope() argument 50 return toEnum(convDataCollectionTimeScope, value); in toCollectionTimeScope() 53 inline std::string enumToString(CollectionTimeScope value) in enumToString() argument 55 return std::string(enumToString(convDataCollectionTimeScope, value)); in enumToString()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-etb10 | 20 value stored in this register+1 (from ARM ETB-TRM). 27 2. The value is read directly from HW register RDP, 0x004. 33 Description: (Read) Shows the value held by the ETB status register. The value 40 Description: (Read) Shows the value held by the ETB RAM Read Pointer register 42 interface. The value is read directly from HW register RRP, 49 Description: (Read) Shows the value held by the ETB RAM Write Pointer register 51 the CoreSight bus into the Trace RAM. The value is read directly 58 Description: (Read) Similar to "trigger_cntr" above except that this value is 65 Description: (Read) Shows the value held by the ETB Control register. The value 73 register. The value is read directly from HW register FFSR, [all …]
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | bh1770glc.rst | 63 RO - measured lux value 68 RO - lux0_input max value 77 RW - HI level threshold value 79 All results above the value 84 RW - LO level threshold value 86 All results below the value 90 RW - calibration value 94 value. 97 RO - neutral calibration value 100 RO - measured proximity value [all …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | keytable.c.rst | 56 return p->value; 81 int value; 83 value=parse_code(argv[3]); 85 if (value==-1) { 88 perror("value"); 92 codes [1] = (unsigned) value; 104 int value; 143 value=parse_code(keycode); 146 if (value==-1) { 149 perror("value"); [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_queue_stack.rst | 36 long bpf_map_push_elem(struct bpf_map *map, const void *value, u64 flags) 38 An element ``value`` can be added to a queue or stack using the 42 make room for ``value`` to be added. Returns ``0`` on success, or 50 long bpf_map_peek_elem(struct bpf_map *map, void *value) 52 This helper fetches an element ``value`` from a queue or stack without 61 long bpf_map_pop_elem(struct bpf_map *map, void *value) 63 This helper removes an element into ``value`` from a queue or 77 A userspace program can push ``value`` onto a queue or stack using libbpf's 88 int bpf_map_lookup_elem (int fd, const void *key, void *value) 119 __type(value, __u32); [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 48 s32 value; /* current value */ member 54 static int smu_set_fan(int pwm, u8 id, u16 value) in smu_set_fan() argument 74 *((u16 *)(&buffer[2])) = value; in smu_set_fan() 83 *((u16 *)&buffer[2 + id * 2]) = value; in smu_set_fan() 120 if (value < fct->min) in smu_fan_set() 121 value = fct->min; in smu_fan_set() 122 if (value > fct->max) in smu_fan_set() 123 value = fct->max; in smu_fan_set() 124 fct->value = value; in smu_fan_set() 126 return smu_set_fan(fct->fan_type, fct->reg, value); in smu_fan_set() [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci-uclass.c | 376 unsigned long value; in pci_read_config32() local 382 *valuep = value; in pci_read_config32() 395 *valuep = value; in pci_read_config16() 408 *valuep = value; in pci_read_config8() 421 *valuep = value; in dm_pci_read_config8() 434 *valuep = value; in dm_pci_read_config16() 447 *valuep = value; in dm_pci_read_config32() 545 ulong value, in pci_generic_mmap_write_config() argument 1130 return value; in pci_conv_32_to_size() 1151 return value; in pci_conv_size_to_32() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | trace-events | 32 aspeed_timer_set_ctrl2(uint32_t value) "Value: 0x%" PRIx32 33 aspeed_timer_set_value(int timer, int reg, uint32_t value) "Timer %d register %d: 0x%" PRIx32 53 …xx_timer_read(const char *id, uint64_t offset, uint64_t value) " %s offset: 0x%04" PRIx64 " value … 54 …x_timer_write(const char *id, uint64_t offset, uint64_t value) "%s offset: 0x%04" PRIx64 " value 0… 70 avr_timer16_read(uint8_t addr, uint8_t value) "timer16 read addr:%u value:%u" 71 avr_timer16_read_ifr(uint8_t value) "timer16 read addr:ifr value:%u" 72 avr_timer16_read_imsk(uint8_t value) "timer16 read addr:imsk value:%u" 73 avr_timer16_write(uint8_t addr, uint8_t value) "timer16 write addr:%u value:%u" 74 avr_timer16_write_imsk(uint8_t value) "timer16 write addr:imsk value:%u" 101 sh_timer_write(uint64_t offset, uint64_t value) "tmu012_write 0x%" PRIx64 " 0x%08" PRIx64 [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | atmel_usba_udc.h | 177 #define USBA_BF(name, value) \ argument 178 (((value) & ((1 << USBA_##name##_SIZE) - 1)) \ 180 #define USBA_BFEXT(name, value) \ argument 181 (((value) >> USBA_##name##_OFFSET) \ 183 #define USBA_BFINS(name, value, old) \ argument 186 | USBA_BF(name, value)) 191 #define usba_writel(udc, reg, value) \ argument 192 __raw_writel((value), (udc)->regs + USBA_##reg) 195 #define usba_ep_writel(ep, reg, value) \ argument 196 __raw_writel((value), (ep)->ep_regs + USBA_EPT_##reg) [all …]
|
/openbmc/sdbusplus/docs/ |
H A D | asio.md | 31 PropertyType getHandler(const PropertyType& value); 34 The first argument is the current value cached in the D-Bus interface (i.e. the 35 previously "getted" value, or the initialized value), and the return value is 44 bool setHandler(const PropertyType& newValue, PropertyType& value); 47 The first argument is the new value requested to be set by the D-Bus caller. 49 The second argument is the actual underlying value contained within the object 50 server. If the new value meets the expected constraints, the handler must set 51 `value = newValue` to make the set operation take effect and return true. If the 52 new value is invalid or cannot be applied for whatever reason, the handler must 53 leave `value` unmodified and return false.
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 73 uint16_t value) in virtio_stw_phys() argument 78 stw_be_phys(dma_as, pa, value); in virtio_stw_phys() 80 stw_le_phys(dma_as, pa, value); in virtio_stw_phys() 85 uint32_t value) in virtio_stl_phys() argument 90 stl_be_phys(dma_as, pa, value); in virtio_stl_phys() 92 stl_le_phys(dma_as, pa, value); in virtio_stl_phys() 191 hwaddr pa, uint16_t value) in virtio_stw_phys_cached() argument 194 stw_be_phys_cached(cache, pa, value); in virtio_stw_phys_cached() 196 stw_le_phys_cached(cache, pa, value); in virtio_stw_phys_cached() 205 stl_be_phys_cached(cache, pa, value); in virtio_stl_phys_cached() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | pldm_utils.py | 90 value = re.search(r"\((.*?)\)", attr_values).group(1) 91 if value: 94 if " " in value: 95 value = '"' + value + '"' 96 value_list.append(value) 214 value = pldmtool(command) 215 if "error" in value: 218 elif not value["CurrentValue"]: 224 attr_val_data_dict[attr_name] = value["CurrentValue"] 302 value = random.choice(valid_values) [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | nrf51_rng.c | 50 r = s->value; in rng_read() 86 uint64_t value, unsigned int size) in rng_write() argument 92 if (value == NRF51_TRIGGER_TASK) { in rng_write() 98 if (value == NRF51_TRIGGER_TASK) { in rng_write() 104 if (value == NRF51_EVENT_CLEAR) { in rng_write() 110 (value & BIT_MASK(NRF51_RNG_REG_SHORTS_VALRDY_STOP)) ? 1 : 0; in rng_write() 114 (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) ? 1 : 0; in rng_write() 117 if (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) { in rng_write() 122 if (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) { in rng_write() 152 qemu_guest_getrandom_nofail(&s->value, 1); in nrf51_rng_timer_expire() [all …]
|
/openbmc/qemu/hw/adc/ |
H A D | max111x.c | 51 static void max111x_write(MAX111xState *s, uint32_t value) in max111x_write() argument 56 if (!(value & CB_START)) in max111x_write() 61 if (!(value & CB_PD1)) { in max111x_write() 66 s->tb1 = value; in max111x_write() 69 chan = CHANNEL_NUM(value, 1, 0, 2); in max111x_write() 71 chan = CHANNEL_NUM(value & ~CB_SEL0, 0, 1, 2); in max111x_write() 73 if (value & CB_SGL) in max111x_write() 78 if (!(value & CB_UNI)) in max111x_write() 91 max111x_write(s, value); in max111x_transfer() 112 static void max111x_input_set(void *opaque, int line, int value) in max111x_input_set() argument [all …]
|
/openbmc/openpower-sbe-interface/ |
H A D | sbe_interfaces.cpp | 19 static inline uint32_t upper(uint64_t value) in upper() argument 21 return ((value & 0xFFFFFFFF00000000ull) >> 32); in upper() 24 static inline uint32_t lower(uint64_t value) in lower() argument 26 return (value & 0xFFFFFFFF); in lower() 44 uint64_t value = 0; in read() local 68 value = (((static_cast<uint64_t>(response[0])) << 32) | response[1]); in read() 69 return value; in read()
|
/openbmc/qemu/trace/ |
H A D | qmp.c | 66 TraceEventInfo *value; in qmp_trace_event_get_state() local 68 value = g_new(TraceEventInfo, 1); in qmp_trace_event_get_state() 69 value->name = g_strdup(trace_event_get_name(ev)); in qmp_trace_event_get_state() 72 value->state = TRACE_EVENT_STATE_UNAVAILABLE; in qmp_trace_event_get_state() 75 value->state = TRACE_EVENT_STATE_ENABLED; in qmp_trace_event_get_state() 77 value->state = TRACE_EVENT_STATE_DISABLED; in qmp_trace_event_get_state() 80 QAPI_LIST_PREPEND(events, value); in qmp_trace_event_get_state()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mmio.h | 29 void *value, const u32 length) in rt2x00mmio_register_multiread() argument 31 memcpy_fromio(value, rt2x00dev->csr.base + offset, length); in rt2x00mmio_register_multiread() 36 u32 value) in rt2x00mmio_register_write() argument 38 writel(value, rt2x00dev->csr.base + offset); in rt2x00mmio_register_write() 43 const void *value, in rt2x00mmio_register_multiwrite() argument 46 __iowrite32_copy(rt2x00dev->csr.base + offset, value, length >> 2); in rt2x00mmio_register_multiwrite()
|