/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_transition.c | 34 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp2_transition() 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_transition() 39 if (input->hdcp2version_read != PASS || in mod_hdcp_hdcp2_transition() 40 input->hdcp2_capable_check != PASS) { in mod_hdcp_hdcp2_transition() 41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 50 if (input->create_session != PASS || in mod_hdcp_hdcp2_transition() 51 input->ake_init_prepare != PASS) { in mod_hdcp_hdcp2_transition() 53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 56 } else if (input->ake_init_write != PASS) { in mod_hdcp_hdcp2_transition() 65 if (input->ake_cert_available != PASS) { in mod_hdcp_hdcp2_transition() [all …]
|
H A D | hdcp1_transition.c | 34 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp1_transition() 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_transition() 39 if (input->bksv_read != PASS || input->bcaps_read != PASS) { in mod_hdcp_hdcp1_transition() 40 /* 1A-04: repeatedly attempts on port access failure */ in mod_hdcp_hdcp1_transition() 49 if (input->create_session != PASS) { in mod_hdcp_hdcp1_transition() 51 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_transition() 54 } else if (input->an_write != PASS || in mod_hdcp_hdcp1_transition() 55 input->aksv_write != PASS || in mod_hdcp_hdcp1_transition() 56 input->bksv_read != PASS || in mod_hdcp_hdcp1_transition() 57 input->bksv_validation != PASS || in mod_hdcp_hdcp1_transition() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | time-utils-test.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "time-utils.h" 73 .first_sample_time = d->first, in test__perf_time__parse_for_ranges() 74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges() 79 bool pass = false; in test__perf_time__parse_for_ranges() local 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 86 d->first, d->last); in test__perf_time__parse_for_ranges() 88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges() 95 if (range_size < d->num || range_num != d->num) { in test__perf_time__parse_for_ranges() [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | matchall.json | 4 "name": "Add ingress matchall filter for protocol ipv4 and action PASS", 13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 16 …Pattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 b… 17 "matchCount": "1", 25 "name": "Add egress matchall filter for protocol ipv4 and action PASS", 32 "$TC qdisc add dev $DUMMY root handle 1: prio" string 34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … [all …]
|
H A D | fw.json | 4 "name": "Add fw filter with prio at 32-bit maxixum", 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", 19 "matchCount": "1", 26 "name": "Add fw filter with prio exceeding 32-bit maxixum", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass", 164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | octeon-model.c | 7 * Copyright (c) 2003-2017 Cavium, Inc. 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 * Returns fuse value: 0 or 1 45 read_cmd.s.pend = 1; in cvmx_fuse_read_byte() 55 * as running early in u-boot static/global variables don't work when 63 char pass[4]; in octeon_model_get_string_buffer() local 83 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() 84 fus_dat3.s.nozip = 1; in octeon_model_get_string_buffer() 87 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_migrate_reuseport.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * 1. If reuse_md->migrating_sk is NULL (SYN packet), 7 * 2. If reuse_md->migrating_sk is not NULL (socket migration), 47 void *data_end = (void *)(long)xdp->data_end; in drop_ack() 48 void *data = (void *)(long)xdp->data; in drop_ack() 52 if (eth + 1 > data_end) in drop_ack() 53 goto pass; in drop_ack() 55 switch (bpf_ntohs(eth->h_proto)) { in drop_ack() 57 struct iphdr *ip = (struct iphdr *)(eth + 1); in drop_ack() 59 if (ip + 1 > data_end) in drop_ack() [all …]
|
H A D | verifier_ctx.c | 1 // SPDX-License-Identifier: GPL-2.0 33 offsetof(struct __sk_buff, data) - offsetof(struct __sk_buff, mark)), in make_ptr_to_ctx_unusable() 39 __description("pass unmodified ctx pointer to helper") 54 __description("pass modified ctx pointer to helper, 1") 55 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 59 r1 += -612; \ in ctx_pointer_to_helper_1() 70 __description("pass modified ctx pointer to helper, 2") 71 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 72 __failure_unpriv __msg_unpriv("negative offset ctx ptr R1 off=-612 disallowed") 76 r1 += -612; \ in ctx_pointer_to_helper_2() [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | ctinfo.json | 13 1, 20 "matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 10 ref", 21 "matchCount": "1", 37 1, 44 …"matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 100 ref.*dscp 0xfc000000 0x0100000… 45 "matchCount": "1", 61 1, 65 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1", 67 "verifyCmd": "$TC action get action ctinfo index 1", 68 "matchPattern": "action order [0-9]*: ctinfo zone 1 pipe.*index 1 ref.*cpmark 0x01000000", [all …]
|
H A D | connmark.json | 13 1, 20 "matchPattern": "action order [0-9]+: connmark zone 0 pipe", 21 "matchCount": "1", 28 "name": "Add valid connmark action with control pass", 37 1, 41 "cmdUnderTest": "$TC actions add action connmark pass index 1", 43 "verifyCmd": "$TC actions get action connmark index 1", 44 "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 1 ref", 45 "matchCount": "1", 61 1, [all …]
|
H A D | gact.json | 4 "name": "Add valid pass action", 13 1, 17 "cmdUnderTest": "$TC actions add action pass index 8", 20 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 21 "matchCount": "1", 37 1, 44 "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref", 45 "matchCount": "1", 61 1, 68 "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref", [all …]
|
H A D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 13 1, 17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 20 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 21 "matchCount": "1", 37 1, 44 … "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 45 "matchCount": "1", 61 1, 68 …"matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*inde… [all …]
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <asm/asm-compat.h> 28 if (!exit_addr || is_offset_in_branch_range(exit_addr - (ctx->idx * 4))) { in bpf_jit_emit_exit_insn() 30 } else if (ctx->alt_exit_addr) { in bpf_jit_emit_exit_insn() 31 if (WARN_ON(!is_offset_in_branch_range((long)ctx->alt_exit_addr - (ctx->idx * 4)))) in bpf_jit_emit_exit_insn() 32 return -1; in bpf_jit_emit_exit_insn() 33 PPC_JMP(ctx->alt_exit_addr); in bpf_jit_emit_exit_insn() 35 ctx->alt_exit_addr = ctx->idx * 4; in bpf_jit_emit_exit_insn() 64 int pass; in bpf_int_jit_compile() local 74 if (!fp->jit_requested) in bpf_int_jit_compile() [all …]
|
/openbmc/linux/arch/mips/include/asm/sibyte/ |
H A D | sb1250_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * SB1250 specification level: User's manual 1/02/02 24 * 'long long' (64-bit integer) support. 45 * #if SIBYTE_HDR_FEATURE(chip,pass) 54 * Note also that 'chip' and 'pass' must textually exactly 59 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 64 * #if SIBYTE_HDR_FEATURE_EXACT(chip,pass) 98 #define SIBYTE_HDR_FMASK(chip, pass) \ argument 99 (SIBYTE_HDR_FMASK_ ## chip ## _ ## pass) 121 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | sctp_vrf.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # TOPO: CLIENT_NS1 (veth1) <---> (veth1) -> vrf_s1 7 # CLIENT_NS2 (veth1) <---> (veth2) -> vrf_s2 9 CLIENT_NS1="client-ns1" 10 CLIENT_NS2="client-ns2" 12 CLIENT_IP6="2000::1" 15 SERVER_NS="server-ns" 27 ip net exec $CLIENT_NS1 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 28 ip net exec $CLIENT_NS2 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 29 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | TdcPlugin.py | 6 print(' -- {}.__init__'.format(self.sub_class)) 12 if self.args.verbose > 1: 13 print(' -- {}.pre_suite'.format(self.sub_class)) 18 if self.args.verbose > 1: 19 print(' -- {}.post_suite'.format(self.sub_class)) 23 if self.args.verbose > 1: 24 print(' -- {}.pre_case'.format(self.sub_class)) 30 if self.args.verbose > 1: 31 print(' -- {}.post_case'.format(self.sub_class)) 34 '''run command before test-runner does the execute step''' [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
H A D | 0013-raddb-certs-Makefile-fix-the-occasional-verification.patch | 11 openssl pkcs12 -in server.p12 -out server.pem -passin pass:'whatever' -passout pass:'whatever' 15 …sa routines:rsa_ossl_public_decrypt:data too large for modulus:../openssl-1.1.1g/crypto/rsa/rsa_os… 16 140066667427072:error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib:../openssl-1.1.1g/cr… 21 execute "openssl verify -CAfile ca.pem server.pem", so add to check 24 Upstream-Status: Pending 26 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 27 --- 28 raddb/certs/Makefile | 30 +++++++++++++++--------------- 29 1 file changed, 15 insertions(+), 15 deletions(-) 31 diff --git a/raddb/certs/Makefile b/raddb/certs/Makefile [all …]
|
/openbmc/u-boot/test/fs/ |
H A D | fs-test.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 6 # Invoke this test script from U-Boot base directory as ./test/fs/fs-test.sh 10 # fs-test.sb.ext4 Summary: PASS: 24 FAIL: 0 11 # fs-test.nonfs.ext4 Summary: PASS: 24 FAIL: 0 12 # fs-test.fs.ext4 Summary: PASS: 24 FAIL: 0 14 # fs-test.sb.fat16 Summary: PASS: 24 FAIL: 0 15 # fs-test.nonfs.fat16 Summary: PASS: 24 FAIL: 0 16 # fs-test.fs.fat16 Summary: PASS: 24 FAIL: 0 18 # fs-test.sb.fat32 Summary: PASS: 24 FAIL: 0 19 # fs-test.nonfs.fat32 Summary: PASS: 24 FAIL: 0 [all …]
|
/openbmc/qemu/tests/rocker/ |
H A D | all | 3 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 7 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 10 ./bridge-stp 11 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 14 ./bridge-vlan 15 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 18 ./bridge-vlan-stp 19 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_wrr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * IPVS: Weighted Round-Robin Scheduling module 10 * Wensong Zhang : changed for the d-linked destination list 28 * - mw: maximum weight 29 * - di: weight step, greatest common divisor from all weights 30 * - cw: current required weight 35 * Last pass should be with cw = di. We have mw/di passes in total: 37 * pass 1: cw = max weight 38 * pass 2: cw = max weight - di 39 * pass 3: cw = max weight - 2 * di [all …]
|
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_i2c.c | 1 // SPDX-License-Identifier: MIT 13 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 32 struct ast_device *ast = to_ast_device(i2c->dev); in ast_i2c_setsda() 37 ujcrb7 = ((data & 0x01) ? 0 : 1) << 2; in ast_i2c_setsda() 48 struct ast_device *ast = to_ast_device(i2c->dev); in ast_i2c_setscl() 53 ujcrb7 = ((clock & 0x01) ? 0 : 1); in ast_i2c_setscl() 64 struct ast_device *ast = to_ast_device(i2c->dev); in ast_i2c_getsda() 65 uint32_t val, val2, count, pass; in ast_i2c_getsda() local 68 pass = 0; in ast_i2c_getsda() 73 pass++; in ast_i2c_getsda() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/ |
H A D | 0001-test_functionality-convert-line-endings-to-Unix.patch | 3 Date: Sun, 24 Dec 2023 09:41:57 -0800 4 Subject: [PATCH 1/2] test_functionality: convert line endings to Unix 9 Upstream-Status: Submitted [https://github.com/sumerc/yappi/pull/164] 11 Signed-off-by: Tim Orling <tim.orling@konsulko.com> 12 --- 13 tests/test_functionality.py | 3822 +++++++++++++++++------------------ 14 1 file changed, 1911 insertions(+), 1911 deletions(-) 16 diff --git a/tests/test_functionality.py b/tests/test_functionality.py 18 --- a/tests/test_functionality.py 20 @@ -1,1911 +1,1911 @@ [all …]
|
/openbmc/linux/fs/jbd2/ |
H A D | recovery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright 1999-2000 Red Hat Software --- All Rights Reserved 40 struct recovery_info *info, enum passtype pass); 49 while (--n >= 0) in journal_brelse_array() 62 * the readahead size, though. 128K is a purely arbitrary, good-enough 77 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead() 78 if (max > journal->j_total_len) in do_readahead() 79 max = journal->j_total_len; in do_readahead() 95 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead() 97 err = -ENOMEM; in do_readahead() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/ |
H A D | 0004-lxdm.c-add-function-to-change-password-with-pam.patch | 9 Upstream-Status: Submitted [https://sourceforge.net/p/lxdm/code/merge-requests/1/] 11 Signed-off-by: Kai Kang <kai.kang@windriver.com> 12 --- 14 src/lxdm.h | 1 + 17 diff --git a/src/lxdm.c b/src/lxdm.c 19 --- a/src/lxdm.c 21 @@ -104,6 +104,10 @@ static int old_tty=1,def_tty = 7,nr_tty=0; 32 @@ -759,6 +763,69 @@ int lxdm_auth_user(int type,char *user, char *pass, struct passwd **ppw) 47 + switch (msg[i]->msg_style) { 51 + resp[i]->resp = strdup(new_passwd); [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/bzip2/bzip2/ |
H A D | Makefile.am | 3 libbz2_la_LDFLAGS = -version-info 1:8:0 27 man_MANS = bzip2.1 bzgrep.1 bzmore.1 bzdiff.1 31 ./bzip2 -1 < sample1.ref > sample1.rb2 32 ./bzip2 -2 < sample2.ref > sample2.rb2 33 ./bzip2 -3 < sample3.ref > sample3.rb2 34 ./bzip2 -d < sample1.bz2 > sample1.tst 35 ./bzip2 -d < sample2.bz2 > sample2.tst 36 ./bzip2 -ds < sample3.bz2 > sample3.tst 37 @if cmp sample1.bz2 sample1.rb2; then echo "PASS: sample1 compress";\ 39 @if cmp sample2.bz2 sample2.rb2; then echo "PASS: sample2 compress";\ [all …]
|