Home
last modified time | relevance | path

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

123

/linux/Documentation/gpu/rfc/
H A Dgpusvm.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 * An example of a driver-specific lock causing issues occurred before
17 fixing do_swap_page to lock the faulting page. A driver-exclusive lock
43 exception is holding a BO's dma-resv lock during the initial migration
44 to VRAM, as this is a well-defined lock that can be taken underneath
51 core-MM side rather than through a driver-side lock.
57 * The physical memory backpointer (page->zone_device_data) should remain
70 .. kernel-doc:: drivers/gpu/drm/drm_gpusvm.c
73 .. kernel-doc:: drivers/gpu/drm/drm_gpusvm.c
76 .. kernel-doc:: drivers/gpu/drm/drm_gpusvm.c
[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)
25 * Bits 59-60 zero
26 * Bit 61 page is file-page or shared-anon (since 3.5)
[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/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.
26 #define XFS_BUF_DADDR_NULL ((xfs_daddr_t) (-1LL))
28 #define XBF_READ (1u << 0) /* buffer intended for reading from device */
29 #define XBF_WRITE (1u << 1) /* buffer intended for writing to device */
30 #define XBF_READ_AHEAD (1u << 2) /* asynchronous read-ahead */
84 * The xfs_buftarg contains 2 notions of "sector size" -
88 * 2) The device logical sector size
90 * The first is specified at mkfs time, and is stored on-disk in the
93 * The latter is derived from the underlying device, and controls direct IO
[all …]
/linux/arch/powerpc/platforms/powernv/
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-ioda.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include <linux/irqchip/irq-msi-lib.h>
30 #include <asm/pci-bridge.h>
33 #include <asm/ppc-pci.h>
39 #include <asm/pnv-pci.h>
64 if (pe->flags & PNV_IODA_PE_DEV) in pe_level_printk()
65 strscpy(pfix, dev_name(&pe->pdev->dev), sizeof(pfix)); in pe_level_printk()
66 else if (pe->flags & (PNV_IODA_PE_BUS | PNV_IODA_PE_BUS_ALL)) in pe_level_printk()
68 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
70 else if (pe->flags & PNV_IODA_PE_VF) in pe_level_printk()
[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/include/linux/
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/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/drivers/edac/
H A Dskx_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
55 * Table 15-10 "IA32_MCi_Status [15:0] Compound Error Code Encoding"
67 * Errors from either the memory of the 1-level memory system or the
68 * 2nd level memory (the slow "far" memory) of the 2-level memory system.
73 * of the 2-level memory system.
77 /* Max RRL register sets per {,sub-,pseudo-}channel. */
96 /* RRL registers per {,sub-,pseudo-}channel. */
159 * settings of two {sub-,pseudo-}channels in Linux RRL control mode.
240 /* Configuration agent device ID */
250 /* Per DDR channel memory-mapped I/O size */
[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_strea in set_stream_format()
[all...]
/linux/fs/nfsd/
H A Dnfs4proc.c2 * Server-side procedures for NFSv4.
87 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
88 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support()
90 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support()
95 !(exp->ex_flags & NFSEXP_SECURITY_LABEL)) in check_attr_support()
111 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
112 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
113 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
115 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
116 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
[all …]
H A Dnfsfh.c1 // SPDX-License-Identifier: GPL-2.0
7 * Extensive rewrite by Neil Brown <neilb@cse.unsw.edu.au> Southern-Spring 1999
8 * ... and again Southern-Winter 2001 to support export_operations
25 * if not, require that we can walk up to exp->ex_dentry
35 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd_acceptable()
39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
52 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
54 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
67 umode_t mode = d_inode(dentry)->i_mode & S_IFMT; in nfsd_mode_check()
97 if (cred->cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
[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 …]
/linux/sound/firewire/bebob/
H A Dbebob_stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bebob_stream.c - a part of driver for BeBoB based devices
5 * Copyright (c) 2013-2014 Takashi Sakamoto
18 * to start transmitting stream. An example is 'M-Audio Firewire 410'.
59 return -EINVAL; in get_formation_index()
70 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate()
72 } while (err == -EAGAI in snd_bebob_stream_get_rate()
[all...]
/linux/mm/
H A Dmemory-failure.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * hardware as being corrupted usually due to a multi-bit ECC memory or cache
11 * not-yet-corrupted-by-suspicious pages without killing anything.
23 * - You know how to test it.
24 * - You have a test that can be added to mce-test
25 * https://git.kernel.org/cgit/utils/cpu/mce/mce-test.git/
26 * - The case actually shows up as a frequent (top 10) page state in
27 * tools/mm/page-types when running a real workload.
41 #include <linux/page-flags.h>
50 #include <linux/backing-dev.h>
[all …]
H A Dmemremap.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/device.h>
43 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->end), in pgmap_array_delete()
50 struct range *range = &pgmap->ranges[range_id]; in pfn_first()
51 unsigned long pfn = PHYS_PFN(range->start); in pfn_first()
62 for (i = 0; i < pgmap->nr_range; i++) { in pgmap_pfn_valid()
63 struct range *range = &pgmap->ranges[i]; in pgmap_pfn_valid()
65 if (pfn >= PHYS_PFN(range->start) && in pgmap_pfn_valid()
66 pfn <= PHYS_PFN(range->end)) in pgmap_pfn_valid()
75 const struct range *range = &pgmap->ranges[range_id]; in pfn_end()
[all …]
/linux/kernel/irq/
H A Dspurious.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar
33 guard(raw_spinlock)(&desc->lock); in try_one_irq()
47 if (irqd_irq_disabled(&desc->irq_data) && !force) in try_one_irq()
54 action = desc->action; in try_one_irq()
55 if (!action || !(action->flags & IRQF_SHARED) || (action->flags & __IRQF_TIMER)) in try_one_irq()
59 if (irqd_irq_inprogress(&desc->irq_data)) { in try_one_irq()
64 desc->istate |= IRQS_PENDING; in try_one_irq()
69 desc->istate |= IRQS_POLL_INPROGRESS; in try_one_irq()
74 action = desc->action; in try_one_irq()
[all …]
/linux/drivers/misc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
27 See Documentation/misc-devices/ad525x_dpot.rst for the
40 module will be called ad525x_dpot-i2c.
51 module will be called ad525x_dpot-spi.
61 tristate "Device driver for IBM RSA service processor"
65 This option enables device driver support for in-band access to the
67 The ibmasm device driver allows user space application to access
78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
100 Say Y here if you want to build a driver for Sensable PHANToM device.
112 UFS. Provides interface for in-kernel security controllers to access
[all …]
/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c1 // SPDX-License-Identifier: GPL-2.0
9 // every PCM device it can find. This may conflict with other system
21 #include "alsa-local.h"
38 int device; member
71 if (tstamp->tv_nsec > now.tv_nsec) { in timestamp_diff_ms()
72 diff.tv_sec = now.tv_sec - tstamp->tv_sec - in timestamp_diff_ms()
96 missing_device(int card,int device,int subdevice,snd_pcm_stream_t stream) missing_device() argument
127 int device, subdevice; missing_devices() local
[all...]
/linux/include/media/drv-intf/
H A Dsaa7146.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/delay.h> /* for delay-stuff */
7 #include <linux/pci.h> /* for pci-config-stuff, vendor ids etc. */
16 #include <media/v4l2-device.h>
17 #include <media/v4l2-ctrls.h>
22 #define saa7146_write(sxy,adr,dat) writel((dat),(sxy->mem+(adr)))
23 #define saa7146_read(sxy,adr) readl(sxy->mem+(adr))
83 .device = PCI_DEVICE_ID_PHILIPS_SAA7146, \
91 char name[32]; /* name of the device */
107 u32 irq_mask; /* mask to indicate, which irq-events are handled by the extension */
[all …]

123