Home
last modified time | relevance | path

Searched +full:slot +full:- +full:size (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/openbmc/qemu/hw/acpi/
H A Dtrace-events4 mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32
5 mhp_acpi_ejecting_invalid_slot(uint32_t slot) "0x%"PRIx32
6 mhp_acpi_read_addr_lo(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr lo: 0x%"PRIx32
7 mhp_acpi_read_addr_hi(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr hi: 0x%"PRIx32
8 mhp_acpi_read_size_lo(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size lo: 0x%"PRIx32
9 mhp_acpi_read_size_hi(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size hi: 0x%"PRIx32
10 mhp_acpi_read_pxm(uint32_t slot, uint32_t pxm) "slot[0x%"PRIx32"] proximity: 0x%"PRIx32
11 mhp_acpi_read_flags(uint32_t slot, uint32_t flags) "slot[0x%"PRIx32"] flags: 0x%"PRIx32
12 mhp_acpi_write_slot(uint32_t slot) "set active slot: 0x%"PRIx32
13 mhp_acpi_write_ost_ev(uint32_t slot, uint32_t ev) "slot[0x%"PRIx32"] OST EVENT: 0x%"PRIx32
[all …]
/openbmc/linux/mm/
H A Dearly_ioremap.c1 // SPDX-License-Identifier: GPL-2.0
36 unsigned long size, in early_memremap_pgprot_adjust() argument
77 slot_virt[i] = __fix_to_virt(FIX_BTMAP_BEGIN - NR_FIX_BTMAPS*i); in early_ioremap_setup()
100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() argument
106 int i, slot; in __early_ioremap() local
110 slot = -1; in __early_ioremap()
113 slot = i; in __early_ioremap()
118 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap()
119 __func__, &phys_addr, size)) in __early_ioremap()
122 /* Don't allow wraparound or zero size */ in __early_ioremap()
[all …]
/openbmc/linux/block/partitions/
H A Dacorn.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 1996-2000 Russell King.
26 unsigned long first_sector, int slot) in adfs_partition() argument
36 if (dr->disc_size == 0 && dr->disc_size_high == 0) in adfs_partition()
39 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition()
40 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition()
43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition()
44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition()
45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition()
47 put_partition(state, slot, first_sector, nr_sects); in adfs_partition()
[all …]
H A Dcmdline.c1 // SPDX-License-Identifier: GPL-2.0
14 * For further information, see "Documentation/block/cmdline-partition.rst"
30 sector_t size; member
51 return -ENOMEM; in parse_subpart()
53 if (*partdef == '-') { in parse_subpart()
54 new_subpart->size = (sector_t)(~0ULL); in parse_subpart()
57 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
58 if (new_subpart->size < (sector_t)PAGE_SIZE) { in parse_subpart()
59 pr_warn("cmdline partition size is invalid."); in parse_subpart()
60 ret = -EINVAL; in parse_subpart()
[all …]
H A Dmsdos.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 1991-1998 Linus Torvalds
9 * in the early extended-partition checks and added DM partitions
14 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1).
16 * More flexible handling of extended partitions - aeb, 950831
20 * Re-organised Feb 1998 Russell King
43 return (sector_t)get_unaligned_le32(&p->nr_sects); in nr_sects()
48 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect()
53 return (p->sys_ind == DOS_EXTENDED_PARTITION || in is_extended_partition()
54 p->sys_ind == WIN98_EXTENDED_PARTITION || in is_extended_partition()
[all …]
/openbmc/qemu/hw/nubus/
H A Dnubus-device.c4 * Copyright (c) 2013-2018 Laurent Vivier <laurent@vivier.eu>
7 * See the COPYING file in the top-level directory.
18 #include "qemu/error-report.h"
25 qemu_set_irq(nubus->irqs[nd->slot], level); in nubus_set_irq()
34 int64_t size, align_size; in nubus_device_realize() local
38 if (nd->slot < 0 || nd->slot >= NUBUS_SLOT_NB) { in nubus_device_realize()
40 "'slot' value %d out of range (must be between 0 and %d)", in nubus_device_realize()
41 nd->slot, NUBUS_SLOT_NB - 1); in nubus_device_realize()
46 slot_offset = nd->slot * NUBUS_SUPER_SLOT_SIZE; in nubus_device_realize()
48 name = g_strdup_printf("nubus-super-slot-%x", nd->slot); in nubus_device_realize()
[all …]
H A Dnubus-bus.c4 * Copyright (c) 2013-2018 Laurent Vivier <laurent@vivier.eu>
7 * See the COPYING file in the top-level directory.
14 * http://www.bitsavers.org/pdf/ti/nubus/2242825-0001_NuBus_Spec1983.pdf
32 unsigned size, MemTxAttrs attrs) in nubus_slot_write() argument
34 trace_nubus_slot_write(addr, val, size); in nubus_slot_write()
39 unsigned size, MemTxAttrs attrs) in nubus_slot_read() argument
41 trace_nubus_slot_read(addr, size); in nubus_slot_read()
56 uint64_t val, unsigned size, in nubus_super_slot_write() argument
59 trace_nubus_super_slot_write(addr, val, size); in nubus_super_slot_write()
64 uint64_t *data, unsigned size, in nubus_super_slot_read() argument
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a-qds.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
9 #include "fsl-lx2160a.dtsi"
13 compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
23 stdout-path = "serial0:115200n8";
26 sb_3v3: regulator-sb3v3 {
27 compatible = "regulator-fixed";
28 regulator-name = "MC34717-3.3VSB";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
[all …]
H A Dfsl-lx2162a-qds.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
9 #include "fsl-lx2160a.dtsi"
13 compatible = "fsl,lx2162a-qds", "fsl,lx2160a";
23 stdout-path = "serial0:115200n8";
26 sb_3v3: regulator-sb3v3 {
27 compatible = "regulator-fixed";
28 regulator-name = "LTM4619-3.3VSB";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp_ibm.c1 // SPDX-License-Identifier: GPL-2.0+
40 /* these are the names for the IBM ACPI pseudo-device */
44 #define hpslot_to_sun(A) (to_slot(A)->sun)
46 /* union apci_descriptor - allows access to the
67 } slot; member
74 /* struct notification - keeps info about the device
82 static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
83 static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
88 char *buffer, loff_t pos, size_t size);
112 * ibm_slot_from_id - workaround for bad ibm hardware
[all …]
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c51 #include "qemu/error-report.h"
52 #include "qemu/main-loop.h"
53 #include "exec/address-spaces.h"
54 #include "exec/exec-all.h"
61 #include "qemu/guest-random.h"
67 hvf_slot *hvf_find_overlap_slot(uint64_t start, uint64_t size) in hvf_find_overlap_slot() argument
69 hvf_slot *slot; in hvf_find_overlap_slot() local
71 for (x = 0; x < hvf_state->num_slots; ++x) { in hvf_find_overlap_slot()
72 slot = &hvf_state->slots[x]; in hvf_find_overlap_slot()
73 if (slot->size && start < (slot->start + slot->size) && in hvf_find_overlap_slot()
[all …]
/openbmc/linux/arch/sh/mm/
H A Dioremap_fixed.c1 // SPDX-License-Identifier: GPL-2.0
3 * Re-map IO memory to kernel address space so that we can access it.
30 unsigned long size; member
43 map->fixmap_addr = __fix_to_virt(FIX_IOREMAP_BEGIN + i); in ioremap_fixed_init()
48 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed() argument
54 int i, slot; in ioremap_fixed() local
57 * Mappings have to be page-aligned in ioremap_fixed()
61 size = PAGE_ALIGN(phys_addr + size) - phys_addr; in ioremap_fixed()
63 slot = -1; in ioremap_fixed()
66 if (!map->addr) { in ioremap_fixed()
[all …]
/openbmc/linux/arch/mips/pci/
H A Dpci-xtalk-bridge.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 1999, 2000, 04 Ralf Baechle (ralf@linux-mips.org)
11 #include <linux/dma-direct.h>
13 #include <linux/platform_data/xtalk-bridge.h>
14 #include <linux/nvmem-consumer.h>
27 * Common phys<->dma mapping for platforms using pci xtalk bridge
32 struct bridge_controller *bc = BRIDGE_CONTROLLER(pdev->bus); in phys_to_dma()
34 return bc->baddr + paddr; in phys_to_dma()
46 static int ioc3_cfg_rd(void *addr, int where, int size, u32 *value, u32 sid) in ioc3_cfg_rd() argument
68 mask = 0xffffffffU >> ((4 - size) << 3); in ioc3_cfg_rd()
[all …]
/openbmc/u-boot/fs/btrfs/
H A Dctree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * BTRFS filesystem implementation for U-Boot
14 if (a->objectid > b->objectid) in btrfs_comp_keys()
16 if (a->objectid < b->objectid) in btrfs_comp_keys()
17 return -1; in btrfs_comp_keys()
18 if (a->type > b->type) in btrfs_comp_keys()
20 if (a->type < b->type) in btrfs_comp_keys()
21 return -1; in btrfs_comp_keys()
22 if (a->offset > b->offset) in btrfs_comp_keys()
24 if (a->offset < b->offset) in btrfs_comp_keys()
[all …]
/openbmc/linux/fs/btrfs/
H A Dtree-checker.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <linux/error-injection.h>
23 #include "tree-checker.h"
24 #include "disk-io.h"
30 #include "file-item.h"
31 #include "inode-item.h"
32 #include "extent-tree.h"
51 * Append generic "corrupt leaf/node root=%llu block=%llu slot=%d: " to @fmt.
56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err() argument
59 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err()
[all …]
/openbmc/linux/drivers/virt/nitro_enclaves/
H A Dne_pci_dev.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
21 * PCI_DEVICE_ID_NE - Nitro Enclaves PCI device id.
25 * PCI_BAR_NE - Nitro Enclaves PCI device MMIO BAR.
34 * NE_ENABLE - (1 byte) Register to notify the device that the driver is using
42 * NE_VERSION - (2 bytes) Register to select the device run-time version
49 * NE_COMMAND - (4 bytes) Register to notify the device what command was
50 * requested (Write-Only).
55 * NE_EVTCNT - (4 bytes) Register to notify the driver that a reply or a device
56 * event is available (Read-Only):
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c1 // SPDX-License-Identifier: GPL-2.0-only
35 static int __pkvm_create_mappings(unsigned long start, unsigned long size, in __pkvm_create_mappings() argument
41 err = kvm_pgtable_hyp_map(&pkvm_pgtable, start, size, phys, prot); in __pkvm_create_mappings()
47 static int __pkvm_alloc_private_va_range(unsigned long start, size_t size) in __pkvm_alloc_private_va_range() argument
54 return -EINVAL; in __pkvm_alloc_private_va_range()
56 /* The allocated size is always a multiple of PAGE_SIZE */ in __pkvm_alloc_private_va_range()
57 cur = start + PAGE_ALIGN(size); in __pkvm_alloc_private_va_range()
61 return -ENOMEM; in __pkvm_alloc_private_va_range()
69 * pkvm_alloc_private_va_range - Allocates a private VA range.
70 * @size: The size of the VA range to reserve.
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dlabel.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
11 #include "nd-core.h"
47 return ndd->nslabel_size; in sizeof_namespace_label()
59 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots()
67 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots()
75 u32 nslot, space, size; in sizeof_namespace_index() local
78 * Per UEFI 2.7, the minimum size of the Label Storage Area is large in sizeof_namespace_index()
80 * block size is 256 bytes. The label size is 128 for namespaces in sizeof_namespace_index()
84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index()
[all …]
H A Dlabel.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
19 NSLABEL_FLAG_ROLABEL = 0x1, /* read-only label */
20 NSLABEL_FLAG_LOCAL = 0x2, /* DIMM-local namespace */
26 BTTINFO_FLAG_ERROR = 0x1, /* error state (read-only) */
34 * struct nd_namespace_index - label set superblock
37 * @labelsize: log2 size (v1 labels 128 bytes v2 labels 256 bytes)
40 * @mysize: size of this index struct
42 * @labeloff: offset of first label slot
49 * The size of free[] is rounded up so the total struct size is a
[all …]
/openbmc/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_dma.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2016-2019 Bootlin
14 #include <media/videobuf2-dma-contig.h>
15 #include <media/videobuf2-v4l2.h>
38 writel(CSI_CPT_CTRL_VIDEO_START, csi->regs + CSI_CPT_CTRL_REG); in sun4i_csi_capture_start()
43 writel(0, csi->regs + CSI_CPT_CTRL_REG); in sun4i_csi_capture_stop()
53 unsigned int num_planes = csi->fmt.num_planes; in sun4i_csi_queue_setup()
58 return -EINVAL; in sun4i_csi_queue_setup()
61 if (sizes[i] < csi->fmt.plane_fmt[i].sizeimage) in sun4i_csi_queue_setup()
62 return -EINVAL; in sun4i_csi_queue_setup()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptlf.h1 /* SPDX-License-Identifier: GPL-2.0-only
19 * CPT instruction queue size passed to HW is in units of 40*CPT_INST_S
27 #define OTX2_CPT_INST_QLEN_MSGS ((OTX2_CPT_SIZE_DIV40 - 1) * 40)
32 * size by 320 and give 320 entries less for SW/NIX RX as a workaround.
72 u32 size; member
86 int msix_offset; /* MSI-X interrupts offset */
90 u8 slot; /* Slot number of this LF */ member
127 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_free_instruction_queues()
128 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
129 if (iq->real_vaddr) in otx2_cpt_free_instruction_queues()
[all …]
/openbmc/qemu/target/hexagon/mmvec/
H A Dsystem_ext_mmvec.c2 * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
22 void mem_gather_store(CPUHexagonState *env, target_ulong vaddr, int slot) in mem_gather_store() argument
24 size_t size = sizeof(MMVector); in mem_gather_store() local
26 env->vstore_pending[slot] = 1; in mem_gather_store()
27 env->vstore[slot].va = vaddr; in mem_gather_store()
28 env->vstore[slot].size = size; in mem_gather_store()
29 memcpy(&env->vstore[slot].data.ub[0], &env->tmp_VRegs[0], size); in mem_gather_store()
32 bitmap_copy(env->vstore[slot].mask, env->vtcm_log.mask, size); in mem_gather_store()
37 bitmap_zero(env->vtcm_log.mask, MAX_VEC_SIZE_BYTES); in mem_vector_scatter_init()
39 env->vtcm_pending = true; in mem_vector_scatter_init()
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp4xx-reference-design.dtsi1 // SPDX-License-Identifier: ISC
5 * set-up for IXDP425, IXCDP1100, KIXRP435 and IXDP465.
20 stdout-path = "uart0:115200n8";
28 compatible = "i2c-gpio";
29 sda-gpios = <&gpio0 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
30 scl-gpios = <&gpio0 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
31 #address-cells = <1>;
32 #size-cells = <0>;
36 * Philips PCF8582C-2T/03 512byte I2C EEPROM
42 size = <512>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Datmel-hsmci.txt7 by mmc.txt and the properties used by the atmel-mci driver.
12 - compatible: should be "atmel,hsmci"
13 - #address-cells: should be one. The cell is the slot id.
14 - #size-cells: should be zero.
15 - at least one slot node
16 - clock-names: tuple listing input clock names.
18 - clocks: phandles to input clocks.
20 The node contains child nodes for each slot that the platform uses
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
/openbmc/linux/virt/kvm/
H A Ddirty_ring.c1 // SPDX-License-Identifier: GPL-2.0-only
26 lockdep_assert_held(&kvm->slots_lock); in kvm_use_dirty_bitmap()
28 return !kvm->dirty_ring_size || kvm->dirty_ring_with_bitmap; in kvm_use_dirty_bitmap()
40 return READ_ONCE(ring->dirty_index) - READ_ONCE(ring->reset_index); in kvm_dirty_ring_used()
45 return kvm_dirty_ring_used(ring) >= ring->soft_limit; in kvm_dirty_ring_soft_full()
50 return kvm_dirty_ring_used(ring) >= ring->size; in kvm_dirty_ring_full()
53 static void kvm_reset_dirty_gfn(struct kvm *kvm, u32 slot, u64 offset, u64 mask) in kvm_reset_dirty_gfn() argument
58 as_id = slot >> 16; in kvm_reset_dirty_gfn()
59 id = (u16)slot; in kvm_reset_dirty_gfn()
66 if (!memslot || (offset + __fls(mask)) >= memslot->npages) in kvm_reset_dirty_gfn()
[all …]

12345678910>>...42