/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 41 nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); in dcb_i2c_table() 73 struct nvkm_subdev *subdev = &bios->subdev; in dcb_i2c_parse() 83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse() 88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse() 90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse() 91 if (info->type == 0x07) in dcb_i2c_parse() 92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse() 96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse() [all …]
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 5 - Edward A. Falk <efalk@google.com> 10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6) 23 CDROMSTOP Stop the cdrom drive 24 CDROMSTART Start the cdrom drive 33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting 34 CDROMMULTISESSION Obtain the start-of-last-session 40 CDROMRESET hard-reset the drive 41 CDROMVOLREAD Get the drive's volume setting 47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk) 49 CDROMGETSPINDOWN return 4-bit spindown value [all …]
|
H A D | hdio.rst | 5 - Edward A. Falk <efalk@google.com> 10 the HD/IDE layer. These are by-and-large implemented (as of Linux 5.11) 11 drivers/ata/libata-scsi.c. 23 HDIO_DRIVE_TASK execute task and special drive command 24 HDIO_DRIVE_CMD execute a special drive command 27 ioctls that pass non-pointer values: 37 ------------------------------------------------------------------------------ 42 and -1 with errno set to an appropriate value on error. 44 Unless otherwise specified, all ioctl calls return -1 and set 51 ------------------------------------------------------------------------------ [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 22 type: boolean 25 bias-high-impedance: 26 type: boolean 27 description: high impedance mode ("third-state", "floating") [all …]
|
H A D | starfive,jh7110-sys-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7110-sys-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7110 RISC-V SoC from StarFive Technology Ltd. 13 can be multiplexed and have configurable bias, drive strength, 21 - Jianlong Huang <jianlong.huang@starfivetech.com> 25 const: starfive,jh7110-sys-pinctrl 39 interrupt-controller: true 41 '#interrupt-cells': [all …]
|
H A D | starfive,jh7100-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd. 14 configurable bias, drive strength, schmitt trigger etc. The SoC has an 15 interesting 2-layered approach to pin muxing best illustrated by the diagram 21 LCD output -----------------| | 22 CMOS Camera interface ------| |--- PAD_GPIO[0] 23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1] [all …]
|
H A D | mediatek,mt8188-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hui Liu <hui.liu@mediatek.com> 17 const: mediatek,mt8188-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 25 are defined in <dt-bindings/gpio/gpio.h>. 28 gpio-ranges: [all …]
|
H A D | thead,th1520-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/thead,th1520-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: T-Head TH1520 SoC pin controller 10 - Emil Renner Berthing <emil.renner.berthing@canonical.com> 13 Pinmux and pinconf controller in the T-Head TH1520 RISC-V SoC. 17 PADCTRL_AOSYS -> PAD Group 1 18 PADCTRL1_APSYS -> PAD Group 2 19 PADCTRL0_APSYS -> PAD Group 3 [all …]
|
H A D | starfive,jh7110-aon-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7110-aon-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7110 RISC-V SoC from StarFive Technology Ltd. 13 can be multiplexed and have configurable bias, drive strength, 18 - Jianlong Huang <jianlong.huang@starfivetech.com> 22 const: starfive,jh7110-aon-pinctrl 33 interrupt-controller: true 35 '#interrupt-cells': [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
/linux/drivers/block/ |
H A D | swim.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * 2004-08-21 (lv) - Initial implementation 12 * 2008-10-30 (lv) - Port to 2.6 18 #include <linux/blk-mq.h> 39 #define DRIVER_VERSION "Version 0.2 (2008-10-30)" 41 #define REG(x) unsigned char x, x ## _pad[0x200 - 1]; 63 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v)) 64 #define swim_read(base, reg) in_8(&(base)->read_##reg) 87 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v)) 88 #define iwm_read(base, reg) in_8(&(base)->reg) [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 26 clock-names: 28 - const: dmc_clk 30 operating-points-v2: true [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | motorcomm,yt8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Sae <frank.sae@motor-comm.com> 13 - $ref: ethernet-phy.yaml# 18 - ethernet-phy-id4f51.e91a 19 - ethernet-phy-id4f51.e91b 21 rx-internal-delay-ps: 24 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. 30 tx-internal-delay-ps: [all …]
|
/linux/include/uapi/linux/ |
H A D | cdrom.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * -- <linux/cdrom.h> 4 * General header file for linux CD-ROM drivers 9 * 1998-2002 Jens Axboe, axboe@suse.de 19 * As of Linux 2.1.x, all Linux CD-ROM application programs will use this 21 * a uniform interface between software accessing CD-ROMs and the various 23 * 23 different kinds of strange CD-ROM drives, but at least there will 24 * now be one, and only one, Linux CD-ROM interface. 27 * should use the O_NONBLOCK option when opening a CD-ROM device 29 * like "No medium found" or "Wrong medium type" upon attempting to [all …]
|
H A D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 65 /* issue/don't issue kernel messages on media type change */ 100 * ultra cheap floppies ;-) 121 /* get drive type: 5 1/4 or 3 1/2 */ 125 * Drive parameters (user modifiable) [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinconf-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 22 #include <linux/pinctrl/pinconf-generic.h> 28 #include "pinctrl-utils.h" 39 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL, false), 40 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL, false), 41 PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL, false), 42 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA", true), 43 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH_UA, "output drive strength", "uA", true), [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/clock/qcom,gcc-msm8953.h> 5 #include <dt-bindings/clock/qcom,rpmcc.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/power/qcom-rpmpd.h> 9 #include <dt-bindings/soc/qcom,apr.h> 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | msm8998.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,gcc-msm8998.h> 6 #include <dt-bindings/clock/qcom,gpucc-msm8998.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8998.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/gpio/gpio.h> 14 interrupt-parent = <&intc>; [all …]
|
H A D | sa8295p-adp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 11 #include <dt-bindings/spmi/spmi.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include "sa8540p-pmics.dtsi" 19 compatible = "qcom,sa8295p-adp", "qcom,sa8540p"; 26 stdout-path = "serial0:115200n8"; 29 dp2-connector { [all …]
|
H A D | x1e80100.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h> 11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/interconnect/qcom,icc.h> 14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h> [all …]
|
H A D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | msm8916-asus-z00l.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 15 chassis-type = "handset"; 24 stdout-path = "serial0"; 27 gpio-keys { [all …]
|
/linux/drivers/hwmon/ |
H A D | drivetemp.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * This drive supports reporting the temperature of SATA drives. It can be 16 * The primary means to read drive temperatures and temperature limits 18 * ATA8-ACS. 19 * It can be used to read the current drive temperature, temperature limits, 21 * feature set is documented in "AT Attachment 8 - ATA/ATAPI Command Set 22 * (ATA8-ACS)". 24 * If the SCT Command Transport feature set is not available, drive temperatures 28 * There are three SMART attributes which may report drive temperatures. 30 * http://www.cropel.com/library/smart-attribute-list.aspx). [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | utresdecode.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utresdecode - Resource descriptor keyword strings 28 "0 - Good Configuration", 29 "1 - Acceptable Configuration", 30 "2 - Suboptimal Configuration", 31 "3 - ***Invalid Configuration***", 86 "Type C", 87 "Type D", 88 "Unknown Type", 89 "Unknown Type" [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974pro-samsung-klte-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/leds/common.h> 9 chassis-type = "handset"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-names = "default"; [all …]
|