Home
last modified time | relevance | path

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

12

/Linux-v5.15/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 <alexandre.torgue@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-v5.15/arch/x86/include/asm/
Damd_nb.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/ioport.h>
35 unsigned int block; /* Number within bank */
36 unsigned int bank; /* MCA bank the block belongs to */ member
37 unsigned int cpu; /* CPU which controls MCA bank */
40 bool interrupt_capable; /* Bank can generate an interrupt. */
50 * within a bank.
58 /* initialized to the number of CPUs on the node sharing this bank */
93 misc = node_to_amd_nb(i)->misc; in amd_pci_dev_to_node_id()
95 if (pci_domain_nr(misc->bus) == pci_domain_nr(pdev->bus) && in amd_pci_dev_to_node_id()
[all …]
/Linux-v5.15/drivers/cpufreq/
Ds3c24xx-cpufreq-debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * S3C24XX CPU Frequency scaling - debugfs status support
15 #include <linux/ioport.h>
21 #include <linux/soc/samsung/s3c-cpufreq-core.h>
33 f->fclk, f->hclk, f->pclk, f->armclk); in show_max()
47 brd = cfg->board; in board_show()
53 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show()
54 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show()
55 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show()
57 show_max(seq, &brd->max); in board_show()
[all …]
/Linux-v5.15/arch/arm/mach-s3c/
Diotiming-s3c2412.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2006-2008 Simtec Electronics
12 #include <linux/ioport.h>
27 #include <linux/soc/samsung/s3c-cpufreq-core.h>
34 * s3c2412_print_timing - print timing information via printk.
41 unsigned int bank; in s3c2412_print_timing() local
43 for (bank = 0; bank < MAX_BANKS; bank++) { in s3c2412_print_timing()
44 bt = iot->bank[bank].io_2412; in s3c2412_print_timing()
49 "wstoen=%d.%d wstwen=%d.%d wstbrd=%d.%d\n", pfx, bank, in s3c2412_print_timing()
50 print_ns(bt->idcy), in s3c2412_print_timing()
[all …]
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-v5.15/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-v5.15/drivers/mtd/nand/raw/
Ddenali_dt.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/ioport.h>
67 .compatible = "altr,socfpga-denali-nand",
71 .compatible = "socionext,uniphier-denali-nand-v5a",
75 .compatible = "socionext,uniphier-denali-nand-v5b",
86 u32 bank; in denali_dt_chip_init() local
93 dchip = devm_kzalloc(denali->dev, struct_size(dchip, sels, nsels), in denali_dt_chip_init()
96 return -ENOMEM; in denali_dt_chip_init()
98 dchip->nsels = nsels; in denali_dt_chip_init()
101 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-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-v5.15/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 …]
/Linux-v5.15/drivers/net/ethernet/fujitsu/
Dfmvj18x_cs.c8 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-v5.15/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-v5.15/drivers/pinctrl/stm32/
Dpinctrl-stm32.c1 // SPDX-License-Identifier: GPL-2.0
23 #include <linux/pinctrl/pinconf-generic.h>
33 #include "../pinctrl-utils.h"
34 #include "pinctrl-stm32.h"
145 return function - 1; in stm32_gpio_get_alt()
153 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value() argument
156 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value()
157 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value()
160 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode() argument
163 bank->pin_backup[offset] &= ~(STM32_GPIO_BKP_MODE_MASK | in stm32_gpio_backup_mode()
[all …]
/Linux-v5.15/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>
64 MODULE_ALIAS("platform:sl811-hcd");
68 /* for now, use only one transfer register bank */
[all …]
/Linux-v5.15/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-v5.15/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 …]
/Linux-v5.15/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-v5.15/arch/arm/boot/dts/
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-v5.15/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 <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 …]
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-v5.15/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.
13 #include <linux/gpio/gpio-reg.h>
16 #include <linux/ioport.h>
17 #include <linux/platform_data/sa11x0-serial.h>
33 #include <asm/mach-types.h>
36 #include <asm/pgtable-hwdef.h>
41 #include <linux/platform_data/irda-sa11x0.h>
44 #include <linux/platform_data/mfd-mcp-sa11x0.h>
[all …]
/Linux-v5.15/arch/arm/common/
Dsa1111.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/ioport.h>
25 #include <linux/dma-map-ops.h>
31 #include <asm/mach-types.h>
104 int irq_base; /* base for cascaded on-chip IRQs */
196 return irq_create_mapping(sachip->irqdomain, hwirq); in sa1111_map_irq()
209 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler()
216 desc->irq_data.chip->irq_ack(&desc->irq_data); in sa1111_irq_handler()
225 irqdomain = sachip->irqdomain; in sa1111_irq_handler()
235 /* For level-based interrupts */ in sa1111_irq_handler()
[all …]
/Linux-v5.15/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-v5.15/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 (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-v5.15/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-v5.15/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 <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 …]

12