Home
last modified time | relevance | path

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

12345

/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/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
/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c155 /* Find owning device's queue/read_ahead_kb control */ in get_finfo()
179 printf("%s: Unknown device type: %s\n", __func__, path); in get_finfo()
183 * Partition of block device - need to find actual device. in get_finfo()
185 * device devname. in get_finfo()
220 ret = snprintf(addr_pattern, MAX_LINE_LENGTH, "%08lx-", in check_swap()
263 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in alloc_mapping()
281 * MADV_COLLAPSE is a best-effort request and may fail if an internal
301 * Returns pmd-mapped hugepage in VMA marked VM_HUGEPAGE, filled with
306 void *p = ops->setup_area(1); in alloc_hpage()
308 ops->fault(p, 0, hpage_pmd_size); in alloc_hpage()
[all …]
/linux/drivers/media/platform/imagination/
H A De5010-jpeg-enc.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
7 * Author: David Huang <d-huang@ti.com>
11 #include <media/v4l2-ctrls.h>
12 #include <media/v4l2-device.h>
13 #include <media/v4l2-fh.h>
87 * Driver device structure
92 struct device *dev;
100 /* Protect access to device data */
155 * struct e5010_ctrl - contains info for each supported v4l2 control
[all …]
/linux/drivers/s390/block/
H A Ddasd_3990_erp.c1 // SPDX-License-Identifier: GPL-2.0
51 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup()
53 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup()
54 cqr->status = final_status; in dasd_3990_erp_cleanup()
63 * Block the given device request queue to prevent from further
70 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() local
73 DBF_DEV_EVENT(DBF_INFO, device, in dasd_3990_erp_block_queue()
76 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue()
77 dasd_device_set_stop_bits(device, DASD_STOPPED_PENDING); in dasd_3990_erp_block_queue()
78 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue()
[all …]
/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) */
95 * The xfs_buftarg contains 2 notions of "sector size" -
99 * 2) The device logical sector size
101 * The first is specified at mkfs time, and is stored on-disk in the
[all …]
/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 …]
/linux/include/linux/
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 allocated in the context of kexec/kdump (loaded kernel image,
35 * - MMIO/DMA pages. Some architectures don't allow to ioremap pages that are
38 * - MCA pages on ia64
[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
36 * Device memory that is not directly addressable by the CPU: CPU can neither
38 * backing the device memory. Doing so simplifies the implementation, but it is
46 * Device memory that is cache coherent from device and CPU point of view. This
48 * driver can hotplug the device memory using ZONE_DEVICE and with that memory
58 * fs truncate/hole punch) vs pinned pages (ex: device dma).
63 * that expose memory using a character device.
[all …]
/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 …]
/linux/drivers/edac/
H A Dskx_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
60 * Table 15-10 "IA32_MCi_Status [15:0] Compound Error Code Encoding"
72 * Errors from either the memory of the 1-level memory system or the
73 * 2nd level memory (the slow "far" memory) of the 2-level memory system.
78 * of the 2-level memory system.
184 /* Configuration agent device ID */
194 /* Per DDR channel memory-mapped I/O size */
202 /* Per HBM channel memory-mapped I/O size */
205 /* SAD device BDF */
207 /* PCU device BDF */
[all …]
/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 …]
/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 …]
/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 …]
/linux/fs/nfsd/
H A Dnfs4proc.c2 * Server-side procedures for NFSv4.
85 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
86 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support()
88 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support()
93 !(exp->ex_flags & NFSEXP_SECURITY_LABEL)) in check_attr_support()
109 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
110 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
111 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
113 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
114 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
[all …]
/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 …]
/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