/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-milbeaut.txt | 7 - compatible: "socionext,milbeaut-m10v-sdhci-3.0" 8 - clocks: Must contain an entry for each entry in clock-names. It is a 9 list of phandles and clock-specifier pairs. 10 See ../clocks/clock-bindings.txt for details. 11 - clock-names: Should contain the following two entries: 12 "iface" - clock used for sdhci interface 13 "core" - core clock for sdhci controller 16 - fujitsu,cmd-dat-delay-select: boolean property indicating that this host 21 compatible = "socionext,milbeaut-m10v-sdhci-3.0"; 24 voltage-ranges = <3300 3300>; [all …]
|
H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 23 # We need a select here so we don't match all nodes with 'arm,primecell' 24 select: 29 - arm,pl180 [all …]
|
H A D | fujitsu,sdhci-fujitsu.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/fujitsu,sdhci-fujitsu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 13 - $ref: mmc-controller.yaml# 18 - items: 19 - const: socionext,synquacer-sdhci 20 - const: fujitsu,mb86s70-sdhci-3.0 21 - enum: [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { 36 compatible = "pwm-backlight"; [all …]
|
H A D | mt8183-kukui.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 21 stdout-path = "serial0:115200n8"; 25 compatible = "pwm-backlight"; 27 power-supply = <®_vsys>; 28 enable-gpios = <&pio 176 0>; 29 brightness-levels = <0 1023>; 30 num-interpolated-steps = <1023>; 31 default-brightness-level = <576>; [all …]
|
H A D | mt8395-genio-1200-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 16 #include <dt-bindings/spmi/spmi.h> 17 #include <dt-bindings/usb/pd.h> 20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC"; [all …]
|
H A D | mt8395-radxa-nio-12l.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 13 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 14 #include <dt-bindings/spmi/spmi.h> 15 #include <dt-bindings/usb/pd.h> 19 chassis-type = "embedded"; 20 compatible = "radxa,nio-12l", "mediatek,mt8395", "mediatek,mt8195"; 36 stdout-path = "serial0:921600n8"; [all …]
|
H A D | mt8390-genio-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Author: Chris Chen <chris-qj.chen@mediatek.com> 9 * Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h> 18 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 19 #include <dt-bindings/spmi/spmi.h> 20 #include <dt-bindings/usb/pd.h> [all …]
|
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | s3c2410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright © 2004-2008 Simtec Electronics 10 #define pr_fmt(fmt) "nand-s3c2410: " fmt 23 #include <linux/delay.h> 34 #include <linux/platform_data/mtd-nand-s3c2410.h> 77 return -ERANGE; in s3c2410_ooblayout_ecc() 79 oobregion->offset = 0; in s3c2410_ooblayout_ecc() 80 oobregion->length = 3; in s3c2410_ooblayout_ecc() 89 return -ERANGE; in s3c2410_ooblayout_free() 91 oobregion->offset = 8; in s3c2410_ooblayout_free() [all …]
|
H A D | omap2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 11 #include <linux/delay.h> 18 #include <linux/mtd/nand-ecc-sw-bch.h> 21 #include <linux/omap-dma.h> 29 #include <linux/omap-gpmc.h> 30 #include <linux/platform_data/mtd-nand-omap2.h> 32 #define DRIVER_NAME "omap2-nand" 198 * omap_prefetch_enable - configures and starts prefetch transfer 199 * @cs: cs (chip select) number [all …]
|
/linux/include/linux/mtd/ |
H A D | rawnand.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 38 /* Select the chip by setting nCE to low */ 40 /* Select the command latch by setting CLE to high */ 42 /* Select the address latch by setting ALE to high */ 75 #define NAND_CMD_NONE -1 84 #define NAND_DATA_IFACE_CHECK_ONLY -1 98 * ecc.correct() returns -EBADMSG. 124 * Chip requires ready check on read (for auto-incremented sequential read). 142 #define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ)) [all …]
|
/linux/drivers/media/pci/ngene/ |
H A D | ngene-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2007 Micronas 7 * Copyright (C) 2008-2009 Ralph Metzler <rjkm@metzlerbros.de> 9 * support for EEPROM-copying, 10 * support for new dual DVB-S2 card prototype 15 #include <linux/delay.h> 41 #define ngwriteb(dat, adr) writeb((dat), dev->iomem + (adr)) argument 42 #define ngwritel(dat, adr) writel((dat), dev->iomem + (adr)) argument 43 #define ngwriteb(dat, adr) writeb((dat), dev->iomem + (adr)) argument 44 #define ngreadl(adr) readl(dev->iomem + (adr)) [all …]
|
/linux/drivers/input/mouse/ |
H A D | hgpk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver 5 * Copyright (c) 2006-2008 One Laptop Per Child 13 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 35 #include <linux/delay.h> 56 "delay (ms) before recal after jumpiness detected"); 61 "delay (ms) before recal after packet spew detected"); 71 "delay (ms) before recal after recal interrupt detected"); 126 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() 135 (avx > recalib_delta / 2 && ((avx / 4) > priv->xlast))) { in hgpk_discard_decay_hack() [all …]
|
/linux/drivers/mmc/core/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 15 #include <linux/delay.h> 23 #include <linux/fault-inject.h> 32 #include <linux/mmc/slot-gpio.h> 49 /* The max erase timeout, used when host->max_busy_timeout isn't specified */ 64 unsigned long delay) in mmc_schedule_delayed_work() argument 72 return queue_delayed_work(system_freezable_wq, work, delay); in mmc_schedule_delayed_work() 84 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request() local [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * (One can use a standard mono mini-jack to one RCA plugs cable. 13 * or one can use a standard stereo mini-jack to two RCA plugs cable. 23 * The only playback controls that currently do anything are: - 82 * Implement support for Line-in capture on SB Live 24bit. 89 * Some stability problems when unloading the snd-ca0106 kernel module. 90 * -- 96 * -- 99 * P17 Chip: CA0106-DAT [all …]
|
/linux/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 1 // SPDX-License-Identifier: GPL-1.0+ 5 A PCMCIA ethernet driver for Asix AX88190-based cards 7 The Asix AX88190 is a NS8390-derived chipset with a few nasty 14 Copyright (C) 2001 David A. Hinds -- dahinds@users.sourceforge.net 34 #include <linux/delay.h> 52 #define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ 81 static int axnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 146 dev_dbg(&link->dev, "axnet_attach()\n"); in axnet_probe() 150 return -ENOMEM; in axnet_probe() 153 spin_lock_init(&ei_local->page_lock); in axnet_probe() [all …]
|
H A D | pcnet_cs.c | 1 // SPDX-License-Identifier: GPL-1.0+ 4 A PCMCIA ethernet driver for NS8390-based cards 6 This driver supports the D-Link DE-650 and Linksys EthernetCard 7 cards, the newer D-Link and Linksys combo cards, Accton EN2212 8 cards, the RPTI EP400, and the PreMax PE-200 in non-shared-memory 10 Conrad ethernet card, and the Kingston KNE-PCM/x in shared-memory 13 Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net 25 CCAE support. Drivers merged back together, and shared-memory 37 #include <linux/delay.h> 54 #define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ [all …]
|
/linux/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 19 #include <linux/delay.h> 37 #include "edma-pcm.h" 38 #include "sdma-pcm.h" 39 #include "udma-pcm.h" 40 #include "davinci-mcasp.h" 134 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 141 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() [all …]
|
/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-config.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Speed Select -- Enumerate and control features 55 static int current_clos = -1; 56 static int clos_epp = -1; 57 static int clos_prop_prio = -1; 58 static int clos_min = -1; 59 static int clos_max = -1; 60 static int clos_desired = -1; 168 /* only three CascadeLake-N models are supported */ in update_cpu_model() 177 err(-1, "cannot open /proc/cpuinfo\n"); in update_cpu_model() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-viapro.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, 6 Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de> 34 #include <linux/delay.h> 63 We try to select the better one */ 104 dev_dbg(&vt596_adapter.dev, "%s: STS=%02x CNT=%02x CMD=%02x ADD=%02x " in vt596_dump_regs() 105 "DAT=%02x,%02x\n", msg, inb_p(SMBHSTSTS), inb_p(SMBHSTCNT), in vt596_dump_regs() 118 for (; i < I2C_SMBUS_BLOCK_MAX - 1; i++) in vt596_dump_regs() 127 /* Return -1 on error, 0 on success */ 145 return -EBUSY; in vt596_transaction() [all …]
|
/linux/drivers/mmc/host/ |
H A D | mtk-sd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2015, 2022 MediaTek Inc. 11 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 34 #include <linux/mmc/slot-gpio.h> 42 /*--------------------------------------------------------------------------*/ 44 /*--------------------------------------------------------------------------*/ 51 /*--------------------------------------------------------------------------*/ 53 /*--------------------------------------------------------------------------*/ 92 /*--------------------------------------------------------------------------*/ [all …]
|
H A D | sdhci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver 5 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 9 * - JMicron (hardware and technical support) 13 #include <linux/delay.h> 19 #include <linux/dma-mapping.h> 33 #include <linux/mmc/slot-gpio.h> 40 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 43 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 50 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd); [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc91c92_cs.c | 3 A PCMCIA ethernet driver for SMC91c92-based cards. 9 Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net 14 (becker@scyld.com), Rowan Hughes (x-csrdh@jcu.edu.au), 36 #include <linux/delay.h> 145 #define BANK_SELECT 14 /* Window select register. */ 239 /* BANK 3 -- not the same values as in smc9194! */ 273 static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 307 dev_dbg(&link->dev, "smc91c92_attach()\n"); in smc91c92_probe() 312 return -ENOMEM; in smc91c92_probe() 314 smc->p_dev = link; in smc91c92_probe() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | imsttfb.c | 2 * drivers/video/imsttfb.c -- frame buffer device for IMS TwinTurbo 26 #include <linux/delay.h> 40 #define eieio() /* Enforce In-order Execution of I/O */ 172 TVPPMASK = 0x08, /* 2 Pixel Read-Mask */ 182 TVPCXPOL = 0x30, /* 12 Cursor-Position X LSB */ 183 TVPCXPOH = 0x34, /* 13 Cursor-Position X MSB */ 184 TVPCYPOL = 0x38, /* 14 Cursor-Position Y LSB */ 185 TVPCYPOH = 0x3c, /* 15 Cursor-Position Y MSB */ 204 TVPIRCKL = 0x30, /* Color-Key Overlay Low */ 205 TVPIRCKH = 0x31, /* Color-Key Overlay High */ [all …]
|