Home
last modified time | relevance | path

Searched +full:read +full:- +full:strobe +full:- +full:delay (Results 1 – 25 of 59) sorted by relevance

123

/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dti-aemif.txt4 provide a glue-less interface to a variety of asynchronous memory devices like
11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf
13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf
17 - compatible: "ti,davinci-aemif"
18 "ti,keystone-aemif"
19 "ti,da850-aemif"
21 - reg: contains offset/length value for AEMIF control registers
24 - #address-cells: Must be 2. The partition number has to be encoded in the
25 first address cell and it may accept values 0..N-1
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dfsl-imx-esdhc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
13 - $ref: sdhci-common.yaml#
20 by mmc.txt and the properties used by the sdhci-esdhc-imx driver.
25 - enum:
26 - fsl,imx25-esdhc
27 - fsl,imx35-esdhc
[all …]
H A Dsamsung,exynos-dw-mshc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mmc/samsung,exynos-dw-mshc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Jaehoon Chung <jh80.chung@samsung.com>
13 - Krzysztof Kozlowski <krzk@kernel.org>
18 - enum:
19 - axis,artpec8-dw-mshc
20 - samsung,exynos4210-dw-mshc
21 - samsung,exynos4412-dw-mshc
[all …]
H A Dsprd,sdhci-r11.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mmc/sprd,sdhci-r11.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
16 const: sprd,sdhci-r11
27 - description: SDIO source clock
28 - description: gate clock for enabling/disabling the device
[all …]
/linux/drivers/media/usb/au0828/
H A Dau0828-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/delay.h>
17 #include <media/v4l2-common.h>
28 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack()
51 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy()
74 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done()
97 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy()
122 int i, strobe = 0; in i2c_sendbytes() local
123 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes()
124 u8 i2c_speed = dev->board.i2c_clk_divider; in i2c_sendbytes()
[all …]
/linux/sound/drivers/
H A Dportman2x4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) by Levent Guendogdu <levon@feature-it.com>
9 * - cleanup and rewrite
11 * - source code cleanup
13 * - fixed compilation problem with alsa 1.0.6a (removed MODULE_CLASSES,
17 * - added 2.6 kernel support
19 …* - added parport_unregister_driver to the startup routine if the driver fails to detect a po…
20 * - added support for all 4 output ports in portman_putmidi
22 * - added checks for opened input device in interrupt handler
24 * - ported from alsa 0.5 to 1.0
[all …]
/linux/include/linux/
H A Dlp.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * usr/include/linux/lp.h c.1991-1992 James Wiegand
16 /* Magic numbers for defining port-device mappings */
17 #define LP_PARPORT_UNSPEC -4
18 #define LP_PARPORT_AUTO -3
19 #define LP_PARPORT_OFF -2
20 #define LP_PARPORT_NONE -1
25 #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */
26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */
33 #define LP_BASE(x) lp_table[(x)].dev->port->base
[all …]
/linux/drivers/media/i2c/
H A Dlm3646.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Ldd-Mlp <ldd-mlp@list.ti.com>
12 #include <linux/delay.h>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led)
86 return regmap_write(flash->regmap, in lm3646_mode_ctrl()
87 REG_ENABLE, flash->mode_reg | MODE_SHDN); in lm3646_mode_ctrl()
89 return regmap_write(flash->regmap, in lm3646_mode_ctrl()
90 REG_ENABLE, flash->mode_reg | MODE_TORCH); in lm3646_mode_ctrl()
[all …]
H A Dds90ub960.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the Texas Instruments DS90UB960-Q1 video deserializer
12 * - PM for serializer and remote peripherals. We need to manage:
13 * - VPOC
14 * - Power domain? Regulator? Somehow any remote device should be able to
16 * - Link between the deserializer and the serializer
17 * - Related to VPOC management. We probably always want to turn on the VPOC
19 * - Serializer's services: i2c, gpios, power
20 * - The serializer needs to resume before the remote peripherals can
22 * - How to handle gpios? Reserving a gpio essentially keeps the provider
[all …]
/linux/drivers/parport/
H A Dieee1284_ops.c1 // SPDX-License-Identifier: GPL-2.0
2 /* IEEE-1284 operations for parport.
5 * they are used by the low-level drivers. If they have a special way
7 * the function pointers in port->ops); if not, they can just use these
20 #include <linux/delay.h>
31 * One-way data transfer functions. *
43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat()
47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat()
52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat()
56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
67 * struct ice_phy_reg_info_eth56g - ETH56G PHY register parameters
83 * @pps_delay: propagation delay of the PPS output signal
110 * PAR/PCS clock cycle, and static delay values measured during hardware
115 * different link speeds, either the deskew marker for multi-lane link speeds
116 * or the Reed Solomon gearbox marker for RS-FEC.
136 * struct ice_eth56g_mac_reg_cfg - MAC config values for specific PTP registers
138 * @tx_mk_dly: Tx timestamp marker start strobe delay
139 * @tx_cw_dly: Tx timestamp codeword start strobe delay
141 * @rx_mk_dly: Rx timestamp marker start strobe delay
[all …]
/linux/drivers/input/joystick/
H A Dsidewinder.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1998-2005 Vojtech Pavlik
10 #include <linux/delay.h>
37 #define SW_FAIL 16 /* Number of packet read errors to fail and reinitialize */
38 #define SW_BAD 2 /* Number of packet read errors to switch off 3d Pro optimization */
39 #define SW_OK 64 /* Number of packet read successes to switch optimization back on */
93 } sw_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1,-
119 int timeout, bitout, sched, i, kick, start, strobe; in sw_read_packet() local
122 i = -id; /* Don't care about data, only want ID */ in sw_read_packet()
126 strobe = gameport_time(gameport, SW_STROBE); in sw_read_packet()
[all …]
/linux/sound/pci/asihpi/
H A Dhpi6000.c1 // SPDX-License-Identifier: GPL-2.0-only
5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
18 (C) Copyright AudioScience Inc. 1998-2003
78 /* can't access SDRAM - test#1 */
80 /* can't access SDRAM - test#2 */
210 switch (phm->function) { in subsys_message()
215 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message()
223 struct hpi_hw_obj *phw = pao->priv; in control_message()
225 switch (phm->function) { in control_message()
227 if (pao->has_control_cache) { in control_message()
[all …]
/linux/drivers/mmc/host/
H A Dsdhci-of-dwcmshc.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/arm-smccc.h>
14 #include <linux/dma-mapping.h>
24 #include "sdhci-pltfm.h"
41 /* Tuning and auto-tuning fields in AT_CTRL_R control register */
51 #define AT_CTRL_PRE_CHANGE_DLY 0x1 /* 2-cycle latency */
53 #define AT_CTRL_POST_CHANGE_DLY 0x3 /* 4-cycle latency */
136 /* PHY strobe pad settings */
151 #define PHY_PAD_TXSLEW_CTRL_P 0x3 /* Slew control for P-Type pad TX */
153 #define PHY_PAD_TXSLEW_CTRL_N 0x3 /* Slew control for N-Type pad TX */
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
16 blinking patterns, flash timeout, flash faults and external flash strobe mode.
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
42 the header include/dt-bindings/leds/common.h. If there is no matching
[all …]
/linux/drivers/media/i2c/ccs/
H A Dccs-quirk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/i2c/ccs/ccs-quirk.c
8 * Copyright (C) 2011--2012 Nokia Corporation
12 #include <linux/delay.h>
15 #include "ccs-limits.h"
20 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ccs_write_addr_8s()
23 for (; len > 0; len--, regs++) { in ccs_write_addr_8s()
24 rval = ccs_write_addr(sensor, regs->reg, regs->val); in ccs_write_addr_8s()
26 dev_err(&client->dev, in ccs_write_addr_8s()
28 rval, regs->reg, regs->val); in ccs_write_addr_8s()
[all …]
/linux/Documentation/driver-api/
H A Dpps.rst1 .. SPDX-License-Identifier: GPL-2.0
4 PPS - Pulse Per Second
22 --------
32 Carrier Detect pin) or to a parallel port (ACK-pin) or to a special
38 GPS receiver as PPS source, to obtain a wallclock-time with
39 sub-millisecond synchronisation to UTC.
43 ------------------
46 CPU GPIO-Pin as physical link to the signal, I encountered a deeper
56 purpose GPIO line. In this case even basic file-related functionality
57 (like read() and write()) makes no sense at all and should not be a
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-defs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl>
9 #include <media/v4l2-ctrls.h>
26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu()
27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu()
28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu()
29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu()
30 "AC-3", in v4l2_ctrl_get_menu()
128 "16-bit CRC", in v4l2_ctrl_get_menu()
141 "MPEG-1", in v4l2_ctrl_get_menu()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5420-smdk5420.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include "exynos5420-cpus.dtsi"
12 #include <dt-bindings/clock/samsung,s2mps11.h>
13 #include <dt-bindings/gpio/gpio.h>
31 stdout-path = "serial2:115200n8";
34 fixed-rate-clocks {
36 compatible = "samsung,exynos5420-oscclk";
37 clock-frequency = <24000000>;
41 vdd: regulator-0 {
[all …]
H A Dexynos5422-odroidxu3-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source
12 #include <dt-bindings/input/input.h>
13 #include "exynos5422-odroid-core.dtsi"
20 gpio-keys {
21 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&power_key>;
25 power-key {
36 debounce-interval = <0>;
[all …]
/linux/drivers/auxdisplay/
H A Dpanel.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
5 * Copyright (C) 2016-2017 Glider bvba
10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit
15 * data output pins or to the ground. The combinations have to be hard-coded
22 * - the initialization/deinitialization process is very dirty and should
26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs)
27 * - make the LCD a part of a virtual screen of Vx*Vy
28 * - make the inputs list smp-safe
29 * - change the keyboard to a double mapping : signals -> key_id -> values
[all …]
/linux/drivers/scsi/
H A Dimm.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* imm.c -- low level driver for the IOMEGA MatchMaker
18 #include <linux/delay.h>
38 int base_hi; /* Hi Base address for ECP-ISA chipset */
45 unsigned rd:1; /* Read data in data phase */
60 MODULE_PARM_DESC(mode, "Transfer mode (0 = Autodetect, 1 = SPP 4-bit, "
61 "2 = SPP 8-bit, 3 = EPP 8-bit, 4 = EPP 16-bit, 5 = EPP 32-bit");
65 return *(imm_struct **)&host->hostdata; in imm_dev()
72 dev->base = dev->dev->port->base; in got_it()
73 if (dev->cur_cmd) in got_it()
[all …]
/linux/drivers/video/fbdev/aty/
H A Dmach64_gx.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/delay.h>
36 #define MAX_N 255-8
60 aty_st_8(CLOCK_CNTL + par->clk_wr_offset, tmp | CLOCK_STROBE, par); in aty_StrobeClock()
83 struct atyfb_par *par = (struct atyfb_par *) info->par; in aty_set_dac_514()
154 pll->ibm514.m = RGB514_clocks[i].m; in aty_var_to_pll_514()
155 pll->ibm514.n = RGB514_clocks[i].n; in aty_var_to_pll_514()
158 return -EINVAL; in aty_var_to_pll_514()
164 struct atyfb_par *par = (struct atyfb_par *) info->par; in aty_pll_514_to_var()
167 df = pll->ibm514.m >> 6; in aty_pll_514_to_var()
[all …]
/linux/drivers/input/keyboard/
H A Dmatrix_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
29 /* key debounce interval in milli-second */
51 * HiZ when de-activated to cause minmal side effect when scanning other
58 gpiod_direction_output(keypad->col_gpios[col], 1); in __activate_col()
60 gpiod_set_value_cansleep(keypad->col_gpios[col], 0); in __activate_col()
61 if (!keypad->drive_inactive_cols) in __activate_col()
62 gpiod_direction_input(keypad->col_gpios[col]); in __activate_col()
70 if (on && keypad->col_scan_delay_us) in activate_col()
71 udelay(keypad->col_scan_delay_us); in activate_col()
[all …]
/linux/drivers/leds/
H A Dleds-lm3642.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/delay.h>
14 #include <linux/platform_data/leds-lm3642.h>
90 struct lm3642_platform_data *pdata = chip->pdata; in lm3642_chip_init()
93 ret = regmap_update_bits(chip->regmap, REG_ENABLE, EX_PIN_ENABLE_MASK, in lm3642_chip_init()
94 pdata->tx_pin); in lm3642_chip_init()
96 dev_err(chip->dev, "Failed to update REG_ENABLE Register\n"); in lm3642_chip_init()
106 ret = regmap_read(chip->regmap, REG_FLAG, &chip->last_flag); in lm3642_control()
108 dev_err(chip->dev, "Failed to read REG_FLAG Register\n"); in lm3642_control()
112 if (chip->last_flag) in lm3642_control()
[all …]

123