Home
last modified time | relevance | path

Searched +full:bank +full:- +full:ioport (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.14.4/Documentation/devicetree/bindings/pinctrl/
Dst,stm32-pinctrl.yaml1 # 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 <[email protected]>
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-6.14.4/arch/alpha/kernel/
Dsys_ruffian.c1 // 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-6.14.4/drivers/mtd/nand/raw/
Ddenali_dt.c1 // 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 …]
Dfsl_elbc_nand.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright © 2006-2007, 2010 Freescale Semiconductor
9 * Roy Zang <tie-[email protected]>
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-6.14.4/drivers/i2c/busses/
Di2c-amd-asf-plat.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Authors: Shyam Sundar S K <Shyam-sundar.S-[email protected]>
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-6.14.4/arch/arm/kernel/
Dtcm.c1 // 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 …]
Dsetup.c1 // 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-use the assembly code in head.S, which
527 * cpu_init - initialise one CPU.
529 * cpu_init sets up the per-CPU stacks.
552 * In Thumb-2, msr with an immediate value is not allowed. in cpu_init()
563 * setup stacks for re-entrant exception handlers in cpu_init()
[all …]
/linux-6.14.4/drivers/net/ethernet/fujitsu/
Dfmvj18x_cs.c8 TDK LAK-CD021 and CONTEC C-NET(PC)C support added by
9 Nobuhiro Katayama, kata-[email protected]
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-6.14.4/drivers/mtd/devices/
Dspear_smi.c23 #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-6.14.4/drivers/pinctrl/stm32/
Dpinctrl-stm32.c1 // SPDX-License-Identifier: GPL-2.0
29 #include <linux/pinctrl/pinconf-generic.h>
36 #include "../pinctrl-utils.h"
37 #include "pinctrl-stm32.h"
150 return function - 1; in stm32_gpio_get_alt()
158 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value() argument
161 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value()
162 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value()
165 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode() argument
168 bank->pin_backup[offset] &= ~(STM32_GPIO_BKP_MODE_MASK | in stm32_gpio_backup_mode()
[all …]
/linux-6.14.4/arch/arm/mach-s3c/
Dgpio-samsung.c1 // 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-6.14.4/drivers/net/ethernet/smsc/
Dsmc9194.c1 /*------------------------------------------------------------------------
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 …]
/linux-6.14.4/drivers/usb/host/
Dsl811-hcd.c1 // 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>
65 MODULE_ALIAS("platform:sl811-hcd");
69 /* for now, use only one transfer register bank */
[all …]
/linux-6.14.4/arch/arm64/boot/dts/st/
Dstm32mp251.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved
6 #include <dt-bindings/clock/st,stm32mp25-rcc.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/reset/st,stm32mp25-rcc.h>
9 #include <dt-bindings/regulator/st,stm32mp25-regulator.h>
10 #include <dt-bindings/phy/phy.h>
13 #address-cells = <2>;
14 #size-cells = <2>;
17 #address-cells = <1>;
[all …]
/linux-6.14.4/sound/isa/msnd/
Dmsnd_pinnacle.c1 // 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-6.14.4/drivers/watchdog/
Dpc87413_wdt.c1 // 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 …]
Df71808e_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2007-2009 Hans de Goede <[email protected]> *
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-6.14.4/drivers/hwmon/
Dw83781d.c1 // 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 <[email protected]>,
8 * Copyright (c) 2007 - 2008 Jean Delvare <[email protected]>
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 …]
Dpc87427.c1 // 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 …]
/linux-6.14.4/arch/arm/mach-sa1100/
Dassabet.c1 // 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-6.14.4/arch/arm/boot/dts/st/
Dstm32mp151.dtsi1 // 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 …]
/linux-6.14.4/drivers/tty/
Dmxser.c1 // SPDX-License-Identifier: GPL-2.0+
3 * mxser.c -- MOXA Smartio/Industio family multiport serial driver.
5 * Copyright (C) 1999-2006 Moxa Technologies ([email protected]).
6 * Copyright (C) 2006-2008 Jiri Slaby <[email protected]>
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-6.14.4/arch/arm/mach-footbridge/
Dnetwinder-hw.c1 // 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-6.14.4/drivers/net/ethernet/realtek/
Datp.c6 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-6.14.4/drivers/net/ethernet/amd/
Dnmclan_cs.c1 /* ----------------------------------------------------------------------------
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 <[email protected]>
80 * Re-implement MULTI_TX dev->tbusy handling.
106 Bug fix: Make all non-exported functions private by using
[all …]

12