| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_vlan_modify.sh | 2 # SPDX-License-Identifier: GPL-2.0 108 check_fail $? "ping between two different vlans passed when should not" 111 check_fail $? "ping6 between two different vlans passed when should not" 119 check_err $? "ping between two different vlans failed when should not" 122 check_err $? "ping6 between two different vlans failed when should not" 135 check_fail $? "ping between two different vlans passed when should not" 138 check_fail $? "ping6 between two different vlans passed when should not" 146 check_err $? "ping between two different vlans failed when should not" 149 check_err $? "ping6 between two different vlans failed when should not"
|
| /linux/lib/tests/ |
| H A D | stackinit_kunit.c | 1 // 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}. 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 99 zero.two = 0; \ 116 #define __static_partial { .two = 0, } 118 .two = 0, \ [all …]
|
| /linux/drivers/iio/chemical/ |
| H A D | sps30_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 40 struct i2c_client *client = to_i2c_client(state->dev); in sps30_i2c_xfer() 45 * sending two i2c messages in a row we just send one by one. in sps30_i2c_xfer() 51 return -EIO; in sps30_i2c_xfer() 60 return -EIO; in sps30_i2c_xfer() 71 * PM1: upper two bytes, crc8, lower two bytes, crc8 in sps30_i2c_command() 72 * PM2P5: upper two bytes, crc8, lower two bytes, crc8 in sps30_i2c_command() 73 * PM4: upper two bytes, crc8, lower two bytes, crc8 in sps30_i2c_command() 74 * PM10: upper two bytes, crc8, lower two bytes, crc8 in sps30_i2c_command() 89 /* each two bytes are followed by a crc8 */ in sps30_i2c_command() [all …]
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_benchmark.c | 39 i = finish.tv_sec - start.tv_sec; in timing() 41 i += finish.tv_nsec - start.tv_nsec; in timing() 43 ksft_print_msg("%lu.%09lu - %lu.%09lu = %llu (%.1fs)\n", in timing() 71 i = finish.tv_sec - start.tv_sec; in calibrate() 73 i += finish.tv_nsec - start.tv_nsec; in calibrate() 86 double two = i_two, two_bump = two * 0.1; in approx() local 89 two_bump = two + MAX(two_bump, 2.0); in approx() 92 if (one == two || in approx() 93 (one > two in approx() 107 compare(const char * name_one,const char * name_eval,const char * name_two,unsigned long long one,bool (* eval)(int,int),unsigned long long two,bool skip) compare() argument [all...] |
| /linux/arch/arm/probes/kprobes/ |
| H A D | test-arm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/kernel/kprobes-test-arm.c 14 #include "test-core.h" 55 TEST_GROUP("Data-processing (register), (register-shifted register), (immediate)") in kprobe_arm_test_cases() 155 /* Data-processing with PC and a shift count in a register */ in kprobe_arm_test_cases() 167 /* Data-processing with PC as a target and status registers updated */ in kprobe_arm_test_cases() 175 /* Data-processing with SP as target */ in kprobe_arm_test_cases() 185 /* Data-processing with PC as target */ in kprobe_arm_test_cases() 186 TEST_BF( "add pc, pc, #2f-1b-8") in kprobe_arm_test_cases() 187 TEST_BF_R ("add pc, pc, r",14,2f-1f-8,"") in kprobe_arm_test_cases() [all …]
|
| /linux/Documentation/gpu/ |
| H A D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 ----- 30 ------ 39 ------------------- 47 -------------------------- 52 ----------------------------- 57 -------------------------------- 62 ------ 66 introduces Layer Split, which splits the whole image to two half parts and feeds 67 them to two Layers A and B, and does the scaling independently. After scaling [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | apm,xgene-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/apm,xgene-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: APM X-Gene 15Gbps Multi-purpose PHY 10 - Khuong Dinh <khuong@os.amperecomputing.com> 13 PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 19 - const: apm,xgene-phy 24 '#phy-cells': 32 apm,tx-eye-tuning: [all …]
|
| H A D | fsl,imx8qm-lvds-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8qm-lvds-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liu Ying <victor.liu@nxp.com> 14 It converts two groups of four 7/10 bits of CMOS data into two 15 groups of four data lanes of LVDS data streams. A phase-locked 19 through the two groups of LVDS data streams. Together with the 20 transmit clocks, the two groups of LVDS data streams form two 30 - fsl,imx8qm-lvds-phy [all …]
|
| /linux/tools/testing/selftests/exec/ |
| H A D | binfmt_script.py | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test that truncation of bprm->buf doesn't cause unexpected execs paths, along 33 # test - produce a binfmt_script hashbang line for testing 35 # @size: bytes for bprm->buf line, including hashbang but not newline 54 remaining = size - len(hashbang) - len(leading) - len(root) - len(target) - len(arg) 57 middle += fill * (NAME_MAX - 1) 59 remaining -= NAME_MAX 73 script = "binfmt_script-%s" % (name) 83 print("ok %d - binfmt_script %s (successful good exec)" 87 print("not ok %d - binfmt_script %s succeeded when it should have failed" [all …]
|
| /linux/net/l2tp/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Layer Two Tunneling Protocol (L2TP) 7 tristate "Layer Two Tunneling Protocol (L2TP)" 12 Layer Two Tunneling Protocol 18 possible to both end-users and applications. 54 Layer Two Tunneling Protocol Version 3 58 The Layer Two Tunneling Protocol (L2TP) provides a dynamic 60 packet-oriented data network (e.g., over IP). L2TP, as 62 tunneling Point-to-Point Protocol (PPP) [RFC1661] sessions. 75 Support for L2TP-over-IP socket family. [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | alps.rst | 1 ---------------------- 3 ---------------------- 6 ------------ 10 Since roughly mid-2010 several new ALPS touchpads have been released and 14 adequate. The design choices were to re-define the alps_model_data 29 --------- 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or 33 00-00-64 if no buttons are pressed. The bits 0-2 of the first byte will be 1s 37 report" sequence: E8-E7-E7-E7-E9. The response is the model signature and is 41 model signature is always 73-02-64. To differentiate between these [all …]
|
| /linux/tools/include/linux/ |
| H A D | log2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * non-constant log of base 2 calculators 16 * - the arch may override these in asm/bitops.h if they can be implemented 18 * - the arch is not required to handle n==0 if implementing the fallback 23 return fls(n) - 1; in __ilog2_u32() 29 return fls64(n) - 1; in __ilog2_u64() 33 * Determine whether some value is a power of two, where zero is 34 * *not* considered a power of two. 40 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() 44 * round up to nearest power of two [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | edac.rst | 5 ---------------------------------------- 8 *sockets, *socket sets*, *banks*, *rows*, *chip-select rows*, *channels*, 43 It is typically the highest hierarchy on a Fully-Buffered DIMM memory 44 controller. Typically, it contains two channels. Two channels at the 49 is calculated using two DIMMs instead of one. Due to that, it is capable 52 * Single-channel 55 only. E. g. if the data is 64 bits-wide, the data flows to the CPU using 57 memories. FB-DIMM and RAMBUS use a different concept for channel, so 60 * Double-channel 62 The data size accessed by the memory controller is interlaced into two [all …]
|
| /linux/tools/lib/ |
| H A D | list_sort.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * to chaining of merge() calls: null-terminated, no reserved or 19 /* if equal, take 'a' -- important for sort stability */ in merge() 22 tail = &a->next; in merge() 23 a = a->next; in merge() 30 tail = &b->next; in merge() 31 b = b->next; in merge() 42 * Combine final list merge with restoration of standard doubly-linked 45 * prev-link restoration pass, or maintaining the prev links 55 /* if equal, take 'a' -- important for sort stability */ in merge_final() [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | fsl,imx8qxp-ldb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liu Ying <victor.liu@nxp.com> 13 The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels. 20 format and can map the input to VESA or JEIDA standards. The two channels 22 them to use. Two LDB channels from two LDB instances can work together in 28 input color format. The two channels can be used simultaneously, either 29 in dual mode or split mode. In dual mode, the two channels output identical [all …]
|
| /linux/include/kunit/ |
| H A D | assert.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * enum kunit_assert_type - Type of expectation/assertion. 32 * struct kunit_loc - Identifies the source location of a line of code. 44 * struct kunit_assert - Data for printing a failed assertion or expectation. 60 * struct kunit_fail_assert - Represents a plain fail expectation/assertion. 74 * struct kunit_unary_assert - Represents a KUNIT_{EXPECT|ASSERT}_{TRUE|FALSE} 94 * struct kunit_ptr_not_err_assert - An expectation/assertion that a pointer is 95 * not NULL and not a -errno. 101 * not contain a -errno. (See IS_ERR_OR_NULL().) 114 * struct kunit_binary_assert_text - holds strings for &struct [all …]
|
| /linux/include/uapi/linux/netfilter_bridge/ |
| H A D | ebt_802_3.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 * Control field may be one or two bytes. If the first byte has 21 * the value 0x03 then the entire length is one byte, otherwise it is two. 23 * Two byte controls are used in Numbered Information frames. 29 /* ui has one byte ctrl, ni has two */
|
| /linux/drivers/video/fbdev/ |
| H A D | bt431.h | 4 * Copyright 2003 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 5 * Copyright 2016 Maciej W. Rozycki <macro@linux-mips.org> 16 * Bt431 cursor generator registers, 32-bit aligned. 17 * Two twin Bt431 are used on the DECstation's PMAG-AA. 79 * The compiler splits the write in two bytes without these in bt431_select_reg() 82 volatile u16 *lo = &(regs->addr_lo); in bt431_select_reg() 83 volatile u16 *hi = &(regs->addr_hi); in bt431_select_reg() 95 * The compiler splits the write in two bytes without the in bt431_read_reg_inc() 98 volatile u16 *r = &(regs->addr_reg); in bt431_read_reg_inc() 107 * The compiler splits the write in two bytes without the in bt431_write_reg_inc() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | lm93.rst | 10 Addresses scanned: I2C 0x2c-0x2e 18 Addresses scanned: I2C 0x2c-0x2e 24 - Mark M. Hoffman <mhoffman@lightlink.com> 25 - Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com> 26 - Adapted to 2.6.20 by Carsten Emde <ce@osadl.org> 27 - Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de> 30 ----------------- 33 Set to non-zero to force some initializations (default is 0). 38 Configures in7 and in8 limit type, where 0 means absolute and non-zero 54 -------------------- [all …]
|
| /linux/include/linux/ |
| H A D | log2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * non-constant log of base 2 calculators 16 * - the arch may override these in asm/bitops.h if they can be implemented 18 * - the arch is not required to handle n==0 if implementing the fallback 24 return fls(n) - 1; in __ilog2_u32() 32 return fls64(n) - 1; in __ilog2_u64() 37 * is_power_of_2() - check if a value is a power of two 40 * Determine whether some value is a power of two, where zero is 41 * *not* considered a power of two. 47 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() [all …]
|
| /linux/Documentation/maintainer/ |
| H A D | messy-diffstat.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Handling messy pull-request diffstats 7 Subsystem maintainers routinely use ``git request-pull`` as part of the 17 .. _Linus1: https://lore.kernel.org/lkml/CAHk-=wg3wXH2JNxkQi+eLZkpuxqV+wPiHhw_Jf7ViH33Sw7PHA@mail.g… 18 .. _Linus2: https://lore.kernel.org/lkml/CAHk-=wgXbSa8yq8Dht8at+gxb_idnJ7X5qWZQWRBN4_CUPr=eQ@mail.g… 23 ... vM --- vN-rc1 --- vN-rc2 --- vN-rc3 --- ... --- vN-rc7 --- vN 25 If one wants to see what has changed between two points, a command like 28 $ git diff --stat --summary vN-rc2..vN-rc3 30 Here, there are two clear points in the history; Git will essentially 38 ... vM --- vN-rc1 --- vN-rc2 --- vN-rc3 --- ... --- vN-rc7 --- vN [all …]
|
| /linux/include/media/i2c/ |
| H A D | upd64083.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines 11 /* There are two bits of information that the driver needs in order 15 The first two operating modes expect a composite signal on the Y input, 16 the second two operatin [all...] |
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | unstriped.rst | 2 Device-mapper "unstriped" target 8 The device-mapper "unstriped" target provides a transparent mechanism to 9 unstripe a device-mapper "striped" target to access the underlying disks 10 without having to touch the true backing block-device. It can also be 11 used to unstripe a hardware RAID-0 to access backing disks. 33 An example of undoing an existing dm-stripe 34 ------------------------------------------- 47 SEQ_END=$((${NUM}-1)) 56 dd if=/dev/zero of=member-${i} bs=${MEMBER_SIZE} count=1 oflag=direct 57 losetup /dev/loop${i} member-${i} [all …]
|
| /linux/Documentation/arch/arm64/ |
| H A D | pointer-authentication.rst | 7 Date: 2017-07-19 14 --------------------- 27 of high-order bits of the pointer, which varies dependent on the 36 The extension provides five separate keys to generate PACs - two for 37 instruction addresses (APIAKey, APIBKey), two for data addresses 42 ------------- 69 --------- 78 bits can vary between the two. Note that the masks apply to TTBR0 89 -------------- 93 requesting these two separate cpu features to be enabled. The current KVM [all …]
|
| /linux/lib/xz/ |
| H A D | xz_lzma2.h | 1 /* SPDX-License-Identifier: 0BSD */ 7 * Igor Pavlov <https://7-zip.org/> 33 * - Literal: One 8-bit byte 34 * - Match: Repeat a chunk of data at some distance 35 * - Long repeat: Multi-byte match at a recently seen distance 36 * - Short repeat: One-byte repeat at a recently seen distance 39 * either short or long repeated match, and NONLIT means any non-literal. 68 *state -= 3; in lzma_state_literal() 70 *state -= 6; in lzma_state_literal() 98 * - 0x001-0x0FF: Without match byte [all …]
|