Home
last modified time | relevance | path

Searched +full:compound +full:- +full:device (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/linux/include/linux/
H A Drmap.h1 /* SPDX-License-Identifier: GPL-2.0 */
45 * have ->parent pointing to this one, including itself.
51 /* Count of VMAs whose ->anon_vma pointer points to this object. */
70 * The copy-on-write semantics of fork mean that an anon_vma
86 struct rb_node rb; /* locked by anon_vma->rwsem */
108 atomic_inc(&anon_vma->refcount); in get_anon_vma()
115 if (atomic_dec_and_test(&anon_vma->refcount)) in put_anon_vma()
121 down_write(&anon_vma->root->rwsem); in anon_vma_lock_write()
126 up_write(&anon_vma->root->rwsem); in anon_vma_unlock_write()
131 down_read(&anon_vma->root->rwsem); in anon_vma_lock_read()
[all …]
H A Dpage-flags.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Macros for manipulating and testing page->flags
18 * Various page->flags bits:
23 * - Pages part of the kernel image (including vDSO) and similar (e.g. BIOS,
25 * - Pages reserved or allocated early during boot (before the page allocator
30 * - Pages falling into physical memory gaps - not IORESOURCE_SYSRAM. Trying
32 * - The zero page(s)
33 * - Pages not added to the page allocator when onlining a section because
36 * - Pages allocated in the context of kexec/kdump (loaded kernel image,
38 * - MMIO/DMA pages. Some architectures don't allow to ioremap pages that are
[all …]
H A Dmemremap.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <linux/percpu-refcount.h>
11 struct device;
14 * struct vmem_altmap - pre-allocated storage for vmemmap_populate
35 * Device memory that is not directly addressable by the CPU: CPU can neither
37 * backing the device memory. Doing so simplifies the implementation, but it is
45 * Device memory that is cache coherent from device and CPU point of view. This
47 * driver can hotplug the device memory using ZONE_DEVICE and with that memory
57 * fs truncate/hole punch) vs pinned pages (ex: device dma).
62 * that expose memory using a character device.
[all …]
/openbmc/linux/Documentation/admin-guide/mm/
H A Dpagemap.rst12 physical frame each virtual page is mapped to. It contains one 64-bit
16 * Bits 0-54 page frame number (PFN) if present
17 * Bits 0-4 swap type if swapped
18 * Bits 5-54 swap offset if swapped
19 * Bit 55 pte is soft-dirty (see
20 Documentation/admin-guide/mm/soft-dirty.rst)
22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see
23 Documentation/admin-guide/mm/userfaultfd.rst)
24 * Bits 58-60 zero
25 * Bit 61 page is file-page or shared-anon (since 3.5)
[all …]
/openbmc/linux/mm/
H A Drmap.c2 * mm/rmap.c - physical to virtual reverse mappings
23 * inode->i_rwsem (while writing or truncating, not reading or faulting)
24 * mm->mmap_lock
25 * mapping->invalidate_lock (in filemap_fault)
26 * page->flags PG_locked (lock_page)
29 * mapping->i_mmap_rwsem
30 * anon_vma->rwsem
31 * mm->page_table_lock or pte_lock
34 * mapping->private_lock (in block_dirty_folio)
37 * lruvec->lru_lock (in folio_lruvec_lock_irq)
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 #define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
28 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
29 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
35 * This is needed because of the behaviour of PCIe-to-PCI bridges. The PHB uses
36 * the Requester ID field of the PCIe request header to determine the device
38 * requests aren't tagged with the RID. To work around this the PCIe-to-PCI
41 * PCIe-to-X bridges have a similar issue even though PCI-X requests also have
42 * a RID in the transaction header. The PCIe-to-X bridge is permitted to "take
43 * ownership" of a transaction by a PCI-X device when forwarding it to the PCIe
[all …]
H A Deeh-powernv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 #include <asm/ppc-pci.h>
34 #include <asm/pnv-pci.h>
40 static int eeh_event_irq = -EINVAL;
44 dev_dbg(&pdev->dev, "EEH: Setting up device\n"); in pnv_pcibios_bus_add_device()
69 struct pci_controller *hose = filp->private_data; in pnv_eeh_ei_write()
76 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
77 return -ENXIO; in pnv_eeh_ei_write()
82 return -EFAULT; in pnv_eeh_ei_write()
88 return -EINVAL; in pnv_eeh_ei_write()
[all …]
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include <asm/pci-bridge.h>
24 #include <asm/ppc-pci.h>
25 #include <asm/pnv-pci.h>
47 return -ENXIO; in pnv_pci_get_slot_id()
56 if (!of_device_is_compatible(node, "ibm,ioda2-phb") && in pnv_pci_get_slot_id()
57 !of_device_is_compatible(node, "ibm,ioda3-phb") && in pnv_pci_get_slot_id()
58 !of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb")) { in pnv_pci_get_slot_id()
63 ret = of_property_read_u64(node, "ibm,opal-phbid", &phbid); in pnv_pci_get_slot_id()
66 return -ENXIO; in pnv_pci_get_slot_id()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
62 can be specified to enumerate all compound controls (i.e. controls with
66 order to enumerate all controls, compound or not. Drivers which do not
70 support controls that can use compound types, and to expose additional
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
[all …]
H A Dvidioc-g-ext-ctrls.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co…
44 :ref:`ctrl-class`) and all controls in the control array must belong
57 ``string`` field. Controls of compound types
61 relevant for pointer-type controls like strings), then the driver will
63 should re-allocate the memory to this new size and try again. For the
70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a
97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>`
102 If the device does not support requests, then ``EACCES`` will be returned.
118 were set/get. Only low-level errors (e. g. a failed i2c command) can
[all …]
/openbmc/linux/include/media/
H A Dv4l2-ctrls.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #include <media/media-request.h>
29 * union v4l2_ctrl_ptr - A pointer to a control value.
30 * @p_s32: Pointer to a 32-bit signed value.
31 * @p_s64: Pointer to a 64-bit signed value.
32 * @p_u8: Pointer to a 8-bit unsigned value.
33 * @p_u16: Pointer to a 16-bit unsigned value.
34 * @p_u32: Pointer to a 32-bit unsigned value.
59 * @p: Pointer to a compound value.
60 * @p_const: Pointer to a constant compound value.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
19 - microchip,usb2513bi
[all …]
/openbmc/linux/Documentation/mm/
H A Dpage_frags.rst5 A page fragment is an arbitrary-length arbitrary-offset area of memory
6 which resides within a 0 or higher order compound page. Multiple
12 network stack and network device drivers to provide a backing region of
13 memory for use as either an sk_buff->head, or to be used in the "frags"
22 either a per-cpu limitation, or a per-cpu limitation and forcing interrupts
34 Many network device drivers use a similar methodology for allocating page
/openbmc/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c170 if (fd == -1) in read_file()
173 numread = read(fd, buf, buflen - 1); in read_file()
191 if (fd == -1) { in write_file()
197 numwritten = write(fd, buf, buflen - 1); in write_file()
233 memmove(buf, c, sizeof(buf) - (c - buf)); in read_string()
321 struct khugepaged_settings *khugepaged = &settings->khugepaged; in write_settings()
323 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings()
324 write_string("defrag", thp_defrag_strings[settings->thp_defrag]); in write_settings()
326 shmem_enabled_strings[settings->shmem_enabled]); in write_settings()
327 write_num("use_zero_page", settings->use_zero_page); in write_settings()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_buf.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
25 #define XFS_BUF_DADDR_NULL ((xfs_daddr_t) (-1LL))
27 #define XBF_READ (1u << 0) /* buffer intended for reading from device */
28 #define XBF_WRITE (1u << 1) /* buffer intended for writing to device */
29 #define XBF_READ_AHEAD (1u << 2) /* asynchronous read-ahead */
30 #define XBF_NO_IOACCT (1u << 3) /* bypass I/O accounting (non-LRU bufs) */
87 * The xfs_buftarg contains 2 notions of "sector size" -
91 * 2) The device logical sector size
93 * The first is specified at mkfs time, and is stored on-disk in the
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c78 #define SVM_DBG(s,f,a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a)
79 #define SVM_ERR(s,f,a...) NV_WARN((s)->drm, "svm: "f"\n", ##a)
97 list_for_each_entry(ivmm, &svm->inst, head) { in nouveau_ivmm_find()
98 if (ivmm->inst == inst) in nouveau_ivmm_find()
105 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
107 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
119 args->va_start &= PAGE_MASK; in nouveau_svmm_bind()
120 args->va_end = ALIGN(args->va_end, PAGE_SIZE); in nouveau_svmm_bind()
123 if (args->reserved0 || args->reserved1) in nouveau_svmm_bind()
124 return -EINVAL; in nouveau_svmm_bind()
[all …]
/openbmc/linux/drivers/s390/block/
H A Ddasd_3990_erp.c1 // SPDX-License-Identifier: GPL-2.0
10 #define KMSG_COMPONENT "dasd-eckd"
55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup()
57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup()
58 cqr->status = final_status; in dasd_3990_erp_cleanup()
67 * Block the given device request queue to prevent from further
74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() local
77 DBF_DEV_EVENT(DBF_INFO, device, in dasd_3990_erp_block_queue()
80 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue()
81 dasd_device_set_stop_bits(device, DASD_STOPPED_PENDING); in dasd_3990_erp_block_queue()
[all …]
/openbmc/linux/drivers/dma/
H A Dfsl-qdma.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright 2014-2015 Freescale
18 #include <linux/dma-mapping.h>
21 #include "virt-dma.h"
137 (((fsl_qdma_engine)->block_offset) * (x))
140 * struct fsl_qdma_format - This is the struct holding describing compound
144 * @addr_lo: Holding the compound descriptor of the lower
145 * 32-bits address in memory 40-bit address.
146 * @addr_hi: Same as above member, but point high 8-bits in
147 * memory 40-bit address.
[all …]
H A Dfsl_raid.h4 * Freescale RAID Engine device driver
13 * Copyright (c) 2010-2012 Freescale Semiconductor, Inc.
67 #define FSL_RE_RING_SIZE_MASK (FSL_RE_RING_SIZE - 1)
70 #define FSL_RE_ADDR_BIT_MASK (BIT(FSL_RE_ADDR_BIT_SHIFT) - 1)
145 __be32 inbring_base_h; /* Inbound Ring Base Address Register - High */
146 __be32 inbring_base_l; /* Inbound Ring Base Address Register - Low */
157 __be32 oubring_base_h; /* Outbound Ring Base Address Register - High */
158 __be32 oubring_base_l; /* Outbound Ring Base Address Register - Low */
203 /* CDB for no-op command */
220 /* Compound frame */
[all …]
/openbmc/linux/drivers/edac/
H A Dskx_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
61 * Table 15-10 "IA32_MCi_Status [15:0] Compound Error Code Encoding"
73 * Errors from either the memory of the 1-level memory system or the
74 * 2nd level memory (the slow "far" memory) of the 2-level memory system.
79 * of the 2-level memory system.
192 /* Configuration agent device ID */
202 /* Per DDR channel memory-mapped I/O size */
210 /* Per HBM channel memory-mapped I/O size */
213 /* SAD device BDF */
215 /* PCU device BDF */
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dqi.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright 2013-2016 Freescale Semiconductor, Inc.
7 * Copyright 2016-2017, 2019-2020 NXP
11 #include <linux/device.h>
12 #include <linux/dma-mapping.h>
33 * so that resources used by the in-flight buffers do not become a memory hog.
42 * caam_napi - struct holding CAAM NAPI-related params
52 * caam_qi_pcpu_priv - percpu private data structure to main list of pending
68 * caam_qi_priv - CAAM QI backend private params
78 * This is written by only one core - the one that initialized the CGR - and
[all …]
/openbmc/linux/drivers/clk/hisilicon/
H A Dclk-hi6220-stub.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/clk-provider.h>
46 struct device *dev;
71 regmap_read(stub_clk->dfs_map, ACPU_DFS_CUR_FREQ, &freq); in hi6220_acpu_get_freq()
81 regmap_write(stub_clk->dfs_map, ACPU_DFS_FREQ_REQ, freq); in hi6220_acpu_set_freq()
83 /* compound mailbox message */ in hi6220_acpu_set_freq()
89 mbox_send_message(stub_clk->mbox, &data); in hi6220_acpu_set_freq()
100 regmap_read(stub_clk->dfs_map, ACPU_DFS_FLAG, &limit_flag); in hi6220_acpu_round_freq()
102 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_LMT, &limit_freq); in hi6220_acpu_round_freq()
105 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_MAX, &max_freq); in hi6220_acpu_round_freq()
[all …]
/openbmc/linux/include/uapi/linux/usb/
H A Dch11.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 * From USB 2.0 spec Table 11-13, offset 7, a hub can
24 /* See USB 3.1 spec Table 10-5 */
36 * See USB 3.1 spec Table 10-12
44 * See USB 2.0 spec Table 11-16
53 * See USB 3.0 spec Table 10-6
60 * See USB 2.0 spec Table 11-17
67 * See USB 2.0 spec Table 11-17
88 * See USB 3.0 spec Table 10-7
102 /* USB 3.0 hub remote wake mask bits, see table 10-14 */
[all …]
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * oxfw_stream.c - a part of driver for OXFW970/971 based devices
29 * See Table 5.7 – Sampling frequency for Multi-bit Audio
45 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate()
50 if (oxfw->has_output) in set_rate()
51 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate()
66 if (s == &oxfw->tx_stream) { in set_stream_format()
67 formats = oxfw->tx_stream_formats; in set_stream_format()
70 formats = oxfw->rx_stream_formats; in set_stream_format()
84 return -EINVAL; in set_stream_format()
[all …]
/openbmc/linux/Documentation/input/devices/
H A Dxpad.rst2 xpad - Linux USB driver for Xbox compatible controllers
5 This driver exposes all first-party and third-party Xbox compatible
16 the Xbox One's rumble protocol has not been reverse-engineered but in
25 - if you are using a known controller
26 - if you are using a known dance pad
27 - if using an unknown device (one not listed below), what you set in the
28 module configuration for "Map D-PAD to buttons rather than axes for unknown
31 If you set dpad_to_buttons to N and you are using an unknown device
33 If you said Y it will map the d-pad to buttons, which is needed for dance
43 ------------------
[all …]

12345