/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/ |
H A D | triehash | 227 $self->{value} = undef; 256 my ($self, $key, $label, $value) = @_; 260 $self->{value} = $value; 268 $self->{children}{$child}->insert($tail, $label, $value); 283 if ($togo > length($key) || defined $self->{children}{$key}->{value}) { 292 $new->{value} = $self->{value}; 305 $trie->insert($prefix, $self->{label}, $self->{value}) if (defined $self->{value}); 353 $newself->{value} = $self->{value}; 492 if (defined $trie->{value}) { 505 … { $fh } (' ' x $indent."%s = %s,\n", $trie->{label}, $trie->{value}) if defined $trie->{value}; [all …]
|
/openbmc/qemu/hw/block/ |
H A D | swim.c | 280 static void iwmctrl_write(void *opaque, hwaddr addr, uint64_t value, in iwmctrl_write() argument 299 swimctrl->iwmregs[reg] = value; in iwmctrl_write() 300 trace_swim_iwmctrl_write(reg, iwm_reg_names[reg], size, value); in iwmctrl_write() 305 ism_bit = (value & (1 << SWIM_MODE_STATUS_BIT)); in iwmctrl_write() 348 uint8_t latch, reg, value; in iwmctrl_read() local 365 value = 0xff; in iwmctrl_read() 368 value = 0; in iwmctrl_read() 372 trace_swim_iwmctrl_read(reg, iwm_reg_names[reg], size, value); in iwmctrl_read() 373 return value; in iwmctrl_read() 382 static void ismctrl_write(void *opaque, hwaddr reg, uint64_t value, in ismctrl_write() argument [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-pm8xxx.c | 124 u8 value[NUM_8_BIT_RTC_REGS]; in pm8xxx_rtc_read_raw() local 128 rc = regmap_bulk_read(rtc_dd->regmap, regs->read, value, sizeof(value)); in pm8xxx_rtc_read_raw() 140 if (reg < value[0]) { in pm8xxx_rtc_read_raw() 141 rc = regmap_bulk_read(rtc_dd->regmap, regs->read, value, in pm8xxx_rtc_read_raw() 142 sizeof(value)); in pm8xxx_rtc_read_raw() 147 *secs = get_unaligned_le32(value); in pm8xxx_rtc_read_raw() 191 u8 value[NUM_8_BIT_RTC_REGS]; in __pm8xxx_rtc_set_time() local 195 put_unaligned_le32(secs, value); in __pm8xxx_rtc_set_time() 214 &value[1], sizeof(value) - 1); in __pm8xxx_rtc_set_time() 219 rc = regmap_write(rtc_dd->regmap, regs->write, value[0]); in __pm8xxx_rtc_set_time() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-tegra186.c | 93 static void tmr_writel(struct tegra186_tmr *tmr, u32 value, unsigned int offset) in tmr_writel() argument 95 writel_relaxed(value, tmr->regs + offset); in tmr_writel() 98 static void wdt_writel(struct tegra186_wdt *wdt, u32 value, unsigned int offset) in wdt_writel() argument 100 writel_relaxed(value, wdt->regs + offset); in wdt_writel() 144 u32 value; in tegra186_wdt_enable() local 147 value = TKEIE_WDT_MASK(wdt->index, 1); in tegra186_wdt_enable() 148 writel(value, tegra->regs + TKEIE(wdt->tmr->hwirq)); in tegra186_wdt_enable() 157 value = TMRCR_PTV(wdt->base.timeout * USEC_PER_SEC / 5) | in tegra186_wdt_enable() 159 tmr_writel(wdt->tmr, value, TMRCR); in tegra186_wdt_enable() 162 value = wdt_readl(wdt, WDTCR); in tegra186_wdt_enable() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-sgi_uv | 41 This value can be used to identify the UV system version:: 57 unique ordinal value (ex. /sys/firmware/sgi_uv/hubs/hub_5) 69 If a cnode value is not applicable, the value returned will be -1. 72 This value is used to physically identify a hub within a system. 78 fabric. The 'x.x' value represents the ASIC revision. 82 the interconnect fabric. The 'x' value representing 86 If a nasid value is not applicable, the value returned will be -1. 88 The shared entry contains a boolean value describing whether the 91 The this_partition entry contains a boolean value describing whether 96 A port object's name is appended by a unique ordinal value [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-steelseries.c | 133 __s32 *value = report->field[0]->value; in steelseries_srws1_set_leds() local 135 value[0] = 0x40; in steelseries_srws1_set_leds() 136 value[1] = leds & 0xFF; in steelseries_srws1_set_leds() 137 value[2] = leds >> 8; in steelseries_srws1_set_leds() 138 value[3] = 0x00; in steelseries_srws1_set_leds() 139 value[4] = 0x00; in steelseries_srws1_set_leds() 140 value[5] = 0x00; in steelseries_srws1_set_leds() 141 value[6] = 0x00; in steelseries_srws1_set_leds() 142 value[7] = 0x00; in steelseries_srws1_set_leds() 143 value[8] = 0x00; in steelseries_srws1_set_leds() [all …]
|
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_acc.c | 15 void pci_acc_write_reg(int reg, u32 value) in pci_acc_write_reg() argument 17 u32 hi = 0, lo = value; in pci_acc_write_reg() 22 if (value & PCI_COMMAND_MASTER) in pci_acc_write_reg() 29 if (value & PCI_STATUS_PARITY) { in pci_acc_write_reg() 38 if (value == PCI_BAR_RANGE_MASK) { in pci_acc_write_reg() 42 } else if (value & 0x01) { in pci_acc_write_reg() 43 value &= 0xfffffffc; in pci_acc_write_reg() 44 hi = 0xA0000000 | ((value & 0x000ff000) >> 12); in pci_acc_write_reg() 45 lo = 0x000fff80 | ((value & 0x00000fff) << 20); in pci_acc_write_reg() 53 if (value) /* enable all the acc interrupt in PIC */ in pci_acc_write_reg()
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | test-plugin-mem-access.c | 27 #define PRINT_EXPECTED(function, type, value, action) \ argument 30 #function, (int) sizeof(type) * 8, action, value); \ 34 #define DEFINE_STORE(name, type, value) \ argument 38 PRINT_EXPECTED(store_##name, type, #value, "store"); \ 43 *((type *)data) = value; \ 47 #define DEFINE_ATOMIC_OP(name, type, value) \ argument 52 PRINT_EXPECTED(atomic_op_##name, type, #value, "store"); \ 58 __sync_val_compare_and_swap((type *)data, 0x42, value); \ 62 #define DEFINE_LOAD(name, type, value) \ argument 66 PRINT_EXPECTED(load_##name, type, #value, "load"); \
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | bitops.h | 124 unsigned long tmp, value; \ 135 : [tmp] "=&a" (tmp), [value] "=&a" (value) \ 139 return value & mask; \ 147 unsigned long tmp, value; \ 158 : [tmp] "=&a" (tmp), [value] "=&a" (value), \ 168 unsigned long tmp, value; \ 179 : [tmp] "=&a" (tmp), [value] "=&a" (value), \
|
/openbmc/phosphor-logging/ |
H A D | elog_entry.cpp | 26 bool Entry::resolved(bool value) in resolved() argument 30 if (value != current) in resolved() 59 value ? associations({}) : associations(assocs); in resolved() 62 value); in resolved() 75 std::string Entry::eventId(std::string value) in eventId() argument 79 if (value != current) in eventId() 83 value); in eventId() 90 std::string Entry::resolution(std::string value) in resolution() argument 94 if (value != current) in resolution() 98 value); in resolution()
|
/openbmc/phosphor-health-monitor/ |
H A D | health_metric_collection.cpp | 126 double value; in readMemory() local 129 if (!(iss >> name >> value)) in readMemory() 135 memoryValues[MetricIntf::SubType::memoryAvailable] = value; in readMemory() 139 memoryValues[MetricIntf::SubType::memoryFree] = value; in readMemory() 143 memoryValues[MetricIntf::SubType::memoryBufferedAndCached] += value; in readMemory() 147 memoryValues[MetricIntf::SubType::memoryTotal] = value; in readMemory() 151 memoryValues[MetricIntf::SubType::memoryShared] += value; in readMemory() 158 auto value = memoryValues.at(config.subType) * 1024; in readMemory() local 161 config.subType, "VALUE", value, "TOTAL", total); in readMemory() 162 metrics[config.name]->update(MValue(value, total)); in readMemory() [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | omap_gpio.c | 111 uint64_t value, unsigned size) in omap_gpio_write() argument 119 omap_badwidth_write16(opaque, addr, value); in omap_gpio_write() 129 diff = (s->outputs ^ value) & ~s->dir; in omap_gpio_write() 130 s->outputs = value; in omap_gpio_write() 133 qemu_set_irq(s->handler[ln], (value >> ln) & 1); in omap_gpio_write() 139 diff = s->outputs & (s->dir ^ value); in omap_gpio_write() 140 s->dir = value; in omap_gpio_write() 142 value = s->outputs & ~s->dir; in omap_gpio_write() 145 qemu_set_irq(s->handler[ln], (value >> ln) & 1); in omap_gpio_write() 151 s->edge = value; in omap_gpio_write() [all …]
|
/openbmc/phosphor-psu-code-mgmt/ |
H A D | meson.options | 5 value: 'disabled', 11 value: true, 18 value: 'MANIFEST', 25 value: '/xyz/openbmc_project/software', 32 value: '/xyz/openbmc_project/inventory/system', 39 value: '/tmp/images', 51 value: '/usr/bin/psutils --raw --get-version', 62 value: '/usr/bin/psutils --raw --get-model', 74 value: '/usr/bin/psutils --raw --compare', 83 value: 'psu-update@.service', [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | rsdump.c | 19 static void acpi_rs_out_string(const char *title, const char *value); 21 static void acpi_rs_out_integer8(const char *title, u8 value); 23 static void acpi_rs_out_integer16(const char *title, u16 value); 25 static void acpi_rs_out_integer32(const char *title, u32 value); 27 static void acpi_rs_out_integer64(const char *title, u64 value); 496 static void acpi_rs_out_string(const char *title, const char *value) in acpi_rs_out_string() argument 499 acpi_os_printf("%27s : %s", title, value); in acpi_rs_out_string() 500 if (!*value) { in acpi_rs_out_string() 506 static void acpi_rs_out_integer8(const char *title, u8 value) in acpi_rs_out_integer8() argument 508 acpi_os_printf("%27s : %2.2X\n", title, value); in acpi_rs_out_integer8() [all …]
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | sst-dsp.c | 23 void sst_shim32_write(void __iomem *addr, u32 offset, u32 value) in sst_shim32_write() argument 25 writel(value, addr + offset); in sst_shim32_write() 35 void sst_shim32_write64(void __iomem *addr, u32 offset, u64 value) in sst_shim32_write64() argument 37 writeq(value, addr + offset); in sst_shim32_write64() 48 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write() argument 53 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write() 71 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write_unlocked() argument 73 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write_unlocked() 84 u32 mask, u32 value) in sst_dsp_shim_update_bits_unlocked() argument 93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked() [all …]
|
/openbmc/telemetry/tests/src/stubs/ |
H A D | dbus_sensor_object.cpp | 22 property.value(), value, in DbusSensorObject() 24 [this](const auto&) { return value; }); in DbusSensorObject() 30 value = v; in setValue() 32 sensorIface->signal_property(property.value()); in setValue() 37 return value; in getValue() 50 const char* DbusSensorObject::Properties::value() in value() function in stubs::DbusSensorObject::Properties
|
/openbmc/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 256 unsigned long long value); 262 unsigned long long value); 264 enum unit_type type, u64 value, int to_raw); 610 u64 value, int to_raw) in rapl_unit_xlate() argument 625 return defaults->compute_time_window(rd, value, to_raw); in rapl_unit_xlate() 628 return value; in rapl_unit_xlate() 632 return div64_u64(value, units) * scale; in rapl_unit_xlate() 634 value *= units; in rapl_unit_xlate() 636 return div64_u64(value, scale); in rapl_unit_xlate() 816 u64 value; in rapl_read_data_raw() local [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | az6007.c | 100 static int __az6007_read(struct usb_device *udev, u8 req, u16 value, in __az6007_read() argument 109 value, index, b, blen, 5000); in __az6007_read() 117 req, value, index); in __az6007_read() 125 static int az6007_read(struct dvb_usb_device *d, u8 req, u16 value, in az6007_read() argument 134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read() 141 static int __az6007_write(struct usb_device *udev, u8 req, u16 value, in __az6007_write() argument 148 req, value, index); in __az6007_write() 163 value, index, b, blen, 5000); in __az6007_write() 172 static int az6007_write(struct dvb_usb_device *d, u8 req, u16 value, in az6007_write() argument 181 ret = __az6007_write(d->udev, req, value, index, b, blen); in az6007_write() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | stm32_rcc.c | 45 uint32_t value = 0; in stm32_rcc_read() local 50 value = s->regs[addr >> 2]; in stm32_rcc_read() 52 trace_stm32_rcc_read(addr, value); in stm32_rcc_read() 53 return value; in stm32_rcc_read() 60 uint32_t value = val64; in stm32_rcc_write() local 63 trace_stm32_rcc_write(value, addr); in stm32_rcc_write() 74 s->regs[addr / 4] = value; in stm32_rcc_write() 78 new_value = extract32(value, i, 1); in stm32_rcc_write() 87 s->regs[addr / 4] = value; in stm32_rcc_write() 91 new_value = extract32(value, i, 1); in stm32_rcc_write() [all …]
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | activation_ubi.cpp | 19 uint8_t RedundancyPriorityUbi::priority(uint8_t value) in priority() argument 21 storeToFile(parent.versionId, value); in priority() 22 return RedundancyPriority::priority(value); in priority() 25 auto ActivationUbi::activation(Activations value) -> Activations in activation() argument 27 if (value != softwareServer::Activation::Activations::Active) in activation() 32 if (value == softwareServer::Activation::Activations::Activating) in activation() 35 softwareServer::Activation::activation(value); in activation() 55 return softwareServer::Activation::activation(value); in activation() 93 return softwareServer::Activation::activation(value); in activation() 96 auto ActivationUbi::requestedActivation(RequestedActivations value) in requestedActivation() argument [all …]
|
/openbmc/webui-vue/src/ |
H A D | main.js | 116 formatDate(value) { argument 119 if (value instanceof Date) { 121 return value.toISOString().substring(0, 10); 125 return format(value, pattern, { timezone }); 128 formatTime(value) { argument 131 if (value instanceof Date) { 137 return `${value.toLocaleTimeString('default', timeOptions)} UTC`; 140 const shortTz = this.shortTimeZone(value); 142 return format(value, pattern, { timezone }).replace('GMT', 'UTC'); 145 shortTimeZone(value) { argument [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | fdt_test.py | 58 self.assertEquals(list, type(prop.value)) 59 self.assertEquals(2, len(prop.value)) 61 [fdt_util.fdt32_to_cpu(val) for val in prop.value]) 65 self.assertEquals(chr(8), prop.value) 69 self.assertEquals(list, type(prop.value)) 70 self.assertEquals(str, type(prop.value[0])) 71 self.assertEquals(3, len(prop.value)) 72 self.assertEquals([chr(1), '#', '4'], prop.value) 84 self.assertEquals(list, type(prop.value)) 85 self.assertEquals(3, len(prop.value)) [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | composite.c | 34 int value = -EINVAL; in usb_add_function() local 47 value = function->bind(config, function); in usb_add_function() 48 if (value < 0) { in usb_add_function() 53 value = 0; in usb_add_function() 61 if (value) in usb_add_function() 63 function->name, function, value); in usb_add_function() 64 return value; in usb_add_function() 509 int value; in lookup_string() local 516 value = usb_gadget_get_string(s, id, buf); in lookup_string() 517 if (value > 0) in lookup_string() [all …]
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | isa207-common.c | 111 static int p10_thresh_cmp_val(u64 value) in p10_thresh_cmp_val() argument 114 u64 result = value; in p10_thresh_cmp_val() 116 if (!value) in p10_thresh_cmp_val() 117 return value; in p10_thresh_cmp_val() 129 if (value > 261120) in p10_thresh_cmp_val() 130 value = 261120; in p10_thresh_cmp_val() 131 while ((64 - __builtin_clzl(value)) > 8) { in p10_thresh_cmp_val() 133 value >>= 2; in p10_thresh_cmp_val() 141 if (!(value & 0xC0) && exp) in p10_thresh_cmp_val() 144 result = (exp << 8) | value; in p10_thresh_cmp_val() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 70 u32 value; in shmob_drm_crtc_setup_geometry() local 72 value = sdev->ldmt1r in shmob_drm_crtc_setup_geometry() 80 lcdc_write(sdev, LDMT1R, value); in shmob_drm_crtc_setup_geometry() 85 value = (idata->sys.cs_setup << LDMT2R_CSUP_SHIFT) in shmob_drm_crtc_setup_geometry() 91 lcdc_write(sdev, LDMT2R, value); in shmob_drm_crtc_setup_geometry() 93 value = (idata->sys.read_latch << LDMT3R_RDLC_SHIFT) in shmob_drm_crtc_setup_geometry() 97 lcdc_write(sdev, LDMT3R, value); in shmob_drm_crtc_setup_geometry() 100 value = ((mode->hdisplay / 8) << 16) /* HDCN */ in shmob_drm_crtc_setup_geometry() 102 lcdc_write(sdev, LDHCNR, value); in shmob_drm_crtc_setup_geometry() 104 value = (((mode->hsync_end - mode->hsync_start) / 8) << 16) /* HSYNW */ in shmob_drm_crtc_setup_geometry() [all …]
|