/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | output.c | 22 struct tegra_output *output = connector_to_output(connector); in tegra_output_connector_get_modes() local 30 if (output->panel) { in tegra_output_connector_get_modes() 31 err = drm_panel_get_modes(output->panel, connector); in tegra_output_connector_get_modes() 36 if (output->edid) in tegra_output_connector_get_modes() 37 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL); in tegra_output_connector_get_modes() 38 else if (output->ddc) in tegra_output_connector_get_modes() 39 edid = drm_get_edid(connector, output->ddc); in tegra_output_connector_get_modes() 41 cec_notifier_set_phys_addr_from_edid(output->cec, edid); in tegra_output_connector_get_modes() 55 struct tegra_output *output = connector_to_output(connector); in tegra_output_connector_detect() local 58 if (output->hpd_gpio) { in tegra_output_connector_detect() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_transition.c | 31 struct mod_hdcp_output *output) in mod_hdcp_hdcp2_transition() argument 42 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 43 set_state_id(hdcp, output, HDCP_INITIALIZED); in mod_hdcp_hdcp2_transition() 45 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 46 set_state_id(hdcp, output, H2_A1_SEND_AKE_INIT); in mod_hdcp_hdcp2_transition() 54 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 57 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 60 set_watchdog_in_ms(hdcp, 100, output); in mod_hdcp_hdcp2_transition() 61 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 62 set_state_id(hdcp, output, H2_A1_VALIDATE_AKE_CERT); in mod_hdcp_hdcp2_transition() [all …]
|
H A D | hdcp1_transition.c | 31 struct mod_hdcp_output *output) in mod_hdcp_hdcp1_transition() argument 41 callback_in_ms(500, output); in mod_hdcp_hdcp1_transition() 45 callback_in_ms(0, output); in mod_hdcp_hdcp1_transition() 46 set_state_id(hdcp, output, H1_A1_EXCHANGE_KSVS); in mod_hdcp_hdcp1_transition() 52 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 60 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 63 callback_in_ms(300, output); in mod_hdcp_hdcp1_transition() 64 set_state_id(hdcp, output, in mod_hdcp_hdcp1_transition() 70 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 79 fail_and_restart_in_ms(1000, &status, output); in mod_hdcp_hdcp1_transition() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-gen1.c | 39 struct vfe_output *output = &line->output; in vfe_disable_output() local 47 output->gen1.wait_sof = 1; in vfe_disable_output() 50 time = wait_for_completion_timeout(&output->sof, msecs_to_jiffies(VFE_NEXT_SOF_MS)); in vfe_disable_output() 55 for (i = 0; i < output->wm_num; i++) in vfe_disable_output() 56 vfe->ops_gen1->wm_enable(vfe, output->wm_idx[i], 0); in vfe_disable_output() 59 output->wait_reg_update = 1; in vfe_disable_output() 62 time = wait_for_completion_timeout(&output->reg_update, msecs_to_jiffies(VFE_NEXT_SOF_MS)); in vfe_disable_output() 69 vfe->ops_gen1->wm_frame_based(vfe, output->wm_idx[0], 0); in vfe_disable_output() 70 vfe->ops_gen1->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], line->id); in vfe_disable_output() 71 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output() [all …]
|
/openbmc/libbej/src/ |
H A D | bej_encoder_core.c | 13 struct BejEncoderOutputHandler* output) in bejEncodeNnint() argument 17 RETURN_IF_IERROR(output->recvOutput(&nnintLengthByte, sizeof(uint8_t), in bejEncodeNnint() 18 output->handlerContext)); in bejEncodeNnint() 20 return output->recvOutput(&value, nnintLengthByte, output->handlerContext); in bejEncodeNnint() 27 struct BejEncoderOutputHandler* output) in bejEncodeFormat() argument 29 return output->recvOutput(format, sizeof(struct BejTupleF), in bejEncodeFormat() 30 output->handlerContext); in bejEncodeFormat() 37 struct BejEncoderOutputHandler* output) in bejEncodeBejSetOrArray() argument 40 RETURN_IF_IERROR(bejEncodeNnint(node->metaData.sequenceNumber, output)); in bejEncodeBejSetOrArray() 42 RETURN_IF_IERROR(bejEncodeFormat(&node->nodeAttr.format, output)); in bejEncodeBejSetOrArray() [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | sensors_json_unittest.cpp | 22 auto output = buildSensorsFromJson(j2); in TEST() local 23 EXPECT_TRUE(output.empty()); in TEST() 43 auto output = buildSensorsFromJson(j2); in TEST() local 44 EXPECT_EQ(static_cast<u_int64_t>(1), output.size()); in TEST() 45 EXPECT_EQ(output["fan1"].type, "fan"); in TEST() 46 EXPECT_EQ(output["fan1"].readPath, in TEST() 48 EXPECT_EQ(output["fan1"].writePath, in TEST() 51 EXPECT_EQ(output["fan1"].min, 0); in TEST() 52 EXPECT_EQ(output["fan1"].max, 255); in TEST() 53 EXPECT_EQ(output["fan1"].timeout, in TEST() [all …]
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 775 void printCommonPDRHeader(const pldm_pdr_hdr* hdr, ordered_json& output) in printCommonPDRHeader() argument 777 output["recordHandle"] = hdr->record_handle; in printCommonPDRHeader() 778 output["PDRHeaderVersion"] = unsigned(hdr->version); in printCommonPDRHeader() 779 output["PDRType"] = getPDRType(hdr->type); in printCommonPDRHeader() 780 output["recordChangeNumber"] = hdr->record_change_num; in printCommonPDRHeader() 781 output["dataLength"] = hdr->length; in printCommonPDRHeader() 807 void printStateSensorPDR(const uint8_t* data, ordered_json& output) in printStateSensorPDR() argument 810 output["PLDMTerminusHandle"] = pdr->terminus_handle; in printStateSensorPDR() 811 output["sensorID"] = pdr->sensor_id; in printStateSensorPDR() 812 output["entityTyp in printStateSensorPDR() 847 printPDRFruRecordSet(uint8_t * data,ordered_json & output) printPDRFruRecordSet() argument 870 printPDREntityAssociation(uint8_t * data,ordered_json & output) printPDREntityAssociation() argument 932 printAuxNamePDR(uint8_t * data,ordered_json & output) printAuxNamePDR() argument 987 printNumericEffecterPDR(uint8_t * data,ordered_json & output) printNumericEffecterPDR() argument 1114 printStateEffecterPDR(const uint8_t * data,ordered_json & output) printStateEffecterPDR() argument 1221 printTerminusLocatorPDR(const uint8_t * data,ordered_json & output) printTerminusLocatorPDR() argument 1269 printNumericSensorPDR(const uint8_t * data,const uint16_t data_length,ordered_json & output) printNumericSensorPDR() argument 1437 printCompactNumericSensorPDR(const uint8_t * data,ordered_json & output) printCompactNumericSensorPDR() argument 1504 ordered_json output; printPDRMsg() local 1832 ordered_json output; parseResponseMsg() local 1932 ordered_json output; parseResponseMsg() local 2073 ordered_json output; parseResponseMsg() local 2153 ordered_json output; parseResponseMsg() local [all...] |
/openbmc/qemu/scripts/ |
H A D | update-linux-headers.sh | 33 output="$2" 40 OUTPUT_PATH output directory, usually the qemu source tree (default: $PWD) 45 if [ -z "$output" ]; then 46 output="$PWD" 128 rm -rf "$output/linux-headers/asm-$arch" 129 mkdir -p "$output/linux-headers/asm-$arch" 132 cp "$hdrdir/include/asm/$header" "$output/linux-headers/asm-$arch" 135 cat <<EOF >$output/linux-headers/asm-$arch/$header 142 cp "$hdrdir/include/asm/sgidefs.h" "$output/linux-headers/asm-mips/" 143 cp "$hdrdir/include/asm/unistd_o32.h" "$output/linux-headers/asm-mips/" [all …]
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | smack.py | 20 status, output = cls.tc.target.run("grep smack /proc/mounts | awk '{print $2}'") 21 cls.smack_path = output 28 status,output = self.target.run("cat /proc/self/attr/current") 29 self.current_label = output.strip() 36 status, output = self.target.run("chsmack -a %s %s" %(LABEL, filename)) 40 "Status and output: %d %s" %(status, output)) 41 status, output = self.target.run("chsmack %s" %filename) 43 m = re.search('(access=")\S+(?=")', output) 47 label_retrieved = re.split("access=\"", output)[1][:-1] 59 status, output = self.target.run("chsmack -e %s %s" %(LABEL, filename)) [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | bblogging.py | 20 self.assertIn("ERROR: Logfile of failure stored in:", result.output) 21 self.assertNotIn("This is shell stdout", result.output) 22 self.assertNotIn("This is shell stderr", result.output) 28 self.assertIn("ERROR: Logfile of failure stored in:", result.output) 29 self.assertCount(result.output, "This is shell stdout", 1) 30 self.assertCount(result.output, "This is shell stderr", 1) 36 self.assertIn("ERROR: Logfile of failure stored in:", result.output) 38 self.assertCount(result.output, "This is shell stdout", 2) 39 self.assertCount(result.output, "This is shell stderr", 2) 45 self.assertIn("ERROR: Logfile of failure stored in:", result.output) [all …]
|
H A D | pkgdata.py | 27 self.assertEqual(result.output, 'libz1\nbusybox') 29 self.assertEqual(result.output, 'libz-dev') 31 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output) 32 …self.assertEqual(result.output, 'ERROR: The following packages could not be found: nonexistentpkg') 35 self.assertEqual(result.output, 'zlib\nbusybox') 37 self.assertEqual(result.output, 'zlib-dev') 39 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output) 40 …self.assertEqual(result.output, 'ERROR: The following packages could not be found: nonexistentpkg') 44 self.assertEqual(result.output, 'zlib') 46 self.assertEqual(result.output, 'libz1') [all …]
|
H A D | overlayfs.py | 18 return getline_qemu(res.output, line) 48 self.assertTrue("overlayfs" in res.output, msg=res.output) 49 self.assertTrue("systemd" in res.output, msg=res.output) 50 …uired build target 'core-image-minimal' has no buildable providers." in res.output, msg=res.output) 69 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output) 71 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output) 107 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output) 130 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output) 186 status, output = qemu.run_serial("systemctl status my-application") 187 self.assertTrue("active (exited)" in output, msg=output) [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_basic.py | 25 output = u_boot_console.run_command_list([ 28 assert(re.search('2621440000 *%s' % BIG_FILE, ''.join(output))) 29 assert(re.search('1048576 *%s' % SMALL_FILE, ''.join(output))) 33 output = u_boot_console.run_command( 36 assert('Can not find directory' in output) 38 assert('' == output) 48 output = u_boot_console.run_command_list([ 53 assert('filesize=100000' in ''.join(output)) 57 output = u_boot_console.run_command_list([ 61 assert('filesize=100000' in ''.join(output)) [all …]
|
H A D | test_ext.py | 25 output = u_boot_console.run_command_list([ 30 assert('20480 bytes written' in ''.join(output)) 33 output = u_boot_console.run_command_list([ 38 assert(md5val[0] in ''.join(output)) 47 output = u_boot_console.run_command_list([ 52 assert('20480 bytes written' in ''.join(output)) 55 output = u_boot_console.run_command_list([ 60 assert(md5val[0] in ''.join(output)) 69 output = u_boot_console.run_command_list([ 74 assert('Unable to write "/dir1/none/' in ''.join(output)) [all …]
|
H A D | test_mkdir.py | 22 output = u_boot_console.run_command_list([ 26 assert('dir1/' in ''.join(output)) 28 output = u_boot_console.run_command( 30 assert('./' in output) 31 assert('../' in output) 39 output = u_boot_console.run_command_list([ 43 assert('dir2/' in ''.join(output)) 45 output = u_boot_console.run_command( 47 assert('./' in output) 48 assert('../' in output) [all …]
|
H A D | test_unlink.py | 23 output = u_boot_console.run_command_list([ 27 assert('' == ''.join(output)) 29 output = u_boot_console.run_command( 31 assert(not 'file1' in output) 32 assert('file2' in output) 40 output = u_boot_console.run_command('host bind 0 %s' % fs_img) 43 output = u_boot_console.run_command_list([ 46 assert('' == ''.join(output)) 48 output = u_boot_console.run_command( 50 assert('0 file(s), 2 dir(s)' in output) [all …]
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_gpt.py | 79 output = u_boot_console.run_command('gpt read host 0') 80 assert 'Start 1MiB, size 1MiB' in output 81 assert 'Block size 512, name part1' in output 82 assert 'Start 2MiB, size 1MiB' in output 83 assert 'Block size 512, name part2' in output 84 output = u_boot_console.run_command('part list host 0') 85 assert '0x00000800 0x00000fff "part1"' in output 86 assert '0x00001000 0x00001bff "part2"' in output 95 output = u_boot_console.run_command('gpt verify host 0') 96 assert 'Verify GPT: success!' in output [all …]
|
H A D | test_fpga.py | 90 output = u_boot_console.run_command('tftpboot %x %s' % (addr, bit)) 91 assert expected_tftp in output 103 output = u_boot_console.run_command('fpga broken 0') 105 assert expected_usage in output 110 output = u_boot_console.run_command('fpga') 111 assert expected_usage in output 134 output = u_boot_console.run_command('fpga info 0 0') 136 assert expected_usage in output 146 output = u_boot_console.run_command('fpga info') 147 assert expected_usage not in output [all …]
|
H A D | test_pinmux.py | 10 output = u_boot_console.run_command('pinmux') 11 assert 'Usage:' in output 17 output = u_boot_console.run_command('pinmux status') 18 assert 'Usage:' in output 24 output = u_boot_console.run_command('pinmux status -a') 25 assert ('SCL : I2C SCL' in output) 26 assert ('SDA : I2C SDA' in output) 27 assert ('TX : Uart TX' in output) 28 assert ('RX : Uart RX' in output) 29 assert ('W1 : 1-wire gpio' in output) [all …]
|
H A D | test_tpm2.py | 32 output = u_boot_console.run_command('tpm2 init') 33 if force or not 'Error' in output: 38 output = u_boot_console.run_command('echo $?') 39 if not output.endswith('0'): 48 output = u_boot_console.run_command('echo $?') 49 assert output.endswith('0') 59 output = u_boot_console.run_command('echo $?') 60 assert output.endswith('0') 70 output = u_boot_console.run_command('echo $?') 71 assert output.endswith('0') [all …]
|
/openbmc/u-boot/tools/dtoc/ |
H A D | test_dtoc.py | 155 output = tools.GetOutputFilename('output') 156 dtb_platdata.run_steps(['struct'], dtb_file, False, output) 157 with open(output) as infile: 161 dtb_platdata.run_steps(['platdata'], dtb_file, False, output) 162 with open(output) as infile: 169 output = tools.GetOutputFilename('output') 170 dtb_platdata.run_steps(['struct'], dtb_file, False, output) 171 with open(output) as infile: 195 dtb_platdata.run_steps(['platdata'], dtb_file, False, output) 196 with open(output) as infile: [all …]
|
/openbmc/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-npcm750-pincfg-evb.dtsi | 11 pin9_output_high: pin9-output-high { 14 output-high; 21 pin11_output_high: pin11-output-high { 24 output-high; 31 pin24_output_high: pin24-output-high { 34 output-high; 36 pin25_output_low: pin25-output-low { 39 output-low; 41 pin32_output_high: pin32-output-high { 44 output-high; [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/llvm/llvm/ |
H A D | llvm-config | 17 output="" 21 output="${output} ${CPPFLAGS}" 24 output="${output} ${CFLAGS}" 27 output="${output} ${CXXFLAGS}" 30 output="${output} ${LDFLAGS}" 33 output="${output} shared" 36 output="${output} -lLLVM" 48 output="${output} "$("$NEXT_LLVM_CONFIG" ${remain}) 51 echo "${output}"
|
/openbmc/qemu/tests/tcg/arm/ |
H A D | fcvt.c | 125 uint32_t output; in convert_single_to_half() local 126 asm("vcvtb.f16.f32 %0, %1" : "=t" (output) : "x" (input)); in convert_single_to_half() 128 uint16_t output; in convert_single_to_half() local 129 asm("fcvt %h0, %s1" : "=w" (output) : "w" (input)); in convert_single_to_half() 131 print_half_number(i, output); in convert_single_to_half() 144 double output; in convert_single_to_double() local 150 asm("vcvt.f64.f32 %P0, %1" : "=w" (output) : "t" (input)); in convert_single_to_double() 152 asm("fcvt %d0, %s1" : "=w" (output) : "w" (input)); in convert_single_to_double() 154 print_double_number(i, output); in convert_single_to_double() 166 int64_t output; in convert_single_to_integer() local [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | div64.c | 21 union overlay64 output; in __ashldi3() local 23 output.longw = num; in __ashldi3() 25 output.words.higher = output.words.lower << (shift - 32); in __ashldi3() 26 output.words.lower = 0; in __ashldi3() 30 output.words.higher = (output.words.higher << shift) | in __ashldi3() 31 (output.words.lower >> (32 - shift)); in __ashldi3() 32 output.words.lower = output.words.lower << shift; in __ashldi3() 34 return output.longw; in __ashldi3() 39 union overlay64 output; in __lshrdi3() local 41 output.longw = num; in __lshrdi3() [all …]
|