Searched +full:totem +full:- +full:pole (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/leds/ |
H A D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 22 * or by adding the 'nxp,hw-blink' property to the DTS. 43 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 121 struct i2c_client *client = led->chip->client; in pca963x_brightness() 122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() 127 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness() [all …]
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | nxp,pca9685-pwm.txt | 1 NXP PCA9685 16-channel 12-bit PWM LED controller 5 - compatible: "nxp,pca9685-pwm" 6 - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of 12 - invert (bool): boolean to enable inverted logic 13 - open-drain (bool): boolean to configure outputs with open-drain structure; 14 if omitted use totem-pole structure 22 compatible = "nxp,pca9685-pwm"; 23 #pwm-cells = <2>; 26 open-drain;
|
/linux/drivers/gpio/ |
H A D | gpio-ge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * Configuration of output modes (totem-pole/open-drain). 14 * Interrupt configuration - interrupts are always generated, the FPGA relies 39 .compatible = "gef,sbc610-gpio", 42 .compatible = "gef,sbc310-gpio", 45 .compatible = "ge,imp3a-gpio", 54 struct device *dev = &pdev->dev; in gef_gpio_probe() 61 return -ENOMEM; in gef_gpio_probe() 74 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pfw", dev_fwnode(dev)); in gef_gpio_probe() 75 if (!gc->label) in gef_gpio_probe() [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | driver.rst | 26 between 0 and n-1, n being the number of GPIOs managed by the chip. 29 example if a system uses a memory-mapped set of I/O-registers where 32 GPIO 30 lines are handled by one bit per line in a 32-bit register, it makes sense to 44 So for example one platform could use global numbers 32-159 for GPIOs, with a 46 global numbers 0..63 with one set of GPIO controllers, 64-79 with another type 47 of GPIO controller, and on one particular board 80-95 with an FPGA. The legacy 49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders. 60 - methods to establish GPIO line direction 61 - methods used to access GPIO line values 62 - method to set electrical configuration for a given GPIO line [all …]
|
/linux/drivers/input/keyboard/ |
H A D | imx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0 71 * -stable: achieved after a complete debounce process. 72 * -unstable: used in the debouncing process. 86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix() 91 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix() 92 * 4. configure columns as open-drain. in imx_keypad_scan_matrix() 94 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 96 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 98 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 99 reg_val &= ~((keypad->cols_en_mask & 0xff) << 8); in imx_keypad_scan_matrix() [all …]
|
/linux/drivers/pcmcia/ |
H A D | tcic.c | 3 Device driver for Databook TCIC-2 PCMCIA controller 55 MODULE_DESCRIPTION("Databook TCIC-2 PCMCIA socket driver"); 62 /* The base port address of the TCIC-2 chip */ 66 static int ignore = -1; 76 /* The card status change interrupt -- 0 means autoselect */ 79 /* Poll status interval -- 0 means default to interrupt */ 82 /* Delay for card status double-checking */ 195 return 2*(ns-14)/cycle_time; in to_cycles() 214 return -1; in try_irq() 218 return -1; in try_irq() [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION 40 u_char burst_max; /* log-base-2 of max burst */ 48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */ [all …]
|
H A D | sym_glue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 66 MODULE_PARM_DESC(irqm, "0 for open drain, 1 to leave alone, 2 for totem pole"); 122 #define SYM_SOFTC_PTR(cmd) sym_get_hcb(cmd->device->host) [all …]
|
H A D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
/linux/drivers/scsi/ |
H A D | ncr53c8xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 6 ** Copyright (C) 1998-2001 Gerard Roudier <groudier@free.fr> 9 **----------------------------------------------------------------------------- 23 ** Stefan Esser <se@mi.Uni-Koeln.de> 62 /* --------------------------------------------------------------------- 65 ** --------------------------------------------------------------------- 143 * Disallow disconnections at boot-up 179 * Settle time after reset at boot-up 184 ** Bridge quirks work-around option defaulted to 1. [all …]
|
H A D | advansys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters 5 * Copyright (c) 1995-2000 Advanced System Products, Inc. 6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc. 34 #include <linux/dma-mapping.h> 109 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3) 125 * Narrow boards only support 12-byte commands, while wide boards 126 * extend to 16-byte commands. 391 #define ASC_IERR_BIST_PRE_TEST 0x0800 /* BIST pre-test error */ 412 * is Ultra-capable or not. These tables let us convert from one to the other. [all …]
|
/linux/Documentation/scsi/ |
H A D | sym53c8xx_2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SYM-2 driver 11 95170 DEUIL LA BARRE - FRANCE 15 2004-10-09 67 This driver supports the whole SYM53C8XX family of PCI-SCSI controllers. 68 It also support the subset of LSI53C10XX PCI-SCSI controllers that are based 72 with the FreeBSD SYM-2 driver. The 'glue' that allows this driver to work 81 - Wolfgang Stanglmeier <wolf@cologne.de> 82 - Stefan Esser <se@mi.Uni-Koeln.de> 84 1996: port of the ncr driver to Linux-1.2.13 and rename it ncr53c8xx. [all …]
|
H A D | ncr53c8xx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 95170 DEUIL LA BARRE - FRANCE 64 10.4 PCI configuration fix-up boot option 81 16.1 Synchronous timings for 53C875 and 53C860 Ultra-SCSI controllers 82 16.2 Synchronous timings for fast SCSI-2 53C8XX controllers 97 - Gerard Roudier <groudier@free.fr> 101 - Wolfgang Stanglmeier <wolf@cologne.de> 102 - Stefan Esser <se@mi.Uni-Koeln.de> 106 - ncr53c8xx generic driver that supports all the SYM53C8XX family including 109 - sym53c8xx enhanced driver (a.k.a. 896 drivers) that drops support of oldest [all …]
|