/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 28 '#sound-dai-cells': 33 reset-gpios: 36 VA-supply: 39 VP-supply: [all …]
|
/openbmc/bmcweb/http/ |
H A D | websocket_impl.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 14 #include <boost/asio/buffer.hpp> 15 #include <boost/asio/error.hpp> 16 #include <boost/asio/ssl/error.hpp> 17 #include <boost/beast/core/error.hpp> 18 #include <boost/beast/core/multi_buffer.hpp> 19 #include <boost/beast/core/role.hpp> 20 #include <boost/beast/http/field.hpp> 21 #include <boost/beast/http/message.hpp> [all …]
|
H A D | http2_connection.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 16 // NOLINTNEXTLINE(misc-include-cleaner) 22 #include <boost/asio/buffer.hpp> 23 #include <boost/asio/ssl/stream.hpp> 24 #include <boost/beast/core/error.hpp> 25 #include <boost/beast/http/field.hpp> 26 #include <boost/beast/http/fields.hpp> 27 #include <boost/beast/http/message.hpp> 28 #include <boost/beast/http/verb.hpp> [all …]
|
/openbmc/bmcweb/include/ |
H A D | http_utility.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 5 #include <boost/spirit/home/x3/char/char.hpp> 6 #include <boost/spirit/home/x3/char/char_class.hpp> 7 #include <boost/spirit/home/x3/core/parse.hpp> 8 #include <boost/spirit/home/x3/directive/no_case.hpp> 9 #include <boost/spirit/home/x3/directive/omit.hpp> 10 #include <boost/spirit/home/x3/numeric/uint.hpp> 11 #include <boost/spirit/home/x3/operator/alternative.hpp> 12 #include <boost/spirit/home/x3/operator/kleene.hpp> [all …]
|
H A D | openbmc_dbus_rest.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation 18 #include <systemd/sd-bus-protocol.h> 19 #include <systemd/sd-bus.h> 22 #include <boost/beast/http/field.hpp> 23 #include <boost/beast/http/status.hpp> 24 #include <boost/beast/http/verb.hpp> 25 #include <boost/container/flat_map.hpp> 26 #include <boost/system/error_code.hpp> [all …]
|
/openbmc/dbus-sensors/src/intel-cpu/ |
H A D | IntelCPUSensorMain.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 24 #include <boost/algorithm/string/replace.hpp> 25 #include <boost/asio/error.hpp> 26 #include <boost/asio/io_context.hpp> 27 #include <boost/asio/steady_timer.hpp> 28 #include <boost/container/flat_map.hpp> 29 #include <boost/container/flat_set.hpp> 30 #include <phosphor-logging/lg2.hpp> 58 // clang-format off 60 #include <linux/peci-ioctl.h> [all …]
|
/openbmc/dbus-sensors/src/nvidia-gpu/ |
H A D | MctpRequester.cpp | 2 * SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & 4 * SPDX-License-Identifier: Apache-2.0 13 #include <boost/asio/buffer.hpp> 14 #include <boost/asio/error.hpp> 15 #include <boost/asio/generic/datagram_protocol.hpp> 16 #include <boost/asio/io_context.hpp> 17 #include <boost/asio/steady_timer.hpp> 18 #include <phosphor-logging/lg2.hpp> 33 MctpRequester::MctpRequester(boost::asio::io_context& ctx) : in MctpRequester() 34 mctpSocket(ctx, boost::asio::generic::datagram_protocol{AF_MCTP, 0}), in MctpRequester() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | types.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 #include <boost/multiprecision/cpp_int.hpp> 19 #include <boost/version.hpp> 31 // unsigned fixed-bit sizes 34 boost::multiprecision::number<boost::multiprecision::cpp_int_backend< 35 N, N, boost::multiprecision::unsigned_magnitude, 36 boost::multiprecision::unchecked, void>>; 37 // signed fixed-bit sizes 40 boost::multiprecision::number<boost::multiprecision::cpp_int_backend< 41 N, N, boost::multiprecision::signed_magnitude, [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | update_service.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation 35 #include <boost/asio/error.hpp> 36 #include <boost/asio/steady_timer.hpp> 37 #include <boost/beast/http/fields.hpp> 38 #include <boost/beast/http/status.hpp> 39 #include <boost/beas 355 handleUpdateErrorType(const std::shared_ptr<bmcweb::AsyncResp> & asyncResp,const std::string & url,const std::string & type) handleUpdateErrorType() argument 432 const std::string* type = afterUpdateErrorMatcher() local [all...] |
H A D | virtual_media.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation 19 #include <boost/beast/http/status.hpp> 20 #include <boost/beast/http/verb.hpp> 21 #include <boost/system/result.hpp> 22 #include <boost/url/format.hpp> 23 #include <boost/url/parse.hpp> 24 #include <boost/url/url_view.hpp> 25 #include <boost/url/url_view_base.hpp> [all …]
|
H A D | aggregation_service.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 15 #include <boost/beast/http/field.hpp> 16 #include <boost/beast/http/verb.hpp> 17 #include <boost/url/format.hpp> 18 #include <boost/url/url.hpp> 37 asyncResp->res.addHeader( in handleAggregationServiceHead() 38 boost::beast::http::field::link, in handleAggregationServiceHead() 50 asyncResp->res.addHeader( in handleAggregationServiceGet() 51 boost::beast::http::field::link, in handleAggregationServiceGet() [all …]
|
H A D | storage.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2019 Intel Corporation 25 #include <boost/beast/http/verb.hpp> 26 #include <boost/system/error_code.hpp> 27 #include <boost/url/format.hpp> 59 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleSystemsStorageCollectionGet() 64 asyncResp->res.jsonValue["@odata.type"] = in handleSystemsStorageCollectionGet() 66 asyncResp->res.jsonValue["@odata.id"] = std::format( in handleSystemsStorageCollectionGet() 68 asyncResp->res.jsonValue["Name"] = "Storage Collection"; in handleSystemsStorageCollectionGet() [all …]
|
H A D | trigger.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 26 #include <asm-generic/errno.h> 28 #include <boost/beast/http/status.hpp> 29 #include <boost/beast/http/verb.hpp> 30 #include <boost/system/result.hpp> 31 #include <boost/url/format.hpp> 32 #include <boost/url/parse.hpp> 33 #include <boost/url/url.hpp> 34 #include <boost/url/url_view.hpp> [all …]
|
/openbmc/boost-dbus/include/dbus/ |
H A D | element.hpp | 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 12 #include <boost/cstdint.hpp> 13 #include <boost/variant.hpp> 19 * D-Bus Messages are composed of simple elements of one of these types 22 // http://maemo.org/api_refs/5.0/5.0-final/dbus/api/group__DBusTypes.html 23 typedef boost::uint8_t byte; 25 typedef boost::int16_t int16; 26 typedef boost::uint16_t uint16; 27 typedef boost::int32_t int32; [all …]
|
H A D | properties.hpp | 10 #include <boost/algorithm/string/predicate.hpp> 11 #include <boost/container/flat_map.hpp> 12 #include <boost/container/flat_set.hpp> 17 const std::string& type) in DbusArgument() 18 : direction(direction), name(name), type(type){}; in DbusArgument() 21 std::string type; member 39 inline typename std::enable_if<TupleIndex == sizeof...(Tp), void>::type 43 // Case for when I < the size of tuple args. Unpacks the tuple type into the 47 TupleIndex<sizeof...(Tp), void>::type arg_types( 50 typedef typename std::tuple_element<TupleIndex, std::tuple<Tp...>>::type [all …]
|
/openbmc/dbus-sensors/src/smbpbi/ |
H A D | SmbpbiSensor.cpp | 2 * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & 4 * SPDX-License-Identifier: Apache-2.0 16 #include <boost/asio/error.hpp> 17 #include <boost/asio/io_context.hpp> 18 #include <boost/asio/post.hpp> 19 #include <boost/container/flat_map.hpp> 20 #include <phosphor-logging/lg2.hpp> 41 #include <linux/i2c-dev.h> 52 boost::container::flat_map<std::string, std::unique_ptr<SmbpbiSensor>> sensors; 56 boost::asio::io_context& io, const std::string& sensorName, in SmbpbiSensor() [all …]
|
/openbmc/dbus-sensors/src/ipmb/ |
H A D | IpmbSensorMain.cpp | 5 #include <boost/asio/error.hpp> 6 #include <boost/asio/io_context.hpp> 7 #include <boost/asio/post.hpp> 8 #include <boost/asio/steady_timer.hpp> 9 #include <boost/container/flat_map.hpp> 10 #include <phosphor-logging/lg2.hpp> 27 std::unique_ptr<boost::asio::steady_timer> initCmdTimer; 28 boost::container::flat_map<std::string, std::shared_ptr<IpmbSensor>> sensors; 29 boost::container::flat_map<uint8_t, std::shared_ptr<IpmbSDRDevice>> sdrsensor; 32 boost::container::flat_map<uint8_t, std::shared_ptr<IpmbSDRDevice>> in sdrHandler() [all …]
|
/openbmc/bmcweb/redfish-core/lib/openbmc/ |
H A D | openbmc_managers.hpp | 17 #include <boost/asio/post.hpp> 18 #include <boost/beast/http/status.hpp> 19 #include <boost/container/flat_map.hpp> 20 #include <boost/container/flat_set.hpp> 21 #include <boost/url/format.hpp> 22 #include <boost/url/url.hpp> 65 const boost::system::error_code& ec, in asyncPopulatePid() 70 messages::internalError(asyncResp->res); in asyncPopulatePid() 73 nlohmann::json& configRoot = asyncResp->res.jsonValue["Fan"]; in asyncPopulatePid() 75 fans["@odata.type"] in asyncPopulatePid() 563 createPidInterface(const std::shared_ptr<bmcweb::AsyncResp> & response,const std::string & type,std::string_view name,nlohmann::json & jsonValue,const std::string & path,const dbus::utility::ManagedObjectType & managedObj,bool createNewObject,dbus::utility::DBusPropertiesMap & output,std::string & chassis,const std::string & profile) createPidInterface() argument 1281 const std::string& type = containerPair.first; pidSetDone() local [all...] |
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utils.hpp | 3 #include <boost/system/error_code.hpp> 4 #include <ipmid/api-types.hpp> 7 #include <phosphor-logging/lg2.hpp> 33 * than the default 25s D-Bus timeout. */ 50 * @param[in] intf - The interface used for each lookup 51 * @param[in] path - The path used for each lookup 59 * @param[in] bus - The bus associated with and used for looking 69 * @param[in] bus - The bus used for calling the method 70 * @param[in] intf - The interface containing the method 71 * @param[in] method - The method name [all …]
|
/openbmc/entity-manager/src/entity_manager/ |
H A D | overlay.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 23 #include <boost/algorithm/string/predicate.hpp> 24 #include <boost/algorithm/string/replace.hpp> 25 #include <boost/asio/io_context.hpp> 26 #include <boost/asio/steady_timer.hpp> 27 #include <boost/container/flat_map.hpp> 28 #include <boost/container/flat_set.hpp> 30 #include <phosphor-logging/lg2.hpp> 42 constexpr const char* muxSymlinkDir = "/dev/i2c-mux"; 44 const std::regex illegalNameRegex("[^A-Za-z0-9_]"); [all …]
|
H A D | entity_manager.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include <boost/algorithm/string/case_conv.hpp> 30 #include <boost/algorithm/string/classification.hpp> 31 #include <boost/algorithm/string/predicate.hpp> 32 #include <boost/algorithm/string/replace.hpp> 33 #include <boost/algorithm/string/split.hpp> 34 #include <boost/asio/io_context.hpp> 35 #include <boost/asio/post.hpp> 36 #include <boost/asio/steady_timer.hpp> 37 #include <boost/containe 253 auto type = config[0].type(); postToDbus() local [all...] |
/openbmc/s2600wf-misc/hsbp-manager/include/ |
H A D | utils.hpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 17 #include <systemd/sd-journal.h> 19 #include <boost/algorithm/string/predicate.hpp> 20 #include <boost/asio/io_context.hpp> 21 #include <boost/asio/steady_timer.hpp> 22 #include <boost/container/flat_map.hpp> 133 static boost::asio::steady_timer timer(conn->get_io_context()); in setupPowerMatch() 143 "type='signal',interface='" + std::string(properties::interface) + in setupPowerMatch() 148 boost::container::flat_map<std::string, std::variant<std::string>> in setupPowerMatch() 154 bool on = boost::ends_with( in setupPowerMatch() [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | DeviceMgmt.hpp | 7 #include <boost/algorithm/string/replace.hpp> 8 #include <boost/container/flat_map.hpp> 9 #include <phosphor-logging/lg2.hpp> 40 boost::container::flat_map<std::string, I2CDeviceType, I2CDeviceComparator>; 44 I2CDeviceParams(const I2CDeviceType& type, uint64_t bus, uint64_t address) : in I2CDeviceParams() 45 type(&type), bus(bus), address(address) {}; in I2CDeviceParams() 47 const I2CDeviceType* type; member 72 // tangle of header-dependency hell because each header needs types declared 85 return boost::replace_all_copy(fullName, " ", "_") in sensorNameFind() 86 .find(boost::replace_all_copy(partialName, " ", "_")); in sensorNameFind() [all …]
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | dbus_utils.cpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 9 #include <boost/beast/http/status.hpp> 10 #include <boost/system/errc.hpp> 29 boost::system::error_code ec; in TEST() 34 EXPECT_EQ(asyncResp->res.result(), boost::beast::http::status::no_content); in TEST() 42 boost::system::error_code ec; in TEST() 47 EXPECT_EQ(asyncResp->res.result(), boost::beast::http::status::ok); in TEST() 48 EXPECT_EQ(asyncResp->res.jsonValue, in TEST() 52 "@odata.type": "#Message.v1_1_1.Message", in TEST() [all …]
|
/openbmc/service-config-manager/src/ |
H A D | main.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 18 #include <boost/algorithm/string/replace.hpp> 28 std::unique_ptr<boost::asio::steady_timer> timer = nullptr; 29 std::unique_ptr<boost::asio::steady_timer> initTimer = nullptr; 34 static constexpr const char* srvCfgMgrFile = "/etc/srvcfg-mgr.json"; 35 static constexpr const char* tmpFileBad = "/tmp/srvcfg-mgr.json.bad"; 41 managedServices = {{"phosphor-ipmi-net", false}, {"bmcweb", false}, 42 {"phosphor-ipmi-kcs", false}, {"obmc-ikvm", false}, 43 {"obmc-console", false}, {"dropbear", true}, 44 {"obmc-console-ssh", true}, {"ssifbridge", false}}; [all …]
|