Searched refs:result (Results 176 - 200 of 265) sorted by relevance

1234567891011

/u-boot/arch/x86/lib/
H A Dmpspec.c74 struct cpuid_result result; local
78 result = cpuid(1);
79 cpusignature = result.eax;
80 cpufeature = result.edx;
/u-boot/include/
H A Dnand.h127 int get_nand_env_oob(struct mtd_info *mtd, unsigned long *result);
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-ilk.c711 cvmx_helper_link_info_t result; local
722 result.u64 = 0;
847 result.s.link_up = 1;
848 result.s.full_duplex = 1;
852 result.s.speed = cvmx_qlm_get_gbaud_mhz(qlm) * 64 / 67;
854 result.s.speed =
857 result.s.speed *= cvmx_pop(lane_mask);
859 return result;
886 return result;
H A Dcvmx-pcie.c1766 int result = 0; local
1913 if (pciercx_cfg031.s.mls == 3 && result != 2) {
1933 result = __cvmx_pcie_rc_initialize_link_gen2_v3(node, pcie_port);
1934 if (result == 0) {
1939 } else if (result > 0) {
1952 result = -1;
1959 if (result < 0) {
1994 if (result < 0)
1995 return result;
2015 int result; local
[all...]
H A Dcvmx-helper-bgx.c788 * auto negotiation. The result of this function may not match
799 cvmx_helper_link_info_t result; local
808 result.u64 = 0;
811 return result;
828 result.s.link_up = 1;
829 result.s.full_duplex = 1;
830 result.s.speed = speed * 8 / 10;
831 return result;
848 result.s.speed = speed * 8 / 10;
849 result
2076 cvmx_helper_link_info_t result; local
[all...]
/u-boot/lib/efi_loader/
H A Defi_capsule.c106 * set_capsule_result - set a result variable
110 * Create and set a result variable, "CapsuleXXXX", for the capsule,
118 struct efi_capsule_result_variable_header result; local
124 result.variable_total_size = sizeof(result);
125 result.capsule_guid = capsule->capsule_guid;
128 memcpy(&result.capsule_processed, &time, sizeof(time));
130 memset(&result.capsule_processed, 0, sizeof(time));
131 result.capsule_status = return_status;
136 sizeof(result),
[all...]
/u-boot/drivers/net/phy/
H A Dphy.c185 int result; local
190 result = genphy_config_advert(phydev);
192 if (result < 0) /* error */
193 return result;
195 if (result == 0) {
206 result = 1; /* do restart aneg */
213 if (result > 0)
214 result = genphy_restart_aneg(phydev);
216 return result;
/u-boot/drivers/net/
H A Dtsec.c89 * result.
103 u32 result, value; local
108 result = ether_crc(MAC_ADDR_LEN, mcast_mac);
109 whichbit = (result >> 24) & 0x1f; /* the 5 LSB = which bit to set */
110 whichreg = result >> 29; /* the 3 MSB = which reg to set it in */
241 int result = 0; local
253 return result;
272 return result;
277 result = in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_STATS;
279 return result;
[all...]
/u-boot/boot/
H A Dbootdev-uclass.c826 log_debug(" - hunt result %d\n", ret);
841 int result; local
846 result = 0;
868 result = ret;
871 return result;
905 int result; local
909 result = 0;
921 result = ret;
923 log_debug("exit %d\n", result);
925 return result;
[all...]
/u-boot/tools/dtoc/
H A Ddtb_platdata.py671 result = self.prep_priv(info, name, suffix)
672 if not result:
674 var_name, struc, section = result
680 result = self.prep_priv(info, name, '_plat')
681 if not result:
683 var_name, struc, section = result
901 result = self._scan.add_uclass_alias(name, num, node)
902 if result is None:
905 elif result is False:
/u-boot/lib/libavb/
H A Davb_vbmeta_image.c259 const char* avb_vbmeta_verify_result_to_string(AvbVBMetaVerifyResult result) { argument
262 switch (result) {
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-helper-board.h147 void (*update_link_led)(int xiface, int index, cvmx_helper_link_info_t result);
322 * port. A result of -1 means there isn't a MII capable PHY
499 * @param result Link status result
501 void cvmx_helper_update_link_led(int xiface, int index, cvmx_helper_link_info_t result);
536 * @NOTE: A result of 0 is possible in some cases where the signal is
/u-boot/arch/x86/cpu/quark/
H A Dmrc_util.c1261 * only BL0 in result
1263 * (each bit in result represents a byte lane)
1281 * Bits in the result indicate failure on specific byte lane.
1285 uint32_t result = 0; local
1294 result = hte_basic_write_read(mrc_params, address, first_run,
1297 DPF(D_TRN, "check_rw_coarse result is %x\n", result);
1299 return result;
1304 * at the specified address. Bits in the result indicate failure
1309 uint32_t result; local
[all...]
/u-boot/fs/btrfs/
H A Ddisk-io.c147 u8 result[BTRFS_CSUM_SIZE]; local
163 result, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); local
165 if (memcmp(result, sb->csum, csum_size)) {
319 u8 result[BTRFS_CSUM_SIZE]; local
324 result, len); local
327 if (memcmp_extent_buffer(buf, result, 0, csum_size)) {
332 result[0],
337 write_extent_buffer(buf, result, 0, csum_size);
/u-boot/drivers/tpm/
H A Dtpm2_tis_spi.c166 static int tpm_tis_spi_read32(struct udevice *dev, u32 addr, u32 *result) argument
173 *result = le32_to_cpu(result_le);
/u-boot/tools/patman/
H A Dpatchstream.py820 result = fix_patch(backup_dir, fname, series, cmt,
822 if result:
824 (len(result), 's' if len(result) > 1 else '', fname))
825 for warn in result:
/u-boot/drivers/ddr/altera/
H A Dsdram_gen5.c42 u32 result; member in struct:sdram_prot_rule
94 * Need to see if result is ordinal power of 2 before
95 * attempting log2 of result.
152 (prule->portmask << 3) | (prule->result << 13),
190 prule->result = (data >> 13) & 0x1;
218 rule.result = 0;
248 debug(" result %d\n", rule.result);
259 * the result with the written value to check if the data match.
/u-boot/common/
H A Dcommand.c579 int result; local
581 result = cmdtp->cmd_rep(cmdtp, flag, argc, argv, repeatable);
582 if (result)
583 debug("Command failed, result=%d\n", result);
584 return result;
/u-boot/drivers/mtd/ubi/
H A Dbuild.c1395 unsigned long result; local
1397 result = simple_strtoul(str, &endp, 0);
1398 if (str == endp || result >= INT_MAX) {
1405 result *= 1024;
1407 result *= 1024;
1409 result *= 1024;
1419 return result;
/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_write_leveling.c49 u32 *result,
1121 * result - res array
1127 u32 *result, MV_DRAM_INFO *dram_info)
1133 *result = 0;
1288 *result = *result | (1 << pup_num);
1293 if (*result == max_pup_mask) {
1314 if (*result != max_pup_mask) {
1126 ddr3_write_leveling_single_cs(u32 cs, u32 freq, int ratio_2to1, u32 *result, MV_DRAM_INFO *dram_info) argument
/u-boot/drivers/usb/gadget/
H A Df_sdp.c624 int result; local
629 result = usb_ep_enable(sdp->in_ep, &in_hs_desc);
630 result |= usb_ep_enable(sdp->out_ep, &out_hs_desc);
632 result = usb_ep_enable(sdp->in_ep, &in_desc);
633 result |= usb_ep_enable(sdp->out_ep, &out_desc);
635 if (result)
636 return result;
/u-boot/board/CZ.NIC/turris_omnia/
H A Dturris_omnia.c495 static char result[] = "xxxxxxx (with peripheral resets)"; local
505 strcpy(result, "STM32");
508 strcpy(result, "GD32");
511 strcpy(result, "MKL");
514 strcpy(result, "unknown");
519 strcat(result, " (with peripheral resets)");
521 return result;
/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_tests.c189 * A non-zero result is the first pattern that failed.
233 * A non-zero result is the first address at which an
299 * A non-zero result is the first address at which an
652 void do_noise(u32 addr, u32 pattern, u32 *result) argument
657 __asm__("mov r11, %0" : : "r" (result));
691 u32 result[8]; local
702 do_noise(addr, pattern, result);
705 if (check_addr((u32)&result[i++], pattern))
707 if (check_addr((u32)&result[i++], ~pattern))
1355 enum test_result res = TEST_PASSED, result; local
[all...]
/u-boot/test/py/tests/
H A Dtest_env.py410 """Test 'env info' command result with several options on sandbox
563 result = u_boot_utils.run_and_log(cons, ['awk', '-f', script, fname])
566 assert result == expect
568 assert result == ''
/u-boot/lib/zstd/common/
H A Dbitstream.h93 BIT_DStream_overflow = 3 } BIT_DStream_status; /* result of BIT_reloadDStream() */
107 * A reload guarantee a minimum of ((8*sizeof(bitD->bitContainer))-7) bits when its result is BIT_DStream_unfinished.
314 /* if start > regMask, bitstream is corrupted, and result is undefined */
345 * bitstream is likely corrupted, and result is undefined */
425 BIT_DStream_status result = BIT_DStream_unfinished; local
428 result = BIT_DStream_endOfBuffer;
433 return result;

Completed in 326 milliseconds

1234567891011