Home
last modified time | relevance | path

Searched +full:fixed +full:- +full:length (Results 1 – 25 of 993) sorted by relevance

12345678910>>...40

/linux/Documentation/driver-api/cxl/platform/example-configurations/
H A Dflexible.rst1 .. SPDX-License-Identifier: GPL-2.0
15 * Cross-Bridge interleave is described in one CFMWS that covers all capacity.
16 * One CFMWS is also described per-host bridge.
17 * One CFMWS is also described per-device.
25 Length : 0020
30 Register length : 0000000000010000
34 Length : 0020
39 Register length : 0000000000010000
41 Subtable Type : 01 [CXL Fixed Memory Window Structure]
43 Length : 002C
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dsamsung-sxgbe.txt4 - compatible: Should be "samsung,sxgbe-v2.0a"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the SXGBE interrupts
7 These interrupts are ordered by fixed and follows variable
9 index 0 - this is fixed common interrupt of SXGBE and it is always
11 index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts
13 - phy-mode: String, operation mode of the PHY interface.
15 - samsung,pbl: Integer, Programmable Burst Length.
17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
18 This is an integer and represents allowable DMA bursts when fixed burst.
[all …]
H A Dqcom,ipq4019-mdio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/qcom,ipq4019-mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robert Marko <robert.marko@sartura.hr>
15 - enum:
16 - qcom,ipq4019-mdio
17 - qcom,ipq5018-mdio
19 - items:
20 - enum:
[all …]
H A Dnixge.txt4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for
5 older device trees with DMA engines co-located in the address map,
7 - reg: Address and length of the register set for the device. It contains the
8 information of registers in the same order as described by reg-names.
9 - reg-names: Should contain the reg names
12 - interrupts: Should contain tx and rx interrupt
13 - interrupt-names: Should be "rx" and "tx"
14 - phy-mode: See ethernet.txt file in the same directory.
15 - nvmem-cells: Phandle of nvmem cell containing the MAC address
16 - nvmem-cell-names: Should be "address"
[all …]
/linux/sound/usb/line6/
H A Dmidibuf.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2004-2010 Markus Grabner (line6@grabner-graz.at)
18 message_length = -1; in midibuf_message_length()
20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local
22 message_length = length[(code >> 4) - 8]; in midibuf_message_length()
24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local
25 1, 1, 1, -1, 1, 1 in midibuf_message_length()
27 message_length = length[code & 0x0f]; in midibuf_message_length()
35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
40 return this->full; in midibuf_is_full()
[all …]
/linux/arch/powerpc/include/asm/
H A Dsmu.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * These commands are used to retrieve the sdb-partition-XX datas from
26 * the SMU. The length is always 2. First byte is the subcommand code
31 * - 0..1 : partition address
32 * - 2 : a byte containing the partition ID
33 * - 3 : length (maybe other bits are rest of header ?)
53 * ---------------------
66 * ------------------------
115 * 0: bus number (from device-tree usually, SMU has lots of busses !)
119 * 3: subaddress length (0..3)
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverifier_log.c1 // SPDX-License-Identifier: GPL-2.0
61 bpf_object__for_each_program(prog, skel->obj) { in verif_log_subtest()
74 insns = bpf_program__insns(skel->progs.good_prog); in verif_log_subtest()
75 insn_cnt = bpf_program__insn_cnt(skel->progs.good_prog); in verif_log_subtest()
85 memset(logs.reference + fixed_log_sz, 0, sizeof(logs.reference) - fixed_log_sz); in verif_log_subtest()
88 * we get -ENOSPC and beginning of the full verifier log. This only in verif_log_subtest()
93 * But if provided too short log buf, kernel will NULL-out log->ubu in verif_log_subtest()
[all...]
/linux/include/net/
H A Dnsh.h10 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
11 * |Ver|O|U| TTL | Length |U|U|U|U|MD Type| Next Protocol |
12 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
14 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
18 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27 * discussion of MPLS-related forwarding requirements.
32 * example [I-D.ietf-sfc-oam-framework] for one approach).
34 * The O bit MUST be set for OAM packets and MUST NOT be set for non-OAM
65 * Length: The total length, in 4-byte words, of NSH including the Base
66 * Header, the Service Path Header, the Fixed Length Context Header or
[all …]
H A Dred.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 ------------------
24 When a new packet arrives we calculate the average queue length:
26 avg = (1-W)*avg + W*current_queue_len,
28 W is the filter time constant (chosen as 2^(-Wlog)), it controls
32 if (avg > th_max) -> packet marked (dropped).
33 if (avg < th_min) -> packet passes.
36 Pb = max_P * (avg - th_min)/(th_max-th_min)
42 max_P is chosen as a number, so that max_P/(th_max-th_min)
48 -----------------------------
[all …]
/linux/include/linux/can/
H A Dlength.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 Marc Kleine-Budde <kernel@pengutronix.de>
19 * ---------------------------------------------------------
27 * Data Length Code (DLC) 4
37 * ---------------------------------------------------------
48 * Data length code (DLC) 4
55 * Size of a CAN-FD Standard Frame in bits
58 * ---------------------------------------------------------
69 * Data length code (DLC) 4
76 * Size of a CAN-FD Extended Frame in bits
[all …]
/linux/include/linux/
H A Dieee80211-eht.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
7 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
10 * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH
11 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH
12 * Copyright (c) 2018 - 2026 Intel Corporation
21 #include <linux/ieee80211-he.h>
35 * struct ieee80211_ttlm_elem - TID-To-Link Mapping element
51 * struct ieee80211_eht_mcs_nss_supp_20mhz_only - EHT 20MHz only station max
54 * For each field below, bits 0 - 3 indicate the maximal number of spatial
[all …]
/linux/fs/smb/client/
H A Dsmb2misc.c1 // SPDX-License-Identifier: LGPL-2.1
28 __u64 wire_mid = le64_to_cpu(shdr->MessageId); in check_smb2_hdr()
34 if ((shdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
36 if (shdr->Flags & SMB2_FLAGS_SERVER_TO_REDIR) in check_smb2_hdr()
40 if (shdr->Command == SMB2_OPLOCK_BREAK) in check_smb2_hdr()
46 if (shdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
48 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
90 * variable-length data area. A non-zero entry marks the command as
91 * having one, and gives the length smb2_check_message() requires
92 * before smb2_get_data_area_len() reads the offset and length fields
[all …]
/linux/Documentation/fb/
H A Dapi.rst9 ---------------
12 with frame buffer devices. In-kernel APIs between device drivers and the frame
22 ---------------
24 Device and driver capabilities are reported in the fixed screen information
36 - FB_CAP_FOURCC
44 --------------------
46 Pixels are stored in memory in hardware-dependent formats. Applications need
58 - FB_TYPE_PACKED_PIXELS
64 Padding at end of lines may be present and is then reported through the fixed
67 - FB_TYPE_PLANES
[all …]
/linux/Documentation/networking/
H A Dradiotap-headers.rst1 .. SPDX-License-Identifier: GPL-2.0
8 ------------------------------------
10 Radiotap headers are variable-length and extensible, you can get most of the
19 -----------------------
21 There is a fixed portion at the start which contains a u32 bitmap that defines
29 < 8-byte ieee80211_radiotap_header >
44 --------------------------
46 After the fixed part of the header, the arguments follow for each argument
50 - the arguments are all stored little-endian!
52 - the argument payload for a given argument index has a fixed size. So
[all …]
/linux/Documentation/devicetree/bindings/nvmem/layouts/
H A Dfixed-cell.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fixed offset & size NVMEM cell
10 - Rafał Miłecki <rafal@milecki.pl>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
16 - const: mac-base
20 It can be stored in a plain binary format (cell length 6) or as an
21 ASCII text like "00:11:22:33:44:55" (cell length 17).
[all …]
/linux/rust/kernel/
H A Dprint.rs1 // SPDX-License-Identifier: GPL-2.0
7 //! Reference: <https://docs.kernel.org/core-api/printk-basics.html>
28 ) -> *mut c_char { in rust_fmt_argument()
42 /// The length we copy from the `KERN_*` kernel prefixes.
45 /// The length of the fixed format strings.
46 pub const LENGTH
41 pub const LENGTH: usize = 10; global() constant
49 generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] generate() argument
101 call_printk( format_string: &[u8; format_strings::LENGTH], module_name: &[u8], args: fmt::Arguments<'_>, ) call_printk() argument
[all...]
/linux/Documentation/netlink/
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
22 len-or-limit:
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/fs/smb/server/
H A Dsmb2misc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 if (hdr->Flags & SMB2_FLAGS_SERVER_TO_REDIR) in check_smb2_hdr()
54 * The size of the variable area depends on the offset and length fields
56 * with no variable length info, show an offset of zero for the offset field.
81 * Set length of the data area and the offset to arguments.
94 * of the data buffer offset and data buffer length for the particular in smb2_get_data_area_len()
97 switch (hdr->Command) { in smb2_get_data_area_len()
99 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len()
100 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len()
104 le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset), in smb2_get_data_area_len()
[all …]
/linux/scripts/
H A Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
73 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
76 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
78 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
92 -
[all...]
/linux/drivers/crypto/bcm/
H A Dspu2.h1 /* SPDX-License-Identifier: GPL-2.0-only */
74 /* Fixed Metadata format */
84 /* Fixed part of request message header length in bytes. Just FMD. */
131 #define SPU2_RET_IV_LEN 0xF00000000 /* length in bytes of IV returned.
137 #define SPU2_IV_LEN 0x1F0000000000 /* length of input IV in bytes */
139 #define SPU2_HASH_TAG_LEN 0x7F000000000000 /* hash tag length in bytes */
151 #define SPU2_AAD1_LEN 0xFF000 /* length of AAD1 in bytes */
159 #define SPU2_PL_LEN 0xFFFFFFFF /* payload length in bytes */
166 * Max value that can be represented in the Payload Length field of the
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_linecard.sh2 # SPDX-License-Identifier: GPL-2.0
5 # LC_SLOT - If not set, all probed line cards are going to be tested,
41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state"
75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l
91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink"
140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type")
170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \
171 jq -e -r ".[][][].supported_types | length")
176 type=$(devlink lc show $DEVLINK_DEV lc $lc -j | \
177 jq -e -r ".[][][].supported_types[$type_index]")
[all …]
/linux/arch/arm/boot/dts/nxp/vf/
H A Dvf610-zii-scu4-aib.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations
5 /dts-v1/;
10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610";
13 stdout-path = &uart0;
21 gpio-leds {
22 compatible = "gpio-leds";
23 pinctrl-0 = <&pinctrl_leds_debug>;
24 pinctrl-names = "default";
26 led-debug {
[all …]
/linux/drivers/scsi/
H A Dscsi_common.c1 // SPDX-License-Identifier: GPL-2.0
29 "Direct-Access ",
30 "Sequential-Access",
34 "CD-ROM ",
43 "Direct-Access-RBC",
49 "Direct-Access-ZBC",
53 * scsi_device_type - Return 17-char string indicating device type.
59 return "Well-known LUN "; in scsi_device_type()
111 * scsilun_to_int - convert a scsi_lun to an int
115 * Convert @scsilun from a struct scsi_lun to a four-byte host byte-ordered
[all …]
/linux/net/wireless/
H A Dwext-compat.c1 // SPDX-License-Identifier: GPL-2.0
3 * cfg80211 - wext compat code
9 * Copyright 2008-2009 Johannes Berg <johannes@sipsolutions.net>
10 * Copyright (C) 2019-2023, 2026 Intel Corporation
22 #include <net/cfg80211-wext.h>
23 #include "wext-compat.h"
25 #include "rdev-ops.h"
31 strscpy(wrqu->name, "IEEE 802.11"); in cfg80211_wext_giwname()
38 __u32 *mode = &wrqu->mode; in cfg80211_wext_siwmode()
39 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_siwmode()
[all …]

12345678910>>...40