| /linux/Documentation/devicetree/bindings/auxdisplay/ |
| H A D | gpio-7-segment.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO based LED segment display 10 - Chris Packham <chris.packham@alliedtelesis.co.nz> 14 const: gpio-7-segment 16 segment-gpios: 18 An array of GPIOs one per segment. The first GPIO corresponds to the A 19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks [all …]
|
| /linux/include/linux/ |
| H A D | i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * i2c.h - definitions for the Linux i2c bus interface 4 * Copyright (C) 1995-2000 Simon G. Vogl 5 * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org> 30 /* --- General options ------------------------------------------------ */ 69 * i2c_master_recv - issue a single I2C message in master receive mode 83 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode 99 * i2c_master_send - issue a single I2C message in master transmit mode 113 * i2c_master_send_dmasafe - issue a single I2C message in master transmit mode 195 * struct i2c_device_identity - i2c client device identification [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-atl-x530.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 (x530/AT-GS980MX) 9 /dts-v1/; 10 #include "armada-385.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 15 model = "x530/AT-GS980MX"; 19 stdout-path = "serial1:115200n8"; 32 internal-regs { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&i2c0_pins>; [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap5-l4.dtsi | 2 compatible = "ti,omap5-l4-cfg", "simple-pm-bus"; 3 power-domains = <&prm_core>; 5 clock-names = "fck"; 9 reg-names = "ap", "la", "ia0"; 10 #address-cells = <1>; 11 #size-cells = <1>; 12 ranges = <0x00000000 0x4a000000 0x080000>, /* segment 0 */ 13 <0x00080000 0x4a080000 0x080000>, /* segment 1 */ 14 <0x00100000 0x4a100000 0x080000>, /* segment 2 */ 15 <0x00180000 0x4a180000 0x080000>, /* segment 3 */ [all …]
|
| H A D | omap4-l4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 compatible = "ti,omap4-l4-cfg", "simple-pm-bus"; 4 power-domains = <&prm_core>; 6 clock-names = "fck"; 10 reg-names = "ap", "la", "ia0"; 11 #address-cells = <1>; 12 #size-cells = <1>; 13 ranges = <0x00000000 0x4a000000 0x080000>, /* segment 0 */ 14 <0x00080000 0x4a080000 0x080000>, /* segment 1 */ 15 <0x00100000 0x4a100000 0x080000>, /* segment 2 */ [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 19 #include <linux/gpio/consumer.h> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> [all …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_fw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2003-2014 QLogic Corporation 10 #include <linux/nvme-fc.h> 78 /* Bits 15-0 of word 0 */ 80 /* Bits 15-0 of word 3 */ 87 uint16_t prli_nvme_svc_param_word_0; /* Bits 15-0 of word 0 */ 88 uint16_t prli_nvme_svc_param_word_3; /* Bits 15-0 of word 3 */ 111 u8 prli_svc_param_word_0[2]; /* Bits 15-0 of word 0 */ 112 u8 prli_svc_param_word_3[2]; /* Bits 15-0 of word 3 */ 164 * BIT 1-15 = [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-adnp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2012 Avionic Design GmbH 7 #include <linux/gpio/driver.h> 17 #define GPIO_DDR(gpio) (0x00 << (gpio)->reg_shift) argument 18 #define GPIO_PLR(gpio) (0x01 << (gpio)->reg_shift) argument 19 #define GPIO_IER(gpio) (0x02 << (gpio)->reg_shift) argument 20 #define GPIO_ISR(gpio) (0x03 << (gpio)->reg_shift) argument 21 #define GPIO_PTR(gpio) (0x04 << (gpio)->reg_shift) argument 25 struct gpio_chip gpio; member 43 err = i2c_smbus_read_byte_data(adnp->client, offset); in adnp_read() [all …]
|
| /linux/drivers/usb/misc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 13 Technologies USS-720 chip. These cables are plugged into your USB 19 printers may be connected to the USS-720 in this mode. The generic 30 Say Y here if you own an USS-720 USB->Parport cable and intend to 72 tristate "USB 7-Segment LED Display" 74 Say Y here if you have a USB 7-Segment Display by Delcom 107 driver supports the pre-programmed devices (incl. firmware) 108 by AK Modul-Bus Computer GmbH. 110 Please see: https://www.ak-modul-bus.de/stat/mikrocontroller.html 155 which reports VBUS attach/detach events and has USB-based [all …]
|
| /linux/drivers/fsi/ |
| H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <linux/gpio/consumer.h> 21 #include <linux/gpio/aspeed.h> 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 132 msg->msg <<= bits; in msg_push_bits() 133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits() 134 msg->bits += bits; in msg_push_bits() 142 top = msg->bits & 0x3; in msg_push_crc() [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62p.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| H A D | k3-j721s2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 7 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/ 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/soc/ti,sci_pm_domain.h> 15 #include "k3-pinctrl.h" 21 interrupt-parent = <&gic500>; 22 #address-cells = <2>; 23 #size-cells = <2>; 28 #address-cells = <1>; [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx.h | 7 * Copyright (c) 2003-2017 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 44 #define CVMX_ADD_SEG32(segment, add) \ argument 45 (((int32_t)segment << 31) | (int32_t)(add)) 50 #define CVMX_ADD_SEG(segment, add) \ argument 51 ((((uint64_t)segment) << 62) | (add)) 56 #include <asm/octeon/cvmx-asm.h> 57 #include <asm/octeon/cvmx-packet.h> 58 #include <asm/octeon/cvmx-sysinfo.h> [all …]
|
| /linux/drivers/media/platform/st/sti/c8sectpfe/ |
| H A D | c8sectpfe-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * c8sectpfe-core.c - C8SECTPFE STi DVB driver 16 #include <linux/dma-mapping.h> 22 #include <linux/gpio/consumer.h> 36 #include "c8sectpfe-common.h" 37 #include "c8sectpfe-core.h" 38 #include "c8sectpfe-debugfs.h" 70 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt() 71 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt() 74 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt() [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6dl-yapp43-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; 24 num-interpolated-steps = <8>; [all …]
|
| /linux/drivers/gpu/drm/solomon/ |
| H A D | ssd130x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/gpio/consumer.h> 86 #define SSD130X_SET_CLOCK_FREQ_MASK GENMASK(7, 4) 90 #define SSD130X_SET_PRECHARGE_PERIOD2_MASK GENMASK(7, 4) 157 .default_dclk_frq = 7, 245 return regmap_bulk_write(ssd130x->regmap, SSD13XX_DATA, values, count); in ssd130x_write_data() 267 ret = regmap_write(ssd130x->regmap, SSD13XX_COMMAND, value); in ssd130x_write_cmd() 270 } while (--count); in ssd130x_write_cmd() 282 u8 col_end = col_start + cols - 1; in ssd130x_set_col_range() 285 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range() [all …]
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 25 #define MTK_MAX_DSA_PORTS 7 57 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 62 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 136 /* Unicast Filter MAC Address Register - Low */ 140 /* Unicast Filter MAC Address Register - High */ [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | ssd1307fb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/gpio/consumer.h> 122 array->type = type; in ssd1307fb_alloc_array() 136 dev_err(&client->dev, "Couldn't send I2C command.\n"); in ssd1307fb_write_array() 150 return -ENOMEM; in ssd1307fb_write_cmd() 152 array->data[0] = cmd; in ssd1307fb_write_cmd() 163 u8 col_end = col_start + cols - 1; in ssd1307fb_set_col_range() 166 if (col_start == par->col_start && col_end == par->col_end) in ssd1307fb_set_col_range() 169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range() 173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range() [all …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 35 #define BIT_SYS_CTRL1_OTPVMUTEOVR_SET BIT(7) 46 #define BIT_DPD_PWRON_PLL BIT(7) 56 #define BIT_DCTL_TDM_LCLK_PHASE BIT(7) 67 #define BIT_PWD_SRST_COC_DOC_RST BIT(7) 88 #define BIT_VID_OVRRD_PP_AUTO_DISABLE BIT(7) 103 #define LEN_FAST_INTR_STAT 7 122 /* GPIO Control, default value: 0x15 */ 133 #define BIT_INT_CTRL_SOFTWARE_WP BIT(7) [all …]
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | anx7625.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/gpio/consumer.h> 35 #include <media/v4l2-fwnode.h> 36 #include <sound/hdmi-codec.h> 50 struct device *dev = &client->dev; in i2c_access_workaround() 53 if (client == ctx->last_client) in i2c_access_workaround() 56 ctx->last_client = client; in i2c_access_workaround() 58 if (client == ctx->i2c.tcpc_client) in i2c_access_workaround() 60 else if (client == ctx->i2c.tx_p0_client) in i2c_access_workaround() 62 else if (client == ctx->i2c.tx_p1_client) in i2c_access_workaround() [all …]
|
| /linux/drivers/media/common/siano/ |
| H A D | smscoreapi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 Copyright (C) 2006-2008, Uri Shkolnik, Anatoly Greenblat 25 #include <media/media-device.h> 33 * Those should match what's used at smscoreapi.c and sms-cards.c 46 #define SMS_FW_DVBT_HCW_55XXX "sms1xxx-hcw-55xxx-dvbt-02.fw" 47 #define SMS_FW_ISDBT_HCW_55XXX "sms1xxx-hcw-55xxx-isdbt-02.fw" 52 #define SMS_FW_DVBT_NOVA_A "sms1xxx-nova-a-dvbt-01.fw" 53 #define SMS_FW_DVBT_NOVA_B "sms1xxx-nova-b-dvbt-01.fw" 54 #define SMS_FW_DVBT_STELLAR "sms1xxx-stellar-dvbt-01.fw" 63 ((((uintptr_t)(addr)) + (SMS_DMA_ALIGNMENT-1)) & ~(SMS_DMA_ALIGNMENT-1)) [all …]
|
| /linux/drivers/hwmon/ |
| H A D | it87.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * it87.c - Part of lm_sensors, Linux kernel modules for hardware 6 * The IT8705F is an LPC-based Super I/O part that contains UARTs, a 41 * Copyright (C) 2005-2010 Jean Delvare <jdelvare@suse.de> 53 #include <linux/hwmon-sysfs.h> 54 #include <linux/hwmon-vid.h> 78 #define GPIO 0x07 macro 126 return -EBUSY; in superio_enter() 172 /* Logical device 7 registers (IT8712F and later) */ 199 /* Length of ISA address segment */ [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd. 13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem] 14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem] 23 #include <linux/gpio/consumer.h> 34 #include <linux/platform_data/i2c-pxa.h> 49 #define ICR_GCD (1 << 7) /* general call disable */ 59 #define ICR_A3700_FM (1 << 16) /* fast mode for armada-3700 */ 60 #define ICR_A3700_HS (1 << 17) /* high speed mode for armada-3700 */ 61 #define ICR_GPIOEN (1 << 19) /* enable GPIO mode for SCL in HS */ [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 105 #define ATOM_ENCODER_INIT (ATOM_DISABLE+7) 106 #define ATOM_INIT (ATOM_DISABLE+7) 127 #define ATOM_TV_PAL60 7 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 358 …USHORT PS_SizeInBytes:7; //[14:8]=Size of parameter space in Bytes (multiple of a dword… 359 USHORT WS_SizeInBytes:8; //[7:0]=Size of workspace in Bytes (in multiple of a dword), 361 USHORT WS_SizeInBytes:8; //[7:0]=Size of workspace in Bytes (in multiple of a dword), 362 …USHORT PS_SizeInBytes:7; //[14:8]=Size of parameter space in Bytes (multiple of a dword… 397 …ULONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYT… [all …]
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 119 #define ATOM_ENCODER_INIT (ATOM_DISABLE+7) 120 #define ATOM_INIT (ATOM_DISABLE+7) 136 #define ATOM_TV_PAL60 7 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 393 …USHORT PS_SizeInBytes:7; //[14:8]=Size of parameter space in Bytes (multiple of a dword… [all …]
|