Home
last modified time | relevance | path

Searched +full:mem +full:- +full:io (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/kernel/linux/linux-6.6/arch/arm/mm/
Dpmsa-v8.c2 * Based on linux/arch/arm/pmsa-v7.c
78 static struct range __initdata io[MPU_MAX_REGIONS]; variable
79 static struct range __initdata mem[MPU_MAX_REGIONS]; variable
120 memblock_remove(reg_start, 0 - reg_start); in pmsav8_adjust_lowmem_bounds()
145 return -ENOENT; in __pmsav8_setup_region()
166 return -EINVAL; in pmsav8_setup_ram()
169 lar = (end - 1) & ~(PMSAv8_MINALIGN - 1); in pmsav8_setup_ram()
182 return -EINVAL; in pmsav8_setup_io()
185 lar = (end - 1) & ~(PMSAv8_MINALIGN - 1); in pmsav8_setup_io()
198 return -EINVAL; in pmsav8_setup_fixed()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dpmsa-v8.c2 * Based on linux/arch/arm/pmsa-v7.c
78 static struct range __initdata io[MPU_MAX_REGIONS]; variable
79 static struct range __initdata mem[MPU_MAX_REGIONS]; variable
120 memblock_remove(reg_start, 0 - reg_start); in pmsav8_adjust_lowmem_bounds()
145 return -ENOENT; in __pmsav8_setup_region()
166 return -EINVAL; in pmsav8_setup_ram()
169 lar = (end - 1) & ~(PMSAv8_MINALIGN - 1); in pmsav8_setup_ram()
182 return -EINVAL; in pmsav8_setup_io()
185 lar = (end - 1) & ~(PMSAv8_MINALIGN - 1); in pmsav8_setup_io()
198 return -EINVAL; in pmsav8_setup_fixed()
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dibmphp_pci.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
40 if (cur_func->irq[j] == 0xff) { in assign_alt_irq()
43 cur_func->irq[j] = SCSI_IRQ; in assign_alt_irq()
46 cur_func->irq[j] = LAN_IRQ; in assign_alt_irq()
49 cur_func->irq[j] = OTHER_IRQ; in assign_alt_irq()
59 * multi-functional
81 debug("inside configure_card, func->busno = %x\n", func->busno); in ibmphp_configure_card()
83 device = func->device; in ibmphp_configure_card()
87 * func->busno is correct, and func->device contains only device (at the 5 in ibmphp_configure_card()
[all …]
Dibmphp_res.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
49 newbus->busno = busno; in alloc_error_bus()
51 newbus->busno = curr->bus_num; in alloc_error_bus()
52 list_add_tail(&newbus->bus_list, &gbuses); in alloc_error_bus()
69 rs->busno = curr->bus_num; in alloc_resources()
70 rs->devfunc = curr->dev_fun; in alloc_resources()
71 rs->start = curr->start_addr; in alloc_resources()
72 rs->end = curr->end_addr; in alloc_resources()
73 rs->len = curr->end_addr - curr->start_addr + 1; in alloc_resources()
[all …]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
Dibmphp_pci.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
40 if (cur_func->irq[j] == 0xff) { in assign_alt_irq()
43 cur_func->irq[j] = SCSI_IRQ; in assign_alt_irq()
46 cur_func->irq[j] = LAN_IRQ; in assign_alt_irq()
49 cur_func->irq[j] = OTHER_IRQ; in assign_alt_irq()
59 * multi-functional
81 debug("inside configure_card, func->busno = %x\n", func->busno); in ibmphp_configure_card()
83 device = func->device; in ibmphp_configure_card()
87 * func->busno is correct, and func->device contains only device (at the 5 in ibmphp_configure_card()
[all …]
Dibmphp_res.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
49 newbus->busno = busno; in alloc_error_bus()
51 newbus->busno = curr->bus_num; in alloc_error_bus()
52 list_add_tail(&newbus->bus_list, &gbuses); in alloc_error_bus()
69 rs->busno = curr->bus_num; in alloc_resources()
70 rs->devfunc = curr->dev_fun; in alloc_resources()
71 rs->start = curr->start_addr; in alloc_resources()
72 rs->end = curr->end_addr; in alloc_resources()
73 rs->len = curr->end_addr - curr->start_addr + 1; in alloc_resources()
[all …]
/kernel/linux/linux-6.6/kernel/dma/
Dswiotlb.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 2000, 2003 Hewlett-Packard Co
10 * David Mosberger-Tang <davidm@hpl.hp.com>
12 * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API.
14 * unnecessary i-cache flushing.
21 #define pr_fmt(fmt) "software IO TLB: " fmt
27 #include <linux/dma-direct.h>
28 #include <linux/dma-map-ops.h>
32 #include <linux/io.h>
33 #include <linux/iommu-helper.h>
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/
Dcuboot-pq2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Old U-boot compatibility for PowerQUICC II
14 #include "io.h"
15 #include "fsl-soc.h"
40 /* Different versions of u-boot put the BCSR in different places, and
44 * For any node defined as compatible with fsl,pq2-localbus,
58 if (!bus_node || !dt_is_compatible(bus_node, "fsl,pq2-localbus")) in update_cs_ranges()
103 option | ~(cs_ranges_buf[i].size - 1)); in update_cs_ranges()
113 /* Older u-boots don't set PCI up properly. Update the hardware to match
114 * the device tree. The prefetch mem region and non-prefetch mem region
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dcuboot-pq2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Old U-boot compatibility for PowerQUICC II
14 #include "io.h"
15 #include "fsl-soc.h"
40 /* Different versions of u-boot put the BCSR in different places, and
44 * For any node defined as compatible with fsl,pq2-localbus,
58 if (!bus_node || !dt_is_compatible(bus_node, "fsl,pq2-localbus")) in update_cs_ranges()
103 option | ~(cs_ranges_buf[i].size - 1)); in update_cs_ranges()
113 /* Older u-boots don't set PCI up properly. Update the hardware to match
114 * the device tree. The prefetch mem region and non-prefetch mem region
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
Dpci-nanoengine.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * linux/arch/arm/mach-sa1100/pci-nanoengine.c
7 * Copyright (C) 2010 Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
14 #include <asm/mach-types.h>
22 if (bus->number != 0 || (devfn >> 3) != 0) in nanoengine_pci_map_bus()
26 ((bus->number << 16) | (devfn << 8) | (where & ~3)); in nanoengine_pci_map_bus()
42 DEFINE_RES_IO_NAMED(0x400, 0x400, "PCI IO");
45 .name = "PCI non-prefetchable",
49 .end = NANO_PCI_MEM_RW_PHYS + NANO_PCI_MEM_RW_SIZE - 1,
50 /* .end = NANO_PCI_MEM_RW_PHYS + SZ_128K + SZ_8K - 1,*/
[all …]
/kernel/linux/linux-5.10/drivers/pcmcia/
Dvrc4173_cardu.c9 * Copyright 2002,2003 Yoichi Yuasa <yuasa@linux-mips.org>
37 #include <asm/io.h>
44 MODULE_AUTHOR("Yoichi Yuasa <yuasa@linux-mips.org>");
58 return readb(socket->base + EXCA_REGS_BASE + offset); in exca_readb()
65 val = readb(socket->base + EXCA_REGS_BASE + offset); in exca_readw()
66 val |= (u16)readb(socket->base + EXCA_REGS_BASE + offset + 1) << 8; in exca_readw()
73 writeb(val, socket->base + EXCA_REGS_BASE + offset); in exca_writeb()
78 writeb((u8)val, socket->base + EXCA_REGS_BASE + offset); in exca_writew()
79 writeb((u8)(val >> 8), socket->base + EXCA_REGS_BASE + offset + 1); in exca_writew()
84 return readl(socket->base + CARDBUS_SOCKET_REGS_BASE + offset); in cardbus_socket_readl()
[all …]
Dvrc4171_card.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@linux-mips.org>
15 #include <asm/io.h>
22 MODULE_AUTHOR("Yoichi Yuasa <yuasa@linux-mips.org>");
219 return -1; in search_nonuse_irq()
227 sock->features |= SS_CAP_PCCARD | SS_CAP_PAGE_REGS; in pccard_init()
228 sock->irq_mask = 0; in pccard_init()
229 sock->map_size = 0x1000; in pccard_init()
230 sock->pci_irq = vrc4171_irq; in pccard_init()
232 slot = sock->sock; in pccard_init()
[all …]
Di82092.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for Intel I82092AA PCI-PCMCIA bridge.
8 * Loosly based on i82365.c from the pcmcia-cs package
21 #include <linux/io.h>
62 unsigned int io_base; /* base io address of the socket */
99 dev_err(&dev->dev, in i82092aa_pci_probe()
101 ret = -EIO; in i82092aa_pci_probe()
104 dev_info(&dev->dev, "configured as a %d socket device.\n", in i82092aa_pci_probe()
108 ret = -EBUSY; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
[all …]
Dtcic.c3 Device driver for Databook TCIC-2 PCMCIA controller
49 #include <asm/io.h>
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()
[all …]
/kernel/linux/linux-5.10/drivers/clk/ti/
Dclk.c6 * Tero Kristo <t-kristo@ti.com>
19 #include <linux/clk-provider.h>
22 #include <linux/io.h>
43 void __iomem *mem; member
50 struct clk_iomap *io = clk_memmaps[reg->index]; in clk_memmap_writel() local
52 if (reg->ptr) in clk_memmap_writel()
53 writel_relaxed(val, reg->ptr); in clk_memmap_writel()
54 else if (io->regmap) in clk_memmap_writel()
55 regmap_write(io->regmap, reg->offset, val); in clk_memmap_writel()
57 writel_relaxed(val, io->mem + reg->offset); in clk_memmap_writel()
[all …]
/kernel/linux/linux-6.6/drivers/pcmcia/
Di82092.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for Intel I82092AA PCI-PCMCIA bridge.
8 * Loosly based on i82365.c from the pcmcia-cs package
21 #include <linux/io.h>
62 unsigned int io_base; /* base io address of the socket */
99 dev_err(&dev->dev, in i82092aa_pci_probe()
101 ret = -EIO; in i82092aa_pci_probe()
104 dev_info(&dev->dev, "configured as a %d socket device.\n", in i82092aa_pci_probe()
108 ret = -EBUSY; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
[all …]
Dtcic.c3 Device driver for Databook TCIC-2 PCMCIA controller
49 #include <asm/io.h>
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()
[all …]
/kernel/linux/linux-5.10/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
45 #include <linux/io.h>
62 # define DEV_NAME "msnd-classic"
66 # define DEV_NAME "msnd-pinnacle"
[all …]
/kernel/linux/linux-6.6/include/linux/
Dswiotlb.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/dma-direction.h>
29 * log of the size of each IO TLB slab. The number of slabs is command line
66 * struct io_tlb_pool - IO TLB memory pool descriptor
76 * @nslabs: The number of IO TLB slots between @start and @end. For the
84 * @node: Member of the IO TLB memory pool list.
106 * struct io_tlb_mem - Software IO TLB allocator
107 * @defpool: Default (initial) IO TLB memory pool descriptor.
108 * @pool: IO TLB memory pool descriptor (if not dynamic).
109 * @nslabs: Total number of IO TLB slabs in all pools.
[all …]
/kernel/linux/linux-6.6/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
45 #include <linux/io.h>
62 # define DEV_NAME "msnd-classic"
66 # define DEV_NAME "msnd-pinnacle"
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Datarilance.c3 Written 1995/96 by Roman Hodek (Roman.Hodek@informatik.uni-erlangen.de)
9 - The driver for the Riebl Lance card by the TU Vienna.
10 - The modified TUW driver for PAM's VME cards
11 - The PC-Linux driver for Lance cards (but this is for bus master
13 - The Amiga Ariadne driver
23 better probe procedure for 24-bit systems
24 non-VME-RieblCards need extra delays in memcpy
36 When the lance is stopped it jumps back into little-endian
39 This might be the reason why multicast-mode didn't work
46 "Roman.Hodek@informatik.uni-erlangen.de\n";
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
Datarilance.c3 Written 1995/96 by Roman Hodek (Roman.Hodek@informatik.uni-erlangen.de)
9 - The driver for the Riebl Lance card by the TU Vienna.
10 - The modified TUW driver for PAM's VME cards
11 - The PC-Linux driver for Lance cards (but this is for bus master
13 - The Amiga Ariadne driver
23 better probe procedure for 24-bit systems
24 non-VME-RieblCards need extra delays in memcpy
36 When the lance is stopped it jumps back into little-endian
39 This might be the reason why multicast-mode didn't work
46 "Roman.Hodek@informatik.uni-erlangen.de\n";
[all …]
/kernel/linux/linux-6.6/Documentation/sound/cards/
Dmultisound.sh4 # -- Andrew Veliath <andrewtv@usa.net>
15 # -=-=- Getting Firmware -=-=-
26 # Currently, full-duplex digital audio (/dev/dsp only, /dev/audio is
37 # snd-msnd-lib - MultiSound base (requires snd)
39 # snd-msnd-classic - Base audio/mixer support for Classic, Monetery and
42 # snd-msnd-pinnacle - Base audio/mixer support for Pinnacle and Fiji cards
45 # Important Notes - Read Before Using
69 # These cards are configured through the driver snd-msnd-classic. You must
70 # know the io port, then the driver will select the irq and memory resources
81 # can be used to configure the card in non-PnP mode, and in PnP mode
[all …]
/kernel/linux/linux-5.10/Documentation/sound/cards/
Dmultisound.sh4 # -- Andrew Veliath <andrewtv@usa.net>
15 # -=-=- Getting Firmware -=-=-
26 # Currently, full-duplex digital audio (/dev/dsp only, /dev/audio is
37 # snd-msnd-lib - MultiSound base (requires snd)
39 # snd-msnd-classic - Base audio/mixer support for Classic, Monetery and
42 # snd-msnd-pinnacle - Base audio/mixer support for Pinnacle and Fiji cards
45 # Important Notes - Read Before Using
69 # These cards are configured through the driver snd-msnd-classic. You must
70 # know the io port, then the driver will select the irq and memory resources
81 # can be used to configure the card in non-PnP mode, and in PnP mode
[all …]
/kernel/linux/linux-6.6/drivers/clk/ti/
Dclk.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Tero Kristo <t-kristo@ti.com>
11 #include <linux/clk-provider.h>
14 #include <linux/io.h>
36 void __iomem *mem; member
43 struct clk_iomap *io = clk_memmaps[reg->index]; in clk_memmap_writel() local
45 if (reg->ptr) in clk_memmap_writel()
46 writel_relaxed(val, reg->ptr); in clk_memmap_writel()
47 else if (io->regmap) in clk_memmap_writel()
48 regmap_write(io->regmap, reg->offset, val); in clk_memmap_writel()
[all …]

12345678910>>...43