/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | st,stm32-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Alexandre TORGUE <alexandre.torgue@foss.st.com> 17 on-chip controllers onto these pads. 22 - st,stm32f429-pinctrl 23 - st,stm32f469-pinctrl 24 - st,stm32f746-pinctrl 25 - st,stm32f769-pinctrl [all …]
|
/linux/arch/alpha/kernel/ |
H A D | sys_ruffian.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/ioport.h> 93 /* This only causes re-entry to ARCSBIOS */ in ruffian_kill_arch() 105 * 21052 13 - - - - 106 * SIO 14 23 - - - 107 * 21143 15 44 - - - 117 * 53c875 13 (23) 20 - - - 126 {-1, -1, -1, -1, -1}, /* IdSel 13, 21052 */ in ruffian_map_irq() 127 {-1, -1, -1, -1, -1}, /* IdSel 14, SIO */ in ruffian_map_irq() 129 {-1, -1, -1, -1, -1}, /* IdSel 16, none */ in ruffian_map_irq() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | denali_dt.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/ioport.h> 66 .compatible = "altr,socfpga-denali-nand", 70 .compatible = "socionext,uniphier-denali-nand-v5a", 74 .compatible = "socionext,uniphier-denali-nand-v5b", 85 u32 bank; in denali_dt_chip_init() local 92 dchip = devm_kzalloc(denali->dev, struct_size(dchip, sels, nsels), in denali_dt_chip_init() 95 return -ENOMEM; in denali_dt_chip_init() 97 dchip->nsels = nsels; in denali_dt_chip_init() 100 ret = of_property_read_u32_index(chip_np, "reg", i, &bank); in denali_dt_chip_init() [all …]
|
H A D | fsl_elbc_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright © 2006-2007, 2010 Freescale Semiconductor 9 * Roy Zang <tie-fei.zang@freescale.com> 16 #include <linux/ioport.h> 41 int bank; /* Chip select bank number */ member 74 if (section >= chip->ecc.steps) in fsl_elbc_ooblayout_ecc() 75 return -ERANGE; in fsl_elbc_ooblayout_ecc() 77 oobregion->offset = (16 * section) + 6; in fsl_elbc_ooblayout_ecc() 78 if (priv->fmr & FMR_ECCM) in fsl_elbc_ooblayout_ecc() 79 oobregion->offset += 2; in fsl_elbc_ooblayout_ecc() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-amd-asf-plat.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Authors: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 14 #include <linux/devm-helpers.h> 19 #include <linux/ioport.h> 25 #include "i2c-piix4.h" 61 unsigned short piix4_smba = dev->port_addr->start; in amd_asf_process_target() 63 u8 bank, reg, cmd; in amd_asf_process_target() local 71 /* Set bank as full */ in amd_asf_process_target() 76 /* Read data bank */ in amd_asf_process_target() 78 bank = (reg & BIT(3)) ? 1 : 0; in amd_asf_process_target() [all …]
|
/linux/arch/arm/kernel/ |
H A D | tcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson AB 13 #include <linux/ioport.h> 111 static int __init setup_tcm_bank(u8 type, u8 bank, u8 banks, in setup_tcm_bank() argument 114 const int tcm_sizes[16] = { 0, -1, -1, 4, 8, 16, 32, 64, 128, in setup_tcm_bank() 115 256, 512, 1024, -1, -1, -1, -1 }; in setup_tcm_bank() 120 * If there are more than one TCM bank of this type, in setup_tcm_bank() 121 * select the TCM bank to operate on in the TCM selection in setup_tcm_bank() 127 : "r" (bank)); in setup_tcm_bank() 140 type ? "I" : "D", bank); in setup_tcm_bank() [all …]
|
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2001 Russell King 11 #include <linux/ioport.h> 46 #include <asm/mach-types.h> 300 /* I-cache aliases will be handled by D-cache aliasing code */ in cpu_has_aliasing_icache() 353 * These functions re-us [all...] |
/linux/drivers/net/ethernet/fujitsu/ |
H A D | fmvj18x_cs.c | 8 TDK LAK-CD021 and CONTEC C-NET(PC)C support added by 9 Nobuhiro Katayama, kata-n@po.iijnet.or.jp 12 Network code is based on the "FMV-18x driver" by Yutaka TAMIYA 16 Written 1993-94 by Donald Becker. 50 #include <linux/ioport.h> 124 ioport offset from the base address 135 #define NODE_ID 8 /* node ID register (bank 0) */ 136 #define MAR_ADR 8 /* multicast address registers (bank 1) */ 138 #define DATAPORT 8 /* buffer mem port registers (bank 2) */ 148 #define UNGERMANN_MAC_ID 0x18 /* UNGERMANN-BASS hardware address */ [all …]
|
/linux/drivers/mtd/devices/ |
H A D | spear_smi.c | 23 #include <linux/ioport.h> 157 * struct spear_smi - Structure for SMI Device 165 * @cmd_complete: queue to wait for command completion of NOR-flash. 167 * @flash: separate structure for each Serial NOR-flash attached to SMI. 182 * struct spear_snor_flash - Structure for Serial NOR Flash 184 * @bank: Bank number(0, 1, 2, 3) for each NOR-flash. 185 * @dev_id: Device ID of NOR-flash. 187 * @mtd: MTD info for each NOR-flash. 188 * @num_parts: Total number of partition in each bank of NOR-flash. 189 * @parts: Partition info for each bank of NOR-flash. [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | gpio-samsung.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. 11 // Samsung - GPIOlib support 22 #include <linux/ioport.h> 31 #include "regs-gpio.h" 32 #include "gpio-samsung.h" 35 #include "gpio-core.h" 36 #include "gpio-cfg.h" 37 #include "gpio-cfg-helpers.h" 43 void __iomem *reg = chip->base + 0x08; in samsung_gpio_setpull_updown() [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 1 /*------------------------------------------------------------------------ 33 . 01/03/96 Erik Stahlman worked out some bugs, actually usable!!! :-) 37 . 2. got rid of post-decrementing bug -- UGH. 55 ----------------------------------------------------------------------------*/ 65 #include <linux/ioport.h> 82 /*------------------------------------------------------------------------ 86 -------------------------------------------------------------------------*/ 165 /*------------------------------------------------------------------------ 171 -------------------------------------------------------------------------*/ 193 /*----------------------------------------------------------------- [all …]
|
H A D | smc91c92_cs.c | 3 A PCMCIA ethernet driver for SMC91c92-based cards. 9 Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net 14 (becker@scyld.com), Rowan Hughes (x-csrdh@jcu.edu.au), 42 #include <linux/ioport.h> 148 /* Bank 0 registers. */ 176 /* Bank 1 registers. */ 201 /* Bank 2 registers. */ 239 /* BANK 3 -- not the same values as in smc9194! */ 307 dev_dbg(&link->dev, "smc91c92_attach()\n"); in smc91c92_probe() 312 return -ENOMEM; in smc91c92_probe() [all …]
|
H A D | smc91x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices. 37 * 29/09/03 Russell King - add driver model support 38 * - ethtool support 39 * - convert to use generic MII interface 40 * - add link up/down notification 41 * - don't try to handle full negotiation in 43 * - clean up (and fix stack overrun) in PHY 64 #include <linux/ioport.h> 113 * Use power-down feature of the chip [all …]
|
/linux/drivers/watchdog/ |
H A D | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 12 * This material is provided "AS-IS" and at no charge. 23 #include <linux/ioport.h> 42 #define DPFX MODNAME " - DEBUG: " 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 55 static int swc_base_addr = -1; 66 /* -- Low level function ----------------------------------------*/ 110 pr_info(DPFX "pc87413 - Enable SWC functions\n"); in pc87413_enable_swc() 137 /* Select Bank 3 of SWC */ [all …]
|
H A D | f71808e_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2007-2009 Hans de Goede <hdegoede@redhat.com> * 14 #include <linux/ioport.h> 22 #define SIO_UNLOCK_KEY 0x87 /* Key to enable Super-I/O */ 23 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */ 31 #define SIO_F81866_REG_PORT_SEL 0x27 /* F81866 Multi-Function Register */ 125 /* Super-I/O Function prototypes */ 191 return -EBUSY; in superio_enter() 218 wd->timer_val = DIV_ROUND_UP(timeout, 60); in fintek_wdt_set_timeout() 219 wd->minutes_mode = true; in fintek_wdt_set_timeout() [all …]
|
/linux/sound/isa/msnd/ |
H A D | msnd_pinnacle.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * the following is a copy of the 2.4.18 OSS FREE file-heading comment: 21 * -- If MSND_CLASSIC is defined: 23 * -> driver for Turtle Beach Classic/Monterey/Tahiti 25 * -- Else 27 * -> driver for Turtle Beach Pinnacle/Fiji 29 * 12-3-2000 Modified IO port validation Steve Sycamore 40 #include <linux/ioport.h> 62 # define DEV_NAME "msnd-classic" 66 # define DEV_NAME "msnd-pinnacle" [all …]
|
/linux/arch/arm/mach-sa1100/ |
H A D | assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/assabet.c 7 * This file contains all Assabet-specific tweaks. 14 #include <linux/gpio/gpio-reg.h> 17 #include <linux/ioport.h> 18 #include <linux/platform_data/sa11x0-serial.h> 34 #include <asm/mach-types.h> 37 #include <asm/pgtable-hwdef.h> 44 #include <linux/platform_data/mfd-mcp-sa11x0.h> 83 assabet_bcr_gc->set_multiple(assabet_bcr_gc, &m, &v); in ASSABET_BCR_frob() [all …]
|
/linux/drivers/tty/ |
H A D | mxser.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mxser.c -- MOXA Smartio/Industio family multiport serial driver. 5 * Copyright (C) 1999-2006 Moxa Technologies (support@moxa.com). 6 * Copyright (C) 2006-2008 Jiri Slaby <jirislaby@gmail.com> 15 * - Fixed x86_64 cleanness 32 #include <linux/ioport.h> 45 * Semi-public control interfaces 62 /* --------------------------------------------------- */ 69 * change bank. 73 /* when enhanced mode is enabled, access to general bank register */ [all …]
|
/linux/arch/arm/mach-footbridge/ |
H A D | netwinder-hw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/arm/mach-footbridge/netwinder-hw.c 10 #include <linux/ioport.h> 20 #include <asm/mach-types.h> 219 * Initialise the Winbond W83977F Infra-Red device 237 * RX DMA - ISA DMA 0 in wb977_init_irda() 242 * TX DMA - Disable Tx DMA in wb977_init_irda() 247 * Append CRC, Enable bank selection in wb977_init_irda() 267 current_gpio_io = -1; in wb977_init_gpio() 268 __gpio_modify_io(-1, GPIO_DONE | GPIO_WDTIMER); in wb977_init_gpio() [all …]
|
/linux/drivers/net/ethernet/realtek/ |
H A D | atp.c | 6 Written 1993-2000 by Donald Becker. 16 National Security Agency. Copyright 1994-2000 retained by the original 17 author, Donald Becker. The timer-based reset code was supplied in 1995 37 /* The user-configurable values. 58 This file is a device driver for the RealTek (aka AT-Lan-Tec) pocket 59 ethernet adapter. This is a common low-cost OEM pocket ethernet 64 Vincent Bono of AT-Lan-Tec. Ever try to figure out how a complicated 66 description is written based on guesses and writing lots of special-purpose 84 The station address is stored in a standard bit-serial EEPROM which must be 87 using it.) Unlike built-in devices, a pocket adapter can temporarily lose [all …]
|
/linux/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 1 /* ---------------------------------------------------------------------------- 23 Am79C90 (C-LANCE) Data Sheet, 1994 47 ------------------------------------------------------------------------------- 49 ------------------------------------------------------------------------------- 63 4. There is a bad slow-down problem in this driver. 68 ------------------------------------------------------------------------------- 70 ------------------------------------------------------------------------------- 72 * 2.5.75-ac1 2003/07/11 Alan Cox <alan@lxorguk.ukuu.org.uk> 80 * Re-implement MULTI_TX dev->tbusy handling. 106 Bug fix: Make all non-exported functions private by using [all …]
|
/linux/drivers/scsi/ |
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. 22 #include <linux/ioport.h> 34 #include <linux/dma-mapping.h> 54 * 3. Add module_param to override ISA/VLB ioport array 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. [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/pinctrl/pinmux-xway.c 4 * based on linux/drivers/pinctrl/pinmux-pxa910.c 15 #include <linux/ioport.h> 21 #include "pinctrl-lantiq.h" 36 * each bank has this offset apart from the 4th bank that is mixed into the 110 /* --------- ase related code --------- */ 238 /* --------- danube related code --------- */ 413 /* --------- xrx100 related code --------- */ 626 /* --------- xrx200 related code --------- */ [all …]
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rza1.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * This includes SoCs which are sub- or super- sets of this particular line, 19 #include <linux/ioport.h> 23 #include <linux/pinctrl/pinconf-generic.h> 35 #define DRIVER_NAME "pinctrl-rza1" 75 /* ---------------------------------------------------------------------------- 80 * rza1_bidir_pin - describe a single pin that needs bidir flag applied. 88 * rza1_bidir_entry - describe a list of pins that needs bidir flag applied. 97 * rza1_swio_pin - describe a single pin that needs swio flag applied. 107 * rza1_swio_entry - describe a list of pins that needs swio flag applied [all …]
|
/linux/drivers/memory/ |
H A D | omap-gpmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2006 Nokia Corporation 10 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 20 #include <linux/ioport.h> 33 #include <linux/omap-gpmc.h> 37 #include <linux/platform_data/mtd-nand-omap2.h> 39 #define DEVICE_NAME "omap-gpmc" 258 /* Define chip-selects as reserved by default until probe completes */ 306 * gpmc_get_clk_period - get period of selected clock domain in ps 343 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks() [all …]
|