Home
last modified time | relevance | path

Searched +full:segment +full:- +full:no +full:- +full:remap (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/u-boot/arch/nds32/cpu/n1213/ae3xx/
H A Dlowlevel_init.S1 /* SPDX-License-Identifier: GPL-2.0+ */
16 #include <generated/asm-offsets.h>
66 * numeric 7 segment display
89 /* 16-bit mode */
101 jal remap
108 remap: label
136 beqz $r0, 1f /* skip if no COP */
139 beqz $r0, 1f /* skip if no FPU */
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/
H A Dlowlevel_init.S1 /* SPDX-License-Identifier: GPL-2.0+ */
16 #include <generated/asm-offsets.h>
72 * numeric 7 segment display
96 * we need to set onboard SDRAM before remap and relocation.
116 /* 32-bit mode */
121 /* 16-bit mode */
173 jal remap
181 remap: label
183 #ifdef __NDS32_N1213_43U1H__ /* NDS32 V0 ISA - AG101 Only */
206 * Copy ROM code to SDRAM base for memory remap layout.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dsolomon,ssd1307fb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Ripard <mripard@kernel.org>
11 - Javier Martinez Canillas <javierm@redhat.com>
17 - enum:
18 - solomon,ssd1305fb-i2c
19 - solomon,ssd1306fb-i2c
20 - solomon,ssd1307fb-i2c
21 - solomon,ssd1309fb-i2c
[all …]
/openbmc/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst10 supported platforms with Non-Uniform Memory Access architectures since 2.4.?.
16 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``)
19 programming interface that a NUMA-aware application can take advantage of. When
28 ------------------------
41 not to overload the initial boot node with boot-time
45 this is an optional, per-task policy. When defined for a
56 executable image that has no awareness of memory policy. See the
61 In a multi-threaded task, task policies apply only to the thread
98 mapping-- i.e., at Copy-On-Write.
101 virtual address space--a.k.a. threads--independent of when
[all …]
/openbmc/linux/arch/sh/mm/
H A Dioremap.c5 * (C) Copyright 2005 - 2010 Paul Mundt
7 * Re-map IO memory to kernel address space so that we can access it.
9 * 640k-1MB IO memory area on PC's
31 * On 32-bit SH, we traditionally have the whole physical address space mapped
33 * anything but place the address in the proper segment. This is true for P1
42 phys_addr_t last_addr = offset + size - 1; in __ioremap_29bit()
47 * In the P3 case or for addresses outside of the 29-bit space, in __ioremap_29bit()
96 * First try to remap through the PMB. in ioremap_prot()
97 * PMB entries are all pre-faulted. in ioremap_prot()
109 * Simple checks for non-translatable mappings.
[all …]
/openbmc/linux/drivers/acpi/
H A Dpci_irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $)
8 * (c) Copyright 2008 Hewlett-Packard Development Company, L.P.
35 return 'A' + pin - 1; in pin_name()
38 /* --------------------------------------------------------------------------
40 -------------------------------------------------------------------------- */
45 .ident = "Medion MD9580-F laptop",
71 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
81 unsigned int segment; member
89 #define PCI_INTX_PIN(c) (c - 'A' + 1)
[all …]
/openbmc/linux/fs/proc/
H A Dvmcore.c1 // SPDX-License-Identifier: GPL-2.0-only
74 INIT_LIST_HEAD(&cb->next); in register_vmcore_cb()
76 list_add_tail(&cb->next, &vmcore_cb_list); in register_vmcore_cb()
90 list_del_rcu(&cb->next); in unregister_vmcore_cb()
111 if (unlikely(!cb->pfn_is_ram)) in pfn_is_ram()
113 ret = cb->pfn_is_ram(cb, pfn); in pfn_is_ram()
147 if (count > (PAGE_SIZE - offset)) in read_from_oldmem()
148 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem()
166 return -EFAULT; in read_from_oldmem()
170 count -= nr_bytes; in read_from_oldmem()
[all …]
/openbmc/linux/Documentation/powerpc/
H A Dpci_iov_resource_on_powernv.rst57 - For DMA we then provide an entire address space for each PE that can
63 - For MSIs, we have two windows in the address space (one at the top of
64 the 32-bit space and one much higher) which, via a combination of the
70 - Error messages just use the RTT.
81 - The M32 window:
87 32-bit PCIe accesses. We configure that window at boot from FW and
96 maps each segment to a PE#. That allows portions of the MMIO space
97 to be assigned to PEs on a segment granularity. For a 2GB window,
98 the segment granularity is 2GB/256 = 8MB.
101 SR-IOV). We basically use the trick of forcing the bridge MMIO windows
[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.
27 #include <linux/dma-direct.h>
28 #include <linux/dma-map-ops.h>
33 #include <linux/iommu-helper.h>
55 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT))
67 * struct io_tlb_slot - IO TLB slot descriptor
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Djazz.h6 * Copyright (C) 1995 - 1998 by Andreas Busse and Ralf Baechle
24 * 0xf0000000 - Rev1
25 * 0xf0000001 - Rev2
26 * 0xf0000002 - Rev3
31 * The segments of the seven segment LED are mapped
35 * ---------
39 * ---------
43 * --------- . (0)
146 * JAZZ timer registers and interrupt no.
191 * we remap the Jazz interrupts to the usual ISA style interrupt numbers.
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.c1 // SPDX-License-Identifier: GPL-2.0-only
49 if (cmd == e->cmd) in sc_to_str()
50 return e->str; in sc_to_str()
60 spin_lock_irqsave(&vha->e_dbell.db_lock, flags); in qla_edb_getnext()
62 /* db nodes are fifo - no qualifications done */ in qla_edb_getnext()
63 if (!list_empty(&vha->e_dbell.head)) { in qla_edb_getnext()
64 edbnode = list_first_entry(&vha->e_dbell.head, in qla_edb_getnext()
66 list_del_init(&edbnode->list); in qla_edb_getnext()
69 spin_unlock_irqrestore(&vha->e_dbell.db_lock, flags); in qla_edb_getnext()
76 list_del_init(&node->list); in qla_edb_node_free()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-yapp4-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
[all …]
H A Dimx6dl-yapp43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
24 num-interpolated-steps = <8>;
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dhead_book3s_32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
9 * Low-level exception handlers and MMU support
14 * This file contains the low-level support and setup for the
30 #include <asm/asm-offsets.h>
34 #include <asm/feature-fixups.h>
40 /* see the comment for clear_bats() -- Cort */ \
65 * -- Cort
77 * pointer (r1) points to just below the end of the half-meg region
78 * from 0x380000 - 0x400000, which is mapped in already.
[all …]
/openbmc/linux/drivers/iommu/intel/
H A Ddmar.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Intel Corporation
14 * These routines are used by both DMA-remapping and Interrupt-remapping
49 * 1) The hotplug framework guarentees that DMAR unit will be hot-added
51 * 2) The hotplug framework guarantees that DMAR unit will be hot-removed
75 if (drhd->include_all) in dmar_register_drhd_unit()
76 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
78 list_add_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
88 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope()
89 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope()
[all …]
/openbmc/linux/drivers/remoteproc/
H A Dimx_dsp_rproc.c1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <dt-bindings/firmware/imx/rsrc.h>
5 #include <linux/arm-smccc.h>
36 …"There is no mailbox between cores, so ignore remote proc reply after start, default is 0 (off).");
76 * enum - Predefined Mailbox Messages
96 * struct imx_dsp_rproc - DSP remote processor state
134 * struct imx_dsp_rproc_dcfg - DSP remote processor configuration
199 regmap_update_bits(priv->regmap, IMX8M_AudioDSP_REG2, in imx8mp_dsp_reset()
218 regmap_update_bits(priv->regmap, IMX8ULP_SIM_LPAV_REG_SYSCTRL0, in imx8ulp_dsp_reset()
220 regmap_update_bits(priv->regmap, IMX8ULP_SIM_LPAV_REG_SYSCTRL0, in imx8ulp_dsp_reset()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dssd1307fb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
122 array->type = type; in ssd1307fb_alloc_array()
136 dev_err(&client->dev, "Couldn't send I2C command.\n"); in ssd1307fb_write_array()
150 return -ENOMEM; in ssd1307fb_write_cmd()
152 array->data[0] = cmd; in ssd1307fb_write_cmd()
163 u8 col_end = col_start + cols - 1; in ssd1307fb_set_col_range()
166 if (col_start == par->col_start && col_end == par->col_end) in ssd1307fb_set_col_range()
169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range()
173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range()
177 ret = ssd1307fb_write_cmd(par->client, col_end); in ssd1307fb_set_col_range()
[all …]
/openbmc/linux/arch/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
20 menu "General architecture-dependent options"
25 Select if the architecture can check permissions at sub-page
71 for kernel debugging, non-intrusive instrumentation and testing.
80 makes certain almost-always-true or almost-always-false branch
83 Certain performance-sensitive kernel code, such as trace points,
97 ( On 32-bit x86, the necessary options added to the compiler
104 Boot time self-test of the branch patching code.
110 Boot time self-test of the call patching code.
130 Uprobes is the user-space counterpart to kprobes: they
[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
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) */
229 /* ARM Integrator-specific extended control registers */
[all …]
/openbmc/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx>
10 * Copyright (C) 1998-2000 Gerard Roudier
13 * a port of the FreeBSD ncr driver to Linux-1.2.13.
17 * Stefan Esser <se@mi.Uni-Koeln.de>
25 *-----------------------------------------------------------------------------
65 MODULE_PARM_DESC(diff, "0 for no differential mode, 1 for BIOS, 2 for always, 3 for not GPIO3");
122 #define SYM_SOFTC_PTR(cmd) sym_get_hcb(cmd->device->host)
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dsamsung-laptop.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009,2011 Greg Kroah-Hartman (gregkh@suse.de)
36 * We have 0 - 8 as valid brightness levels. The specs say that level 0 should
38 * userspace that the value is 0 - 7 and then just tell the hardware 1 - 8
75 * Brightness is 0 - 8, as described above.
83 * 0x00 - wireless is off
84 * 0x01 - wireless is on
86 * 0x02 - 3G is off
87 * 0x03 - 3G is on
98 * 0x80 or 0x00 - no action
[all …]
/openbmc/qemu/linux-user/
H A Dmmap.c23 #include "exec/page-protection.h"
25 #include "user-internals.h"
26 #include "user-mmap.h"
28 #include "qemu/interval-tree.h"
31 #include "target/arm/cpu-features.h"
47 if (--mmap_lock_count == 0) { in mmap_unlock()
81 i->start = start; in shm_region_add()
82 i->last = last; in shm_region_add()
92 if (i->start == start) { in shm_region_find()
93 return i->last; in shm_region_find()
[all …]
/openbmc/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1 // SPDX-License-Identifier: GPL-2.0-only
167 return regmap_bulk_write(ssd130x->regmap, SSD130X_DATA, values, count); in ssd130x_write_data()
189 ret = regmap_write(ssd130x->regmap, SSD130X_COMMAND, value); in ssd130x_write_cmd()
192 } while (--count); in ssd130x_write_cmd()
204 u8 col_end = col_start + cols - 1; in ssd130x_set_col_range()
207 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range()
214 ssd130x->col_start = col_start; in ssd130x_set_col_range()
215 ssd130x->col_end = col_end; in ssd130x_set_col_range()
222 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range()
225 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range()
[all …]
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
19 #include "rnbd-clt.h"
38 return refcount_inc_not_zero(&sess->refcount); in rnbd_clt_get_sess()
47 if (refcount_dec_and_test(&sess->refcount)) in rnbd_clt_put_sess()
55 if (!refcount_dec_and_test(&dev->refcount)) in rnbd_clt_put_dev()
58 ida_free(&index_ida, dev->clt_device_id); in rnbd_clt_put_dev()
59 kfree(dev->hw_queues); in rnbd_clt_put_dev()
[all …]
/openbmc/linux/include/linux/
H A Dfs.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/radix-tree.h>
33 #include <linux/percpu-rwsem.h>
156 /* File is stream-like */
164 /* File supports non-exclusive O_DIRECT writes from multiple threads */
173 /* File is capable of returning -EAGAIN if I/O will block */
189 * Attribute flags. These should be or-ed together to figure out what
224 * Derek Atkins <warlord@MIT.EDU> 94-10-20
274 * enum positive_aop_returns - aop return codes with specific semantics
279 * to return the page to the active list -- it won't
[all …]

123