Home
last modified time | relevance | path

Searched +full:inactive +full:- +full:delay (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/Documentation/devicetree/bindings/power/reset/
H A Dgpio-restart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its
22 This will also cause an inactive->active edge condition, triggering positive edge triggered
23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an
24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by
25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the
[all …]
H A Dgpio-poweroff.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
15 from inactive to active. After a delay (active-delay-ms) it
16 is expected to be switched back to inactive. After another
17 delay (inactive-delay-ms) it is configured as active again.
19 the system is still running after waiting some time (timeout-ms).
22 - $ref: restart-handler.yaml#
[all …]
/linux/drivers/power/reset/
H A Dgpio-restart.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on the gpio-poweroff driver.
12 #include <linux/delay.h>
27 struct gpio_restart *gpio_restart = data->cb_data; in gpio_restart_notify()
29 /* drive it active, also inactive->active edge */ in gpio_restart_notify()
30 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
31 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()
33 /* drive inactive, also active->inactive edge */ in gpio_restart_notify()
34 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()
35 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify()
[all …]
H A Dgpio-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/delay.h>
31 struct gpio_poweroff *gpio_poweroff = data->cb_data; in gpio_poweroff_do_poweroff()
33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
34 gpiod_direction_output(gpio_poweroff->reset_gpio, 1); in gpio_poweroff_do_poweroff()
35 mdelay(gpio_poweroff->active_delay_m in gpio_poweroff_do_poweroff()
[all...]
/linux/Documentation/devicetree/bindings/input/
H A Dgpio-matrix-keypad.txt6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
24 - debounce-delay-ms: debounce interval in milliseconds
25 - col-scan-delay-us: delay, measured in microseconds, that is needed
[all …]
/linux/include/linux/amba/
H A Dpl022.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2008-2009 ST-Ericsson AB
11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
31 * enum ssp_interface - interfaces allowed for this SSP Controller
48 * enum ssp_hierarchy - whether SSP is configured as Master or Slave
56 * enum ssp_clock_params - clock parameters, to set SSP clock at a
65 * enum ssp_rx_endian - endianess of Rx FIFO Data
74 * enum ssp_tx_endian - endianess of Tx FIFO Data
82 * enum ssp_data_size - number of bits in one data element
98 * enum ssp_mode - SSP mode of operation (Communication modes)
[all …]
/linux/drivers/spi/
H A Dspi-bitbang-txrx.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * simple SPI master driver. Two do polled word-at-a-time I/O:
6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](),
7 * expanding the per-word routines from the inline templates below.
9 * - Drivers for controllers resembling bare shift registers. Provide
15 * - Drivers leveraging smarter hardware, with fifos or DMA; or for half
36 * A non-inlined routine would call bitbang_txrx_*() routines. The
38 * especially if the delay is a NOP (to run at peak speed).
55 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0()
56 /* clock starts at inactive polarity */ in bitbang_txrx_be_cpha0()
[all …]
/linux/arch/arm/boot/dts/synaptics/
H A Dberlin2cd-valve-steamlink.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
19 gpio-restart {
20 compatible = "gpio-restart";
22 active-delay = <100>;
23 inactive-delay = <10>;
24 wait-delay = <100>;
30 cpu-supply = <&vcpu>;
31 operating-points = <
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-peripheral-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Peripheral-specific properties for a SPI bus.
11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be
12 controller specific like delay in clock or data lines, etc. These properties
13 need to be defined in the peripheral node because they are per-peripheral and
19 - Mark Brown <broonie@kernel.org>
27 - minimum: 0
[all …]
/linux/Documentation/maintainer/
H A Dfeature-and-driver-maintainers.rst1 .. SPDX-License-Identifier: GPL-2.0
35 review delay of the subsystem maintainer. The resulting expectations
36 may range from two working days for fast-paced subsystems (e.g. networking)
40 --------------------------
43 Maintainers must be subscribed and follow the appropriate subsystem-wide
46 `lei <https://people.kernel.org/monsieuricon/lore-lei-part-1-getting-started>`_.
52 -------
56 multiple drivers - whether to provide a review is left to the maintainer.
58 When there are multiple maintainers for a piece of code an ``Acked-by``
59 or ``Reviewed-by`` tag (or review comments) from a single maintainer is
[all …]
/linux/Documentation/devicetree/bindings/iio/imu/
H A Dadi,adis16460.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dragos Bogdan <dragos.bogdan@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf
19 - adi,adis16460
24 spi-cpha: true
26 spi-cpol: true
28 spi-cs-inactive-delay-ns:
36 - compatible
[all …]
H A Dadi,adis16475.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sá <nuno.sa@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf
19 - adi,adis16475-1
20 - adi,adis16475-2
21 - adi,adis16475-3
22 - adi,adis16477-1
23 - adi,adis16477-2
[all …]
/linux/include/net/
H A Dbonding.h1 /* SPDX-License-Identifier: GPL-1.0+ */
5 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
51 #define BOND_MODE(bond) ((bond)->params.mode)
54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
61 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \
65 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \
[all …]
/linux/drivers/gpu/vga/
H A Dvga_switcheroo.c2 * vga_switcheroo.c - Support for laptop with dual GPU using one set of outputs
33 #include <linux/apple-gmux.h>
66 * for the inactive GPU.) Also, muxes are often used to cut power to the
71 * handler to control the power state of the discrete GPU, its ->switchto
72 * callback is a no-op for obvious reasons. The discrete GPU is often equipped
82 * inactive client. When the inactive client's DRM driver is loaded,
93 * struct vga_switcheroo_client - registered client
105 * interface is a no-op so as not to interfere with runtime pm
131 * struct vgasr_priv - vga_switcheroo private data
166 #define client_is_audio(c) ((c)->id & ID_BIT_AUDIO)
[all …]
/linux/include/linux/platform_data/
H A Dspi-davinci.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * davinci_spi_platform_data - Platform data for SPI master device on DaVinci
41 * davinci_spi_config - Per-chip-select configuration for SPI slave devices
43 * @wdelay: amount of delay between transmissions. Measured in number of
46 * 0 - odd parity, 1 - even parity.
50 * @timer_disable: disable chip-select timers (setup and hold)
51 * @c2tdelay: chip-select setup time. Measured in number of SPI module clocks.
52 * @t2cdelay: chip-select hold time. Measured in number of SPI module clocks.
53 * @t2edelay: transmit data finished to SPI ENAn pin inactive time. Measured
55 * @c2edelay: chip-select active to SPI ENAn signal active time. Measured in
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dmvebu-devbus.txt9 - compatible: Armada 370/XP SoC are supported using the
10 "marvell,mvebu-devbus" compatible string.
13 "marvell,orion-devbus" compatible string.
15 - reg: A resource specifier for the register space.
20 - #address-cells: Must be set to 1
21 - #size-cells: Must be set to 1
22 - ranges: Must be set up to reflect the memory layout with four
23 integer values for each chip-select line in use:
28 - devbus,keep-config This property can optionally be used to keep
37 - devbus,turn-off-ps: Defines the time during which the controller does not
[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
53 * driven with the inactive value.
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()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Daxentia,tse850-pcm5142.txt1 Devicetree bindings for the Axentia TSE-850 audio complex
4 - compatible: "axentia,tse850-pcm5142"
5 - axentia,cpu-dai: The phandle of the cpu dai.
6 - axentia,audio-codec: The phandle of the PCM5142 codec.
7 - axentia,add-gpios: gpio specifier that controls the mixer.
8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must
11 support voltages in the 2V - 20V range, in 1V steps.
16 IN1 +---o +------------+ o---+ OUT1
[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
26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */
33 #define LP_BASE(x) lp_table[(x)].dev->port->base
72 * with 1 for being active and 0 for being inactive, because the strobe signal
[all …]
/linux/drivers/video/backlight/
H A Dpwm_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/delay.h>
43 if (pb->enabled) in pwm_backlight_power_on()
46 if (pb->power_supply) { in pwm_backlight_power_on()
47 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on()
49 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on()
52 if (pb->post_pwm_on_delay) in pwm_backlight_power_on()
53 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on()
55 gpiod_set_value_cansleep(pb->enable_gpio, 1); in pwm_backlight_power_on()
57 pb->enabled = true; in pwm_backlight_power_on()
[all …]
/linux/drivers/pwm/
H A Dpwm-atmel.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * - Periods start with the inactive level.
13 * - Hardware has to be stopped in general to update settings.
16 * - When atmel_pwm_apply() is called with state->enabled=false a change in
17 * state->polarity isn't honored.
18 * - Instead of sleeping to wait for a completed period, the interrupt
23 #include <linux/delay.h>
87 * pending we delay disabling the PWM until the new configuration is
89 * might not result in an inactive output.
107 return readl_relaxed(chip->base + offset); in atmel_pwm_readl()
[all …]
/linux/Documentation/spi/
H A Dspi-summary.rst5 02-Feb-2012
8 ------------
17 clocking modes through which data is exchanged; mode-0 and mode-3 are most
32 - SPI may be used for request/response style device protocols, as with
35 - It may also be used to stream data in either direction (half duplex),
38 - Some devices may use eight bit words. Others may use different word
39 lengths, such as streams of 12-bit or 20-bit digital samples.
41 - Words are usually sent with their most significant bit (MSB) first,
44 - Sometimes SPI is used to daisy-chain devices, like shift registers.
51 SPI is only one of the names used by such four-wire protocols, and
[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>
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
48 function-enumerator:
[all …]
/linux/sound/soc/mxs/
H A Dmxs-saif.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/dma-mapping.h>
13 #include <linux/clk-provider.h>
14 #include <linux/delay.h>
22 #include "mxs-saif.h"
32 * For MXS, two SAIF modules are instantiated on-chip.
34 * mode simultaneously if they are connected to different off-chip codecs.
43 * The master id is provided in mach-specific layer according to different
54 saif->mclk = freq; in mxs_saif_set_dai_sysclk()
57 return -EINVAL; in mxs_saif_set_dai_sysclk()
[all …]
/linux/arch/powerpc/kernel/
H A Dstacktrace.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/delay.h>
33 if (regs && !consume_entry(cookie, regs->nip)) in arch_stack_walk()
37 sp = regs->gpr[1]; in arch_stack_walk()
41 sp = task->thread.ksp; in arch_stack_walk()
64 * If the task is not 'current', the caller *must* ensure the task is inactive.
79 if (task->flags & PF_KTHREAD) in arch_stack_walk_reliable()
80 stack_end -= STACK_FRAME_MIN_SIZE; in arch_stack_walk_reliable()
82 stack_end -= STACK_USER_INT_FRAME_SIZE; in arch_stack_walk_reliable()
87 sp = task->thread.ksp; in arch_stack_walk_reliable()
[all …]

1234567891011