/openbmc/linux/Documentation/gpu/ |
H A D | kms-properties.csv | 2 ,DVI-I,“subconnector”,ENUM,"{ “Unknown”, “DVI-D”, “DVI-A” }",Connector,TBD 3 ,,“select subconnector”,ENUM,"{ “Automatic”, “DVI-D”, “DVI-A” }",Connector,TBD 7 ,,“left margin”,RANGE,"Min=0, Max=100",Connector,TBD 8 ,,“right margin”,RANGE,"Min=0, Max=100",Connector,TBD 9 ,,“top margin”,RANGE,"Min=0, Max=100",Connector,TBD 10 ,,“bottom margin”,RANGE,"Min=0, Max=100",Connector,TBD 11 ,,“brightness”,RANGE,"Min=0, Max=100",Connector,TBD 12 ,,“contrast”,RANGE,"Min=0, Max=100",Connector,TBD 13 ,,“flicker reduction”,RANGE,"Min=0, Max=100",Connector,TBD 14 ,,“overscan”,RANGE,"Min=0, Max=100",Connector,TBD [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | fan.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 #include <phosphor-logging/log.hpp> 65 for (const auto& s : def.sensorList) in Fan() 73 _trustManager->registerSensor(_sensors.back()); in Fan() 82 // the inventory update threw an exception, possibly because D-Bus in Fan() 84 // false-alarm. They will be updated again from subscribing to the in Fan() 85 // properties-changed event in Fan() 87 for (auto& sensor : _sensors) in Fan() 88 sensor->setFunctional(true); in Fan() 127 _fanMissingErrorTimer->restartOnce( in Fan() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | e1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999 - 2013 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Speed and Duplex Configuration 16 - Additional Configurations 17 - Support 50 ------- 54 :Valid Range: 0x01-0x0F, 0x20-0x2F 57 This parameter is a bit-mask that specifies the speed and duplex settings [all …]
|
H A D | e1000e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2008-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Support 48 --------------------- 49 :Valid Range: 0,1,3,4,100-100000 82 - 0: Off 86 - 1: Dynamic mode [all …]
|
/openbmc/libpldm/tests/dsp/ |
H A D | base.cpp | 14 constexpr auto hdrSize = sizeof(pldm_msg_hdr); 23 auto rc = pack_pldm_header(hdr_ptr, &msg); in TEST() 39 // Instance ID out of range in TEST() 45 // PLDM type out of range in TEST() 58 // Message type is REQUEST and lower range of the field values in TEST() 64 auto rc = pack_pldm_header(&hdr, &msg); in TEST() 72 // Message type is REQUEST and upper range of the field values in TEST() 102 // Message type is PLDM_RESPONSE and lower range of the field values in TEST() 108 auto rc = pack_pldm_header(&hdr, &msg); in TEST() 116 // Message type is PLDM_RESPONSE and upper range of the field values in TEST() [all …]
|
/openbmc/intel-ipmi-oem/include/ |
H A D | sensorutils.hpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 26 static constexpr int16_t minInt10 = -0x200; 28 static constexpr int8_t minInt4 = -8; 36 auto min10 = static_cast<double>(minInt10); in baseInRange() 37 auto max10 = static_cast<double>(maxInt10); in baseInRange() 43 // Ensures floating-point "base" is within bounds, 46 // the floating-point "base" will be as large as possible, 53 // Returns true if successful, modifies values in-place 56 // Comparing with zero should be OK, zero is special in floating-point in scaleFloatExp() 63 // As long as base value is within allowed range, expand precision in scaleFloatExp() [all …]
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sensorutils.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "dbus-sdr/sensorutils.hpp" 29 auto min10 = static_cast<double>(minInt10); in baseInRange() 30 auto max10 = static_cast<double>(maxInt10); in baseInRange() 36 // Ensures floating-point "base" is within bounds, 39 // the floating-point "base" will be as large as possible, 46 // Returns true if successful, modifies values in-place 49 // Comparing with zero should be OK, zero is special in floating-point in scaleFloatExp() 56 // As long as base value is within allowed range, expand precision in scaleFloatExp() 68 --expShift; in scaleFloatExp() [all …]
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | ints.c | 2 * linux/arch/m68k/kernel/ints.c -- Linux/m68k general interrupt handling code 35 .name = "auto", 69 * @handler: called from auto vector interrupts 71 * setup the handler to be called from auto vector interrupts instead of the 72 * standard do_IRQ(), it will be called with irq numbers in the range 73 * from IRQ_AUTO_1 - IRQ_AUTO_7. 87 * setup user vector interrupts, this includes activating the specified range 89 * different from auto vector interrupts). 99 *user_irqvec_fixup = vec - IRQ_USER; in m68k_setup_user_interrupt() 110 * Change the controller for the specified range of irq, which will be used to [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __intrusive_ptr.hpp | 52 static_assert(_Bit < _ReservedBits, "Bit index out of range"); in __bit() 69 auto __intrusive_from_this() noexcept 70 -> __intrusive_ptr<_Ty, _ReservedBits>; 71 auto __intrusive_from_this() const noexcept 72 -> __intrusive_ptr<const _Ty, _ReservedBits>; 89 STDEXEC_PRAGMA_IGNORE_GNU("-Wtsan") 115 auto __value() noexcept -> _Ty& in __value() 122 auto __old = __ref_count_.fetch_add(__ref_count_increment, in __inc_ref_() 129 auto __old = __ref_count_.fetch_sub(__ref_count_increment, in __dec_ref_() 142 auto __old = __ref_count_.load(std::memory_order_relaxed); in __is_set_() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | brcm,brcmstb-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kamal Dasu <kdasu.kdev@gmail.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - brcm,bcm2711-hdmi-i2c 19 - brcm,brcmstb-i2c 20 - brcm,brcmper-i2c 25 - description: BSC register range [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-camera.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _camera-controls: 13 .. _camera-control-id: 23 .. _v4l2-exposure-auto-type: 28 enum v4l2_exposure_auto_type - 37 .. flat-table:: 38 :header-rows: 0 39 :stub-columns: 0 41 * - ``V4L2_EXPOSURE_AUTO`` 42 - Automatic exposure time, automatic iris aperture. [all …]
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuswrite.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 21 #include <phosphor-logging/log.hpp> 45 connectionName = helper->getService(pwmInterface, path); in createDbusWrite() 65 double range = maximum - minimum; in write() local 66 double offset = range * value; in write() 80 auto writeBus = sdbusplus::bus::new_default(); in write() 81 auto mesg = in write() 90 auto resp = writeBus.call(mesg); in write() 114 connectionName = helper->getService(pwmInterface, path); in createDbusWrite() 142 auto writeBus = sdbusplus::bus::new_default(); in write() [all …]
|
/openbmc/linux/drivers/staging/media/ipu3/include/uapi/ |
H A D | intel-ipu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (C) 2017 - 2018 Intel Corporation */ 11 /* Vendor specific - used for IPU3 camera sub-system */ 17 /* from include/uapi/linux/v4l2-controls.h */ 26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 34 * struct ipu3_uapi_grid_config - Grid plane config 37 * For AWB, the range is (16, 80). 38 * For AF/AE, the range is (16, 32). 40 * For AWB, the range is (16, 60). 41 * For AF/AE, the range is (16, 24). [all …]
|
/openbmc/linux/kernel/time/ |
H A D | timeconst.bc | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 auto t; 17 return (2^b*n+d-1)/d; 23 auto v; 25 v = 2^b*(d-1)/d; 30 which brings the mul value into the range 2^b-1 <= x < 2^b. Such 31 a shift value will be correct in the signed integer range and off 32 by at most one in the upper half of the unsigned range. */ 34 auto s, m; 37 if (m >= 2^(b-1))
|
/openbmc/dbus-sensors/src/ |
H A D | PwmSensor.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 69 sensorInterface->register_property( in PwmSensor() 74 // Reject attempted change, if to NaN or other non-numeric in PwmSensor() 75 return -1; in PwmSensor() 81 throw std::runtime_error("Value out of range"); in PwmSensor() 82 return -1; in PwmSensor() 87 auto reqInt = static_cast<uint32_t>(std::round(reqValue)); in PwmSensor() 88 auto respInt = static_cast<uint32_t>(std::round(respValue)); in PwmSensor() 89 // Avoid floating-point equality, compare as integers in PwmSensor() 97 controlInterface->signal_property("Target"); in PwmSensor() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define OPTION_UNSET -1 17 * TxDescriptors - Transmit Descriptor Count 18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD 26 * RxDescriptors -Receive Descriptor Count 27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD 35 * Speed - User Specified Speed Override 36 * @Valid Range: 0, 10, 100, 1000 37 * - 0: auto-negotiate at all supported speeds [all …]
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 3 * Copyright (c) 2018-present Facebook. 9 * http://www.apache.org/licenses/LICENSE-2.0 21 #include <phosphor-logging/log.hpp> 30 static constexpr int16_t minInt10 = -0x200; 32 static constexpr int8_t minInt4 = -8; 75 phosphor::logging::entry("ERRNO=0x%X", -ret)); in getSensorSubtree() 80 auto mapperCall = in getSensorSubtree() 84 static constexpr const auto depth = 2; in getSensorSubtree() 93 auto mapperReply = dbus.call(mapperCall); in getSensorSubtree() 138 size_t typeStart = path.rfind("/", typeEnd - 1); in getSensorTypeStringFromPath() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios.cpp | 5 #include <phosphor-logging/lg2.hpp> 29 auto t = time_t(timeSec); in epochToBCDTime() 30 auto time = localtime(&t); in epochToBCDTime() 32 seconds = pldm::utils::decimalToBcd(time->tm_sec); in epochToBCDTime() 33 minutes = pldm::utils::decimalToBcd(time->tm_min); in epochToBCDTime() 34 hours = pldm::utils::decimalToBcd(time->tm_hour); in epochToBCDTime() 35 day = pldm::utils::decimalToBcd(time->tm_mday); in epochToBCDTime() 37 time->tm_mon + 1); // The number of months in the range in epochToBCDTime() 38 // 0 to 11.PLDM expects range 1 to 12 in epochToBCDTime() 40 time->tm_year + 1900); // The number of years since 1900 in epochToBCDTime() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | rkisp1-config.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ 16 /* Sensor De-gamma */ 22 /* Auto White Balance Gain */ 34 /* Auto Focus Control statistics configuration */ 36 /* Auto White Balancing statistics configuration */ 40 /* Auto Exposure Control statistics configuration */ 42 /* Wide Dynamic Range */ 44 /* Denoise Pre-Filter */ 46 /* Denoise Pre-Filter Strength */ 82 /* 13 bit range (signed)*/ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 48 * Valid Range: 0, 10, 100, 1000 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 128 "16-bit CRC", in v4l2_ctrl_get_menu() 132 "Auto", in v4l2_ctrl_get_menu() [all …]
|
/openbmc/phosphor-watchdog/test/ |
H A D | watchdog.cpp | 21 constexpr auto TEST_MIN_INTERVAL = duration<uint64_t, std::deci>(2); 42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest() 44 EXPECT_FALSE(wdog->enabled()); in WdogTest() 63 static constexpr auto TEST_PATH = "/test/path"; 69 auto previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog() 70 auto ret = Quantum(0); in waitForWatchdog() 72 previousTimeRemaining >= wdog->timeRemaining() && in waitForWatchdog() 73 wdog->timerEnabled()) in waitForWatchdog() 75 previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog() 77 constexpr auto sleepTime = Quantum(1); in waitForWatchdog() [all …]
|
/openbmc/phosphor-fan-presence/control/json/utils/ |
H A D | modifier.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include <phosphor-logging/log.hpp> 51 * to LessThanOperator is out of range. 91 * With strings values, A - B removes all occurrences of B in A. 102 return val - std::visit(ToTypeVisitor<double>(), arg); in operator ()() 107 return val - std::visit(ToTypeVisitor<int32_t>(), arg); in operator ()() 112 return val - std::visit(ToTypeVisitor<int64_t>(), arg); in operator ()() 118 auto value = val; in operator ()() 119 auto toRemove = std::get<std::string>(arg); in operator ()() 167 const auto& valueArray = jsonObj["value"]; in LessThanOperator() [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | sensordatahandler.hpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/lg2.hpp> 21 // https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages 22 static constexpr auto msgTypeSignal = 0x04; 45 * @param[in] cmdData - Input sensor data 51 * @param[in] msg - message to send 59 /** @brief Populate sensor name from the D-Bus property associated with the 60 * sensor. In the example entry from the yaml, the name of the D-bus 78 * @param[in] sensorInfo - Dbus info related to sensor. 84 return sensorInfo.propertyInterfaces.begin()->second.begin()->first; in nameProperty() [all …]
|