/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_debugfs.c | 79 struct vcap_output_print *out) in sparx5_vcap_is0_port_keys() argument 84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys() 87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys() 92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys() 94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys() 96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys() 98 out->prf(out->dst, "\n etype: %s", in sparx5_vcap_is0_port_keys() 101 out->prf(out->dst, "\n ipv4: %s", in sparx5_vcap_is0_port_keys() 104 out->prf(out->dst, "\n ipv6: %s", in sparx5_vcap_is0_port_keys() 107 out->prf(out->dst, "\n mpls_uc: %s", in sparx5_vcap_is0_port_keys() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_debugfs.c | 10 struct vcap_output_print *out) in lan966x_vcap_is1_port_keys() argument 15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys() 19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys() 21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys() 23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys() 26 out->prf(out->dst, "\n Lookup %d: ", l); in lan966x_vcap_is1_port_keys() 28 out->prf(out->dst, "\n other: "); in lan966x_vcap_is1_port_keys() 31 out->prf(out->dst, "normal"); in lan966x_vcap_is1_port_keys() 34 out->prf(out->dst, "7tuple"); in lan966x_vcap_is1_port_keys() 37 out->prf(out->dst, "dbl_vid"); in lan966x_vcap_is1_port_keys() [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-fbstp.c | 20 unsigned char out[10]; in main() local 21 memset(out, 0xfe, sizeof out); in main() 22 __asm__ volatile ("fbstp %0" : "=m" (out) : "t" (-0.0L) : "st"); in main() 23 out[9] &= 0x80; in main() 24 if (memcmp(out, "\0\0\0\0\0\0\0\0\0\x80", sizeof out) != 0) { in main() 28 memset(out, 0x12, sizeof out); in main() 29 __asm__ volatile ("fbstp %0" : "=m" (out) : "t" (-0.1L) : "st"); in main() 30 out[9] &= 0x80; in main() 31 if (memcmp(out, "\0\0\0\0\0\0\0\0\0\x80", sizeof out) != 0) { in main() 35 memset(out, 0x1f, sizeof out); in main() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | uhci-debug.c | 46 char *out = buf; in uhci_show_td() local 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 53 out += sprintf(out, "e%d %s%s%s%s%s%s%s%s%s%sLength=%x ", in uhci_show_td() 66 if (out - buf > len) in uhci_show_td() 85 out += sprintf(out, "MaxLen=%x DT%d EndPt=%x Dev=%x, PID=%x(%s) ", in uhci_show_td() 92 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); in uhci_show_td() 95 if (out - buf > len) in uhci_show_td() 96 out += sprintf(out, " ...\n"); in uhci_show_td() 97 return out - buf; in uhci_show_td() 103 char *out = buf; in uhci_show_urbp() local [all …]
|
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmdebug.c | 237 int out = 0; in stringify_lockname() local 245 out += scnprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname() 249 out += scnprintf(buf + out, len - out, "%.*s", in stringify_lockname() 251 return out; in stringify_lockname() 257 int out = 0; in stringify_nodemap() local 261 out += scnprintf(buf + out, len - out, "%d ", i); in stringify_nodemap() 263 return out; in stringify_nodemap() 268 int out = 0; in dump_mle() local 278 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle() 279 out += scnprintf(buf + out, len - out, in dump_mle() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs.c | 23 struct vcap_output_print *out, in vcap_debugfs_show_rule_keyfield() argument 32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield() 37 out->prf(out->dst, "%d/%d", data->u1.value, data->u1.mask); in vcap_debugfs_show_rule_keyfield() 44 out->prf(out->dst, "%pI4h/%pI4h", &data->u32.value, in vcap_debugfs_show_rule_keyfield() 55 out->prf(out->dst, "%u/%u", data->u32.value & fmsk, in vcap_debugfs_show_rule_keyfield() 63 out->prf(out->dst, "%pMR/%pMR", data->u48.value, in vcap_debugfs_show_rule_keyfield() 98 out->prf(out->dst, "%pI6/%pI6", nvalue, nmask); in vcap_debugfs_show_rule_keyfield() 106 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_keyfield() 108 out->prf(out->dst, "%02x", value[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield() 109 out->prf(out->dst, "/0x"); in vcap_debugfs_show_rule_keyfield() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | data-convert-json.c | 36 FILE *out; member 42 static void output_json_string(FILE *out, const char *s) in output_json_string() argument 44 fputc('"', out); in output_json_string() 49 case '"': fputs("\\\"", out); break; in output_json_string() 50 case '\\': fputs("\\\\", out); break; in output_json_string() 51 case '\b': fputs("\\b", out); break; in output_json_string() 52 case '\f': fputs("\\f", out); break; in output_json_string() 53 case '\n': fputs("\\n", out); break; in output_json_string() 54 case '\r': fputs("\\r", out); break; in output_json_string() 55 case '\t': fputs("\\t", out); break; in output_json_string() [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/ |
H A D | test.sh | 43 out=() 44 expect_err 1 mac_to_bytes out '' 45 expect_err 1 mac_to_bytes out '00' 46 expect_err 1 mac_to_bytes out '12:34:56:78:90:' 47 expect_err 1 mac_to_bytes out ':12:34:56:78:90' 48 expect_err 1 mac_to_bytes out '12:34:56:78:90:0:' 49 expect_err 1 mac_to_bytes out '12:34:56:78:90:0:2' 51 expect_err 0 mac_to_bytes out 'a2:0:f:de:0:29' 53 expect_array_numeq out expected 67 out=() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_type_based.c | 14 char out[256]; member 112 struct core_reloc_type_based_output *out = (void *)&data.out; in test_core_type_based() local 114 out->struct_exists = bpf_core_type_exists(struct a_struct); in test_core_type_based() 115 out->complex_struct_exists = bpf_core_type_exists(struct a_complex_struct); in test_core_type_based() 116 out->union_exists = bpf_core_type_exists(union a_union); in test_core_type_based() 117 out->enum_exists = bpf_core_type_exists(enum an_enum); in test_core_type_based() 118 out->typedef_named_struct_exists = bpf_core_type_exists(named_struct_typedef); in test_core_type_based() 119 out->typedef_anon_struct_exists = bpf_core_type_exists(anon_struct_typedef); in test_core_type_based() 120 out->typedef_struct_ptr_exists = bpf_core_type_exists(struct_ptr_typedef); in test_core_type_based() 121 out->typedef_int_exists = bpf_core_type_exists(int_typedef); in test_core_type_based() [all …]
|
H A D | test_core_reloc_type_id.c | 14 char out[256]; member 86 struct core_reloc_type_id_output *out = (void *)&data.out; in test_core_type_id() local 88 out->local_anon_struct = bpf_core_type_id_local(struct { int marker_field; }); in test_core_type_id() 89 out->local_anon_union = bpf_core_type_id_local(union { int marker_field; }); in test_core_type_id() 90 out->local_anon_enum = bpf_core_type_id_local(enum { MARKER_ENUM_VAL = 123 }); in test_core_type_id() 91 out->local_anon_func_proto_ptr = bpf_core_type_id_local(_Bool(*)(int)); in test_core_type_id() 92 out->local_anon_void_ptr = bpf_core_type_id_local(void *); in test_core_type_id() 93 out->local_anon_arr = bpf_core_type_id_local(_Bool[47]); in test_core_type_id() 95 out->local_struct = bpf_core_type_id_local(struct a_struct); in test_core_type_id() 96 out->local_union = bpf_core_type_id_local(union a_union); in test_core_type_id() [all …]
|
/openbmc/linux/lib/ |
H A D | test-string_helpers.c | 36 const char *out; member 43 .out = "\f\\ \n\r\t\v", 48 .out = " \001\00387\0064\005 \\8aH?7", 53 .out = "\\xv\n,\ro2", 58 .out = "\\h\\\"\a\e\\", 73 goto out; in test_string_unescape() 85 s = strings[i].out; in test_string_unescape() 86 len = strlen(strings[i].out); in test_string_unescape() 108 out: in test_string_unescape() 115 const char *out; member [all …]
|
/openbmc/linux/fs/udf/ |
H A D | udfend.h | 10 struct kernel_lb_addr out; in lelb_to_cpu() local 12 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu() 13 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in lelb_to_cpu() 15 return out; in lelb_to_cpu() 20 struct lb_addr out; in cpu_to_lelb() local 22 out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in cpu_to_lelb() 23 out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in cpu_to_lelb() 25 return out; in cpu_to_lelb() 30 struct short_ad out; in lesa_to_cpu() local 32 out.extLength = le32_to_cpu(in.extLength); in lesa_to_cpu() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_vpu_if.c | 135 struct venc_ap_ipi_msg_init out; in vpu_enc_init() local 151 memset(&out, 0, sizeof(out)); in vpu_enc_init() 152 out.msg_id = AP_IPIMSG_ENC_INIT; in vpu_enc_init() 153 out.venc_inst = (unsigned long)vpu; in vpu_enc_init() 154 if (vpu_enc_send_msg(vpu, &out, sizeof(out))) { in vpu_enc_init() 194 struct venc_ap_ipi_msg_set_param_ext out; in vpu_enc_set_param() local 198 memset(&out, 0, sizeof(out)); in vpu_enc_set_param() 199 out.base.msg_id = AP_IPIMSG_ENC_SET_PARAM; in vpu_enc_set_param() 200 out.base.vpu_inst_addr = vpu->inst_addr; in vpu_enc_set_param() 201 out.base.param_id = id; in vpu_enc_set_param() [all …]
|
/openbmc/openbmc-tools/dbusView/ |
H A D | dbusView.py | 30 out = subprocess.check_output(busctl + "list --acquired", shell=True) 31 out = out.split(b"\n") 32 out = out[1:] 34 for line in out: 42 out = subprocess.check_output(busctl + "tree " + busname, shell=True) 43 out = out.split(b"\n") 45 for line in out: 53 out = subprocess.check_output( 56 return out.decode().split("\n") 61 out = header [all …]
|
/openbmc/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 118 } out; member 140 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 143 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 146 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 149 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 152 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 155 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 158 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 161 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 164 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_synproxy.c | 16 goto out; \ 21 static void escape_str(char *out, const char *in, size_t size) in escape_str() argument 28 *out++ = in[i]; in escape_str() 30 *out++ = '\\'; in escape_str() 31 *out++ = 'x'; in escape_str() 32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str() 33 *out++ = hex[in[i] & 0xf]; in escape_str() 36 *out++ = '\0'; in escape_str() 67 SYS(out, "ip netns add synproxy"); in test_synproxy() 69 SYS(out, "ip link add tmp0 type veth peer name tmp1"); in test_synproxy() [all …]
|
H A D | tailcalls.c | 30 goto out; in test_tailcall_1() 34 goto out; in test_tailcall_1() 38 goto out; in test_tailcall_1() 42 goto out; in test_tailcall_1() 49 goto out; in test_tailcall_1() 53 goto out; in test_tailcall_1() 57 goto out; in test_tailcall_1() 67 goto out; in test_tailcall_1() 79 goto out; in test_tailcall_1() 83 goto out; in test_tailcall_1() [all …]
|
/openbmc/u-boot/board/CZ.NIC/turris_mox/ |
H A D | mox_sp.c | 38 static int mbox_do_cmd(enum mbox_cmd cmd, u32 *out, int nout) in mbox_do_cmd() argument 61 out[i] = readl(RWTM_CMD_STATUS(i)); in mbox_do_cmd() 79 u32 out[16]; in mox_sp_get_ecdsa_public_key() local 85 res = mbox_do_cmd(MBOX_CMD_ECDSA_PUB_KEY, out, 16); in mox_sp_get_ecdsa_public_key() 91 (u32)res, out[0], out[1], out[2], out[3], out[4], out[5], in mox_sp_get_ecdsa_public_key() 92 out[6], out[7], out[8], out[9], out[10], out[11], out[12], in mox_sp_get_ecdsa_public_key() 93 out[13], out[14], out[15]); in mox_sp_get_ecdsa_public_key() 110 u32 out[8]; in mbox_sp_get_board_info() local 113 res = mbox_do_cmd(MBOX_CMD_BOARD_INFO, out, 8); in mbox_sp_get_board_info() 118 *sn = out[1]; in mbox_sp_get_board_info() [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | features.c | 35 out += snprintf(out, buf + size - out, \ 38 out += snprintf(out, buf + size - out, \ 42 out += snprintf(out, buf + size - out, " "); \ 45 out += snprintf(out, buf + size - out, "%s", f->string);\ 48 out += snprintf(out, buf + size - out, "]"); \ 53 out += snprintf(out, buf + size - out, "\n"); \ 58 char *out = buf; in bch_print_cache_set_feature_compat() local 60 return out - buf; in bch_print_cache_set_feature_compat() 65 char *out = buf; in bch_print_cache_set_feature_ro_compat() local 67 return out - buf; in bch_print_cache_set_feature_ro_compat() [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aesp10-ppc.pl | 120 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8)); 154 ${UCMP}i $out,0 155 beq- Lenc_key_abort # if ($out==0) return -1; 188 ?lvsr $outperm,0,$out 190 lvx $outhead,0,$out 207 stvx $stage,0,$out 208 addi $out,$out,16 227 stvx $stage,0,$out 228 addi $out,$out,16 244 stvx $stage,0,$out [all …]
|
/openbmc/qemu/audio/ |
H A D | spiceaudio.c | 95 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_init() local 109 out->active = 0; in line_out_init() 111 out->sin.base.sif = &playback_sif.base; in line_out_init() 112 qemu_spice.add_interface(&out->sin.base); in line_out_init() 114 spice_server_set_playback_rate(&out->sin, settings.freq); in line_out_init() 121 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_fini() local 123 spice_server_remove_interface (&out->sin.base); in line_out_fini() 128 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_get_free() local 130 return audio_rate_peek_bytes(&out->rate, &hw->info); in line_out_get_free() 135 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_get_buffer() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | port.c | 44 u32 *out = NULL; in mlx5_access_reg() local 49 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_access_reg() 50 if (!in || !out) in mlx5_access_reg() 51 goto out; in mlx5_access_reg() 61 err = mlx5_cmd_do(dev, in, inlen, out, outlen); in mlx5_access_reg() 63 err = mlx5_cmd_check(dev, err, in, out); in mlx5_access_reg() 65 goto out; in mlx5_access_reg() 67 data = MLX5_ADDR_OF(access_register_out, out, register_data); in mlx5_access_reg() 70 out: in mlx5_access_reg() 71 kvfree(out); in mlx5_access_reg() [all …]
|
/openbmc/bmcweb/src/ |
H A D | json_html_serializer.cpp | 64 static void dumpEscaped(std::string& out, const std::string& str) in dumpEscaped() argument 210 out.append(stringBuffer.data(), bytes); in dumpEscaped() 265 out.append(stringBuffer.data(), bytes); in dumpEscaped() 271 out.append(stringBuffer.data(), bytesAfterLastAccept); in dumpEscaped() 272 out += "\\ufffd"; in dumpEscaped() 306 void dumpInteger(std::string& out, NumberType number) in dumpInteger() argument 333 out += '0'; in dumpInteger() 396 out.append(numberbuffer.data(), nChars); in dumpInteger() 399 static void dumpfloat(std::string& out, double number) in dumpfloat() argument 404 out += "null"; in dumpfloat() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 255 s16 *out = output_block; in fwht() local 260 for (i = 0; i < 8; i++, tmp += stride, out += 8) { in fwht() 328 out[0] = workspace2[0] + workspace2[4]; in fwht() 329 out[1] = workspace2[0] - workspace2[4]; in fwht() 330 out[2] = workspace2[1] - workspace2[5]; in fwht() 331 out[3] = workspace2[1] + workspace2[5]; in fwht() 332 out[4] = workspace2[2] + workspace2[6]; in fwht() 333 out[5] = workspace2[2] - workspace2[6]; in fwht() 334 out[6] = workspace2[3] - workspace2[7]; in fwht() 335 out[7] = workspace2[3] + workspace2[7]; in fwht() [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | output.c | 20 int omapdss_output_set_device(struct omap_dss_device *out, in omapdss_output_set_device() argument 27 if (out->dst) { in omapdss_output_set_device() 29 out->dst->name); in omapdss_output_set_device() 34 if (out->output_type != dssdev->type) { in omapdss_output_set_device() 40 out->dst = dssdev; in omapdss_output_set_device() 41 dssdev->src = out; in omapdss_output_set_device() 53 int omapdss_output_unset_device(struct omap_dss_device *out) in omapdss_output_unset_device() argument 59 if (!out->dst) { in omapdss_output_unset_device() 65 if (out->dst->state != OMAP_DSS_DISPLAY_DISABLED) { in omapdss_output_unset_device() 67 out->dst->name); in omapdss_output_unset_device() [all …]
|