Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dxor_regs.h16 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
17 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
20 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
21 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x10 + ((chan) * 4))) argument
22 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x20 + ((chan) * 4))) argument
25 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x30) argument
26 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x40) argument
27 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x50) argument
28 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x60) argument
31 #define XOR_NEXT_DESC_PTR_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x200 + ((chan) * 4))) argument
[all …]
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dxor_regs.h16 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
17 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
20 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
21 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
23 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
27 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x30)) argument
28 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x40)) argument
29 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x50)) argument
30 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x60)) argument
33 #define XOR_NEXT_DESC_PTR_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
[all …]
/openbmc/qemu/hw/timer/
H A Dgrlib_gptimer.c70 GPTimerUnit *unit; member
139 static void grlib_gptimer_set_scaler(GPTimerUnit *unit, uint32_t scaler) in grlib_gptimer_set_scaler() argument
144 assert(unit != NULL); in grlib_gptimer_set_scaler()
147 value = unit->freq_hz / (scaler + 1); in grlib_gptimer_set_scaler()
149 value = unit->freq_hz; in grlib_gptimer_set_scaler()
154 for (i = 0; i < unit->nr_timers; i++) { in grlib_gptimer_set_scaler()
155 ptimer_transaction_begin(unit->timers[i].ptimer); in grlib_gptimer_set_scaler()
156 ptimer_set_freq(unit->timers[i].ptimer, value); in grlib_gptimer_set_scaler()
157 ptimer_transaction_commit(unit->timers[i].ptimer); in grlib_gptimer_set_scaler()
184 GPTimerUnit *unit = opaque; in grlib_gptimer_read() local
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-phosphor-dbus-service.bbclass36 def make_default_dbus_config(d, unit, user):
37 bus = unit.base
38 if unit.is_template:
43 with open('%s/%s.conf' % (path, unit.base), 'w+') as fd:
55 def make_default_dbus_activation(d, unit, user):
56 dest = unit.base
57 sd_unit = unit.name
58 if unit.is_instance:
59 dest = '%s.%s' % (unit.base, unit.instance)
60 sd_unit = '%s@%s' % (unit.base, unit.instance)
[all …]
H A Dobmc-phosphor-systemd.bbclass13 # INHIBIT_SYSTEMD_RESTART_POLICY_${unit}
14 # Inhibit the warning that is displayed if a service unit without a
25 # SYSTEMD_USER_${unit}.service = "foo"
26 # The user for the unit/package.
38 # A specification for installing unit overrides where:
62 def SystemdUnit(unit):
64 def __init__(self, unit):
65 self.unit = unit
69 return self.unit
71 return self.unit.startswith('dbus-')
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/systemd/systemd-systemctl/
H A Dsystemctl163 def __init__(self, path, unit): argument
165 self.unit = unit
169 def __init__(self, root, unit): argument
171 self.unit = unit
174 def _path_for_unit(self, unit): argument
176 path = self.root / location / "system" / unit
180 raise SystemdUnitNotFoundError(self.root, unit)
197 template = re.match(r"[^@]+@(?P<instance>[^\.]*)\.", self.unit)
200 unit = re.sub(r"@[^\.]*\.", "@.", self.unit, 1)
203 unit = self.unit
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_json_unittest.cpp32 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
36 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
60 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
64 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
89 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
93 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
118 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
122 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
143 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
147 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
[all …]
/openbmc/phosphor-state-manager/
H A Dsystemd_target_signal.cpp55 const std::string& unit) in logError() argument
65 std::pair<std::string, std::string>({"SYSTEMD_UNIT", unit})})); in logError()
78 std::string SystemdTargetLogging::processError(const std::string& unit, in processError() argument
81 auto targetEntry = this->targetData.find(unit); in processError()
91 "UNIT", unit, "RESULT", result); in processError()
100 if (std::find(this->serviceData.begin(), this->serviceData.end(), unit) != in processError()
107 "UNIT", unit, "RESULT", result); in processError()
125 std::string unit{}; in systemdUnitChange() local
128 msg.read(id, objPath, unit, result); in systemdUnitChange()
133 const std::string error = processError(unit, result); in systemdUnitChange()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp77 Unit unit; local
79 getTypeBasedProperties(objectPath, unit, minValue, maxValue);
95 dbusObject->unit(unit, skipSignal);
175 void DBusSensor::getTypeBasedProperties(std::string& objectPath, Unit& unit, in getTypeBasedProperties() argument
183 unit = Unit::Amperes; in getTypeBasedProperties()
192 unit = Unit::Amperes; in getTypeBasedProperties()
200 unit = Unit::Amperes; in getTypeBasedProperties()
208 unit = Unit::Watts; in getTypeBasedProperties()
217 unit = Unit::DegreesC; in getTypeBasedProperties()
226 unit = Unit::DegreesC; in getTypeBasedProperties()
[all …]
/openbmc/qemu/hw/rx/
H A Drx62n.c159 static void register_tmr(RX62NState *s, int unit) in register_tmr() argument
165 &s->tmr[unit], TYPE_RENESAS_TMR); in register_tmr()
166 tmr = SYS_BUS_DEVICE(&s->tmr[unit]); in register_tmr()
170 irqbase = RX62N_TMR_IRQ + TMR_NR_IRQ * unit; in register_tmr()
175 sysbus_mmio_map(tmr, 0, RX62N_TMR_BASE + unit * 0x10); in register_tmr()
178 static void register_cmt(RX62NState *s, int unit) in register_cmt() argument
184 &s->cmt[unit], TYPE_RENESAS_CMT); in register_cmt()
185 cmt = SYS_BUS_DEVICE(&s->cmt[unit]); in register_cmt()
189 irqbase = RX62N_CMT_IRQ + CMT_NR_IRQ * unit; in register_cmt()
194 sysbus_mmio_map(cmt, 0, RX62N_CMT_BASE + unit * 0x10); in register_cmt()
[all …]
/openbmc/qemu/hw/ide/
H A Dide-dev.c33 DEFINE_PROP_UINT32("unit", IDEDevice, unit, -1),
43 if (dev->unit == -1) { in ide_qdev_realize()
44 dev->unit = bus->master ? 1 : 0; in ide_qdev_realize()
47 if (dev->unit >= bus->max_units) { in ide_qdev_realize()
49 dev->unit, bus->max_units); in ide_qdev_realize()
53 switch (dev->unit) { in ide_qdev_realize()
56 error_setg(errp, "IDE unit %d is in use", dev->unit); in ide_qdev_realize()
63 error_setg(errp, "IDE unit %d is in use", dev->unit); in ide_qdev_realize()
69 error_setg(errp, "Invalid IDE unit %d", dev->unit); in ide_qdev_realize()
78 IDEState *s = bus->ifs + dev->unit; in ide_dev_initfn()
[all …]
H A Dide-bus.c74 IDEDevice *ide_bus_create_drive(IDEBus *bus, int unit, DriveInfo *drive) in ide_bus_create_drive() argument
79 qdev_prop_set_uint32(dev, "unit", unit); in ide_bus_create_drive()
86 int ide_get_geometry(BusState *bus, int unit, in ide_get_geometry() argument
89 IDEState *s = &DO_UPCAST(IDEBus, qbus, bus)->ifs[unit]; in ide_get_geometry()
101 int ide_get_bios_chs_trans(BusState *bus, int unit) in ide_get_bios_chs_trans() argument
103 return DO_UPCAST(IDEBus, qbus, bus)->ifs[unit].chs_trans; in ide_get_bios_chs_trans()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/asio/asio/
H A D0001-tests-Remove-blocking_adaptation.cpp.patch28 unit/error \
29 unit/execution/any_executor \
30 unit/execution/blocking \
31 - unit/execution/blocking_adaptation \
32 unit/execution/context_as \
33 unit/execution/executor \
34 unit/execution/invocable_archetype \
/openbmc/qemu/stats/
H A Dstats-hmp-cmds.c19 const char *unit = NULL; in print_stats_schema_value() local
24 if (value->unit == STATS_UNIT_SECONDS) { in print_stats_schema_value()
25 unit = "s"; in print_stats_schema_value()
26 } else if (value->unit == STATS_UNIT_BYTES) { in print_stats_schema_value()
27 unit = "B"; in print_stats_schema_value()
31 if (unit && value->base == 10 && in print_stats_schema_value()
35 } else if (unit && value->base == 2 && in print_stats_schema_value()
45 unit = NULL; in print_stats_schema_value()
49 monitor_puts(mon, unit ? unit : StatsUnit_str(value->unit)); in print_stats_schema_value()
/openbmc/qemu/util/
H A Dcutils.c169 static int64_t suffix_mul(char suffix, int64_t unit) in suffix_mul() argument
175 return unit; in suffix_mul()
177 return unit * unit; in suffix_mul()
179 return unit * unit * unit; in suffix_mul()
181 return unit * unit * unit * unit; in suffix_mul()
183 return unit * unit * unit * unit * unit; in suffix_mul()
185 return unit * unit * unit * unit * unit * unit; in suffix_mul()
224 const char default_suffix, int64_t unit, in do_strtosz() argument
244 if (*endptr == '.' || suffix_mul(*endptr, unit) > 0) { in do_strtosz()
313 mul = suffix_mul(c, unit); in do_strtosz()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/
H A Dbuildjson.cpp38 const auto& unit = data.at("unit"); in buildFileSystemd() local
49 sdbusplus::bus::new_default(), path, unit, systemdMode); in buildFileSystemd()
56 const auto& unit = data.at("unit"); in buildSystemd() local
67 unit, systemdMode); in buildSystemd()
/openbmc/qemu/include/hw/ide/
H A Dide-bus.h18 uint8_t unit; member
36 IDEDevice *ide_bus_create_drive(IDEBus *bus, int unit, DriveInfo *drive);
38 int ide_get_geometry(BusState *bus, int unit,
40 int ide_get_bios_chs_trans(BusState *bus, int unit);
/openbmc/openbmc/poky/meta/lib/oe/
H A Doverlayfs.py23 def mountUnitName(unit): argument
24 return escapeSystemdUnitName(unit) + '.mount'
26 def helperUnitName(unit): argument
27 return escapeSystemdUnitName(unit) + '-create-upper-dir.service'
/openbmc/openbmc/poky/meta/conf/machine/include/arm/
H A Dfeature-arm-neon.inc7 TUNEVALID[neon] = "Enable Neon SIMD accelerator unit."
10 TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit."
13 TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit."
16 TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit."
20 TUNEVALID[vfpv4d16] = "Enable Vector Floating Point Version 4 with 16 registers (vfpv4-d16) unit."
23 …= "Enable Vector Floating Point Version 5, Single Precision. with 16 registers (fpv5-sp-d16) unit."
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/systemd/
H A D1000-socket-resolve-unit-specifiers-in-BindToDevice.patch4 Subject: [PATCH] socket: resolve unit specifiers in BindToDevice
6 There are cases where templated Socket unit files are used for network services
34 - log_syntax(unit, LOG_WARNING, filename, line, 0, "Invalid interface name, ignoring…
37 + log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to resolve unit specifier…
42 + log_syntax(unit, LOG_WARNING, filename, line, 0, "Invalid interface name, ignoring…
/openbmc/phosphor-pid-control/dbus/
H A Ddbusutil.cpp93 std::string unit; in getSensorUnit() local
96 unit = "xyz.openbmc_project.Sensor.Value.Unit.RPMS"; in getSensorUnit()
100 unit = "xyz.openbmc_project.Sensor.Value.Unit.DegreesC"; in getSensorUnit()
104 unit = "xyz.openbmc_project.Sensor.Value.Unit.Watts"; in getSensorUnit()
108 unit = "unknown"; in getSensorUnit()
110 return unit; in getSensorUnit()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/
H A Dlog_json_unittest.cpp45 "unit" : "absolute" in TEST()
71 "unit" : "phosphor-ipmi-flash-log-sink-sequencer.target" in TEST()
96 "unit" : "absolute"} in TEST()
117 "unit" : "absolute"} in TEST()
171 "unit" : "absolute" in TEST()
186 "unit" : "absolute" in TEST()
201 "unit" : "absolute" in TEST()
227 "unit" : "absolute" in TEST()
274 "unit" : "absolute", in TEST()
290 "unit" : "absolute", in TEST()
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/
H A Dversion_json_unittest.cpp31 "unit" : "absolute" in TEST()
57 "unit" : "phosphor-ipmi-flash-version-sink-sequencer.target" in TEST()
82 "unit" : "absolute"} in TEST()
103 "unit" : "absolute"} in TEST()
157 "unit" : "absolute" in TEST()
172 "unit" : "absolute" in TEST()
187 "unit" : "absolute" in TEST()
213 "unit" : "absolute" in TEST()
260 "unit" : "absolute", in TEST()
276 "unit" : "absolute", in TEST()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dconfig-static-bmc.json.in10 "unit": "@PREPARATION_DBUS_SERVICE@" string
14 "unit": "@VERIFY_DBUS_SERVICE@" string
18 "unit": "@UPDATE_DBUS_SERVICE@" string
H A Dconfig-bios.json.in10 "unit": "@PREPARATION_BIOS_TARGET@" string
14 "unit": "@VERIFY_BIOS_TARGET@" string
18 "unit": "@UPDATE_BIOS_TARGET@" string

12345678910>>...20