Home
last modified time | relevance | path

Searched +full:ld +full:- +full:pulse +full:- +full:width +full:- +full:us (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Drichtek,rtmv20-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
27 wakeup-source: true
32 enable-gpios:
36 richtek,ld-pulse-delay-us:
38 load current pulse delay in microsecond after strobe pin pulse high.
43 richtek,ld-pulse-width-us:
[all …]
/Linux-v5.10/drivers/regulator/
Drtmv20-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
74 gpiod_set_value(priv->enable_gpio, 1); in rtmv20_lsw_enable()
79 /* HW re-enable, disable cache only and sync regcache here */ in rtmv20_lsw_enable()
80 regcache_cache_only(priv->regmap, false); in rtmv20_lsw_enable()
81 ret = regcache_sync(priv->regmap); in rtmv20_lsw_enable()
98 regcache_cache_only(priv->regmap, true); in rtmv20_lsw_disable()
99 regcache_mark_dirty(priv->regmap); in rtmv20_lsw_disable()
101 gpiod_set_value(priv->enable_gpio, 0); in rtmv20_lsw_disable()
133 ret = regmap_read(priv->regmap, RTMV20_REG_LDIRQ, &val); in rtmv20_irq_handler()
135 dev_err(priv->dev, "Failed to get irq flags\n"); in rtmv20_irq_handler()
[all …]
/Linux-v5.10/drivers/watchdog/
Df71808e_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2007-2009 Hans de Goede <hdegoede@redhat.com> *
27 #define SIO_UNLOCK_KEY 0x87 /* Key to enable Super-I/O */
28 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */
36 #define SIO_F81866_REG_PORT_SEL 0x27 /* F81866 Multi-Function Register */
75 #define WATCHDOG_PULSE_WIDTH 125 /* 125 ms, default pulse width for
95 "Watchdog signal pulse width. 0(=level), 1, 25, 30, 125, 150, 5000 or 6000 ms"
129 /* Super-I/O Function prototypes */
136 static inline void superio_select(int base, int ld);
150 u8 pulse_val; /* pulse width flag */
[all …]
/Linux-v5.10/drivers/media/rc/
Dite-cir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * skeleton provided by the nuvoton-cir driver.
10 * The lirc_it87 driver was originally written by Hans-Gunter Lutke Uphues
13 * <jimbo-lirc@edwardsclan.net>.
16 * <spmf2004-lirc@yahoo.fr> in 2008.
29 #include <media/rc-core.h>
32 #include "ite-cir.h"
59 MODULE_PARM_DESC(tx_duty_cycle, "Override TX duty cycle, 1-100");
64 MODULE_PARM_DESC(sample_period, "Override carrier sample period, us");
67 static int model_number = -1;
[all …]
/Linux-v5.10/drivers/scsi/ufs/
Dufs-mediatek.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/arm-smccc.h>
21 #include "ufshcd-crypto.h"
22 #include "ufshcd-pltfrm.h"
25 #include "ufs-mediatek.h"
54 .compatible = "mediatek,mt8183-ufshci",
57 .compatible = "mediatek,mt8192-ufshci",
67 return (host->caps & UFS_MTK_CAP_BOOST_CRYPT_ENGINE); in ufs_mtk_is_boost_crypt_enabled()
112 dev_info(hba->dev, "%s: crypto enable failed, err: %lu\n", in ufs_mtk_crypto_enable()
114 hba->caps &= ~UFSHCD_CAP_CRYPTO; in ufs_mtk_crypto_enable()
[all …]
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.c1 // SPDX-License-Identifier: ISC
97 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
99 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
114 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len) | in mt7615_mcu_fill_msg()
126 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7615_mcu_fill_msg()
127 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7615_mcu_fill_msg()
128 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7615_mcu_fill_msg()
129 uni_txd->s2d_index = MCU_S2D_H2N; in mt7615_mcu_fill_msg()
130 uni_txd->pkt_type = MCU_PKT_ID; in mt7615_mcu_fill_msg()
131 uni_txd->seq = seq; in mt7615_mcu_fill_msg()
[all …]
/Linux-v5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1 // SPDX-License-Identifier: GPL-2.0
6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
23 * Derived from Das U-Boot source code
24 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
38 * - atmel_nand_: all generic structures/functions
39 * - atmel_smc_nand_: all structures/functions specific to the SMC interface
41 * - atmel_hsmc_nand_: all structures/functions specific to the HSMC interface
43 * - atmel_nfc_: all structures/functions used to manipulate the NFC sub-block
45 * - <soc>_nand_: all SoC specific structures/functions
49 #include <linux/dma-mapping.h>
[all …]
/Linux-v5.10/drivers/gpu/drm/mcde/
Dmcde_dsi.c1 // SPDX-License-Identifier: GPL-2.0+
73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq()
75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq()
77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq()
79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq()
81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq()
84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq()
87 dev_err(d->dev, "direct command ACK ERR received\n"); in mcde_dsi_irq()
89 dev_err(d->dev, "direct command read ERR received\n"); in mcde_dsi_irq()
91 writel(val, d->regs + DSI_DIRECT_CMD_STS_CLR); in mcde_dsi_irq()
[all …]
/Linux-v5.10/drivers/media/pci/bt8xx/
Dbttv-driver.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 bttv - Bt848 frame grabber driver
6 Copyright (C) 1996,97,98 Ralph Metzler <rjkm@thp.uni-koeln.de>
7 & Marcus Metzler <mocm@thp.uni-koeln.de>
8 (c) 1999-2002 Gerd Knorr <kraxel@bytesex.org>
14 (c) 2005-2006 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
38 #include <media/v4l2-common.h>
39 #include <media/v4l2-ioctl.h>
40 #include <media/v4l2-event.h>
42 #include <media/drv-intf/msp3400.h>
[all …]
/Linux-v5.10/drivers/media/i2c/
Dmax9286.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2017-2019 Jacopo Mondi
6 * Copyright (C) 2017-2019 Kieran Bingham
7 * Copyright (C) 2017-2019 Laurent Pinchart
8 * Copyright (C) 2017-2019 Niklas Söderlund
19 #include <linux/i2c-mux.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-ctrls.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-fwnode.h>
[all …]
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic79xx_core.c4 * Copyright (c) 1994-2002 Justin T. Gibbs.
5 * Copyright (c) 2000-2003 Adaptec Inc.
19 * 3. Neither the names of the above-listed copyright holders nor the names
68 { DPARERR, "Data-path Parity Error" },
76 { P_DATAOUT, MSG_NOOP, "in Data-out phase" },
77 { P_DATAIN, MSG_INITIATOR_DET_ERR, "in Data-in phase" },
78 { P_DATAOUT_DT, MSG_NOOP, "in DT Data-out phase" },
79 { P_DATAIN_DT, MSG_INITIATOR_DET_ERR, "in DT Data-in phase" },
81 { P_MESGOUT, MSG_NOOP, "in Message-out phase" },
83 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" },
[all …]
/Linux-v5.10/drivers/clk/bcm/
Dclk-bcm2835.c1 // SPDX-License-Identifier: GPL-2.0+
27 #include <linux/clk-provider.h>
37 #include <dt-bindings/clock/bcm2835.h>
44 # define CM_DIV_FRAC_MASK GENMASK(CM_DIV_FRAC_BITS - 1, 0)
252 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1)
336 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write()
341 return readl(cprman->regs + reg); in cprman_read()
354 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
371 dev_err(cprman->dev, "timeout waiting for OSCCOUNT\n"); in bcm2835_measure_tcnt_mux()
382 dev_err(cprman->dev, "timeout waiting for !BUSY\n"); in bcm2835_measure_tcnt_mux()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dmac.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
24 #include "wmi-tlv.h"
25 #include "wmi-ops.h"
87 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
122 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
123 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
125 if (ath10k_mac_bitrate_is_cck(rate->bitrate) != cck) in ath10k_mac_hw_rate_to_idx()
[all …]
/Linux-v5.10/drivers/scsi/
Dipr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ipr.c -- driver for IBM Power Linux RAID adapters
5 * Written By: Brian King <brking@us.ibm.com>, IBM Corporation
17 * IBM pSeries: PCI-X Dual Channel Ultra 320 SCSI RAID Adapter
18 * PCI-X Dual Channel Ultra 320 SCSI Adapter
19 * PCI-X Dual Channel Ultra 320 SCSI RAID Enablement Card
23 * - Ultra 320 SCSI controller
24 * - PCI-X host interface
25 * - Embedded PowerPC RISC Processor and Hardware XOR DMA Engine
26 * - Non-Volatile Write Cache
[all …]