/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-baytrail.c | 599 u32 value; in byt_set_group_simple_mux() local 628 u32 value; in byt_set_group_mixed_mux() local 682 u32 value; in byt_gpio_clear_triggering() local 767 u32 value; in byt_gpio_set_direction() local 1092 if (value) in byt_gpio_set() 1104 u32 value; in byt_gpio_get_direction() local 1159 if (value) in byt_gpio_direction_output() 1308 u32 value; in byt_irq_unmask() local 1346 u32 value; in byt_irq_type() local 1470 u32 value; in byt_init_irq_valid_mask() local [all …]
|
/openbmc/linux/drivers/sh/intc/ |
H A D | access.c | 54 unsigned int intc_set_field_from_handle(unsigned int value, in intc_set_field_from_handle() argument 61 value &= ~(((1 << width) - 1) << shift); in intc_set_field_from_handle() 62 value |= field_value << shift; in intc_set_field_from_handle() 63 return value; in intc_set_field_from_handle() 72 return (value & mask) >> shift; in intc_get_field_from_handle() 128 unsigned int value; in modify_8() local 131 __raw_writeb(value, ptr); in modify_8() 142 unsigned int value; in modify_16() local 145 __raw_writew(value, ptr); in modify_16() 156 unsigned int value; in modify_32() local [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | sandbox.c | 45 int value) in set_gpio_flag() argument 49 if (value) in set_gpio_flag() 70 return set_gpio_flag(dev, offset, GPIOF_HIGH, value); in sandbox_gpio_set_value() 80 return set_gpio_flag(dev, offset, GPIOF_ODR, value); in sandbox_gpio_set_open_drain() 107 int value) in sb_gpio_direction_output() argument 109 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_direction_output() 112 sandbox_gpio_set_value(dev, offset, value); in sb_gpio_direction_output() 126 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_set_value() 134 return sandbox_gpio_set_value(dev, offset, value); in sb_gpio_set_value() 148 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_set_open_drain() [all …]
|
/openbmc/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-misc-control.c | 81 ucontrol->value.integer.value[0] = afe_priv->sgen_mode; in mt8186_sgen_get() 96 if (ucontrol->value.enumerated.item[0] >= e->items) in mt8186_sgen_set() 99 mode = ucontrol->value.integer.value[0]; in mt8186_sgen_set() 135 ucontrol->value.integer.value[0] = afe_priv->sgen_rate; in mt8186_sgen_rate_get() 149 if (ucontrol->value.enumerated.item[0] >= e->items) in mt8186_sgen_rate_set() 152 rate = ucontrol->value.integer.value[0]; in mt8186_sgen_rate_set() 179 ucontrol->value.integer.value[0] = afe_priv->sgen_amplitude; in mt8186_sgen_amplitude_get() 192 if (ucontrol->value.enumerated.item[0] >= e->items) in mt8186_sgen_amplitude_set() 195 amplitude = ucontrol->value.integer.value[0]; in mt8186_sgen_amplitude_set()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-scratch.h | 98 static inline void cvmx_scratch_write8(uint64_t address, uint64_t value) in cvmx_scratch_write8() argument 101 (uint8_t) value; in cvmx_scratch_write8() 110 static inline void cvmx_scratch_write16(uint64_t address, uint64_t value) in cvmx_scratch_write16() argument 113 (uint16_t) value; in cvmx_scratch_write16() 122 static inline void cvmx_scratch_write32(uint64_t address, uint64_t value) in cvmx_scratch_write32() argument 125 (uint32_t) value; in cvmx_scratch_write32() 134 static inline void cvmx_scratch_write64(uint64_t address, uint64_t value) in cvmx_scratch_write64() argument 136 *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address) = value; in cvmx_scratch_write64()
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | path.py | 13 self.value = kwargs.pop("namespace") 16 self.value = kwargs.pop("instance") 18 self.value = kwargs.pop("value", "") 21 if len(self.value) == 0: 23 self.value = NamedElement(name=kwargs["name"]).snake_case 26 if not segment and self.value[0] != "/": 28 if segment and self.value[0] == "/": 30 segments = self.value.split("/")
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-getvar | 32 if not args.value: 39 quiet = args.quiet or args.value 48 value = None variable 50 value = d.getVarFlag(args.variable, args.flag, expand=not args.unexpand) variable 51 if value is None and not args.ignore_undefined: 54 value = d.getVar(args.variable, expand=not args.unexpand) 55 if value is None and not args.ignore_undefined: 57 if args.value: 58 print(str(value if value is not None else ""))
|
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.cpp | 696 double convertedValue = value; in conversionFormula() 704 return std::isnan(value) ? value : value * std::pow(10, baseUnitModifier); in unitModifier() 723 curValue = valueIntf->value(); in updateReading() 727 curValue = metricIntf->value(); in updateReading() 739 valueIntf->value(newValue); in updateReading() 791 if (value >= threshold) in checkThreshold() 795 if (value < (threshold - hyst)) in checkThreshold() 802 if (value <= threshold) in checkThreshold() 806 if (value > (threshold + hyst)) in checkThreshold() 828 value = valueIntf->value(); in updateThresholds() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | tcg-all.c | 141 if (strcmp(value, "multi") == 0) { in tcg_set_thread() 153 } else if (strcmp(value, "single") == 0) { in tcg_set_thread() 156 error_setg(errp, "Invalid 'thread' setting %s", value); in tcg_set_thread() 165 uint32_t value = s->tb_size; in tcg_get_tb_size() local 167 visit_type_uint32(v, name, &value, errp); in tcg_get_tb_size() 175 uint32_t value; in tcg_set_tb_size() local 177 if (!visit_type_uint32(v, name, &value, errp)) { in tcg_set_tb_size() 181 s->tb_size = value; in tcg_set_tb_size() 193 s->splitwx_enabled = value; in tcg_set_splitwx() 205 s->one_insn_per_tb = value; in tcg_set_one_insn_per_tb() [all …]
|
/openbmc/phosphor-fan-presence/docs/control/ |
H A D | events.md | 275 parameter value. 297 - If that property value is greater than the 'state' value of 70.0: 326 - Subtracts that parameter value from the property value. 340 parameter value. 362 - If that property value is less than the 'state' value of 65.0: 390 - Subtracts the property value from the parameter value. 487 use the `default_floor` value of 4444, though that value is optional. 643 "value": 4 775 Subtract the `value` field from the passed in value. 780 "value": 4 [all …]
|
/openbmc/qemu/hw/net/ |
H A D | imx_fec.c | 749 uint32_t value = 0; in imx_eth_read() local 775 value = s->regs[index]; in imx_eth_read() 788 return value; in imx_eth_read() 851 s->regs[index] = value; in imx_enet_write() 880 s->regs[index] = value; in imx_enet_write() 902 s->regs[index] = value; in imx_eth_write() 933 s->regs[index] = value; in imx_eth_write() 946 s->regs[index] = value; in imx_eth_write() 955 imx_phy_write(s, extract32(value, 18, 10), extract32(value, 0, 16)); in imx_eth_write() 973 s->regs[index] = value; in imx_eth_write() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | data_interface.cpp | 275 DBusValue& value) const in getProperty() 282 reply.read(value); in getProperty() 331 auto value = in readServerFWVersion() local 333 if ((value != "") && (value.find_last_of(')') != std::string::npos)) in readServerFWVersion() 336 _serverFWVersion = value.substr(pos, value.find_last_of(')') - pos); in readServerFWVersion() 354 DBusValue value; in getMachineTypeModel() local 468 fruPartNumber = std::string{value.begin(), value.end()}; in getHWCalloutFields() 471 ccin = std::string{value.begin(), value.end()}; in getHWCalloutFields() 474 serialNumber = std::string{value.begin(), value.end()}; in getHWCalloutFields() 823 DBusValue value; in getRawProgressSRC() local [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | toolchain.py | 39 for tag, value in attrs: 41 if value and value.endswith('.xz'): 138 value = '' 140 if not value: 142 if value: 143 value = value + ' ' 145 return value 238 if '*' in value: 241 paths.append(value) 327 if os.path.exists(value): [all …]
|
/openbmc/u-boot/common/ |
H A D | iotrace.c | 59 sizeof(value)); in add_record() 69 rec->value = value; in add_record() 89 void iotrace_writel(ulong value, const void *ptr) in iotrace_writel() argument 91 add_record(IOT_32 | IOT_WRITE, ptr, value); in iotrace_writel() 92 writel(value, ptr); in iotrace_writel() 105 void iotrace_writew(ulong value, const void *ptr) in iotrace_writew() argument 107 add_record(IOT_16 | IOT_WRITE, ptr, value); in iotrace_writew() 108 writew(value, ptr); in iotrace_writew() 121 void iotrace_writeb(ulong value, const void *ptr) in iotrace_writeb() argument 123 add_record(IOT_8 | IOT_WRITE, ptr, value); in iotrace_writeb() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_init.c | 22 pcpu_map_value_t value[nr_cpus]; in map_populate() local 27 bpf_percpu(value, i) = FILL_VALUE; in map_populate() 79 map_value_t value) in prog_run_insert_elem() argument 86 bss->inValue = value; in prog_run_insert_elem() 106 val = bpf_percpu(value, i); in check_values_one_cpu() 131 pcpu_map_value_t value[nr_cpus]; in test_pcpu_map_init() local 153 err = bpf_map_lookup_elem(map_fd, &key, value); in test_pcpu_map_init() 158 check_values_one_cpu(value, TEST_VALUE); in test_pcpu_map_init() 171 pcpu_map_value_t value[nr_cpus]; in test_pcpu_lru_map_init() local 190 err = bpf_map_lookup_elem(map_fd, &key, value); in test_pcpu_lru_map_init() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | heathrow_pic.c | 63 pic->mask = value; in heathrow_write() 68 value &= ~pic->level_triggered; in heathrow_write() 69 pic->events &= ~value; in heathrow_write() 83 uint32_t value; in heathrow_read() local 87 value = 0; in heathrow_read() 92 value = pic->events; in heathrow_read() 95 value = pic->mask; in heathrow_read() 98 value = pic->levels; in heathrow_read() 101 value = 0; in heathrow_read() 105 trace_heathrow_read(addr, n, value); in heathrow_read() [all …]
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | phase.c | 485 ucontrol->value.integer.value[i] = in wm_vol_get() 503 vol = ucontrol->value.integer.value[i]; in wm_vol_put() 542 ucontrol->value.integer.value[i] = in wm_mute_get() 560 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put() 563 ucontrol->value.integer.value[i] ? 0 : in wm_mute_put() 586 ucontrol->value.integer.value[0] = in wm_master_mute_get() 588 ucontrol->value.integer.value[1] = in wm_master_mute_get() 607 ucontrol->value.integer.value[i] ? 0 : in wm_master_mute_put() 644 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get() 656 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put() [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | stepwisecontroller.cpp | 88 double value = std::numeric_limits<double>::lowest(); in inputProc() local 91 value = std::max(value, _owner->getCachedValue(in)); in inputProc() 97 << " choose the maximum temperature value: " << value << "\n"; in inputProc() 100 return value; in inputProc() 103 void StepwiseController::outputProc(double value) in outputProc() argument 107 _owner->addRPMCeiling(value); in outputProc() 111 _owner->addSetPoint(value, _id); in outputProc() 114 std::cerr << getID() << " stepwise output pwm: " << value << "\n"; in outputProc()
|
/openbmc/linux/sound/soc/sti/ |
H A D | uniperif.h | 35 #define SET_UNIPERIF_SOFT_RST(ip, value) \ argument 57 #define SET_UNIPERIF_DATA(ip, value) \ argument 68 writel_relaxed(value, ip->base + \ 159 #define SET_UNIPERIF_ITS_BCLR(ip, value) \ argument 275 #define SET_UNIPERIF_CONFIG(ip, value) \ argument 547 #define SET_UNIPERIF_CTRL(ip, value) \ argument 1056 writel_relaxed(value, ip->base + \ 1082 value ? 0x3 : 0) 1138 writel_relaxed(value, ip->base + \ 1185 writel_relaxed(value, ip->base + \ [all …]
|
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_ohci.c | 15 void pci_ohci_write_reg(int reg, u32 value) in pci_ohci_write_reg() argument 17 u32 hi = 0, lo = value; in pci_ohci_write_reg() 22 if (value & PCI_COMMAND_MASTER) in pci_ohci_write_reg() 27 if (value & PCI_COMMAND_MEMORY) in pci_ohci_write_reg() 34 if (value & PCI_STATUS_PARITY) { in pci_ohci_write_reg() 43 if (value == PCI_BAR_RANGE_MASK) { in pci_ohci_write_reg() 47 } else if ((value & 0x01) == 0x00) { in pci_ohci_write_reg() 49 lo = value; in pci_ohci_write_reg() 52 value &= 0xfffffff0; in pci_ohci_write_reg() 53 hi = 0x40000000 | ((value & 0xff000000) >> 24); in pci_ohci_write_reg() [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/ |
H A D | log.hpp | 89 constexpr auto e_size = std::tuple_size<std::decay_t<T>>::value; in log() 99 (std::is_pointer<typename std::decay<T>::type>::value && 102 char>::value)> 109 (std::is_integral<typename std::remove_reference<T>::type>::value || 110 std::is_enum<typename std::remove_reference<T>::type>::value || 112 typename std::remove_reference<T>::type>::value || 113 std::is_pointer<typename std::decay<T>::type>::value)> 135 static_assert(is_char_ptr_argtype<Arg>::value, in entry() 137 static_assert(all_true<is_printf_argtype<Args>::value...>::value, in entry() 158 static_assert((std::is_same<const char*, std::decay_t<Msg>>::value || in log() [all …]
|
/openbmc/qemu/qobject/ |
H A D | qlist.c | 57 void qlist_append_obj(QList *qlist, QObject *value) in qlist_append_obj() argument 62 entry->value = value; in qlist_append_obj() 67 void qlist_append_int(QList *qlist, int64_t value) in qlist_append_int() argument 69 qlist_append(qlist, qnum_from_int(value)); in qlist_append_int() 72 void qlist_append_bool(QList *qlist, bool value) in qlist_append_bool() argument 74 qlist_append(qlist, qbool_from_bool(value)); in qlist_append_bool() 77 void qlist_append_str(QList *qlist, const char *value) in qlist_append_str() argument 79 qlist_append(qlist, qstring_from_str(value)); in qlist_append_str() 99 ret = entry->value; in qlist_pop() 115 return entry->value; in qlist_peek() [all …]
|
/openbmc/phosphor-watchdog/src/ |
H A D | watchdog.cpp | 37 bool Watchdog::enabled(bool value) in enabled() argument 39 if (!value) in enabled() 43 WatchdogInherits::enabled(value); in enabled() 58 return WatchdogInherits::enabled(value); in enabled() 75 uint64_t Watchdog::timeRemaining(uint64_t value) in timeRemaining() argument 86 value = std::max(value, minInterval); in timeRemaining() 92 value = fallback->interval; in timeRemaining() 96 timer.setRemaining(milliseconds(value)); in timeRemaining() 99 return WatchdogInherits::timeRemaining(value); in timeRemaining() 103 uint64_t Watchdog::interval(uint64_t value) in interval() argument [all …]
|
/openbmc/qemu/util/ |
H A D | qemu-option.c | 69 *value = NULL; in get_opt_value() 76 *value = g_renew(char, *value, capacity + length + 1); in get_opt_value() 487 opt->str = value; in opt_create() 727 if (!value) { in qemu_opts_print() 836 char *name, *value; in opts_parse_id() local 845 g_free(value); in opts_parse_id() 854 char *name, *value; in has_help_option() local 860 g_free(value); in has_help_option() 957 const char *value; in qemu_opts_from_qdict_entry() local 969 value = tmp; in qemu_opts_from_qdict_entry() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | io.h | 35 static inline void iowrite8(u8 value, volatile void __iomem *addr) in iowrite8() argument 37 writeb(value, addr); in iowrite8() 40 static inline void iowrite16(u16 value, volatile void __iomem *addr) in iowrite16() argument 42 writew(value, addr); in iowrite16() 45 static inline void iowrite32(u32 value, volatile void __iomem *addr) in iowrite32() argument 47 writel(value, addr); in iowrite32() 52 static inline void iowrite64(u64 value, volatile void __iomem *addr) in iowrite64() argument 54 writeq(value, addr); in iowrite64()
|