Home
last modified time | relevance | path

Searched +full:2 +full:- +full:layered (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v6.1/Documentation/networking/caif/
Dlinux_caif.rst1 .. SPDX-License-Identifier: GPL-2.0
8 Copyright |copy| ST-Ericsson AB 2010
11 :License terms: GNU General Public License (GPL) version 2
17 CAIF is a MUX protocol used by ST-Ericsson cellular modems for
22 ST-Ericsson modems support a number of transports between modem
39 ! +------+ +------+
40 ! +------+! +------+!
42 +-------> !interf!+ ! API !+ <- CAIF Client APIs
43 ! +------+ +------!
45 ! +-----------+
[all …]
/Linux-v6.1/Documentation/block/
Dinline-encryption.rst1 .. SPDX-License-Identifier: GPL-2.0
19 keys directly in low-level I/O requests. However, most inline encryption
22 low-level I/O request then just contains a keyslot index and data unit number.
30 Inline encryption hardware is also very different from "self-encrypting drives",
31 such as those based on the TCG Opal or ATA Security standards. Self-encrypting
32 drives don't provide fine-grained control of encryption and provide no way to
34 provides fine-grained control of encryption, including the choice of key and
43 layered devices like device-mapper and loopback (i.e. we want to be able to use
50 - We need a way for upper layers (e.g. filesystems) to specify an encryption
56 - Different inline encryption hardware has different supported algorithms,
[all …]
Ddata-integrity.rst35 2. The Data Integrity Extensions
54 scatter-gather lists.
60 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs
64 lighter-weight checksum to be used when interfacing with the operating
66 The IP checksum received from the OS is converted to the 16-bit CRC
102 concept of an end-to-end protection scheme is a layering violation.
118 16-bit value. The owner of this tag space is the owner of the block
134 -------
154 ----------------
166 Layered block devices will need to pick a profile that's appropriate
[all …]
/Linux-v6.1/Documentation/scsi/
Dufs.rst1 .. SPDX-License-Identifier: GPL-2.0
11 2. UFS Architecture Overview
29 embedded and removable flash memory-based storage in mobile
32 on the MIPI M-PHY physical layer standard. UFS uses MIPI M-PHY as the
41 - Support for Gear1 is mandatory (rate A: 1248Mbps, rate B: 1457.6Mbps)
42 - Support for Gear2 is optional (rate A: 2496Mbps, rate B: 2915.2Mbps)
46 - Gear3 (rate A: 4992Mbps, rate B: 5830.4Mbps)
52 2. UFS Architecture Overview
55 UFS has a layered communication architecture which is based on SCSI
56 SAM-5 architectural model.
[all …]
/Linux-v6.1/Documentation/userspace-api/media/cec/
Dcec-intro.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _cec-intro:
11 in supplements 1 (CEC) and 2 (HEAC or HDMI Ethernet and Audio Return
20 messages, especially those part of the HEAC protocol layered on top of
33 the `v4l-utils <https://git.linuxtv.org/v4l-utils.git/>`_ package. It
36 - cec-ctl: the Swiss army knife of CEC. Allows you to configure, transmit
39 - cec-compliance: does a CEC compliance test of a remote CEC device to
42 - cec-follower: emulates a CEC follower.
/Linux-v6.1/net/core/
Ddev_addr_lists.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/core/dev_addr_lists.c - Functions for handling net device lists
24 struct rb_node **ins_point = &list->tree.rb_node, *parent = NULL; in __hw_addr_insert()
31 diff = memcmp(new->addr, ha->addr, addr_len); in __hw_addr_insert()
33 diff = memcmp(&new->type, &ha->type, sizeof(new->type)); in __hw_addr_insert()
37 ins_point = &parent->rb_left; in __hw_addr_insert()
39 ins_point = &parent->rb_right; in __hw_addr_insert()
41 return -EEXIST; in __hw_addr_insert()
44 rb_link_node_rcu(&new->node, parent, ins_point); in __hw_addr_insert()
45 rb_insert_color(&new->node, &list->tree); in __hw_addr_insert()
[all …]
/Linux-v6.1/drivers/mtd/ubi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Enable UBI - Unsorted block images"
6 UBI is a software layer above MTD layer which admits use of LVM-like
10 (www.linux-mtd.infradead.org).
15 int "UBI wear-leveling threshold"
17 range 2 65536
26 other flashes which have eraseblock life-cycle 100000 or more.
28 life-cycle less than 10000, the threshold should be lessened (e.g.,
29 to 128 or 256, although it does not have to be power of 2).
44 as "1024 * (1 - MinNVB / MaxNVB)", which gives 20 for most NANDs
[all …]
Dblock.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * Read-only block devices on top of UBI volumes
15 * A simple implementation to allow a block device to be layered on top of a
16 * UBI volume. The implementation is provided by creating a static 1-to-1
40 #include <linux/blk-mq.h>
46 #include "ubi-media.h"
55 /* Maximum number of comma-separated items in the 'block=' parameter */
56 #define UBIBLOCK_PARAM_COUNT 2
110 return -EINVAL; in ubiblock_set_param()
114 pr_warn("UBI: block: empty 'block=' parameter - ignored\n"); in ubiblock_set_param()
[all …]
/Linux-v6.1/Documentation/spi/
Dspi-lm70llp.rst2 spi_lm70llp : LM70-LLP parport-to-SPI adapter
15 -----------
20 (layered under) the LM70 logical driver (a "SPI protocol driver").
27 --------------------
28 The schematic for this particular board (the LM70EVAL-LLP) is
39 D0 2 - -
40 D1 3 --> V+ 5
41 D2 4 --> V+ 5
42 D3 5 --> V+ 5
43 D4 6 --> V+ 5
[all …]
/Linux-v6.1/include/linux/
Dblk-crypto-profile.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/blk-crypto.h>
15 * struct blk_crypto_ll_ops - functions to control inline encryption hardware
17 * Low-level operations for controlling inline encryption hardware. This
19 * encryption. All functions may sleep, are serialized by profile->lock, and
20 * are never called while profile->dev (if set) is runtime-suspended.
29 * The keyslot is guaranteed to not be in-use by any I/O.
32 * device is a layered device, or if the device is real hardware that
35 * Must return 0 on success, or -errno on failure.
47 * The keyslot is guaranteed to not be in-use by any I/O.
[all …]
/Linux-v6.1/arch/alpha/kernel/
Dsys_mikasa.c1 // SPDX-License-Identifier: GPL-2.0
48 mikasa_update_irq_hw(cached_irq_mask |= 1 << (d->irq - 16)); in mikasa_enable_irq()
54 mikasa_update_irq_hw(cached_irq_mask &= ~(1 << (d->irq - 16))); in mikasa_disable_irq()
81 pld &= pld - 1; /* clear least bit set */ in mikasa_device_interrupt()
118 * 2 Interrupt Line C from slot 0
124 * 8 Interrupt Line A from slot 2
125 * 9 Interrupt Line B from slot 2
126 *10 Interrupt Line C from slot 2
127 *11 Interrupt Line D from slot 2
137 * 7 Intel PCI-EISA bridge chip
[all …]
Dsys_eb64p.c1 // SPDX-License-Identifier: GPL-2.0
37 static unsigned int cached_irq_mask = -1;
48 eb64p_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << d->irq)); in eb64p_enable_irq()
54 eb64p_update_irq_hw(d->irq, cached_irq_mask |= 1 << d->irq); in eb64p_disable_irq()
79 pld &= pld - 1; /* clear least bit set */ in eb64p_device_interrupt()
105 hwrpb->sys_variation |= 2L << 10; in eb64p_init_irq()
125 if (request_irq(16 + 5, no_action, 0, "isa-cascade", NULL)) in eb64p_init_irq()
126 pr_err("Failed to register isa-cascade interrupt\n"); in eb64p_init_irq()
138 * 2 Interrupt Line B from slot 0
149 * 2 Interrupt Line D from slot 1
[all …]
Dsys_alcor.c1 // SPDX-License-Identifier: GPL-2.0
9 * Code supporting the ALCOR and XLT (XL-300/366/433).
48 alcor_update_irq_hw(cached_irq_mask |= 1UL << (d->irq - 16)); in alcor_enable_irq()
54 alcor_update_irq_hw(cached_irq_mask &= ~(1UL << (d->irq - 16))); in alcor_disable_irq()
63 *(vuip)GRU_INT_CLEAR = 1 << (d->irq - 16); mb(); in alcor_mask_and_ack_irq()
99 pld &= pld - 1; /* clear least bit set */ in alcor_device_interrupt()
135 if (request_irq(16 + 31, no_action, 0, "isa-cascade", NULL)) in alcor_init_irq()
136 pr_err("Failed to register isa-cascade interrupt\n"); in alcor_init_irq()
145 * 0 Interrupt Line A from slot 2
146 * 1 Interrupt Line B from slot 2
[all …]
Dsys_noritake.c1 // SPDX-License-Identifier: GPL-2.0
53 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq()
59 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq()
87 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt()
101 irq = (vector - 0x800) >> 4; in noritake_srm_device_interrupt()
110 * So, here's this additional grotty hack... :-( in noritake_srm_device_interrupt()
145 * 0 All valid ints from summary regs 2 & 3
147 * 2 Interrupt Line A from slot 0
151 * 6 Interrupt Line A from slot 2
152 * 7 Interrupt Line B from slot 2
[all …]
Dsys_miata.c1 // SPDX-License-Identifier: GPL-2.0
39 irq = (vector - 0x800) >> 4; in miata_srm_device_interrupt()
47 * for reporting any interrupts (the PCI-ISA bridge, bit 7, isn't in miata_srm_device_interrupt()
49 * vectors 0x800-0x8f0). in miata_srm_device_interrupt()
53 * So, here's this grotty hack... :-( in miata_srm_device_interrupt()
83 if (request_irq(16 + 2, no_action, 0, "halt-switch", NULL)) in miata_init_irq()
84 pr_err("Failed to register halt-switch interrupt\n"); in miata_init_irq()
85 if (request_irq(16 + 6, no_action, 0, "timer-cascade", NULL)) in miata_init_irq()
86 pr_err("Failed to register timer-cascade interrupt\n"); in miata_init_irq()
97 * 2 Halt/Reset switch
[all …]
Dsys_sable.c1 // SPDX-License-Identifier: GPL-2.0
9 * Code supporting the Sable, Sable-Gamma, and Lynx systems.
58 * 0-7 (char at 536)
59 * 8-15 (char at 53a)
60 * 16-23 (char at 53c)
65 *------------------------------------------
68 * 2 TULIP (builtin) 32
71 * 5 PCI slot 2 36
76 *10 EISA irq 3 -
77 *11 EISA irq 4 -
[all …]
/Linux-v6.1/block/
Dblk-crypto-profile.c1 // SPDX-License-Identifier: GPL-2.0
7 * DOC: blk-crypto profiles
9 * 'struct blk_crypto_profile' contains all generic inline encryption-related
17 * these keyslots in a device-independent way, using the driver-provided
22 * For more information, see Documentation/block/inline-encryption.rst.
25 #define pr_fmt(fmt) "blk-crypto: " fmt
27 #include <linux/blk-crypto-profile.h>
34 #include <linux/blk-integrity.h>
47 * Calling into the driver requires profile->lock held and the device in blk_crypto_hw_enter()
49 * and release profile->lock via blk_crypto_reprogram_all_keys(). in blk_crypto_hw_enter()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-rbd14 The snapshot name can be "-" or omitted to map the image
15 read/write. A <dev-id> will be assigned for any registered block
16 device. If snapshot is used, it will be mapped read-only.
26 Usage: <dev-id> [force]
30 $ echo 2 > /sys/bus/rbd/remove
76 What: /sys/bus/rbd/devices/<dev-id>/size
77 What: /sys/bus/rbd/devices/<dev-id>/major
78 What: /sys/bus/rbd/devices/<dev-id>/client_id
79 What: /sys/bus/rbd/devices/<dev-id>/pool
80 What: /sys/bus/rbd/devices/<dev-id>/name
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dstarfive,jh7100-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd.
15 interesting 2-layered approach to pin muxing best illustrated by the diagram
21 LCD output -----------------| |
22 CMOS Camera interface ------| |--- PAD_GPIO[0]
23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1]
25 | |--- PAD_GPIO[63]
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c3 * Copyright (C) 2003-2014 Chelsio Communications. All rights reserved.
23 unsigned int clipt_size_half = c->clipt_size / 2; in ipv4_clip_hash()
30 unsigned int clipt_size_half = d->clipt_size / 2; in ipv6_clip_hash()
31 u32 xor = key[0] ^ key[1] ^ key[2] ^ key[3]; in ipv6_clip_hash()
54 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_get_mbox()
55 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_get_mbox()
56 return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false); in clip6_get_mbox()
69 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_release_mbox()
70 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_release_mbox()
71 return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false); in clip6_release_mbox()
[all …]
/Linux-v6.1/drivers/spi/
Dspi-lm70llp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for LM70EVAL-LLP board for the LM70 sensor
23 * The LM70 communicates with a host processor using a 3-wire variant of
26 * port to bitbang an SPI-parport bridge. Accordingly, this is an SPI
28 * driver", layered on top of this one and usable without the lm70llp.
33 * The schematic for this particular board (the LM70EVAL-LLP) is
37 * Also see Documentation/spi/spi-lm70llp.rst. The SPI<->parport code here is
38 * (heavily) based on spi-butterfly by David Brownell.
44 * ----------- --------- ------------
45 * D0 2 - -
[all …]
/Linux-v6.1/Documentation/userspace-api/
Dseccomp_filter.rst25 to time-of-check-time-of-use (TOCTOU) attacks that are common in system
47 prctl(2) call as the strict seccomp. If the architecture has
65 call will return -1 and set errno to ``EINVAL``.
73 true, ``-EACCES`` will be returned. This requirement ensures that filter
77 Additionally, if ``prctl(2)`` is allowed by the attached filter,
78 additional filters may be layered on which will increase evaluation
82 The above call returns 0 on success and non-zero on error.
106 task without executing the system call. ``siginfo->si_call_addr``
108 ``siginfo->si_syscall`` and ``siginfo->si_arch`` will indicate which
111 instruction). The return value register will contain an arch-
[all …]
/Linux-v6.1/drivers/cxl/core/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <linux/io-64-nonatomic-lo-hi.h>
7 #include <linux/pci-doe.h>
16 * Compute Express Link protocols are layered on top of PCIe. CXL core provides
35 struct cxl_port *port = ctx->port; in match_add_dports()
42 if (pdev->bus != ctx->bus) in match_add_dports()
46 if (type != ctx->type) in match_add_dports()
54 dev_dbg(&port->dev, "failed to find component registers\n"); in match_add_dports()
57 dport = devm_cxl_add_dport(port, &pdev->dev, port_num, in match_add_dports()
60 ctx->error = PTR_ERR(dport); in match_add_dports()
[all …]
/Linux-v6.1/drivers/misc/sgi-xp/
Dxpnet.c7 * Copyright (C) 1999-2009 Silicon Graphics, Inc. All rights reserved.
13 * XPNET provides a virtual network layered on top of the Cross
16 * XPNET provides direct point-to-point and broadcast-like support
17 * for an ethernet-like device. The ethernet broadcast medium is
18 * replaced with a point-to-point message structure which passes
19 * pointers to a DMA-capable block that a remote partition should
42 * size is the number of bytes to transfer which includes the skb->len
64 (XPNET_MSG_SIZE - offsetof(struct xpnet_message, data))
83 ((XPNET_VERSION_MAJOR(_m->version) == XPNET_VERSION_MAJOR(XPNET_VERSION)) \
84 && (msg->magic == XPNET_MAGIC))
[all …]
/Linux-v6.1/Documentation/driver-api/nvdimm/
Dnvdimm.rst2 LIBNVDIMM: Non-Volatile Devices
5 libnvdimm - kernel / libndctl - userspace helper library
18 PMEM-REGIONs, Atomic Sectors, and DAX
50 A system-physical-address range where writes are persistent. A
55 DIMM Physical Address, is a DIMM-relative offset. With one DIMM in
56 the system there would be a 1:1 system-physical-address:DPA association.
59 system-physical-address.
68 device - in this case the firmware.
72 It defines a vendor-id, device-id, and interface format for a given DIMM.
76 Existing software may have an expectation that the power-fail-atomicity
[all …]

12