Home
last modified time | relevance | path

Searched refs:vtable (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpower_interface.cpp36 serverInterface(bus, path, POWER_IFACE, vtable, this) in PowerInterface()
297 const sdbusplus::vtable::vtable_t PowerInterface::vtable[] = { member in phosphor::power::sequencer::PowerInterface
298 sdbusplus::vtable::start(),
300 sdbusplus::vtable::method("setPowerState", "i", "", callbackSetPowerState),
302 sdbusplus::vtable::method("getPowerState", "", "i", callbackGetPowerState),
304 sdbusplus::vtable::signal("PowerGood", ""),
306 sdbusplus::vtable::signal("PowerLost", ""),
308 sdbusplus::vtable::property("pgood", "i", callbackGetPgood,
309 sdbusplus::vtable::property_::emits_change),
311 sdbusplus::vtable::property("state", "i", callbackGetState,
[all …]
H A Dpower_interface.hpp101 static const sdbusplus::vtable::vtable_t vtable[]; member in phosphor::power::sequencer::PowerInterface
/openbmc/linux/drivers/regulator/
H A Dvctrl-regulator.c44 struct vctrl_voltage_table *vtable; member
175 vctrl->vtable[selector].ctrl, in vctrl_set_voltage_sel()
176 vctrl->vtable[selector].ctrl, in vctrl_set_voltage_sel()
188 next_sel = max_t(unsigned int, selector, vctrl->vtable[vctrl->sel].ovp_min_sel); in vctrl_set_voltage_sel()
191 vctrl->vtable[next_sel].ctrl, in vctrl_set_voltage_sel()
192 vctrl->vtable[next_sel].ctrl, in vctrl_set_voltage_sel()
197 vctrl->vtable[next_sel].ctrl); in vctrl_set_voltage_sel()
202 delay = DIV_ROUND_UP(vctrl->vtable[vctrl->sel].out - in vctrl_set_voltage_sel()
203 vctrl->vtable[next_sel].out, in vctrl_set_voltage_sel()
214 vctrl->vtable[orig_sel].ctrl, in vctrl_set_voltage_sel()
[all …]
H A Dhi6421v600-regulator.c74 #define HI6421V600_LDO(_id, vtable, ereg, emask, vreg, \ argument
85 .volt_table = vtable, \
86 .n_voltages = ARRAY_SIZE(vtable), \
87 .vsel_mask = ARRAY_SIZE(vtable) - 1, \
H A Dhi655x-regulator.c108 sreg, cmask, vtable) { \ argument
117 .n_voltages = ARRAY_SIZE(vtable), \
118 .volt_table = vtable, \
/openbmc/sdbusplus/test/vtable/
H A Dvtable.cpp20 sdbusplus::vtable::start(),
21 sdbusplus::vtable::method("1", "2", "3", &test_handler, 0),
22 sdbusplus::vtable::signal("5", "6"),
23 sdbusplus::vtable::property("7", "8", &test_get,
24 sdbusplus::vtable::property_::const_),
25 sdbusplus::vtable::property("10", "11", &test_get, &test_set),
26 sdbusplus::vtable::property_o("14", "15", &test_get, 16),
27 sdbusplus::vtable::end()};
/openbmc/kcsbridge/src/
H A Dserver.cpp54 constexpr sdbusplus::vtable::vtable_t dbusMethods[] = {
55 sdbusplus::vtable::start(),
56 sdbusplus::vtable::method("setAttention", "", "",
58 sdbusplus::vtable::method("clearAttention", "", "",
60 sdbusplus::vtable::method("forceAbort", "", "",
62 sdbusplus::vtable::end(),
/openbmc/phosphor-power/phosphor-regulators/src/interfaces/
H A Dmanager_interface.cpp107 const sdbusplus::vtable::vtable_t ManagerInterface::_vtable[] = {
108 sdbusplus::vtable::start(),
110 sdbusplus::vtable::method("Configure", "", "", callbackConfigure),
112 sdbusplus::vtable::method("Monitor", "b", "", callbackMonitor),
113 sdbusplus::vtable::end()};
/openbmc/phosphor-led-sysfs/interfaces/
H A Dinternal_interface.cpp35 bus(bus), serverInterface(bus, path, internalInterface, vtable.data(), this) in InternalInterface()
169 const std::array<sdbusplus::vtable::vtable_t, 4> InternalInterface::vtable = { member in phosphor::led::sysfs::interface::InternalInterface
170 sdbusplus::vtable::start(),
172 sdbusplus::vtable::method("AddLED", "s", "", addLedConfigure),
174 sdbusplus::vtable::method("RemoveLED", "s", "", removeLedConfigure),
175 sdbusplus::vtable::end()};
H A Dinternal_interface.hpp107 static const std::array<sdbusplus::vtable::vtable_t, 4> vtable; member in phosphor::led::sysfs::interface::InternalInterface
/openbmc/linux/rust/macros/
H A Dlib.rs13 mod vtable; module
117 pub fn vtable(attr: TokenStream, ts: TokenStream) -> TokenStream { in vtable() function
118 vtable::vtable(attr, ts) in vtable()
/openbmc/sdbusplus/src/server/
H A Dinterface.cpp14 const sdbusplus::vtable_t* vtable, void* context) in makeObjVtable() argument
17 int r = intf->sd_bus_add_object_vtable(bus, &slot, path, interf, vtable, in makeObjVtable()
27 const char* interf, const sdbusplus::vtable_t* vtable, in interface() argument
32 _interf.c_str(), vtable, context)) in interface()
/openbmc/telemetry/src/
H A Dtrigger.cpp53 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
73 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
89 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
117 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
144 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
161 sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
180 "Discrete", isDiscreate(), sdbusplus::vtable::property_::const_, in __anon5e4599b80402()
184 "Name", name, sdbusplus::vtable::property_::emits_change, in __anon5e4599b80402()
196 sdbusplus::vtable::property_::const_, [this](const auto&) { in __anon5e4599b80402()
H A Dreport.cpp196 "Enabled", sdbusplus::vtable::property_::emits_change, in makeReportInterface()
258 "Interval", sdbusplus::vtable::property_::emits_change, in makeReportInterface()
261 "Persistency", sdbusplus::vtable::property_::emits_change, in makeReportInterface()
280 sdbusplus::vtable::property_::emits_change, in makeReportInterface()
283 "ReportingType", sdbusplus::vtable::property_::emits_change, in makeReportInterface()
287 sdbusplus::vtable::property_::emits_change, in makeReportInterface()
304 sdbusplus::vtable::property_::none, in makeReportInterface()
309 "Name", sdbusplus::vtable::property_::const_, in makeReportInterface()
312 sdbusplus::vtable::property_::const_, in makeReportInterface()
318 "ReportActions", sdbusplus::vtable::property_::emits_change, in makeReportInterface()
[all …]
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dinterface.server.cpp.mako59 vtable::start(),
62 ${ m.render(loader, "method.server.vtable.cpp.mako", method=m, interface=interface) }
65 ${ s.render(loader, "signal.server.vtable.cpp.mako", signal=s, interface=interface) }
68 ${ p.render(loader, "property.server.vtable.cpp.mako", property=p, interface=interface) }
70 vtable::end()
H A Dinterface.aserver.hpp.mako123 vtable::start(),
126 ${p.render(loader, "property.aserver.vtable.hpp.mako", property=p, interface=interface)}\
129 ${m.render(loader, "method.aserver.vtable.hpp.mako", method=m, interface=interface)}\
132 ${s.render(loader, "signal.aserver.vtable.hpp.mako", signal=s, interface=interface)}\
135 vtable::end(),
H A Dproperty.aserver.vtable.hpp.mako1 vtable::property("${property.name}",
8 vtable::property_::emits_change\
H A Dproperty.server.vtable.cpp.mako1 vtable::property("${property.name}",
8 vtable::property_::emits_change\
H A Dsignal.aserver.vtable.hpp.mako1 vtable::signal(
H A Dsignal.server.vtable.cpp.mako1 vtable::signal("${signal.name}",
H A Dmethod.aserver.vtable.hpp.mako1 vtable::method("${method.name}",
/openbmc/sdbusplus/test/
H A Dmeson.build78 'test-vtable',
80 'test-vtable',
81 'vtable/vtable.cpp',
82 'vtable/vtable_c.c',
/openbmc/sdbusplus/tools/
H A Dmeson.build35 'sdbusplus/templates/method.aserver.vtable.hpp.mako',
39 'sdbusplus/templates/method.server.vtable.cpp.mako',
46 'sdbusplus/templates/property.aserver.vtable.hpp.mako',
49 'sdbusplus/templates/property.server.vtable.cpp.mako',
53 'sdbusplus/templates/signal.aserver.vtable.hpp.mako',
55 'sdbusplus/templates/signal.server.vtable.cpp.mako',
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dobject_server.hpp505 vtable::property_::emits_change, in register_property()
511 name, property, vtable::property_::emits_change, in register_property()
524 name, property, vtable::property_::emits_change, in register_property()
539 name, property, vtable::property_::emits_change, in register_property()
749 vtable_.emplace_back(vtable::start()); in initialize()
755 vtable_.emplace_back(vtable::property_o( in initialize()
762 vtable_.emplace_back(vtable::property_o( in initialize()
772 vtable_.emplace_back(vtable::method_o( in initialize()
783 vtable::signal(element.name_.c_str(), element.signature_)); in initialize()
786 vtable_.emplace_back(vtable::end()); in initialize()
/openbmc/sdbusplus/example/
H A Dget-all-properties.cpp29 propertyGrettingName, sdbusplus::vtable::property_::const_, in Application()
33 propertyGoodbyesName, sdbusplus::vtable::property_::emits_change, in Application()
41 propertyValueName, sdbusplus::vtable::property_::const_, in Application()

12