/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | olpc,xo1.75-ec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: OLPC XO-1.75 Embedded Controller 12 on a OLPC XO-1.75 laptop computer. 17 "ready-gpios" property of the SSP binding as documented in: 18 <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>. 21 - Lubomir Rintel <lkundrak@v3.sk> 25 const: olpc,xo1.75-ec [all …]
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for the OLPC XO-1.75 Embedded Controller. 5 * The EC protocol is documented at: 6 * http://wiki.laptop.org/go/XO_1.75_HOST_to_EC_Protocol 19 #include <linux/olpc-ec.h> 44 * EC events 58 * EC commands 59 * (from http://dev.laptop.org/git/users/rsmith/ec-1.75/tree/ec_cmd.h) 127 * Accepted EC commands, and how many bytes they return. There are plenty 128 * of EC commands that are no longer implemented, or are implemented only on [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 * For the safety-conscious it has to be noted that they might be vulnerable 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 45 .long R(41, ad, ad, ec), R(b3, d4, d4, 67) 49 .long R(75, b7, b7, c2), R(e1, fd, fd, 1c) 64 .long R(7f, b2, b2, cd), R(ea, 75, 75, 9f) 94 .long R(af, da, da, 75), R(42, 21, 21, 63) 98 .long R(26, 13, 13, 35), R(c3, ec, ec, 2f) 163 /* decryption table, same as crypto_it_tab in crypto/aes-generic.c */ [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 15 /* EC turns on w/ pp900_ap_en; always on for AP */ 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; [all …]
|
H A D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SAMSUNG/GOOGLE Peach-Pit board device tree source 9 /dts-v1/; 11 #include <dt-bindings/clock/maxim,max77802.h> 12 #include <dt-bindings/regulator/maxim,max77802.h> 17 compatible = "google,pit-rev#", "google,pit", 21 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; 22 hwid = "PIT TEST A-A 7848"; 23 lazy-init = <1>; 34 compatible = "pwm-backlight"; [all …]
|
H A D | tegra124-nyan.dtsi | 1 #include <dt-bindings/input/input.h> 19 vdd-supply = <&vdd_3v3_hdmi>; 20 pll-supply = <&vdd_hdmi_pll>; 21 hdmi-supply = <&vdd_5v0_hdmi>; 23 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 24 nvidia,hpd-gpio = 36 vdd-supply = <&vdd_3v3_panel>; 52 clock-frequency = <100000>; 54 acodec: audio-codec@10 { 57 interrupt-parent = <&gpio>; [all …]
|
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/input/input.h> 48 samsung,bl1-offset = <0x1400>; 49 samsung,bl2-offset = <0x3400>; 50 u-boot-memory = "/memory"; 51 u-boot-offset = <0x3e00000 0x100000>; 56 #address-cells = <1>; [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | pid_fancontroller_unittest.cpp | 6 #include "pid/ec/logging.hpp" 7 #include "pid/ec/pid.hpp" 36 ec::pidinfo initial; in TEST() 51 ec::pidinfo initial; in TEST() 65 ec::pidinfo initial; in TEST() 74 EXPECT_EQ(0.0, p->inputProc()); in TEST() 79 // A sensor value returning sub-zero is ignored as an error. in TEST() 83 ec::pidinfo initial; in TEST() 89 EXPECT_CALL(z, getCachedValue(StrEq("fan0"))).WillOnce(Return(-1)); in TEST() 90 EXPECT_CALL(z, getCachedValue(StrEq("fan1"))).WillOnce(Return(- in TEST() [all...] |
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/ |
H A D | CVE-2024-26458_CVE-2024-26461.patch | 3 Date: Tue, 5 Mar 2024 19:53:07 -0500 11 store port_ptr into crp->port_ptr as soon as it is allocated; 15 CVE: CVE-2024-26458 CVE-2024-26461 16 Upstream-Status: Backport [https://github.com/krb5/krb5/commit/c5f9c816107f70139de11b38aa02db2f1774… 18 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> 19 --- 20 src/lib/gssapi/krb5/k5sealv3.c | 56 +++++++++++++++------------------- 21 src/lib/rpc/pmap_rmt.c | 9 +++--- 22 2 files changed, 29 insertions(+), 36 deletions(-) 24 diff --git a/src/lib/gssapi/krb5/k5sealv3.c b/src/lib/gssapi/krb5/k5sealv3.c [all …]
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 30 especially for double talk - there were always cases where my DTD 50 on 4 real-world samples. 54 on the real-world samples. I have no idea why, perhaps a scaling 59 dot product) compared to the current sample-by-sample update. 66 Path Models", IEEE Transactions on communications, COM-25, 87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan 101 #define DTD_HANGOVER 600 /* 600 samples, or 75ms */ [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | olpc_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright © 2006-2010 David Woodhouse <dwmw2@infradead.org> 19 #include <linux/olpc-ec.h> 77 val->intval = !!(status & BAT_STAT_AC); in olpc_ac_get_prop() 80 ret = -EINVAL; in olpc_ac_get_prop() 101 if (data->new_proto) { in olpc_bat_get_status() 103 val->intval = POWER_SUPPLY_STATUS_CHARGING; in olpc_bat_get_status() 105 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status() 107 val->intval = POWER_SUPPLY_STATUS_FULL; in olpc_bat_get_status() 109 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in olpc_bat_get_status() [all …]
|
/openbmc/linux/drivers/staging/nvec/ |
H A D | nvec.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Authors: Pierre-Hugues Husson <phhusson@free.fr> 10 * Julian Andres Klode <jak@jak-linux.org> 56 * enum nvec_msg_category - Message categories for nvec_msg_alloc() 57 * @NVEC_MSG_RX: The message is an incoming message (from EC) 58 * @NVEC_MSG_TX: The message is an outgoing message (to EC) 80 .name = "nvec-kbd", 83 .name = "nvec-mouse", 86 .name = "nvec-power", 90 .name = "nvec-power", [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | mmp2-olpc-xo-1-75.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/clock/marvell,mmp2-audio.h> 16 model = "OLPC XO-1.75"; 17 compatible = "olpc,xo-1.75", "mrvl,mmp2"; 20 #address-cells = <1>; 21 #size-cells = <1>; [all …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | chromebook_link.dts | 1 /dts-v1/; 3 #include <dt-bindings/gpio/x86-gpio.h> 4 #include <dt-bindings/sound/azalia.h> 16 compatible = "google,link", "intel,celeron-ivybridge"; 29 #address-cells = <1>; 30 #size-cells = <0>; 34 compatible = "intel,core-gen3"; 36 intel,apic-id = <0>; 41 compatible = "intel,core-gen3"; 43 intel,apic-id = <1>; [all …]
|
H A D | chromebook_samus.dts | 1 /dts-v1/; 3 #include <dt-bindings/gpio/x86-gpio.h> 27 #address-cells = <1>; 28 #size-cells = <0>; 32 compatible = "intel,core-i3-gen5"; 34 intel,apic-id = <0>; 35 intel,slow-ramp = <3>; 40 compatible = "intel,core-i3-gen5"; 42 intel,apic-id = <1>; 47 compatible = "intel,core-i3-gen5"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 14 stdout-path = "serial0:115200n8"; 20 * missing a unit-address. However, the bootloader on these Chromebook 22 * Adding the unit-address causes the bootloader to create a /memory 34 /delete-node/ memory@80000000; 40 vdd-supply = <&vdd_3v3_hdmi>; 41 pll-supply = <&vdd_hdmi_pll>; 42 hdmi-supply = <&vdd_5v0_hdmi>; [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | filter.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. _networking-filter: 10 ------ 17 ------------ 24 BPF allows a user-space program to attach a filter onto any socket and 49 The biggest user of this construct might be libpcap. Issuing a high-level 50 filter command like `tcpdump -i em1 port 22` passes through the libpcap 52 via SO_ATTACH_FILTER to the kernel. `tcpdump -i em1 port 22 -ddd` 57 qdisc layer, SECCOMP-BPF (SECure COMPuting [1]_), and lots of other places 60 .. [1] Documentation/userspace-api/seccomp_filter.rst [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | 88pm860x-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 88pm860x-codec.c -- 88PM860x ALSA SoC Audio Driver 26 #include "88pm860x-codec.h" 117 * This widget should be just after DAC & PGA in DAPM power-on sequence and 118 * before DAC & PGA in DAPM power-off sequence. 149 /* -9450dB to 0dB in 150dB steps ( mute instead of -9450dB) */ 150 static const DECLARE_TLV_DB_SCALE(dpga_tlv, -9450, 150, 1); 152 /* -9dB to 0db in 3dB steps */ 153 static const DECLARE_TLV_DB_SCALE(adc_tlv, -900, 300, 0); 155 /* {-23, -17, -13.5, -11, -9, -6, -3, 0}dB */ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 117 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \ 119 (((struct igc_adapter *)netdev_priv(netdev))->num_tx_queues * \ 126 "legacy-rx", 135 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_drvinfo() 139 strscpy(drvinfo->driver, igc_driver_name, sizeof(drvinfo->driver)); in igc_ethtool_get_drvinfo() 142 hw->nvm.ops.read(hw, IGC_NVM_DEV_STARTER, 1, &nvm_version); in igc_ethtool_get_drvinfo() 147 scnprintf(adapter->fw_version, in igc_ethtool_get_drvinfo() 148 sizeof(adapter->fw_version), in igc_ethtool_get_drvinfo() 153 strscpy(drvinfo->fw_version, adapter->fw_version, in igc_ethtool_get_drvinfo() [all …]
|
/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | test_multitouch.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 20 KERNEL_MODULE = ("hid-multitouch", "hid_multitouch") 310 Unit Exponent (-1) 335 Unit Exponent (-4) 378 Unit Exponent (-1) 397 Unit Exponent (-4) 442 Unit Exponent (-1) 467 Unit Exponent (-4) 492 …75 01 81 02 95 05 81 03 05 01 15 00 26 ff 0f 55 0e 65 11 75 10 95 01 35 00 46 c8 37 09 30 81 02 46… [all …]
|
/openbmc/linux/include/soc/tegra/ |
H A D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. 66 * A well-defined subset of the MRQ messages that the CPU sends to the 130 * -BPMP_EBADMSG and ignore the request. 144 …* | -------------------- | ------------------------------------ | --------------------------------… 223 * calculated by BPMP, -BPMP_EBADMSG will be returned and the request will 334 #define MRQ_DEBUG 75U 402 * @defgroup CC3 Auto-CC3 404 * @defgroup EC EC 457 * mrq_ping_request challenge left shifted by 1 with the carry-bit [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 14 * struct i40e_stats - definition for an ethtool statistic 15 * @stat_string: statistic name to display in ethtool -S output 63 I40E_QUEUE_STAT("%s-%u.packets", stats.packets), 64 I40E_QUEUE_STAT("%s-%u.bytes", stats.bytes), 68 * i40e_add_one_ethtool_stat - copy the stat into the supplied buffer 91 p = (char *)pointer + stat->stat_offset; in i40e_add_one_ethtool_stat() 92 switch (stat->sizeof_stat) { in i40e_add_one_ethtool_stat() 107 stat->stat_string); in i40e_add_one_ethtool_stat() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 104 ((((struct igb_adapter *)netdev_priv(netdev))->num_rx_queues * \ 106 (((struct igb_adapter *)netdev_priv(netdev))->num_tx_queues * \ 130 "legacy-rx", 139 struct e1000_hw *hw = &adapter->hw; in igb_get_link_ksettings() 140 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_get_link_ksettings() 141 struct e1000_sfp_flags *eth_flags = &dev_spec->eth_flags; in igb_get_link_ksettings() 146 status = pm_runtime_suspended(&adapter->pdev->dev) ? in igb_get_link_ksettings() 148 if (hw->phy.media_type == e1000_media_type_copper) { in igb_get_link_ksettings() [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 49 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP)) 52 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\ 59 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\ 76 #define MA smc->hw.fddi_canon_addr 78 #define MA smc->hw.fddi_home_addr 114 smc->mib.m[MAC0].fddiMACFrame_Ct = in mac_update_counter() 115 (smc->mib.m[MAC0].fddiMACFrame_Ct & 0xffff0000L) in mac_update_counter() 117 smc->mib.m[MAC0].fddiMACLost_Ct = in mac_update_counter() 118 (smc->mib.m[MAC0].fddiMACLost_Ct & 0xffff0000L) in mac_update_counter() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2024 Broadcom 23 #include <linux/dma-mapping.h> 51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q) 59 #define WORDS_PER_BD(p) (p->hw_params->words_per_bd) 62 #define GENET_TDMA_REG_OFF (priv->hw_params->tdma_offset + \ 65 #define GENET_RDMA_REG_OFF (priv->hw_params->rdma_offset + \ 74 * peripheral registers for CPU-native byte order. in bcmgenet_writel() 104 * the platform is explicitly configured for 64-bits/LPAE. in dmadesc_set_addr() [all …]
|