/linux/include/linux/ |
H A D | pwm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * enum pwm_polarity - polarity of a PWM signal 18 * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty- 21 * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty- 31 * struct pwm_args - board-dependent PWM arguments 33 * @polarity: reference polarity 35 * This structure describes board-dependent arguments attached to a PWM 45 enum pwm_polarity polarity; member 54 * struct pwm_waveform - description of a PWM waveform 61 * duty_offset_ns and so can represent offsets other than zero (with .polarity = [all …]
|
/linux/Documentation/driver-api/ |
H A D | pwm.rst | 15 ---------------- 24 PWM_LOOKUP("tegra-pwm", 0, "pwm-backlight", NULL, 36 ---------- 65 If supported by the driver, the signal can be optimized, for example to improve 82 PWM arguments are usually platform-specific and allows the PWM user to only 84 period). struct pwm_args contains 2 fields (period and polarity) and should 93 ----------------------------------- 102 The number of PWM channels this chip supports (read-only). 105 Exports a PWM channel for use with sysfs (write-only). 108 Unexports a PWM channel from sysfs (write-only). [all …]
|
/linux/drivers/hwmon/ |
H A D | ds1621.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ds1621.c - Part of lm_sensors, Linux kernel modules for hardware 5 * Christian W. Zuckschwerdt <zany@triq.net> 2000-11-23 10 * The DS1621 device is a digital temperature/thermometer with 9-bit 11 * resolution, a thermal alarm output (Tout), and user-defined minimum 19 * Since the DS1621 was the first chipset supported by this driver, 21 * and concern all supported chipsets, unless mentioned otherwise. 30 #include <linux/hwmon-sysfs.h> 36 /* Supported devices */ 40 static int polarity = -1; variable [all …]
|
/linux/include/media/i2c/ |
H A D | tvp514x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * Karicheri Muralidharan <m-karicheri2@ti.com> 48 * S-Video input selection 69 /* enum for output format supported. */ 78 * struct tvp514x_platform_data - Platform data values and access functions. 79 * @clk_polarity: Clock polarity of the current interface. 80 * @hs_polarity: HSYNC Polarity configuration for current interface. 81 * @vs_polarity: VSYNC Polarity configuration for current interface.
|
/linux/arch/mips/include/asm/mach-au1x00/ |
H A D | au1550_spi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * au1550_spi.h - Au1550 PSC SPI controller driver - platform data structure 11 u16 num_chipselect; /* number of chipselects supported */ 12 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); 13 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
|
/linux/drivers/irqchip/ |
H A D | irq-ftintc010.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Based on arch/arm/mach-gemini/irq.c 7 * Copyright (C) 2001-2006 Storlink, Corp. 8 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@gmail.com> 29 /* Selects level- or edge-triggered */ 42 * struct ft010_irq_data - irq data container for the Faraday IRQ controller 58 mask = readl(FT010_IRQ_MASK(f->base)); in ft010_irq_mask() 60 writel(mask, FT010_IRQ_MASK(f->base)); in ft010_irq_mask() 68 mask = readl(FT010_IRQ_MASK(f->base)); in ft010_irq_unmask() 70 writel(mask, FT010_IRQ_MASK(f->base)); in ft010_irq_unmask() [all …]
|
/linux/Documentation/devicetree/bindings/net/pse-pd/ |
H A D | ti,tps23881.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/ti,tps23881.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kory Maincent <kory.maincent@bootlin.com> 13 - $ref: pse-controller.yaml# 18 - ti,tps23881 26 '#pse-cells': 29 reset-gpios: 37 their pairsets. For 4-pair operation, two channels from the same group [all …]
|
H A D | microchip,pd692x0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/microchip,pd692x0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kory Maincent <kory.maincent@bootlin.com> 13 - $ref: pse-controller.yaml# 18 - microchip,pd69200 19 - microchip,pd69210 20 - microchip,pd69220 25 vdd-supply: [all …]
|
H A D | pse-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 power over twisted pair/ethernet cable. The ethernet-pse nodes should be 12 used to describe PSE controller and referenced by the ethernet-phy node. 15 - Oleksij Rempel <o.rempel@pengutronix.de> 16 - Kory Maincent <kory.maincent@bootlin.com> 20 pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$" 22 "#pse-cells": [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | st,st-vgxy61.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/i2c/st,st-vgxy61.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Mugnier <benjamin.mugnier@foss.st.com> 12 - Sylvain Petinot <sylvain.petinot@foss.st.com> 14 description: |- 15 STMicroelectronics VGxy61 family has a CSI-2 output port. CSI-2 output is a 17 Supported formats are RAW8, RAW10, RAW12, RAW14 and RAW16. 18 Following part number are supported [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc2947.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> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 33 adi,accumulator-ctl-pol: 35 This property controls the polarity of current that is accumulated to 40 datasheet for more information on the supported options. 41 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/drivers/net/phy/qcom/ |
H A D | qca808x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 70 #define QCA808X_MMD7_LED_CTRL(x) (0x8078 - ((x) * 2)) 73 #define QCA808X_MMD7_LED_FORCE_CTRL(x) (0x8079 - ((x) * 2)) 151 return (phydev->master_slave_get == MASTER_SLAVE_CFG_MASTER_FORCE) || in qca808x_is_prefer_master() 152 (phydev->master_slave_get == MASTER_SLAVE_CFG_MASTER_PREFERRED); in qca808x_is_prefer_master() 157 return linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->supported); in qca808x_has_fast_retrain_or_slave_seed() 173 unsigned long *possible = phydev->possible_interfaces; in qca808x_fill_possible_interfaces() 183 struct device *dev = &phydev->mdio.dev; in qca808x_probe() 188 return -ENOMEM; in qca808x_probe() 190 /* Init LED polarity mode to -1 */ in qca808x_probe() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-dv-timings.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_SUBDEV_S_DV_TIMINGS… 52 structure as argument. If the ioctl is not supported or the timing 56 registered in read-only mode is not allowed. An error is returned and the errno 57 variable is set to ``-EPERM``. 59 The ``linux/v4l2-dv-timings.h`` header can be used to get the timings of 68 On success 0 is returned, on error -1 and the ``errno`` variable is set 70 :ref:`Generic Error Codes <gen-errors>` chapter. 73 This ioctl is not supported, or the :ref:`VIDIOC_S_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` 77 Digital video timings are not supported for this input or output. [all …]
|
/linux/arch/sh/include/asm/ |
H A D | sh7760fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sh7760fb.h -- platform data for SH7760/SH7763 LCDC framebuffer driver. 5 * (c) 2006-2008 MSC Vertriebsges.m.b.H., 19 /* The LCDC dma engine always sets bits 27-26 to 1: this is Area3 */ 75 /* HSYNC polarity inversion */ 78 /* VSYNC polarity inversion */ 81 /* DISPLAY-ENABLE polarity inversion */ 84 /* DISPLAY DATA BUS polarity inversion */ 96 /* Display types supported by the LCDC */ 144 /* LDMTR includes display type and signal polarity. The [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | gpio-properties.rst | 1 .. SPDX-License-Identifier: GPL-2.0 31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } }, 35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } }, 40 The format of the supported GPIO property is:: 52 If 1, the GPIO is marked as active-low. 55 active-low or active-high, the "active_low" argument can be used here. 56 Setting it to 1 marks the GPIO as active-low. 61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo() 68 and polarity settings. The table below shows the expectations: [all …]
|
/linux/Documentation/fb/ |
H A D | pxafb.rst | 10 modprobe pxafb options=vmem:2M,mode:640x480-8,passive 14 video=pxafb:vmem:2M,mode:640x480-8,passive 21 mode:XRESxYRES[-BPP] 74 outputen:POLARITY 76 Output Enable Polarity. 0 => active low, 1 => active high 78 pixclockpol:POLARITY 80 pixel clock polarity 87 PXA27x and later processors support overlay1 and overlay2 on-top of the 88 base framebuffer (although under-neath the base is also possible). They 89 support palette and no-palette RGB formats, as well as YUV formats (only [all …]
|
/linux/Documentation/hwmon/ |
H A D | ds1621.rst | 4 Supported chips: 47 - Christian W. Zuckschwerdt <zany@triq.net> 48 - valuable contributions by Jan M. Sendler <sendler@sendler.de> 49 - ported to 2.6 by Aurelien Jarno <aurelien@aurel32.net> 53 ------------------ 55 * polarity int 56 Output's polarity: 62 ----------- 66 programmed into non-volatile on-chip registers). Temperature range is -55 68 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-pwm | 6 The pwm/ class sub-directory belongs to the Generic PWM 24 The number of PWM channels supported by the PWM chip. 32 Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1. 64 What: /sys/class/pwm/pwmchip<N>/pwmX/polarity 69 Sets the output polarity of the PWM signal to "normal" or
|
/linux/include/linux/platform_data/ |
H A D | dma-dw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (C) 2010-2011 ST Microelectronics 22 * struct dw_dma_slave - Controller-specific information about a slave 30 * @hs_polarity:set active low polarity of handshake interface 43 * struct dw_dma_platform_data - Controller configuration parameters 44 * @nr_masters: Number of AHB masters supported by the controller 45 * @nr_channels: Number of channels supported by hardware (max 8) 48 * @block_size: Maximum block size supported by the controller 49 * @data_width: Maximum data width supported by hardware per AHB master 51 * @multi_block: Multi block transfers supported by hardware per channel. [all …]
|
H A D | video-pxafb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Author: Jean-Frederic Clere 13 * Supported LCD connections 15 * bits 0 - 3: for LCD panel type: 17 * STN - for passive matrix 18 * DSTN - for dual scan passive matrix 19 * TFT - fo [all...] |
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio.txt | 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 11 bindings use it, but are only supported for compatibility reasons and should not 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; 32 data-gpios = <&gpio1 12 0>, 44 recommended to use the two-cell approach. [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | brcm,iproc-gpio.txt | 5 - compatible: 6 "brcm,iproc-gpio" for the generic iProc based GPIO controller IP that 7 supports full-featured pinctrl and GPIO functions used in various iProc 10 May contain an SoC-specific compatibility string to accommodate any 11 SoC-specific features 13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or 14 "brcm,cygnus-crmu-gpio" for Cygnus SoCs 16 "brcm,iproc-nsp-gpio" for the iProc NSP SoC that has drive strength support 19 "brcm,iproc-stingray-gpio" for the iProc Stingray SoC that has the general 23 - reg: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nuvoton,nau8825.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Hsu <KCHSU0@nuvoton.com> 13 - $ref: dai-common.yaml# 18 - nuvoton,nau8825 26 nuvoton,jkdet-enable: 31 nuvoton,jkdet-pull-enable: 34 If set - pin pull enabled, otherwise pin in high impedance state. 37 nuvoton,jkdet-pull-up: [all …]
|
/linux/Documentation/spi/ |
H A D | spidev.rst | 5 SPI devices have a limited userspace API, supporting basic half-duplex 19 * Prototyping in an environment that's not crash-prone; stray pointers 33 The spidev driver contains lists of SPI devices that are supported for 36 The following are the SPI device tables supported by the spidev driver: 38 - struct spi_device_id spidev_spi_ids[]: list of devices that can be 42 - struct of_device_id spidev_dt_ids[]: list of devices that can be 46 - struct acpi_device_id spidev_acpi_ids[]: list of devices that can 52 post a patch for spidev to the linux-spi@vger.kernel.org mailing list. 54 It used to be supported to define an SPI device using the "spidev" name. 56 is no longer supported by the Linux kernel and instead a real SPI device [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2007-2011, Intel Corporation. 78 /* Bit 0, Frequency, 15 bits,0 - 32767Hz */ 79 /* Bit 15, Polarity, 1 bit, 0: Normal, 1: Inverted */ 84 /* 0: Type-1, */ 85 /* 1: Type-2, */ 86 /* 2: Type-3, */ 87 /* 3: Type-4 */ 89 /* Bit0: 16bpp (not supported in LNC), */ 94 /* Bit 8, Minimum Supported Frame Rate, 6 bits, 0 - 63Hz */ [all …]
|