/openbmc/linux/include/linux/usb/ |
H A D | pd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2015-2017 Google, Inc 29 /* 14-15 Reserved */ 36 /* 22-31 Reserved */ 49 /* 9-14 Reserved */ 51 /* 16-31 Reserved */ 70 /* 15-31 Reserved */ 179 * struct pd_chunked_ext_message_data - PD chunked extended message data as 190 * struct pd_message - PD message as seen on wire 213 #define PDO_TYPE_SHIFT 30 [all …]
|
/openbmc/linux/include/dt-bindings/usb/ |
H A D | pd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define PDO_TYPE_SHIFT 30 26 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ 29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 36 #define VSAFE5V 5000 /* mv units */ 38 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */ 39 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */ 42 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument [all …]
|
/openbmc/phosphor-pid-control/tools/ |
H A D | fan_rpm_loop_test.sh | 3 # shim system-level operations to allow for unit testing 5 function Mv() { mv "$@"; } function 9 # Store commanded rpm as thermal set-point. 12 # rpm - rpm set-point. 14 printf '%d\n' "$1" > /etc/thermal.d/set-point 25 local -i start_rpm=$1 26 local -i stop_rpm=$2 27 local -i num_steps=$3 28 local -i dwell=$4 31 local -i h=$((num_steps / 2)) [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <media/v4l2-vp9.h> 17 { 137, 30, 42, 148, 151, 207, 70, 52, 91 }, /*left = dc */ 20 { 91, 30, 32, 116, 121, 186, 93, 86, 94 }, /*left = d45 */ 35 { 52, 30, 74, 113, 130, 175, 51, 64, 58 }, /*left = d207*/ 52 { 62, 30, 23, 158, 200, 207, 59, 57, 50 }, /*left = h */ 53 { 67, 30, 29, 84, 86, 191, 102, 91, 59 }, /*left = d45 */ 91 { 55, 30, 18, 122, 79, 179, 44, 88, 116 }, /*left = d63 */ 96 { 47, 25, 17, 175, 222, 220, 24, 30, 86 }, /*left = h */ 99 { 49, 30, 35, 141, 70, 168, 82, 40, 115 }, /*left = d117*/ [all …]
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fb_hx8353d.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 par->fbtftops.reset(par); in init_display() 43 /* SLPOUT - Sleep out & booster on */ in init_display() 47 /* DISPON - Display On */ in init_display() 52 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, in init_display() 55 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, in init_display() 58 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, in init_display() 78 #define mv BIT(5) macro 82 * madctl - memory data access control in set_var() 87 * rgb-bgr order color filter panel: 0=rgb, 1=bgr in set_var() [all …]
|
H A D | fb_st7735r.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 "0F 1B 0F 17 33 2C 29 2E 30 30 39 3F 00 07 03 10" 20 -1, MIPI_DCS_SOFT_RESET, 21 -2, 150, /* delay */ 23 -1, MIPI_DCS_EXIT_SLEEP_MODE, 24 -2, 500, /* delay */ 26 /* FRMCTR1 - frame rate control: normal mode 29 -1, 0xB1, 0x01, 0x2C, 0x2D, 31 /* FRMCTR2 - frame rate control: idle mode 34 -1, 0xB2, 0x01, 0x2C, 0x2D, [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 31 /* 72 */ { 1209886, -36468, 515, 417, -13123, 203}, 32 /* 108 */ { 1130804, -27659, 296, 298, -10834, 221}, 33 /* 180 */ { 1162871, -27110, 247, 238, -10681, 268}, 34 /* 252 */ { 1220458, -28654, 247, 179, -10376, 298}, 35 /* 324 */ { 1280953, -30204, 247, 119, -9766, 304}, 36 /* 396 */ { 1344547, -31777, 247, 119, -8545, 292}, 37 /* 468 */ { 1420168, -34227, 269, 60, -7172, 256}, 38 /* 540 */ { 1490757, -35955, 274, 60, -5188, 197}, 39 /* 612 */ { 1599112, -42583, 398, 0, -1831, 119}, [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_aldebaran.h | 68 #define FEATURE_CLK_CG_BIT 30 268 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 269 QuadraticInt_t SsCurve; // Slow-slow curve (GHz->V) 292 uint16_t MaxVoltageGfx; // In mV(Q2) Maximum Voltage allowable of VDD_GFX 293 uint16_t MaxVoltageSoc; // In mV(Q2) Maximum Voltage allowable of VDD_SOC 342 int16_t GFX_Guardband_Voltage_Cold[8]; // mV [signed] 343 int16_t GFX_Guardband_Voltage_Mid[8]; // mV [signed] 344 int16_t GFX_Guardband_Voltage_Hot[8]; // mV [signed] 347 int16_t SOC_Guardband_Voltage_Cold[8]; // mV [signed] 348 int16_t SOC_Guardband_Voltage_Mid[8]; // mV [signed] [all …]
|
H A D | smu13_driver_if_v13_0_7.h | 79 #define FEATURE_FAN_CONTROL_BIT 30 504 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 507 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 872 uint16_t InitGfx; // In mV(Q2) , should be 0? 873 uint16_t InitSoc; // In mV(Q2) 874 uint16_t InitU; // In Mv(Q2) not applicable 928 uint16_t DcTol; // mV Q2 929 uint16_t DcBtcGb; // mV Q2 931 uint16_t DcBtcMin; // mV Q2 932 uint16_t DcBtcMax; // mV Q2 [all …]
|
H A D | smu11_driver_if_arcturus.h | 44 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 45 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1) 46 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) 47 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 48 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 49 #define MAX_UCLK_DPM_LEVEL (NUM_UCLK_DPM_LEVELS - 1) 50 #define MAX_FCLK_DPM_LEVEL (NUM_FCLK_DPM_LEVELS - 1) 51 #define MAX_XGMI_LEVEL (NUM_XGMI_LEVELS - 1) 52 #define MAX_XGMI_PSTATE_LEVEL (NUM_XGMI_PSTATE_LEVELS - 1) 90 #define FEATURE_SPARE_30_BIT 30 [all …]
|
H A D | smu11_driver_if_navi10.h | 50 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 51 #define MAX_SMNCLK_DPM_LEVEL (NUM_SMNCLK_DPM_LEVELS - 1) 52 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 53 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 54 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) 55 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1) 56 #define MAX_DCEFCLK_DPM_LEVEL (NUM_DCEFCLK_DPM_LEVELS - 1) 57 #define MAX_DISPCLK_DPM_LEVEL (NUM_DISPCLK_DPM_LEVELS - 1) 58 #define MAX_PIXCLK_DPM_LEVEL (NUM_PIXCLK_DPM_LEVELS - 1) 59 #define MAX_PHYCLK_DPM_LEVEL (NUM_PHYCLK_DPM_LEVELS - 1) [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | adm1272.c | 7 * SPDX-License-Identifier: GPL-2.0-or-later 52 #define ADM1272_MODEL_DEFAULT "ADM1272-A1" 64 #define ADM1272_SHUNT 300 /* micro-ohms */ 101 [0] = { 6770, 0, -2 }, /* voltage, vrange 60V */ 102 [1] = { 4062, 0, -2 }, /* voltage, vrange 100V */ 103 [2] = { 1326, 20480, -1 }, /* current, vsense range 15mV */ 104 [3] = { 663, 20480, -1 }, /* current, vsense range 30mV */ 105 [4] = { 3512, 0, -2 }, /* power, vrange 60V, irange 15mV */ 106 [5] = { 21071, 0, -3 }, /* power, vrange 100V, irange 15mV */ 107 [6] = { 17561, 0, -3 }, /* power, vrange 60V, irange 30mV */ [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | adm1272-test.c | 6 * SPDX-License-Identifier: GPL-2.0-or-later 12 #include "libqtest-single.h" 19 #define TEST_ID "adm1272-test" 52 #define ADM1272_MODEL_DEFAULT "ADM1272-A1" 64 #define ADM1272_SHUNT 300 /* micro-ohms */ 72 [0] = { 6770, 0, -2 }, /* voltage, vrange 60V */ 73 [1] = { 4062, 0, -2 }, /* voltage, vrange 100V */ 74 [2] = { 1326, 20480, -1 }, /* current, vsense range 15mV */ 75 [3] = { 663, 20480, -1 }, /* current, vsense range 30mV */ 76 [4] = { 3512, 0, -2 }, /* power, vrange 60V, irange 15mV */ [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/debianutils/ |
H A D | debianutils_5.20.bb | 6 BUGTRACKER = "https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=debianutils;dist=unstable" 8 LICENSE = "GPL-2.0-only & SMAIL_GPL" 16 inherit autotools update-alternatives 20 # Disable po4a (translated manpages) sub-directory, as that requires po4a to build 22 sed -i -e 's:po4a::g' ${S}/Makefile.am 29 install -d ${D}${base_bindir} 30 for app in run-parts; do 31 mv ${D}${bindir}/$app ${D}${base_bindir}/$app 34 mv ${D}${bindir}/which.debianutils ${D}${bindir}/which 37 # Note that we package the update-alternatives name. [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | armada-37xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 24 #include "cpufreq-dt.h" 47 #define ARMADA_37XX_NB_VDD_EN BIT(30) 58 #define ARMADA_37XX_AVS_ENABLE BIT(30) 77 /* AVS value for the corresponding voltage (in mV) */ 166 * Set cpu divider based on the pre-computed array in in armada37xx_cpufreq_dvfs_setup() 187 * the round-up closest to the target voltage value. 193 /* Find out the round-up closest supported voltage value */ in armada_37xx_avs_val_match() 203 avs = ARRAY_SIZE(avs_map) - 1; in armada_37xx_avs_val_match() [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | cm3605.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 * struct cm3605 - CM3605 state 62 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq() 66 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq() 67 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq() 69 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq() 79 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux() 83 dev_dbg(cm3605->dev, "read %d mV from ADC\n", res); in cm3605_get_lux() 86 * AOUT has an offset of ~30mV then linear at dark in cm3605_get_lux() 88 * (1550 mV) so scale the returned value to this interval in cm3605_get_lux() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | mediatek,mt6370-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiaEn Wu <chiaen_wu@richtek.com> 18 const: mediatek,mt6370-charger 34 - description: irq of "USB is plugged in" 35 - description: irq of "BC1.2 is done" 36 - description: irq of "Minimum Input Voltage Regulation loop is active" 38 interrupt-names: [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/openipmi/ |
H A D | openipmi_2.0.36.bb | 2 DESCRIPTION = "OpenIPMI is an effort to create a full-function IPMI system, \ 9 glib-2.0 \ 11 net-snmp \ 15 swig-native \ 19 LICENSE = "GPL-2.0-only & LGPL-2.1-only & BSD-3-Clause" 26 SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \ 27 file://fix-symlink-install-error-in-cmdlang.patch \ 28 file://openipmi-no-openipmigui-man.patch \ 29 file://ipmi-init-fix-the-arguments.patch \ 31 file://openipmi-helper \ [all …]
|
/openbmc/openbmc/meta-security/recipes-perl/perl/ |
H A D | lib-perl_0.63.bb | 7 LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 10 LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=94b119f1a7b8d611efc89b5d562a1a50" 14 SRC_URI = "http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz" 19 S = "${UNPACKDIR}/lib-${PV}" 26 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" 33 mv $page $(dirname $page)/${BPN}-$(basename $page)
|
/openbmc/linux/drivers/regulator/ |
H A D | qcom_rpm-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 16 #include <dt-bindings/mfd/qcom-rpm.h> 27 struct request_member mV; /* used if voltage is in mV */ member 45 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3) 67 .mV = { 0, 0x00000FFF, 0 }, 71 .pf = { 0, 0xC0000000, 30 }, 78 .mV = { 0, 0x00000FFF, 0 }, 82 .pf = { 0, 0xC0000000, 30 }, 100 .mV = { 0, 0x00000FFF, 0 }, [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel-grub.bbclass | 4 # SPDX-License-Identifier: MIT 12 # - In kernel-image's preinstall scriptlet, it backs up original kernel to avoid 15 # - In kernel-image's postinstall scriptlet, it modifies grub's config file to 24 [ -f "$D/boot/grub/menu.list" ] && grubcfg="$D/boot/grub/menu.list" 25 [ -f "$D/boot/grub/grub.cfg" ] && grubcfg="$D/boot/grub/grub.cfg" 26 if [ -n "$grubcfg" ]; then 28 if grep -q "/KERNEL_IMAGETYPE \+root=" $grubcfg; then 29 if [ -L "$D/boot/KERNEL_IMAGETYPE" ]; then 31 if [ -f "$D$kimage" ]; then 32 sed -i "s:KERNEL_IMAGETYPE \+root=:${kimage##*/} root=:" $grubcfg [all …]
|
/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 92 /* MV Vector Valid */ 94 /* MV Flag Valid */ 147 /* DDR-DPR Burst Read Enable */ [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-omap5/ |
H A D | clock.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 212 #define USB2PHY_AUTORESUME_EN (1 << 30) 220 /* PALMAS VOLTAGE SETTINGS in mv for OPP_NOMINAL */ 254 /* DRA74x/75x/72x voltage settings in mv for OPP_NOM per DM */ 261 /* DRA74x/75x/72x voltage settings in mv for OPP_OD per DM */ 266 /* DRA74x/75x/72x voltage settings in mv for OPP_HIGH per DM */
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320adc3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 // Copyright (C) 2014-2018, Ambarella, Inc. 15 #include <dt-bindings/sound/tlv320adc3xxx.h> 34 #include <sound/soc-dapm.h> 59 * Setting the clock source using simple-card (clocks or 60 * system-clock-frequency property) sets clk_id = 0 = ADC3XXX_PLL_AUTO. 78 /* 2-3 Reserved */ 86 /* 9-17 Reserved */ 93 /* 23-24 Reserved */ 100 #define ADC3XXX_BCLK_N_DIV ADC3XXX_REG(0, 30) [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_ddi_buf_trans.c | 1 // SPDX-License-Identifier: MIT 53 /* Idx NT mV d T mV d db */ 126 /* Idx NT mV d T mV df db */ 362 /* Idx NT mV diff db */ 381 /* Idx NT mV diff db */ 399 /* BSpec has 2 recommended values - entries 0 and 8. 403 /* Idx NT mV diff db */ 419 .hdmi_default_entry = ARRAY_SIZE(_bxt_trans_hdmi) - 1, 424 /* NT mV Trans mV db */ 443 /* NT mV Trans mV db */ [all …]
|