| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| 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 bindings 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/olpc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/crypto/ |
| 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 …]
|
| /kernel/linux/linux-4.19/arch/powerpc/crypto/ |
| D | aes-tab-4k.S | 21 * For the safety-conscious it has to be noted that they might be vulnerable 37 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 45 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 50 .long R(41, ad, ad, ec), R(b3, d4, d4, 67) 54 .long R(75, b7, b7, c2), R(e1, fd, fd, 1c) 69 .long R(7f, b2, b2, cd), R(ea, 75, 75, 9f) 99 .long R(af, da, da, 75), R(42, 21, 21, 63) 103 .long R(26, 13, 13, 35), R(c3, ec, ec, 2f) 168 /* decryption table, same as crypto_it_tab in crypto/aes-generic.c */ 179 .long R(c3, 2f, 75, 02), R(81, 4c, f0, 12) [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | rk3288-veyron-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/clock/rockchip,rk808.h> 10 #include <dt-bindings/input/input.h> 11 #include "rk3288-veyron.dtsi" 12 #include "rk3288-veyron-analog-audio.dtsi" 13 #include "rk3288-veyron-sdmmc.dtsi" 22 compatible = "pwm-backlight"; 23 brightness-levels = < 33 72 73 74 75 76 77 78 79 56 default-brightness-level = <128>; [all …]
|
| D | rk3288-veyron-jaq.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "rk3288-veyron-chromebook.dtsi" 11 #include "cros-ec-sbs.dtsi" 15 compatible = "google,veyron-jaq-rev5", "google,veyron-jaq-rev4", 16 "google,veyron-jaq-rev3", "google,veyron-jaq-rev2", 17 "google,veyron-jaq-rev1", "google,veyron-jaq", 20 panel_regulator: panel-regulator { 21 compatible = "regulator-fixed"; 22 enable-active-high; [all …]
|
| D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 13 stdout-path = "serial0:115200n8"; 19 * missing a unit-address. However, the bootloader on these Chromebook 21 * Adding the unit-address causes the bootloader to create a /memory 33 /delete-node/ memory@80000000; 39 vdd-supply = <&vdd_3v3_hdmi>; 40 pll-supply = <&vdd_hdmi_pll>; 41 hdmi-supply = <&vdd_5v0_hdmi>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/rockchip/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/misc/echo/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/misc/echo/ |
| D | echo.c | 2 * SpanDSP - a series of DSP components for telephony 4 * echo.c - A line echo canceller. This code is being developed 42 especially for double talk - there were always cases where my DTD 62 on 4 real-world samples. 66 on the real-world samples. I have no idea why, perhaps a scaling 71 dot product) compared to the current sample-by-sample update. 78 Path Models", IEEE Transactions on communications, COM-25, 99 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan 113 #define DTD_HANGOVER 600 /* 600 samples, or 75ms */ 118 static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) in lms_adapt_bg() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_edid.c | 3 * Copyright (c) 2007-2008 Intel Corporation 24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 48 (((edid)->version > (maj)) || \ 49 ((edid)->version == (maj) && (edid)->revision > (min))) 66 /* Prefer the largest mode at 75 Hz */ 76 /* Force reduced-blanking timings for detailed modes */ 115 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */ 121 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ 131 /* Envision Peripherals, Inc. EN-7100e */ 143 /* LG Philips LCD LP154W01-A5 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/nvec/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/nvec/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/soc/tegra/ |
| D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 66 * A well-defined subset of the MRQ messages that the CPU sends to the 91 * |-----|--------------------------------------------| 161 #define MRQ_DEBUG 75U 170 #define MAX_CPU_MRQ_ID 75U 192 * @defgroup CC3 Auto-CC3 194 * @defgroup EC EC 244 * mrq_ping_request challenge left shifted by 1 with the carry-bit 446 * values. err is -#BPMP_EINVAL if size is zero or area is NULL or [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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> 15 model = "OLPC XO-1.75"; 16 compatible = "olpc,xo-1.75", "mrvl,mmp2"; 19 #address-cells = <1>; 20 #size-cells = <1>; 24 compatible = "simple-framebuffer"; [all …]
|
| D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 13 stdout-path = "serial0:115200n8"; 19 * missing a unit-address. However, the bootloader on these Chromebook 21 * Adding the unit-address causes the bootloader to create a /memory 33 /delete-node/ memory@80000000; 39 vdd-supply = <&vdd_3v3_hdmi>; 40 pll-supply = <&vdd_hdmi_pll>; 41 hdmi-supply = <&vdd_5v0_hdmi>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
| D | igc_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 114 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \ 116 (((struct igc_adapter *)netdev_priv(netdev))->num_tx_queues * \ 123 "legacy-rx", 133 strlcpy(drvinfo->driver, igc_driver_name, sizeof(drvinfo->driver)); in igc_ethtool_get_drvinfo() 136 strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), in igc_ethtool_get_drvinfo() 137 sizeof(drvinfo->bus_info)); in igc_ethtool_get_drvinfo() 139 drvinfo->n_priv_flags = IGC_PRIV_FLAGS_STR_LEN; in igc_ethtool_get_drvinfo() 151 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_regs() 157 regs->version = (2u << 24) | (hw->revision_id << 16) | hw->device_id; in igc_ethtool_get_regs() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| 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 …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | 88pm860x-codec.c | 2 * 88pm860x-codec.c -- 88PM860x ALSA SoC Audio Driver 29 #include "88pm860x-codec.h" 120 * This widget should be just after DAC & PGA in DAPM power-on sequence and 121 * before DAC & PGA in DAPM power-off sequence. 152 /* -9450dB to 0dB in 150dB steps ( mute instead of -9450dB) */ 153 static const DECLARE_TLV_DB_SCALE(dpga_tlv, -9450, 150, 1); 155 /* -9dB to 0db in 3dB steps */ 156 static const DECLARE_TLV_DB_SCALE(adc_tlv, -900, 300, 0); 158 /* {-23, -17, -13.5, -11, -9, -6, -3, 0}dB */ 160 0, 0, TLV_DB_SCALE_ITEM(-2300, 0, 0), [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/igb/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 95 * The PF_STATs are appended to the netdev stats only when ethtool -S 177 #define I40E_MAX_NUM_QUEUES(n) ((n)->num_tx_queues) 233 I40E_PRIV_FLAG("flow-director-atr", I40E_FLAG_FD_ATR_ENABLED, 0), 234 I40E_PRIV_FLAG("veb-stats", I40E_FLAG_VEB_STATS_ENABLED, 0), 235 I40E_PRIV_FLAG("hw-atr-eviction", I40E_FLAG_HW_ATR_EVICT_ENABLED, 0), 236 I40E_PRIV_FLAG("link-down-on-close", 238 I40E_PRIV_FLAG("legacy-rx", I40E_FLAG_LEGACY_RX, 0), 239 I40E_PRIV_FLAG("disable-source-pruning", [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/broadcom/genet/ |
| D | bcmgenet.c | 4 * Copyright (c) 2014-2017 Broadcom 25 #include <linux/dma-mapping.h> 58 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 60 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q) 66 #define WORDS_PER_BD(p) (p->hw_params->words_per_bd) 69 #define GENET_TDMA_REG_OFF (priv->hw_params->tdma_offset + \ 72 #define GENET_RDMA_REG_OFF (priv->hw_params->rdma_offset + \ 81 * peripheral registers for CPU-native byte order. in bcmgenet_writel() 117 * the platform is explicitly configured for 64-bits/LPAE. in dmadesc_set_addr() 120 if (priv->hw_params->flags & GENET_HAS_40BITS) in dmadesc_set_addr() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 13 * struct i40e_stats - definition for an ethtool statistic 14 * @stat_string: statistic name to display in ethtool -S output 62 I40E_QUEUE_STAT("%s-%u.packets", stats.packets), 63 I40E_QUEUE_STAT("%s-%u.bytes", stats.bytes), 67 * i40e_add_one_ethtool_stat - copy the stat into the supplied buffer 90 p = (char *)pointer + stat->stat_offset; in i40e_add_one_ethtool_stat() 91 switch (stat->sizeof_stat) { in i40e_add_one_ethtool_stat() 106 stat->stat_string); in i40e_add_one_ethtool_stat() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
| 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 …]
|