Home
last modified time | relevance | path

Searched +full:cmd +full:- +full:dat +full:- +full:delay +full:- +full:select (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dsdhci-milbeaut.txt7 - 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 Darm,pl18x.yaml1 # 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 Dfujitsu,sdhci-fujitsu.yaml1 # 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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192-asurada.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/spmi/spmi.h>
25 stdout-path = "serial0:115200n8";
33 backlight_lcd0: backlight-lcd0 {
34 compatible = "pwm-backlight";
36 power-supply = <&ppvar_sys>;
37 enable-gpios = <&pio 152 0>;
38 brightness-levels = <0 1023>;
[all …]
H A Dmt8183-kukui.dtsi1 // 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 = <&bl_pp5000>;
28 enable-gpios = <&pio 176 0>;
29 brightness-levels = <0 1023>;
30 num-interpolated-steps = <1023>;
31 default-brightness-level = <576>;
[all …]
H A Dmt8195-cherry.dtsi1 // 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 …]
/openbmc/linux/drivers/mmc/host/
H A Dsdhci_f_sdh30.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd
13 #include <linux/delay.h>
20 #include "sdhci-pltfm.h"
55 if (priv->vendor_hs200) { in sdhci_f_sdh30_soft_voltage_switch()
56 dev_info(priv->dev, "%s: setting hs200\n", __func__); in sdhci_f_sdh30_soft_voltage_switch()
58 ctrl |= priv->vendor_hs200; in sdhci_f_sdh30_soft_voltage_switch()
82 if (priv->enable_cmd_dat_delay) { in sdhci_f_sdh30_reset()
88 if ((host->mmc->caps & MMC_CAP_NONREMOVABLE) && in sdhci_f_sdh30_reset()
116 struct device *dev = &pdev->dev; in sdhci_f_sdh30_probe()
[all …]
H A Dsdhci-milbeaut.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd
12 #include <linux/delay.h>
19 #include "sdhci-pltfm.h"
110 mmc_hostname(host->mmc)); in sdhci_milbeaut_reset()
117 if (priv->enable_cmd_dat_delay) { in sdhci_milbeaut_reset()
195 if (priv->enable_cmd_dat_delay) { in sdhci_milbeaut_vendor_init()
204 .compatible = "socionext,milbeaut-m10v-sdhci-3.0",
213 int rate = clk_get_rate(priv->clk); in sdhci_milbeaut_init()
233 struct device *dev = &pdev->dev; in sdhci_milbeaut_probe()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Ds3c2410.c1 // 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 Dcs553x_nand.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * mtd-id for command line partitioning is cs553x_nand_cs[0-3]
12 * where 0-3 reflects the chip select for NAND.
19 #include <linux/delay.h>
39 #define MSR_DIVIL_LBAR_FLSH0 0x51400010 /* Flash Chip Select 0 */
40 #define MSR_DIVIL_LBAR_FLSH1 0x51400011 /* Flash Chip Select 1 */
41 #define MSR_DIVIL_LBAR_FLSH2 0x51400012 /* Flash Chip Select 2 */
42 #define MSR_DIVIL_LBAR_FLSH3 0x51400013 /* Flash Chip Select 3 */
54 /* Registers within the NAND flash controller BAR -- memory mapped */
56 #define MM_NAND_CTL 0x800 /* Any even address 0x800-0x80e */
[all …]
H A Domap2.c1 // 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 …]
/openbmc/linux/include/linux/mtd/
H A Drawnand.h1 /* 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 …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2004-2008 Texas Instruments, <www.ti.com>
54 * omap_nand_hwcontrol - Set the address pointers corretly for the
57 static void omap_nand_hwcontrol(struct mtd_info *mtd, int32_t cmd, in omap_nand_hwcontrol() argument
62 int cs = info->cs; in omap_nand_hwcontrol()
70 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_cmd; in omap_nand_hwcontrol()
73 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_adr; in omap_nand_hwcontrol()
76 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_dat; in omap_nand_hwcontrol()
80 if (cmd != NAND_CMD_NONE) in omap_nand_hwcontrol()
81 writeb(cmd, this->IO_ADDR_W); in omap_nand_hwcontrol()
[all …]
H A Dmxc_nand.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2004-2007 Freescale Semiconductor, Inc.
14 #include <asm/arch/imx-regs.h>
103 while (size--) in mxc_nand_memcpy32()
117 while (max_retries-- > 0) {
119 tmp = readnfc(&host->regs->config2);
122 writenfc(tmp, &host->regs->config2);
124 tmp = readnfc(&host->ip_regs->ipc);
127 writenfc(tmp, &host->ip_regs->ipc);
143 static void send_cmd(struct mxc_nand_host *host, uint16_t cmd) argument
[all …]
/openbmc/linux/drivers/media/pci/ngene/
H A Dngene-core.c1 // 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 …]
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
10 #include <linux/crc-itu-t.h>
23 "\t\t\tCommand transfers are short and the CPU-cycle cost\n"
31 "\t\t\tData transfers can be large and the CPU-cycle cost\n"
38 * USER GUIDE" (https://tinyurl.com/4hhshdts) but we have observed 1-4
103 * Select the data packet size (log2 of number of bytes): Use the
163 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_parse_gpios()
164 struct wilc_spi *spi_priv = wilc->bus_data; in wilc_parse_gpios()
165 struct wilc_gpios *gpios = &spi_priv->gpios; in wilc_parse_gpios()
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dcore.c1 // 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>
24 #include <linux/fault-inject.h>
33 #include <linux/mmc/slot-gpio.h>
50 /* The max erase timeout, used when host->max_busy_timeout isn't specified */
65 unsigned long delay) in mmc_schedule_delayed_work() argument
73 return queue_delayed_work(system_freezable_wq, work, delay); in mmc_schedule_delayed_work()
85 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request() local
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dhgpk.c1 // 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 …]
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
65 /* Select the chip by setting nCE to low */
67 /* Select the command latch by setting CLE to high */
69 /* Select the address latch by setting ALE to high */
104 /* Extended commands for AG-AND device */
115 /* multi-bank error status (banks 0-3) */
123 #define NAND_CMD_NONE -1
132 #define NAND_DATA_IFACE_CHECK_ONLY -1
164 * ecc.correct() returns -EBADMSG.
[all …]
/openbmc/linux/sound/pci/ca0106/
H A Dca0106_main.c1 // 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 …]
/openbmc/linux/drivers/net/ethernet/8390/
H A Daxnet_cs.c1 // 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 …]
/openbmc/linux/sound/soc/ti/
H A Ddavinci-mcasp.c1 // 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>
39 #include "edma-pcm.h"
40 #include "sdma-pcm.h"
41 #include "udma-pcm.h"
42 #include "davinci-mcasp.h"
136 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits()
143 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-viapro.c1 // 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 …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-config.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel Speed Select -- Enumerate and control features
51 static int current_clos = -1;
52 static int clos_epp = -1;
53 static int clos_prop_prio = -1;
54 static int clos_min = -1;
55 static int clos_max = -1;
56 static int clos_desired = -1;
153 /* only three CascadeLake-N models are supported */ in update_cpu_model()
162 err(-1, "cannot open /proc/cpuinfo\n"); in update_cpu_model()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dmmc.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <dm/device-internal.h>
35 return -ENOSYS; in mmc_wait_dat0()
41 return -1; in board_mmc_getwp()
51 if (mmc->cfg->ops->getwp) in mmc_getwp()
52 wp = mmc->cfg->ops->getwp(mmc); in mmc_getwp()
62 return -1; in board_mmc_getcd()
67 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send() argument
69 printf("CMD_SEND:%d\n", cmd->cmdidx); in mmmc_trace_before_send()
70 printf("\t\tARG\t\t\t 0x%08x\n", cmd->cmdarg); in mmmc_trace_before_send()
[all …]

12