/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
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) 457 uint8_t VoltageMode; // 0 - AVFS only, 1- min(AVFS,SS), 2-SS only [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rt6160-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT6160 is a high-efficiency buck-boost converter that can provide 14 up to 3A output current from 2025mV to 5200mV. And it support the wide 15 input voltage range from 2200mV to 5500mV. 18 https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf 21 - $ref: regulator.yaml# [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <media/v4l2-vp9.h> 34 { 39, 27, 61, 131, 110, 175, 44, 75, 136 }, /*left = d153*/ 83 { 75, 17, 22, 136, 138, 185, 32, 34, 166 }, /*left = dc */ 102 { 59, 39, 19, 114, 75, 180, 77, 104, 42 }, /*left = d63 */ 131 /* 8x8 -> 4x4 */ 136 /* 16x16 -> 8x8 */ 141 /* 32x32 -> 16x16 */ 146 /* 64x64 -> 32x32 */ 205 { 7, 75, 127 }, [all …]
|
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() 141 "MPEG-1", in v4l2_ctrl_get_menu() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,pm8916-wcd-analog-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,pm8916-wcd-analog-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Konrad Dybcio <konradybcio@kernel.org> 17 const: qcom,pm8916-wcd-analog-codec 25 interrupt-names: 27 - const: cdc_spk_cnp_int 28 - const: cdc_spk_clip_int 29 - const: cdc_spk_ocp_int [all …]
|
/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 …]
|
/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 232 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-mt6360 | 12 Indicated MT6360 VBUS ADC with lower accuracy(+-75mA) 13 higher measure range(1~22mV) 20 Indicated MT6360 VBUS ADC with higher accuracy(+-30mA)
|
/linux/drivers/cpufreq/ |
H A D | longhaul.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * VIA-specific information 59 -1, /* 0000 -> RESERVED */ 60 30, /* 0001 -> 3.0x */ 61 40, /* 0010 -> 4.0x */ 62 -1, /* 0011 -> RESERVED */ 63 -1, /* 0100 -> RESERVED */ 64 35, /* 0101 -> 3.5x */ 65 45, /* 0110 -> 4.5x */ 66 55, /* 0111 -> 5.5x */ [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | bttv-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 .. flat-table:: 9 :header-rows: 1 11 :stub-columns: 0 13 * - Card number 14 - Card name 15 - PCI subsystem IDs 17 * - 0 18 - *** UNKNOWN/GENERIC *** 19 - [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-ab8505.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/clock/ste-ab8500.h> 10 iio-hwmon { 11 compatible = "iio-hwmon"; 12 io-channels = <&gpadc 0x02>, /* Battery temperature */ 24 interrupt-parent = <&intc>; 26 interrupt-controller; 27 #interrupt-cells = <2>; 28 #address-cells = <1>; 29 #size-cells = <0>; [all …]
|
H A D | ste-ab8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/clock/ste-ab8500.h> 10 iio-hwmon { 11 compatible = "iio-hwmon"; 12 io-channels = <&gpadc 0x02>, /* Battery temperature */ 27 interrupt-parent = <&intc>; 29 interrupt-controller; 30 #interrupt-cells = <2>; 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
/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 …]
|
/linux/drivers/power/supply/ |
H A D | 88pm860x_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 68 /* OCV -- Open Circuit Voltage */ 83 * corresponding resistor value -- Ohm / C degeree. 85 #define TBAT_NEG_25D 127773 /* -25 */ 86 #define TBAT_NEG_10D 54564 /* -10 */ 131 {3941, 75}, {3934, 74}, {3929, 73}, {3922, 72}, {3916, 71}, 151 * register 1 bit[7:0] -- bit[11:4] of measured value of voltage 152 * register 0 bit[3:0] -- bit[3:0] of measured value of voltage 160 ret = pm860x_bulk_read(info->i2c, offset, 2, buf); in measure_12bit_voltage() 165 /* V_MEAS(mV) = data * 1.8 * 1000 / (2^12) */ in measure_12bit_voltage() [all …]
|
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> 22 #define EC_BAT_VOLTAGE 0x10 /* uint16_t, *9.76/32, mV */ 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() [all …]
|
/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. 6 * http://wiki.laptop.org/go/XO_1.75_HOST_to_EC_Protocol 19 #include <linux/olpc-ec.h> 59 * (from http://dev.laptop.org/git/users/rsmith/ec-1.75/tree/ec_cmd.h) 62 #define CMD_READ_VOLTAGE 0x10 /* out: u16, *9.76/32, mV */ 258 for (p = olpc_xo175_ec_cmds; p->cmd; p++) { in olpc_xo175_ec_resp_len() 259 if (p->cmd == cmd) in olpc_xo175_ec_resp_len() 260 return p->bytes_returned; in olpc_xo175_ec_resp_len() 263 return -EINVAL; in olpc_xo175_ec_resp_len() [all …]
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | lenovo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 27 #include "shared-psy-info.h" 28 #include "x86-android-tablets.h" 33 * The Android kernels have a hack in the i915 driver to write a non-standard 34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output. 46 * But on some models the panel's PWM output defaults to a duty-cycle of 65 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001), 66 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150), 75 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol [all …]
|
/linux/Documentation/translations/ja_JP/ |
H A D | SubmittingPatches | 2 This is a version of Documentation/process/submitting-patches.rst into Japanese. 3 This document is maintained by Keiichi KII <k-keiichi@bx.jp.nec.com> 18 linux-2.6.39/Documentation/process/submitting-patches.rst の和訳 22 翻訳者: Keiichi Kii <k-keiichi at bx dot jp dot nec dot com> 24 Matsukura さん <nbh--mats at nifty dot com> 37 コードを投稿する前に、Documentation/process/submit-checklist.rst の項目リストに目 40 -------------------------------------------- 42 -------------------------------------------- 44 1) 「 diff -up 」 45 ------------ [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | parade-ps8622.c | 1 // SPDX-License-Identifier: GPL-2.0-only 68 struct i2c_adapter *adap = client->adapter; in ps8622_set() 72 msg.addr = client->addr + page; in ps8622_set() 80 client->addr + page, reg, val, ret); in ps8622_set() 86 struct i2c_client *cl = ps8622->client; in ps8622_send_config() 137 /* [7:5] DCO_FTRNG=+-40% */ in ps8622_send_config() 147 /* Gitune=-37% */ in ps8622_send_config() 162 /* RPIO Setting: [7:4] LVDS driver bias current : 75% (250mV swing) */ in ps8622_send_config() 167 /* [7:6] Right-bar GPIO output strength is 8mA */ in ps8622_send_config() 179 err = ps8622_set(cl, 0x01, 0x02, 0x80 | ps8622->max_lane_count); in ps8622_send_config() [all …]
|
/linux/drivers/hwmon/ |
H A D | lm93.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm93.c - Part of lm_sensors, Linux kernel modules for hardware monitoring 13 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de> 16 * Copyright (c) 2003-2004 Jean Delvare <jdelvare@suse.de> 33 #include <linux/hwmon-sysfs.h> 34 #include <linux/hwmon-vid.h> 51 /* voltage inputs: in1-in16 (nr => 0-15) */ 56 /* temperature inputs: temp1-temp4 (nr => 0-3) */ 61 /* temp[1-4]_auto_boost (nr => 0-3) */ 64 /* #PROCHOT inputs: prochot1-prochot2 (nr => 0-1) */ [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
/linux/sound/soc/codecs/ |
H A D | wcd-mbhc-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 14 #include "wcd-mbhc-v2.h" 25 #define WCD_MBHC_ADC_HPH_THRESHOLD_MV 75 76 /* Holds type of Headset - Mono/Stereo */ 78 /* Holds mbhc detection method - ADC/Legacy */ 85 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 88 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() 89 mbhc->fields[field].reg, in wcd_mbhc_write_field() 90 mbhc->fields[field].mask, val); in wcd_mbhc_write_field() [all …]
|
/linux/drivers/net/phy/ |
H A D | marvell.c | 1 // SPDX-License-Identifier: GPL-2.0+ 189 /* RGMII to 1000BASE-X */ 191 /* RGMII to 100BASE-FX */ 391 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in marvell_config_intr() 455 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in marvell_config_aneg() 470 if (phydev->autoneg != AUTONEG_ENABLE || changed) { in marvell_config_aneg() 520 * marvell,reg-init property stored in the of_node for the phydev. 522 * marvell,reg-init = <reg-page reg mask value>,...; 524 * There may be one or more sets of <reg-page reg mask value>: 526 * reg-page: which register bank to use. [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 815 // Following function ENABLE sub-function will be used by driver when TMDS/HDMI/LVDS is used, disab… [all …]
|
/linux/tools/arch/x86/lib/ |
H A D | x86-opcode-map.txt | 4 # - Intel(R) 64 and IA-32 Architectures Software Developer's Manual Vol.2C 5 # (#326018-047US, June 2013) 8 # Table: table-name 9 # Referrer: escaped-name 10 # AVXcode: avx-code 11 # opcode: mnemonic|GrpXXX [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...] 13 # opcode: escape # escaped-name 21 # reg: mnemonic [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...] 32 # - (6 [all...] |