Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/drivers/regulator/
Drtmv20-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
75 gpiod_set_value(priv->enable_gpio, 1); in rtmv20_lsw_enable()
80 /* HW re-enable, disable cache only and sync regcache here */ in rtmv20_lsw_enable()
81 regcache_cache_only(priv->regmap, false); in rtmv20_lsw_enable()
82 ret = regcache_sync(priv->regmap); in rtmv20_lsw_enable()
99 regcache_cache_only(priv->regmap, true); in rtmv20_lsw_disable()
100 regcache_mark_dirty(priv->regmap); in rtmv20_lsw_disable()
102 gpiod_set_value(priv->enable_gpio, 0); in rtmv20_lsw_disable()
113 return -EINVAL; in rtmv20_lsw_set_current_limit()
118 sel = (max_uA - RTMV20_LSW_MINUA) / RTMV20_LSW_STEPUA; in rtmv20_lsw_set_current_limit()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/watchdog/
Df71808e_wdt.c3 * Copyright (C) 2007-2009 Hans de Goede <hdegoede@redhat.com> *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
40 #define SIO_UNLOCK_KEY 0x87 /* Key to enable Super-I/O */
41 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */
48 #define SIO_F81866_REG_PORT_SEL 0x27 /* F81866 Multi-Function Register */
85 #define WATCHDOG_PULSE_WIDTH 125 /* 125 ms, default pulse width for
105 "Watchdog signal pulse width. 0(=level), 1, 25, 30, 125, 150, 5000 or 6000 ms"
138 /* Super-I/O Function prototypes */
145 static inline void superio_select(int base, int ld);
159 u8 pulse_val; /* pulse width flag */
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/media/rc/
Dite-cir.c17 * skeleton provided by the nuvoton-cir driver.
19 * The lirc_it87 driver was originally written by Hans-Gunter Lutke Uphues
22 * <jimbo-lirc@edwardsclan.net>.
25 * <spmf2004-lirc@yahoo.fr> in 2008.
38 #include <media/rc-core.h>
41 #include "ite-cir.h"
68 MODULE_PARM_DESC(tx_duty_cycle, "Override TX duty cycle, 1-100");
73 MODULE_PARM_DESC(sample_period, "Override carrier sample period, us");
76 static int model_number = -1;
81 /* HW-independent code functions */
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_vid.c1 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
21 (e) && (e)->base.parent ? \
22 (e)->base.parent->base.id : -1, \
23 (e) && (e)->hw_intf ? \
24 (e)->hw_intf->idx - INTF_0 : -1, ##__VA_ARGS__)
27 (e) && (e)->base.parent ? \
28 (e)->base.parent->base.id : -1, \
29 (e) && (e)->hw_intf ? \
30 (e)->hw_intf->idx - INTF_0 : -1, ##__VA_ARGS__)
40 if (phys_enc->split_role != ENC_ROLE_SLAVE) in dpu_encoder_phys_vid_is_master()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/mtd/nand/raw/atmel/
Dnand-controller.c5 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
22 * Derived from Das U-Boot source code
23 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
41 * - atmel_nand_: all generic structures/functions
42 * - atmel_smc_nand_: all structures/functions specific to the SMC interface
44 * - atmel_hsmc_nand_: all structures/functions specific to the HSMC interface
46 * - atmel_nfc_: all structures/functions used to manipulate the NFC sub-block
48 * - <soc>_nand_: all SoC specific structures/functions
52 #include <linux/dma-mapping.h>
58 #include <linux/mfd/syscon/atmel-matrix.h>
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/sound/soc/davinci/
Ddavinci-mcasp.c4 * Multi-channel Audio Serial Port Driver
6 * Author: Nirmal Pandey <n-pandey@ti.com>,
40 #include "edma-pcm.h"
41 #include "../omap/sdma-pcm.h"
42 #include "davinci-mcasp.h"
120 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits()
127 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits()
134 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits()
141 __raw_writel(val, mcasp->base + offset); in mcasp_set_reg()
146 return (u32)__raw_readl(mcasp->base + offset); in mcasp_get_reg()
[all …]
/kernel/linux/linux-4.19/drivers/media/pci/bt8xx/
Dbttv-driver.c3 bttv - Bt848 frame grabber driver
5 Copyright (C) 1996,97,98 Ralph Metzler <rjkm@thp.uni-koeln.de>
6 & Marcus Metzler <mocm@thp.uni-koeln.de>
7 (c) 1999-2002 Gerd Knorr <kraxel@bytesex.org>
13 (c) 2005-2006 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
50 #include <media/v4l2-common.h>
51 #include <media/v4l2-ioctl.h>
52 #include <media/v4l2-event.h>
54 #include <media/drv-intf/msp3400.h>
56 #include <linux/dma-mapping.h>
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/patches/linux-5.10/hi3516dv300_patch/
Dhi3516dv300.patch1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
3 --- a/arch/arm/Kconfig
5 @@ -322,7 +322,7 @@ config ARCH_MULTIPLATFORM
9 - select AUTO_ZRELADDR
14 @@ -650,6 +650,8 @@ source "arch/arm/mach-highbank/Kconfig"
16 source "arch/arm/mach-hisi/Kconfig"
18 +source "arch/arm/mach-hibvt/Kconfig"
20 source "arch/arm/mach-imx/Kconfig"
22 source "arch/arm/mach-integrator/Kconfig"
23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
[all …]
/kernel/linux/linux-4.19/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
76 { DPARERR, "Data-path Parity Error" },
84 { P_DATAOUT, MSG_NOOP, "in Data-out phase" },
85 { P_DATAIN, MSG_INITIATOR_DET_ERR, "in Data-in phase" },
86 { P_DATAOUT_DT, MSG_NOOP, "in DT Data-out phase" },
87 { P_DATAIN_DT, MSG_INITIATOR_DET_ERR, "in DT Data-in phase" },
89 { P_MESGOUT, MSG_NOOP, "in Message-out phase" },
91 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" },
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/clk/bcm/
Dclk-bcm2835.c37 #include <linux/clk-provider.h>
46 #include <dt-bindings/clock/bcm2835.h>
53 # define CM_DIV_FRAC_MASK GENMASK(CM_DIV_FRAC_BITS - 1, 0)
259 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1)
334 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write()
339 return readl(cprman->regs + reg); in cprman_read()
352 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
369 dev_err(cprman->dev, "timeout waiting for OSCCOUNT\n"); in bcm2835_measure_tcnt_mux()
380 dev_err(cprman->dev, "timeout waiting for !BUSY\n"); in bcm2835_measure_tcnt_mux()
392 spin_unlock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/ath/ath10k/
Dmac.c2 * Copyright (c) 2005-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
34 #include "wmi-tlv.h"
35 #include "wmi-ops.h"
97 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
132 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
133 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
135 if (ath10k_mac_bitrate_is_cck(rate->bitrate) != cck) in ath10k_mac_hw_rate_to_idx()
138 if (rate->hw_value == hw_rate) in ath10k_mac_hw_rate_to_idx()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/patches/linux-4.19/hi3516dv300_patch/
Dhi3516dv300.patch1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
3 --- a/arch/arm/Kconfig
5 @@ -330,7 +330,7 @@ config ARCH_MULTIPLATFORM
9 - select AUTO_ZRELADDR
14 @@ -751,6 +751,8 @@ source "arch/arm/mach-highbank/Kconfig"
16 source "arch/arm/mach-hisi/Kconfig"
18 +source "arch/arm/mach-hibvt/Kconfig"
20 source "arch/arm/mach-imx/Kconfig"
22 source "arch/arm/mach-integrator/Kconfig"
23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
[all …]
/kernel/linux/linux-5.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 …]

12