| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | gpio-restart.yaml | 1 # 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 D | gpio-poweroff.yaml | 1 # 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 D | gpio-restart.c | 1 // 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 …]
|
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | nxp,mc33xs2410.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: High-side switch MC33XS2410 10 - Dimitri Fedrau <dima.fedrau@gmail.com> 13 - $ref: pwm.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 spi-max-frequency: 26 spi-cpha: true 28 spi-cs-setup-delay-ns: [all …]
|
| /linux/include/linux/amba/ |
| H A D | pl022.h | 1 /* 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 D | spi-bitbang-txrx.h | 1 /* 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 D | berlin2cd-valve-steamlink.dts | 1 // 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 D | spi-peripheral-props.yaml | 1 # 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-cs-high, etc. or they could 12 be controller specific like delay in clock or data lines, etc. These 14 per-peripheral and there can be multiple peripherals attached to a 20 - Mark Brown <broonie@kernel.org> 28 - minimum: 0 [all …]
|
| /linux/Documentation/maintainer/ |
| H A D | feature-and-driver-maintainers.rst | 1 .. 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/include/net/ |
| H A D | bonding.h | 1 /* 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)->de 163 int delay; global() member 173 inactive:1, /* indicates inactive slave */ global() member [all...] |
| /linux/drivers/gpu/vga/ |
| H A D | vga_switcheroo.c | 2 * 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 D | spi-davinci.h | 1 /* 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 D | mvebu-devbus.txt | 9 - 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/Documentation/devicetree/bindings/sound/ |
| H A D | axentia,tse850-pcm5142.txt | 1 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 D | lp.h | 1 /* 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 D | pwm_bl.c | 1 // 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/Documentation/devicetree/bindings/iio/imu/ |
| H A D | adi,adis16475.yaml | 1 # 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/Documentation/spi/ |
| H A D | spi-summary.rst | 5 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/drivers/pwm/ |
| H A D | pwm-atmel.c | 1 // 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. 104 return readl_relaxed(chip->base + offset); in atmel_pwm_readl() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * ixgbe_should_retry_aci_send_cmd_execute - decide if ACI command should 37 * ixgbe_aci_send_cmd_execute - execute sending FW Admin Command to FW Admin 48 * * - 0 - success. 49 * * - -EIO - CSR mechanism is not enabled. 50 * * - -EBUSY - CSR mechanism is busy. 51 * * - -EINVAL - buf_size is too big or 53 * * - -ETIME - Admin Command X command timeout. 54 * * - -EIO - Admin Command X invalid state of HICR register or 67 hw->aci.last_status = LIBIE_AQ_RC_OK; in ixgbe_aci_send_cmd_execute() [all …]
|
| /linux/sound/soc/mxs/ |
| H A D | mxs-saif.c | 1 // 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 D | stacktrace.c | 1 // 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 …]
|
| /linux/drivers/hwmon/ |
| H A D | aspeed-g6-pwm-tach.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Q := (DIV_L + 1) << DIV_H / input-clk 20 * PIN_ENABLE: When it is unset the pwm controller will emit inactive level to the external. 23 * emit inactive level to the PIN_ENABLE mux after that the driver can still change the pwm period 31 * - Enabled changing when the duty_cycle bigger than 0% and less than 100%. 32 * - Polarity changing when the duty_cycle bigger than 0% and less than 100%. 35 * - When changing both duty cycle and period, we cannot prevent in 38 * - Disabling the PWM doesn't complete the current period. 41 * - When only changing one of duty cycle or period, our pwm controller will not 48 #include <linux/delay.h> [all …]
|
| /linux/drivers/ata/ |
| H A D | pata_hpt366.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> 21 #include <linux/delay.h> 35 * 0:3 data_high_time. Inactive time of DIOW_/DIOR_ for PIO and MW DMA. 39 * 8:11 cmd_high_time. Inactive time of DIOW_/DIOR_ during task file 112 * hpt36x_find_mode - find the hpt36x timing 122 struct hpt_clock *clocks = ap->host->private_data; in hpt36x_find_mode() 124 while (clocks->xfer_mode) { in hpt36x_find_mode() 125 if (clocks->xfer_mode == speed) in hpt36x_find_mode() 126 return clocks->timing; in hpt36x_find_mode() [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | tda9887.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/delay.h> 10 #include <media/v4l2-common.h> 12 #include "tuner-i2c.h" 44 /* ---------------------------------------------------------------------- */ 46 #define UNSET (-1U) 56 /* ---------------------------------------------------------------------- */ 135 /* ---------------------------------------------------------------------- */ 140 .name = "PAL-BGHN", 151 .name = "PAL-I", [all …]
|