Home
last modified time | relevance | path

Searched +full:max +full:- +full:by +full:- +full:define (Results 1 – 25 of 1134) sorted by relevance

12345678910>>...46

/linux-6.12.1/Documentation/userspace-api/netlink/
Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 allowed in older families by the ``genetlink-c`` protocol level,
13 objects by the object type. For example ``$attr`` is the value
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
25 appended (``do`` -> ``do_``).
30 ``c-family-name`` controls the name of the ``#define`` for the family
31 name, default is ``$family-FAMILY-NAME``.
33 ``c-version-name`` controls the name of the ``#define`` for the version
34 of the family, default is ``$family-FAMILY-VERSION``.
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/cfg/
D22000.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2015-2017 Intel Deutschland GmbH
4 * Copyright (C) 2018-2024 Intel Corporation
8 #include "iwl-config.h"
9 #include "iwl-prph.h"
13 #define IWL_22000_UCODE_API_MAX 77
16 #define IWL_22000_UCODE_API_MIN 77
19 #define IWL_22000_NVM_VERSION 0x0a1d
22 #define IWL_22000_DCCM_OFFSET 0x800000 /* LMAC1 */
23 #define IWL_22000_DCCM_LEN 0x10000 /* LMAC1 */
[all …]
/linux-6.12.1/include/uapi/linux/netfilter/
Dxt_hashlimit.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _UAPI_XT_HASHLIMIT_H
10 #define XT_HASHLIMIT_SCALE 10000
11 #define XT_HASHLIMIT_SCALE_v2 1000000llu
12 /* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490
16 /* packet length accounting is done in 16-byte steps */
17 #define XT_HASHLIMIT_BYTE_SHIFT 4
19 /* details of this structure hidden by the implementation */
39 __u32 max; /* max number of entries */ member
48 /* Used internally by the kernel */
[all …]
/linux-6.12.1/drivers/scsi/sym53c8xx_2/
Dsym53c8xx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
14 * The original ncr driver has been written for 386bsd and FreeBSD by
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
28 #define SYM53C8XX_H
35 * 1 : 40 bit addressing when supported by chip.
[all …]
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_rogue_cr_defs_client.h1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
5 #define PVR_ROGUE_CR_DEFS_CLIENT_H
7 /* clang-format off */
10 * This register controls the anti-aliasing mode of the Tiling Co-Processor, independent control is
15 * 2xmsaa is achieved by enabling Y - TE does AA on Y plane only
16 * 4xmsaa is achieved by enabling Y and X - TE does AA on X and Y plane
17 * 8xmsaa not supported by XE cores
20 * 2xmsaa is achieved by enabling X2 - does not affect TE
21 * 4xmsaa is achieved by enabling Y and X2 - TE does AA on Y plane only
22 * 8xmsaa is achieved by enabling Y, X and X2 - TE does AA on X and Y plane
[all …]
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Docteon_config.h7 * Copyright (c) 2003-2016 Cavium, Inc.
11 * published by the Free Software Foundation.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
23 #define __OCTEON_CONFIG_H__
25 /*--------------------------CONFIG VALUES------------------------*/
35 #define MAX_OCTEON_NICIF 128
36 #define MAX_OCTEON_DEVICES MAX_OCTEON_NICIF
37 #define MAX_OCTEON_LINKS MAX_OCTEON_NICIF
38 #define MAX_OCTEON_MULTICAST_ADDR 32
40 #define MAX_OCTEON_FILL_COUNT 8
[all …]
/linux-6.12.1/tools/include/uapi/linux/
Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define __LINUX_PKT_SCHED_H
12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
13 preferred full anarchy inspired by diffserv group.
20 #define TC_PRIO_BESTEFFORT 0
21 #define TC_PRIO_FILLER 1
22 #define TC_PRIO_BULK 2
23 #define TC_PRIO_INTERACTIVE_BULK 4
24 #define TC_PRIO_INTERACTIVE 6
25 #define TC_PRIO_CONTROL 7
[all …]
Dbtf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 #define _UAPI__LINUX_BTF_H__
8 #define BTF_MAGIC 0xeB9F
9 #define BTF_VERSION 1
24 /* Max # of type identifier */
25 #define BTF_MAX_TYPE 0x000fffff
26 /* Max offset into the string section */
27 #define BTF_MAX_NAME_OFFSET 0x00ffffff
28 /* Max # of struct/union/enum members or func args */
29 #define BTF_MAX_VLEN 0xffff
[all …]
/linux-6.12.1/drivers/cpufreq/
Dgx-suspmod.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * (C) 2002 Hiroshi Miura <miura@da-cha.org>
10 * software is provided AS-IS with no warranties.
19 * Suspend Modulation works by asserting and de-asserting the SUSP# pin
28 * 32us intervals which the SUSP# pin is asserted(ON)/de-asserted(OFF)
31 * These counters define a ratio which is the effective frequency
35 * F_eff = Fgx * ----------------------
43 * on_duration = off_duration * (stock_freq - freq) / freq
46 * on_duration = DURATION - off_duration
48 *---------------------------------------------------------------------------
[all …]
/linux-6.12.1/include/uapi/sound/
Dtlv.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
4 #define __UAPI_SOUND_TLV_H
6 #define SNDRV_CTL_TLVT_CONTAINER 0 /* one level down - group of TLVs */
7 #define SNDRV_CTL_TLVT_DB_SCALE 1 /* dB scale */
8 #define SNDRV_CTL_TLVT_DB_LINEAR 2 /* linear volume */
9 #define SNDRV_CTL_TLVT_DB_RANGE 3 /* dB range container */
10 #define SNDRV_CTL_TLVT_DB_MINMAX 4 /* dB scale with min/max */
11 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */
14 * channel-mapping TLV items
17 #define SNDRV_CTL_TLVT_CHMAP_FIXED 0x101 /* fixed channel position */
[all …]
/linux-6.12.1/Documentation/netlink/
Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu_v14_0_0_ppsmc.h25 #define __SMU_V14_0_0_PPSMC_H__
27 /*! @mainpage PMFW-PPS (PPLib) Message Interface
37 #define PPS_PMFW_IF_VER "1.0" ///< Major.Minor
43 #define PPSMC_Result_OK 0x1 ///< Message Response OK
44 #define PPSMC_Result_Failed 0xFF ///< Message Response Failed
45 #define PPSMC_Result_UnknownCmd 0xFE ///< Message Response Unknown Command
46 #define PPSMC_Result_CmdRejectedPrereq 0xFD ///< Message Response Command Failed Prerequisite
47 #define PPSMC_Result_CmdRejectedBusy 0xFC ///< Message Response Command Rejected due to PMFW …
54 #define PPSMC_MSG_TestMessage 0x01 ///< To check if PMFW is alive and responding.…
55 #define PPSMC_MSG_GetPmfwVersion 0x02 ///< Get PMFW version
[all …]
/linux-6.12.1/include/uapi/linux/
Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define __LINUX_PKT_SCHED_H
13 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
14 preferred full anarchy inspired by diffserv group.
21 #define TC_PRIO_BESTEFFORT 0
22 #define TC_PRIO_FILLER 1
23 #define TC_PRIO_BULK 2
24 #define TC_PRIO_INTERACTIVE_BULK 4
25 #define TC_PRIO_INTERACTIVE 6
26 #define TC_PRIO_CONTROL 7
[all …]
Dtipc_config.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Copyright (c) 2003-2006, Ericsson AB
6 * Copyright (c) 2005-2007, 2010-2011, Wind River Systems
22 * GNU General Public License ("GPL") version 2 as published by the Free
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
39 #define _LINUX_TIPC_CONFIG_H_
51 * back. (In the future multi-message replies may be supported.)
60 * a variable number of TLVs. A failed request is denoted by the presence
67 * May be issued by any process.
68 * Accepted by own node, or by remote node only if remote management enabled.
[all …]
/linux-6.12.1/include/linux/platform_data/
Dcros_ec_proto.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define __LINUX_CROS_EC_PROTO_H
18 #define CROS_EC_DEV_NAME "cros_ec"
19 #define CROS_EC_DEV_FP_NAME "cros_fp"
20 #define CROS_EC_DEV_ISH_NAME "cros_ish"
21 #define CROS_EC_DEV_PD_NAME "cros_pd"
22 #define CROS_EC_DEV_SCP_NAME "cros_scp"
23 #define CROS_EC_DEV_TP_NAME "cros_tp"
25 #define CROS_EC_DEV_EC_INDEX 0
26 #define CROS_EC_DEV_PD_INDEX 1
[all …]
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_catalog.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved.
8 #define _DPU_HW_CATALOG_H
16 * Max hardware block count: For ex: max 12 SSPP pipes or
17 * 5 ctl paths. In all cases, it can have max 12 hardware blocks
20 #define MAX_BLOCKS 12
22 #define DPU_HW_BLK_NAME_LEN 16
24 #define MAX_IMG_WIDTH 0x3fff
25 #define MAX_IMG_HEIGHT 0x3fff
[all …]
/linux-6.12.1/drivers/media/rc/
Drc-core-priv.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2010 by Mauro Carvalho Chehab
9 #define _RC_CORE_PRIV
11 #define RC_DEV_MAX 256
12 /* Define the max number of pulse/space transitions to buffer */
13 #define MAX_IR_EVENT_SIZE 512
17 #include <media/rc-core.h>
20 * rc_open - Opens a RC device
27 * rc_close - Closes a RC device
36 u64 protocols; /* which are handled by this handler */
[all …]
Dir-rc5-decoder.c1 // SPDX-License-Identifier: GPL-2.0
2 // ir-rc5-decoder.c - decoder for RC5(x) and StreamZap protocols
4 // Copyright (C) 2010 by Mauro Carvalho Chehab
5 // Copyright (C) 2010 by Jarod Wilson <jarod@redhat.com>
12 #include "rc-core-priv.h"
15 #define RC5_NBITS 14
16 #define RC5_SZ_NBITS 15
17 #define RC5X_NBITS 20
18 #define CHECK_RC5X_NBITS 8
19 #define RC5_UNIT 889 /* us */
[all …]
/linux-6.12.1/include/linux/i3c/
Ddevice.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define I3C_DEV_H
19 * enum i3c_error_code - I3C error codes
27 * These are the standard error codes as defined by the I3C specification.
28 * When -EIO is returned by the i3c_device_do_priv_xfers() or
42 * enum i3c_hdr_mode - HDR mode ids
54 * struct i3c_priv_xfer - I3C SDR private transfer
57 * @actual_len: actual length in bytes are transferred by the controller
59 * @data.in: input buffer. Must point to a DMA-able buffer
60 * @data.out: output buffer. Must point to a DMA-able buffer
[all …]
/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-fim.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <media/v4l2-ctrls.h>
14 #include <media/v4l2-subdev.h>
16 #include "imx-media.h"
33 #define FIM_CL_ENABLE_DEF 0 /* FIM disabled by default */
34 #define FIM_CL_NUM_DEF 8 /* average 8 frames */
35 #define FIM_CL_NUM_SKIP_DEF 2 /* skip 2 frames after restart */
36 #define FIM_CL_TOLERANCE_MIN_DEF 50 /* usec */
37 #define FIM_CL_TOLERANCE_MAX_DEF 0 /* no max tolerance (unbounded) */
73 return fim->icap_flags != IRQ_TYPE_NONE; in icap_enabled()
[all …]
/linux-6.12.1/include/uapi/linux/cifs/
Dcifs_mount.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
8 * by the Free Software Foundation; either version 2.1 of the License, or
17 #define _CIFS_MOUNT_H
19 /* Max string lengths for cifs mounting options. */
20 #define CIFS_MAX_DOMAINNAME_LEN 256 /* max fully qualified domain name */
21 #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */
22 #define CIFS_MAX_PASSWORD_LEN 512 /* Windows max seems to be 256 wide chars */
23 #define CIFS_MAX_SHARE_LEN 256 /* reasonable max share name length */
24 #define CIFS_NI_MAXHOST 1024 /* max host name length (256 * 4 bytes) */
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2015-2017 Intel Deutschland GmbH
4 * Copyright (C) 2018-2022 Intel Corporation
8 #define __iwl_fw_api_location_h__
11 * enum iwl_location_subcmd_ids - location group command IDs
86 * struct iwl_tof_config_cmd - ToF configuration
88 * @one_sided_disabled: indicates if one-sided is disabled (or not)
100 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth
101 * @IWL_TOF_BW_20_LEGACY: 20 MHz non-HT
118 * enum iwl_tof_algo_type - Algorithym type for range measurement request
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/dma/
Drenesas,nbpfaxi.txt1 * Renesas "Type-AXI" NBPFAXI* DMA controllers
7 - compatible: must be one of
17 - #dma-cells: must be 2: the first integer is a terminal number, to which this
21 #define NBPF_SLAVE_RQ_HIGH 1
22 #define NBPF_SLAVE_RQ_LOW 2
23 #define NBPF_SLAVE_RQ_LEVEL 4
26 - max-burst-mem-read: limit burst size for memory reads
28 than using the maximum burst size allowed by the hardware's buffer size.
29 - max-burst-mem-write: limit burst size for memory writes
31 than using the maximum burst size allowed by the hardware's buffer size.
[all …]
/linux-6.12.1/include/sound/
Dsoc.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc.h -- ALSA SoC Layer
11 #define __LINUX_SND_SOC_H
42 #define SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, xmax, xinvert, xautodisable) \
45 .rshift = shift_right, .max = xmax, \
47 #define SOC_DOUBLE_S_VALUE(xreg, shift_left, shift_right, xmin, xmax, xsign_bit, xinvert, xautodisa…
50 .rshift = shift_right, .min = xmin, .max = xmax, \
52 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \
54 #define SOC_SINGLE_VALUE_EXT(xreg, xmax, xinvert) \
56 {.reg = xreg, .max = xmax, .invert = xinvert})
[all …]

12345678910>>...46