Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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
29 #include <asm/pci-bridge.h>
32 #include <asm/ppc-pci.h>
38 #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()
72 pci_domain_nr(pe->parent_dev->bus), in pe_level_printk()
[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 Djbd2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
24 #include <linux/journal-hea
[all...]
H A Dcleanup.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * DOC: scope-based cleanup helpers
19 * the cleanups are occasions where a goto is used to unwind a device
20 * reference (pci_dev_put()), or unlock the device (pci_dev_unlock())
23 * The DEFINE_FREE() macro can arrange for PCI device references to be
31 * The above will automatically call pci_dev_put() if @dev is non-NULL
42 * The DEFINE_GUARD() macro can arrange for the PCI device lock to be
58 * } // <- implied pci_dev_unlock() triggered here
73 * mid-function scope rather than at the top of the file. Take the
90 * LIST_HEAD_INIT(&obj->node);
[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/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.
82 /* Max RRL register sets per {,sub-,pseudo-}channel. */
101 /* RRL registers per {,sub-,pseudo-}channel. */
163 * settings of two {sub-,pseudo-}channels in Linux RRL control mode.
244 /* Configuration agent device ID */
254 /* 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_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/drivers/dma/
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/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 == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
78 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate()
80 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate()
89 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
7 Part I - Video for Linux API
25 user-func
26 common-defs
28 capture-example
29 v4l2grab-example
39 - Ailus, Sakari <sakari.ailus@iki.fi>
41 - Subdev selections API.
43 - Carvalho Chehab, Mauro <mchehab+samsung@kernel.org>
45 - Documented libv4l, designed and added v4l2grab example, Remote Controller chapter.
[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>
48 if (pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_put()
54 if (pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_get()
68 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->end), in pgmap_array_delete()
75 struct range *range = &pgmap->ranges[range_id]; in pfn_first()
76 unsigned long pfn = PHYS_PFN(range->start); in pfn_first()
87 for (i = 0; i < pgmap->nr_range; i++) { in pgmap_pfn_valid()
88 struct range *range = &pgmap->ranges[i]; in pgmap_pfn_valid()
90 if (pfn >= PHYS_PFN(range->start) && in pgmap_pfn_valid()
[all …]
/linux/drivers/input/serio/
H A Dlibps2.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include <linux/kmsan-checks.h>
41 #define PS2_FLAG_PASS_NOACK BIT(5) /* Pass non-ACK byte to receive handler */
45 __releases(&ps2dev->serio->lock) __acquires(&ps2dev->serio->lock) in ps2_do_sendbyte()
50 lockdep_assert_held(&ps2dev->serio->lock); in ps2_do_sendbyte()
53 ps2dev->nak = 1; in ps2_do_sendbyte()
54 ps2dev->flags |= PS2_FLAG_ACK; in ps2_do_sendbyte()
56 serio_continue_rx(ps2dev->serio); in ps2_do_sendbyte()
58 error = serio_write(ps2dev->serio, byte); in ps2_do_sendbyte()
[all …]
/linux/fs/nfsd/
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/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 …]

123