Home
last modified time | relevance | path

Searched +full:zero +full:- +full:based (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/linux/Documentation/devicetree/bindings/arm/bcm/
H A Dbcm2835.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eric Anholt <eric@anholt.net>
11 - Stefan Wahren <wahrenst@gmx.net>
18 - description: BCM2711 based Boards
20 - enum:
21 - raspberrypi,400
22 - raspberrypi,4-compute-module
23 - raspberrypi,4-model-b
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
18 /* Allocate resources based on number of rules with minimal failure probability */
20 /* Allocate fixed size hash table based on given column and rows */
121 /* Optional AT attach configuration - Max number of additional AT */
218 * mlx5hws_is_supported - Check whether HWS is supported
239 * mlx5hws_context_open - Open a context used for direct rule insertion
252 * mlx5hws_context_close - Close a context used for direct hardware steering.
256 * Return: zero on success non zero otherwise.
261 * mlx5hws_context_set_peer - Set a peer context.
273 * mlx5hws_table_create - Create a new direct rule table.
[all …]
/linux/arch/arc/include/asm/
H A Dbitops.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
23 * This is a pure count, so (1-32) or (0-31) doesn't apply
24 * It could be 0 to 32, based on num of 0's in there
50 r -= 16; in constant_fls()
54 r -= 8; in constant_fls()
58 r -= 4; in constant_fls()
62 r -= 2; in constant_fls()
65 r -= 1; in constant_fls()
71 * @result: [1-32]
[all …]
/linux/Documentation/fb/
H A Dapi.rst9 ---------------
12 with frame buffer devices. In-kernel APIs between device drivers and the frame
22 ---------------
36 - FB_CAP_FOURCC
38 The driver supports the four character code (FOURCC) based format setting API.
44 --------------------
46 Pixels are stored in memory in hardware-dependent formats. Applications need
58 - FB_TYPE_PACKED_PIXELS
67 - FB_TYPE_PLANES
75 - FB_TYPE_INTERLEAVED_PLANES
[all …]
/linux/Documentation/admin-guide/mm/damon/
H A Dreclaim.rst1 .. SPDX-License-Identifier: GPL-2.0
4 DAMON-based Reclamation
7 DAMON-based Reclamation (DAMON_RECLAIM) is a static kernel module that aimed to
9 It doesn't aim to replace the LRU-list based page_granularity reclamation, but
15 On general memory over-committed systems, proactively reclaiming cold pages
20 Free Pages Reporting [3]_ based memory over-commit virtualization systems are
24 guests could be not so memory-frugal, mainly because some kernel subsystems and
25 user-space applications are designed to use as much memory as available. Then,
54 -------
60 no real monitoring and reclamation due to the watermarks-based activation
[all …]
/linux/Documentation/iio/
H A Diio_dmabuf_api.rst1 .. SPDX-License-Identifier: GPL-2.0
4 High-speed DMABUF interface for IIO
11 file-based interface, with read() and write() access calls through the
14 It additionally supports a DMABUF based interface, where the userspace
20 zero-copy fashion, for instance between IIO and the USB stack.
22 The userspace application can also memory-map the DMABUF objects, and
25 kernel and userspace. This is particularly useful for high-speed devices
27 It does however increase the userspace-kernelspace synchronization
40 IIO buffer. Returns zero on success, and a negative errno value on
45 from the IIO buffer. Returns zero on success, and a negative errno
/linux/drivers/thermal/
H A Dcpuidle_cooling.c1 // SPDX-License-Identifier: GPL-2.0
21 * struct cpuidle_cooling_device - data for the idle cooling device
31 * cpuidle_cooling_runtime - Running time computation
33 * @state: a percentile based number
37 * means the running duration is zero. If we have a 50% ratio
43 * running = idle x ((100 / ratio) - 1)
47 * running = (idle x 100) / ratio - idle
52 * Return: An unsigned int for a usec based runtime duration.
60 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime()
64 * cpuidle_cooling_get_max_state - Get the maximum state
[all …]
/linux/drivers/usb/gadget/udc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks).
10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks).
11 # - Some systems have both kinds of controllers.
13 # With help from a special transceiver and a "Mini-AB" jack, systems with
14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
22 # - integrated/SOC controllers first
23 # - licensed IP used in both SOC and discrete versions
24 # - discrete ones (including all PCI-only controllers)
[all …]
/linux/fs/bcachefs/
H A Deytzinger.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * Traversal for trees in eytzinger layout - a full binary tree layed out in an
24 * Two variants are provided, for one based indexing and zero based indexing.
26 * Zero based indexing is more convenient, but one based indexing has better
56 return rounddown_pow_of_two(size + 1) - 1; in eytzinger1_last()
76 i <<= __fls(size + 1) - __fls(i); in eytzinger1_next()
92 i <<= __fls(size + 1) - __fls(i); in eytzinger1_prev()
93 i -= 1; in eytzinger1_prev()
105 ? (size + 1 - rounddown_pow_of_two(size)) << 1 in eytzinger1_extra()
113 unsigned shift = __fls(size) - b; in __eytzinger1_to_inorder()
[all …]
/linux/net/netlabel/
H A Dnetlabel_cipso_v4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Author: Paul Moore <paul@paul-moore.com>
13 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006
70 * netlbl_cipsov4_add_common - Parse the common sections of a ADD message
76 * in @doi_def. Returns zero on success, negative values on failure.
86 doi_def->doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]); in netlbl_cipsov4_add_common()
88 if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_TAGLST], in netlbl_cipsov4_add_common()
92 return -EINVAL; in netlbl_cipsov4_add_common()
94 nla_for_each_nested(nla, info->attrs[NLBL_CIPSOV4_A_TAGLST], nla_rem) in netlbl_cipsov4_add_common()
97 return -EINVAL; in netlbl_cipsov4_add_common()
[all …]
H A Dnetlabel_calipso.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Authors: Paul Moore <paul@paul-moore.com>
13 /* (c) Copyright Hewlett-Packard Development Company, L.P., 2006
60 * netlbl_calipso_ops_register - Register the CALIPSO operations
82 * netlbl_calipso_add_pass - Adds a CALIPSO pass DOI definition
87 * Create a new CALIPSO_MAP_PASS DOI definition based on the given ADD message
88 * and add it to the CALIPSO engine. Return zero on success and non-zero on
100 return -ENOMEM; in netlbl_calipso_add_pass()
101 doi_def->type = CALIPSO_MAP_PASS; in netlbl_calipso_add_pass()
102 doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_add_pass()
[all …]
/linux/Documentation/devicetree/bindings/mtd/
H A Dfsmc-nand.txt5 - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand"
6 - reg : Address range of the mtd chip
7 - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd"
10 - bank-width : Width (in bytes) of the device. If not present, the width
12 - nand-skip-bbtscan: Indicates the BBT scanning should be skipped
13 - timings: array of 6 bytes for NAND timings. The meanings of these bytes
16 are valid. Zero means one clockcycle, 15 means 16 clock
20 kept in Hi-Z (tristate) after the start of a write access.
21 Only valid for write transactions. Zero means zero cycles,
24 when writing) after the command deassertation. Zero means
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-helper.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
37 #include <asm/octeon/cvmx-config.h>
38 #include <asm/octeon/cvmx-fpa.h>
39 #include <asm/octeon/cvmx-wqe.h>
64 #include <asm/octeon/cvmx-helper-errata.h>
65 #include <asm/octeon/cvmx-helper-loop.h>
66 #include <asm/octeon/cvmx-helper-npi.h>
67 #include <asm/octeon/cvmx-helper-rgmii.h>
[all …]
H A Dcvmx-pko.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
37 * memory based locking instead. This locking has the advantage
44 * - PKO indexes are no longer stored in the FAU. A large
48 * - The PKO <b>use_locking</b> parameter can now have a global
52 * - PKO 3 word commands are now supported. Use
60 #include <asm/octeon/cvmx-fpa.h>
61 #include <asm/octeon/cvmx-pow.h>
62 #include <asm/octeon/cvmx-cmd-queue.h>
[all …]
/linux/Documentation/admin-guide/media/
H A Dtechnisat.rst1 .. SPDX-License-Identifier: GPL-2.0
13 -----------------------------
19 .. code-block:: none
21 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example:
29 -------------------
37 (except ``Simple tuner support`` for ATSC 3rd generation only -> see case 9 please).
41 - Main module part:
50 - Frontend / Tuner / Demodulator module part:
55 - SkyStar DVB-S Revision 2.3:
57 #) => ``Zarlink VP310/MT312/ZL10313 based``
[all …]
/linux/lib/
H A Dstackinit_kunit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Test cases for compiler-based stack variable zeroing via
4 * -ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
6 * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
7 * ./tools/testing/kunit/kunit.py run stackinit [--raw_output] \
8 * --make_option LLVM=1 \
9 * --kconfig_add CONFIG_INIT_STACK_ALL_ZERO=y
81 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
82 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
87 #define ZERO_CLONE_STRUCT(zero) \ argument
[all …]
/linux/Documentation/filesystems/ext4/
H A Dverity.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ------------
6 ext4 supports fs-verity, which is a filesystem feature that provides
7 Merkle tree based hashing for individual readonly files. Most of
8 fs-verity is common to all filesystems that support it; see
10 fs-verity documentation. However, the on-disk layout of the verity
11 metadata is filesystem-specific. On ext4, the verity metadata is
14 - Zero-padding to the next 65536-byte boundary. This padding need not
15 actually be allocated on-disk, i.e. it may be a hole.
17 - The Merkle tree, as documented in
[all …]
/linux/tools/testing/selftests/mm/
H A Dgup_test.c95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main()
97 char *file = "/dev/zero"; in main()
101 while ((opt = getopt(argc, argv, "m:r:n:F:f:abcj:tTLUuwWSHpz")) != -1) { in main()
116 * user's non-option arguments. in main()
118 * .which_pages is zero-based, so that zero can mean "do in main()
185 * ./gup_test -c 0 1 0x1001 in main()
193 * Do the 1-base in main()
[all...]
/linux/drivers/rtc/
H A Drtc-mxc_v2.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc.
26 #define SRTC_LPSR_NVES BIT(14) /* lp non-valid state exit status */
51 * The caller should hold the pdata->lock
63 if (!--timeout) { in mxc_rtc_sync_lp_locked()
76 void __iomem *ioaddr = pdata->ioaddr; in mxc_rtc_interrupt()
80 spin_lock(&pdata->lock); in mxc_rtc_interrupt()
81 if (clk_enable(pdata->clk)) { in mxc_rtc_interrupt()
82 spin_unlock(&pdata->lock); in mxc_rtc_interrupt()
92 rtc_update_irq(pdata->rtc, 1, RTC_AF | RTC_IRQF); in mxc_rtc_interrupt()
[all …]
/linux/arch/arm/include/asm/
H A Dhugetlb-3level.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/include/asm/hugetlb-3level.h
7 * Based on arch/x86/include/asm/hugetlb.h.
15 * If our huge pte is non-zero then mark the valid bit.
16 * This allows pte_present(huge_ptep_get(mm,addr,ptep)) to return true for non-zero
/linux/drivers/usb/core/
H A Dusb-acpi.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB-ACPI glue code
19 * usb_acpi_power_manageable - check whether usb port has
22 * @index: port index based zero
40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899"
44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port.
46 * @index: zero based port index
51 * Arg0: UUID = ce2ee385-00e6-48cb-9f05-2edb927c4899
73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); in usb_acpi_port_lpm_incapable()
74 return -ENODEV; in usb_acpi_port_lpm_incapable()
[all …]
/linux/arch/arm/mach-zynq/
H A Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2011-2013 Xilinx
8 * based on linux/arch/arm/mach-realview/platsmp.c
20 #include <linux/irqchip/arm-gic.h>
32 u32 trampoline_code_size = &zynq_secondary_trampoline_end - in zynq_cpun_start()
40 static u8 __iomem *zero; in zynq_cpun_start() local
41 u32 trampoline_size = &zynq_secondary_trampoline_jump - in zynq_cpun_start()
47 zero = ioremap(0, trampoline_code_size); in zynq_cpun_start()
48 if (!zero) { in zynq_cpun_start()
50 return -1; in zynq_cpun_start()
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dcpm.txt10 - compatible : "fsl,cpm1", "fsl,cpm2", or "fsl,qe".
11 - reg : A 48-byte region beginning with CPCR.
15 #address-cells = <1>;
16 #size-cells = <1>;
17 #interrupt-cells = <2>;
18 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
24 - fsl,cpm-command : This value is ORed with the opcode and command flag
27 - fsl,cpm-brg : Indicates which baud rate generator the device
29 should be dynamically allocated. If zero, the
32 - reg : Unless otherwise specified, the first resource represents the
[all …]
/linux/mm/
H A Dgup_test.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
30 * Each non-zero entry is the number of the page (1-based: first page is
31 * page 1, so that zero entries mean "do nothing") from the .addr base.
/linux/arch/powerpc/boot/
H A Dplanetcore.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 * Returns zero/NULL on failure, non-zero on success.
37 /* Updates the device tree local-mac-address properties based
42 /* Sets the linux,stdout-path in the /chosen node. This requires the
43 * linux,planetcore-label property in each serial node.

12345678910>>...42