Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/regulator/
H A 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/drivers/regulator/
H A Drtmv20-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 #include <linux/delay.h>
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()
[all …]
/linux/kernel/time/
H A Dntp.c1 // SPDX-License-Identifier: GPL-2.0
27 * struct ntp_data - Structure holding all NTP related state
36 * (NTP dispersion + delay / 2)
41 * @ntp_tick_adj: Constant boot-param configurable NTP tick adjustment (upscaled)
91 [ 0 ... TIMEKEEPERS_MAX - 1 ] = {
111 * The following variables are used when a pulse-per-second (PPS) signal
130 if (ntpdata->time_status & STA_PPSTIME && ntpdata->time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
133 return shift_right(offset, SHIFT_PLL + ntpdata->time_constant); in ntp_offset_chunk()
139 ntpdata->pps_shift = PPS_INTMIN; in pps_reset_freq_interval()
140 ntpdata->pps_intcnt = 0; in pps_reset_freq_interval()
[all …]
/linux/sound/soc/codecs/
H A Dtas571x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/delay.h>
62 return priv->chip->vol_reg_size; in tas571x_register_size()
88 for (i = size; i >= 1; --i) { in tas571x_reg_write()
99 return -EIO; in tas571x_reg_write()
116 msgs[0].addr = client->addr; in tas571x_reg_read()
121 msgs[1].addr = client->addr; in tas571x_reg_read()
126 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read()
130 return -EIO; in tas571x_reg_read()
143 * register write for 8- and 20-byte registers
[all …]
/linux/drivers/ufs/host/
H A Dufs-qcom.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2016, Linux Foundation. All rights reserved.
9 #include <linux/delay.h>
17 #include <linux/reset-controller.h>
28 #include "ufshcd-pltfrm.h"
29 #include "ufs-qcom.h"
37 /* De-emphasis for gear-5 */
139 * ufs_qcom_config_ice_allocator() - ICE core allocator configuration
145 struct ufs_hba *hba = host->hba; in ufs_qcom_config_ice_allocator()
149 if (!(host->caps & UFS_QCOM_CAP_ICE_CONFIG) || in ufs_qcom_config_ice_allocator()
[all …]
/linux/drivers/input/touchscreen/
H A Dcyttsp5.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2012-2015 Cypress Semiconductor
13 #include <linux/crc-itu-t.h>
14 #include <linux/delay.h>
32 #define CY_NUM_BTN_EVENT_ID GENMASK(CY_BITS_PER_BTN - 1, 0)
226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read()
235 return -EINVAL; in cyttsp5_read()
238 return regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, size); in cyttsp5_read()
247 return -E2BIG; in cyttsp5_write()
263 return regmap_bulk_write(ts->regmap, reg & 0xFF, cmd, size + 1); in cyttsp5_write()
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
7 * Peter Sprenger (sprengermoving-bytes.de)
9 * inspired by existing hfc-pci driver:
10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
22 * Bit 0-7 = 0x00001 = HFC-E1 (1 port)
23 * or Bit 0-7 = 0x00004 = HFC-4S (4 ports)
24 * or Bit 0-7 = 0x00008 = HFC-8S (8 ports)
26 * Bit 9 = 0x00200 = Disable DTMF detect on all B-channels via hardware
38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
[all …]
/linux/drivers/usb/gadget/udc/
H A Domap_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * omap_udc.c -- for OMAP full speed udc; most chips support OTG.
6 * Copyright (C) 2004-2005 David Brownell
19 #include <linux/delay.h>
32 #include <linux/dma-mapping.h>
41 #include <asm/mach-types.h>
43 #include <linux/omap-dma.h>
44 #include <linux/platform_data/usb-omap1.h>
46 #include <linux/soc/ti/omap1-usb.h>
47 #include <linux/soc/ti/omap1-soc.h>
[all …]
/linux/drivers/scsi/aic7xxx/
H A 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, NOP, "in Data-out phase" },
77 { P_DATAIN, INITIATOR_ERROR, "in Data-in phase" },
78 { P_DATAOUT_DT, NOP, "in DT Data-out phase" },
79 { P_DATAIN_DT, INITIATOR_ERROR, "in DT Data-in phase" },
81 { P_MESGOUT, NOP, "in Message-out phase" },
83 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" },
[all …]
/linux/drivers/net/usb/
H A Dr8152.c1 // SPDX-License-Identifier: GPL-2.0-only
33 /* Information for net-next */
568 #define LPM_TIMER_500US 0x0c /* 500 us */
680 #define RTL_ADV2_5G_F_R BIT(5) /* Advertise 2.5GBASE-T fast-retrain */
763 #define size_to_mtu(s) ((s) - VLAN_ETH_HLEN - ETH_FCS_LEN)
966 * struct fw_block - block type and total length
977 * struct fw_header - header of the firmware file
1051 * struct fw_mac - a firmware block used by RTL_FW_PLA and RTL_FW_USB.
1092 * struct fw_phy_patch_key - a firmware block used by RTL_FW_PHY_START.
1107 * struct fw_phy_nc - a firmware block used by RTL_FW_PHY_NC.
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1 /* Copyright 2008-2013 Broadcom Corporation
8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
25 #include <linux/delay.h>
43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1)
205 (_phy)->def_md_devad, \
211 (_phy)->def_md_devad, \
239 * bnx2x_check_lfa - This function checks if link reinitialization is required,
251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa()
254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
257 /* NOTE: must be first condition checked - in bnx2x_check_lfa()
[all …]
H A Dbnx2x_main.c3 * Copyright (c) 2007-2013 Broadcom Corporation
36 #include <linux/dma-mapping.h>
39 #include <linux/delay.h>
83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw"
84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw"
85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw"
86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V15 ".fw"
87 #define FW_FILE_NAME_E1H_V15 "bnx2x/bnx2x-e1h-" FW_FILE_VERSION_V15 ".fw"
88 #define FW_FILE_NAME_E2_V15 "bnx2x/bnx2x-e2-" FW_FILE_VERSION_V15 ".fw"
117 MODULE_PARM_DESC(int_mode, " Force interrupt mode other than MSI-X "
[all …]