Home
last modified time | relevance | path

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

12345678910>>...41

/openbmc/linux/arch/arm/mm/
H A 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 …]
/openbmc/linux/drivers/pci/hotplug/
H A 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 …]
H A 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 …]
/openbmc/linux/kernel/dma/
H A 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 …]
/openbmc/linux/arch/powerpc/boot/
H A 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 …]
/openbmc/linux/drivers/pcmcia/
H A 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 …]
H A 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 …]
H A Dpd6729.c2 * Driver for the Cirrus PD6729 PCI-PCMCIA bridge.
18 #include <linux/io.h>
28 MODULE_DESCRIPTION("Driver for the Cirrus PD6729 PCI-PCMCIA bridge");
29 MODULE_AUTHOR("Jun Komuro <komurojun-mbn@nifty.com>");
69 reg += socket->number * 0x40; in indirect_read()
70 port = socket->io_base; in indirect_read()
86 reg = reg + socket->number * 0x40; in indirect_read16()
87 port = socket->io_base; in indirect_read16()
105 reg = reg + socket->number * 0x40; in indirect_write()
106 port = socket->io_base; in indirect_write()
[all …]
H A Dpcmcia_cis.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PCMCIA high-level CIS access functions
10 * Copyright (C) 2004-2010 Dominik Brodowski
27 * pccard_read_tuple() - internal CIS tuple access
44 dev_warn(&s->dev, "no memory to read tuple\n"); in pccard_read_tuple()
45 return -ENOMEM; in pccard_read_tuple()
68 * pccard_loop_tuple() - loop over tuples in the CIS
94 dev_warn(&s->dev, "no memory to read tuple\n"); in pccard_loop_tuple()
95 return -ENOMEM; in pccard_loop_tuple()
127 * pcmcia_io_cfg_data_width() - convert cfgtable to data path width parameter
[all …]
H A Delectra_cf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 static const char driver_name[] = "electra-cf";
59 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present()
60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()
74 if (present != cf->present) { in electra_cf_timer()
75 cf->present = present; in electra_cf_timer()
76 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer()
79 if (cf->active) in electra_cf_timer()
80 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in electra_cf_timer()
87 electra_cf_timer(&cf->timer); in electra_cf_irq()
[all …]
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/amd/
H A 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 …]
/openbmc/linux/sound/isa/msnd/
H A 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 …]
/openbmc/u-boot/include/
H A Dspi-mem.h1 /* SPDX-License-Identifier: GPL-2.0+ */
61 * enum spi_mem_data_dir - describes the direction of a SPI memory data
72 * struct spi_mem_op - describes a SPI memory operation
73 * @cmd.buswidth: number of IO lines used to transmit the command
77 * @addr.buswidth: number of IO lines used to transmit the address cycles
84 * @dummy.buswidth: number of IO lanes used to transmit the dummy bytes
85 * @data.buswidth: number of IO lanes used to send/receive the data
111 /* buf.{in,out} must be DMA-able. */
129 * struct spi_mem - describes a SPI memory device
137 * mem devices through a io-mapped region.
[all …]
/openbmc/linux/Documentation/sound/cards/
H A 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 …]
/openbmc/linux/drivers/clk/ti/
H A 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 …]
/openbmc/linux/include/linux/spi/
H A Dspi-mem.h1 /* SPDX-License-Identifier: GPL-2.0+ */
59 * enum spi_mem_data_dir - describes the direction of a SPI memory data
72 * struct spi_mem_op - describes a SPI memory operation
74 * sent MSB-first.
75 * @cmd.buswidth: number of IO lines used to transmit the command
80 * @addr.buswidth: number of IO lines used to transmit the address cycles
88 * @dummy.buswidth: number of IO lanes used to transmit the dummy bytes
90 * @data.buswidth: number of IO lanes used to send/receive the data
96 * @data.buf.in: input buffer (must be DMA-able)
97 * @data.buf.out: output buffer (must be DMA-able)
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpcie_layerscape.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2014-2015 Freescale Semiconductor, Inc.
11 #include <asm/io.h>
27 return in_le32(pcie->dbi + offset); in dbi_readl()
33 out_le32(pcie->dbi + offset, value); in dbi_writel()
38 if (pcie->big_endian) in ctrl_readl()
39 return in_be32(pcie->ctrl + offset); in ctrl_readl()
41 return in_le32(pcie->ctrl + offset); in ctrl_readl()
47 if (pcie->big_endian) in ctrl_writel()
48 out_be32(pcie->ctrl + offset, value); in ctrl_writel()
[all …]
H A Dpcie_dw_mvebu.c1 // SPDX-License-Identifier: GPL-2.0+
8 * - drivers/pci/pcie_imx.c
9 * - drivers/pci/pci_mvebu.c
10 * - drivers/pci/pcie_xilinx.c
16 #include <asm/io.h>
17 #include <asm-generic/gpio.h>
97 * struct pcie_dw_mvebu - MVEBU DW PCIe controller state
104 * first_busno stores the bus number of the PCIe root-port
114 /* IO and MEM PCI regions */
115 struct pci_region io; member
[all …]
/openbmc/linux/drivers/md/
H A Ddm-io.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "dm-core.h"
11 #include <linux/device-mapper.h>
19 #include <linux/dm-io.h>
21 #define DM_MSG_PREFIX "io"
31 * Aligning 'struct io' reduces the number of bits required to store
34 struct io { struct
57 return ERR_PTR(-ENOMEM); in dm_io_client_create()
59 ret = mempool_init_slab_pool(&client->pool, min_ios, _dm_io_cache); in dm_io_client_create()
63 ret = bioset_init(&client->bios, min_ios, 0, BIOSET_NEED_BVECS); in dm_io_client_create()
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpci-v3-semi.c1 // SPDX-License-Identifier: GPL-2.0
6 * Based on the code from arch/arm/mach-integrator/pci_v3.c
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd
21 #include <linux/io.h>
134 /* PCI BASE bits (PCI -> Local Bus) */
141 /* PCI MAP bits (PCI -> Local bus) */
150 /* LB_BASE0,1 bits (Local bus -> PCI) */
172 /* LB_MAP0,1 bits (Local bus -> PCI) */
185 /* LB_BASE2 bits (Local bus -> PCI IO) */
192 /* LB_MAP2 bits (Local bus -> PCI IO) */
[all …]
/openbmc/linux/arch/mips/sgi-ip30/
H A Dip30-xtalk.c1 // SPDX-License-Identifier: GPL-2.0
3 * ip30-xtalk.c - Very basic Crosstalk (XIO) detection support.
4 * Copyright (C) 2004-2007 Stanislaw Skowronek <skylark@unaligned.org>
6 * Copyright (C) 2007, 2014-2016 Joshua Kinard <kumba@gentoo.org>
12 #include <linux/platform_data/sgi-w1.h>
13 #include <linux/platform_data/xtalk-bridge.h>
53 snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx", in bridge_platform_create()
87 pdev_bd = platform_device_alloc("xtalk-bridge", PLATFORM_DEVID_AUTO); in bridge_platform_create()
93 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create()
94 bd->intr_addr = HEART_INTR_ADDR; in bridge_platform_create()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pci/
H A Dmvebu-pci.txt5 - compatible: one of the following values:
6 marvell,armada-370-pcie
7 marvell,armada-xp-pcie
8 marvell,dove-pcie
9 marvell,kirkwood-pcie
10 - #address-cells, set to <3>
11 - #size-cells, set to <2>
12 - #interrupt-cells, set to <1>
13 - bus-range: PCI bus numbers covered
14 - device_type, set to "pci"
[all …]
/openbmc/linux/drivers/mcb/
H A Dmcb-lpc.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/io.h>
14 #include "mcb-internal.h"
18 struct resource *mem; member
28 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in mcb_lpc_probe()
30 return -ENOMEM; in mcb_lpc_probe()
32 priv->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mcb_lpc_probe()
33 if (!priv->mem) { in mcb_lpc_probe()
34 dev_err(&pdev->dev, "No Memory resource\n"); in mcb_lpc_probe()
35 return -ENODEV; in mcb_lpc_probe()
[all …]
/openbmc/u-boot/board/freescale/mpc8641hpcn/
H A DREADME5 -------------------------------
7 1. Building U-Boot
8 ------------------
19 ----------------------------
21 J14 Pins 1-2 (near plcc32 socket)
24 SW1(1-5) = 01100 CONFIG_SYS_COREPLL = 01000 :: CORE = 2:1
30 SW1(6-8) = 001 CONFIG_SYS_SYSCLK = 000 :: SYSCLK = 33MHz
33 SW2(1-4) = 1100 CONFIG_SYS_CCBPLL = 0010 :: 2X
41 SW2(5-8) = 1110 CONFIG_SYS_BOOTLOC = 1110 :: boot 16-bit localbus
43 SW3(1-7) = 0011000 CONFIG_SYS_VID = 0011000 :: VCORE = 1.2V
[all …]

12345678910>>...41