/openbmc/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 …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | amd_nb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/ioport.h> 33 unsigned int block; /* Number within bank */ 34 unsigned int bank; /* MCA bank the block belongs to */ member 35 unsigned int cpu; /* CPU which controls MCA bank */ 38 bool interrupt_capable; /* Bank can generate an interrupt. */ 48 * within a bank. 56 /* initialized to the number of CPUs on the node sharing this bank */ 91 misc = node_to_amd_nb(i)->misc; in amd_pci_dev_to_node_id() 93 if (pci_domain_nr(misc->bus) == pci_domain_nr(pdev->bus) && in amd_pci_dev_to_node_id() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp251.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 13 #address-cells = <1>; 14 #size-cells = <0>; 17 compatible = "arm,cortex-a35"; 20 enable-method = "psci"; 24 arm-pmu { [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stm32mp157-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 10 pinctrl: pin-controller@50002000 { 11 #address-cells = <1>; 12 #size-cells = <1>; 13 compatible = "st,stm32mp157-pinctrl"; 15 interrupt-parent = <&exti>; 17 pins-are-numbered; 20 gpio-controller; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #include <linux/pinctrl/pinconf-generic.h> 35 #include "../pinctrl-utils.h" 36 #include "pinctrl-stm32.h" 149 return function - 1; in stm32_gpio_get_alt() 157 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value() argument 160 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value() 161 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value() 164 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode() argument 167 bank->pin_backup[offset] &= ~(STM32_GPIO_BKP_MODE_MASK | in stm32_gpio_backup_mode() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | sl811-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2004-2005 David Brownell 23 * and usb-storage. 26 * - usb suspend/resume triggered by sl811 27 * - various issues noted in the code 28 * - performance work; use both register banks; ... 29 * - use urb->iso_frame_desc[] with ISO transfers 39 #include <linux/ioport.h> 64 MODULE_ALIAS("platform:sl811-hcd"); 68 /* for now, use only one transfer register bank */ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | w83781d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83781d.c - Part of lm_sensors, Linux kernel modules for hardware 5 * Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl>, 8 * Copyright (c) 2007 - 2008 Jean Delvare <jdelvare@suse.de> 17 * w83781d 7 3 0 3 0x10-1 0x5ca3 yes yes 18 * w83782d 9 3 2-4 3 0x30 0x5ca3 yes yes 19 * w83783s 5-6 3 2 1-2 0x40 0x5ca3 yes no 31 #include <linux/hwmon-vid.h> 32 #include <linux/hwmon-sysfs.h> 39 #include <linux/ioport.h> [all …]
|
H A D | pc87427.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pc87427.c - hardware monitoring driver for the 4 * National Semiconductor PC87427 Super-I/O chip 10 * PC87427 - 8 4 6 0xF2 13 * Only fans are fully supported so far. Temperatures are in read-only 25 #include <linux/hwmon-sysfs.h> 29 #include <linux/ioport.h> 79 * Super-I/O registers and operations 104 return -EBUSY; in superio_enter() 146 return inb(data->address[ldi] + reg); in pc87427_read8() [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp151.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/stm32mp1-clks.h> 8 #include <dt-bindings/reset/stm32mp1-resets.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-a7"; [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Based on Barebox drivers/pci/pci-mvebu.c 7 * Ported to U-Boot by: 14 #include <dm/device-internal.h> 22 #include <linux/ioport.h> 38 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + (((n) - 1) * 4)) 94 val = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_link_up() 102 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 105 writel(stat, pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr() 112 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|