Home
last modified time | relevance | path

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

12345678910>>...47

/linux-6.8/Documentation/devicetree/bindings/arm/bcm/
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-6.8/arch/arc/include/asm/
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-6.8/Documentation/fb/
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-6.8/drivers/thermal/
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-6.8/drivers/usb/gadget/udc/
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-6.8/Documentation/devicetree/bindings/mtd/
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-6.8/net/netlabel/
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 …]
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-6.8/arch/mips/include/asm/octeon/
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 …]
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-6.8/Documentation/admin-guide/media/
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-6.8/arch/arm/include/asm/
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(ptep)) to return true for non-zero
/linux-6.8/Documentation/filesystems/ext4/
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-6.8/drivers/usb/core/
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-6.8/tools/testing/selftests/bpf/
Dtest_dev_cgroup.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #define TEST_CGROUP "/test-bpf-based-device-cgroup/"
57 /* All operations with /dev/zero and and /dev/urandom are allowed, in main()
60 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main()
62 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main()
64 /* /dev/zero is whitelisted */ in main()
65 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main()
67 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main()
69 assert(system("dd if=/dev/urandom of=/dev/zero count=64") == 0); in main()
75 assert(system("dd if=/dev/random of=/dev/zero count=64")); in main()
/linux-6.8/tools/testing/selftests/mm/
Dgup_test.c94 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main()
96 char *file = "/dev/zero"; in main()
100 while ((opt = getopt(argc, argv, "m:r:n:F:f:abcj:tTLUuwWSHpz")) != -1) { in main()
115 * user's non-option arguments. in main()
117 * .which_pages is zero-based, so that zero can mean "do in main()
184 * ./gup_test -c 0 1 0x1001 in main()
192 * Do the 1-based indexing here, so that the user can in main()
193 * use normal 0-based indexing on the command line. in main()
215 if (gup_fd == -1) { in main()
/linux-6.8/arch/arm/mach-zynq/
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-6.8/drivers/rtc/
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-6.8/mm/
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-6.8/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
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-6.8/arch/powerpc/boot/
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.
/linux-6.8/Documentation/devicetree/bindings/mips/ingenic/
Ddevices.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic XBurst based Platforms
10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
21 - description: Qi Hardware Ben NanoNote
23 - const: qi,lb60
24 - const: ingenic,jz4740
26 - description: YLM RetroMini RS-90
28 - const: ylm,rs90
[all …]
/linux-6.8/drivers/clk/
Dclk-fractional-divider_test.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/clk-provider.h>
8 #include "clk-fractional-divider.h"
24 fd->mwidth = 3; in clk_fd_test_approximation_max_denominator()
25 fd->nwidth = 3; in clk_fd_test_approximation_max_denominator()
32 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_denominator()
53 fd->mwidth = 3; in clk_fd_test_approximation_max_numerator()
55 fd->nwidth = 3; in clk_fd_test_approximation_max_numerator()
61 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_numerator()
69 * Test the maximum denominator case for zero based fd clock.
[all …]
/linux-6.8/include/linux/
Dptp_clock_kernel.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * struct ptp_clock_request - request PTP clock event
47 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp
57 * struct ptp_clock_info - describes a PTP hardware clock
61 * help distinguish PHY based devices from MAC based ones.
141 * parameter on: Caller passes one to enable or zero to disable.
149 * zero if the function can be assigned to this pin, and
163 * The callbacks must all return zero on success, non-zero otherwise.
208 * struct ptp_clock_event - decribes a PTP hardware clock event
226 * scaled_ppm_to_ppb() - convert scaled ppm to ppb
[all …]
/linux-6.8/arch/arm/mach-s3c/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
5 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
13 Base platform code for all Samsung SoC based systems
29 int "S3C UART to use for low-level messages"
33 Choice of which UART port to use for the low-level messages,
35 this configuration should be between zero and two. The port
36 must have been initialised by the boot-loader before use.
42 This option enables ATAGS based boot support code for
46 Platforms that support only DT based boot need not to select
106 Compile in platform device definition for USB high-speed OtG
[all …]

12345678910>>...47