Searched refs:bad (Results 1 - 20 of 20) sorted by relevance

/u-boot/drivers/tee/optee/
H A Di2c.c50 goto bad;
56 goto bad;
61 goto bad;
64 goto bad;
76 goto bad;
87 bad:
/u-boot/drivers/power/
H A Dtps6586x.c174 int bad; local
215 bad = 0;
216 while (!bad && (sm0 != sm0_target || sm1 != sm1_target)) {
228 bad |= set_voltage(SM0_VOLTAGE_V1, sm0, rate);
235 bad |= set_voltage(SM1_VOLTAGE_V1, sm1, rate);
239 bad |= set_voltage(SM0_VOLTAGE_V1, sm0, rate);
244 return bad ? -EINVAL : 0;
/u-boot/tools/buildman/
H A Dcfgutil.py189 bad = []
194 bad.append([adj, line])
200 bad.append([adj, f'Missing expected line: {out_line}'])
202 return bad
/u-boot/drivers/mtd/ubi/
H A Dvtbl.c34 * eraseblocks became bad for some reasons. Suppose we are attaching the
38 * eraseblocks went bad. So we cannot alarm the user properly.
188 ubi_err(ubi, "bad CRC at record %u: %#08x, not %#08x",
198 goto bad;
206 goto bad;
211 goto bad;
217 goto bad;
222 ubi_err(ubi, "bad data_pad, has to be %d", n);
224 goto bad;
229 goto bad;
[all...]
H A Dio.c115 * that this eraseblock may become bad soon (but do not have to);
226 * bad.
314 * %-EIO is returned, the physical eraseblock most probably went bad.
387 * torture_peb - test a supposedly bad physical eraseblock.
444 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum);
454 ubi_err(ubi, "read problems on freshly erased PEB %d, must be bad",
549 * eraseblock is bad.
586 * ubi_io_is_bad - check if a physical eraseblock is bad.
590 * This function returns a positive number if the physical eraseblock is bad,
604 ubi_err(ubi, "error %d while checking if PEB %d is bad",
[all...]
H A Dattach.c212 goto bad;
222 goto bad;
227 goto bad;
232 goto bad;
238 bad:
382 ubi_err(ubi, "VID of PEB %d header is bad, but it was OK earlier, err %d",
500 * sequence numbers. Otherwise the image is bad.
725 * so forth. We don't want to take care about bad eraseblocks here -
827 /* Skip bad physical eraseblocks */
910 ubi_err(ubi, "bad imag
[all...]
/u-boot/lib/
H A Doid_registry.c119 goto bad;
137 goto bad;
152 bad:
153 snprintf(buffer, bufsize, "(bad)");
/u-boot/drivers/power/regulator/
H A Ds2mps11_regulator.c50 goto bad;
57 goto bad;
63 goto bad;
68 goto bad;
70 goto bad;
77 bad:
92 goto bad;
98 goto bad;
103 goto bad;
105 goto bad;
[all...]
/u-boot/include/
H A Data.h79 #define ATA_OK_STAT(stat,good,bad) (((stat)&((good)|(bad)))==(good))
/u-boot/cmd/
H A Dubi.c61 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count);
73 ubi_msg("number of PEBs reserved for bad PEB handling: %d",
179 goto bad;
183 goto bad;
186 goto bad;
191 goto bad;
196 goto bad;
199 goto bad;
203 goto bad;
208 goto bad;
[all...]
H A Donenand.c198 printf("Skip erase bad block %d at 0x%x\n",
261 printf("Skip erase bad block %d at 0x%x\n",
371 printf("\nDevice %d bad blocks:\n", 0);
538 "as bad! ERROR %d\n",
543 "marked as bad\n",
554 U_BOOT_CMD_MKENT(bad, 1, 0, do_onenand_bad, "", ""),
590 "onenand bad - show bad blocks\n"
594 " to/from memory address 'addr', skipping bad blocks.\n"
599 "onenand markbad off [...] - mark bad bloc
[all...]
H A Dmtd.c564 /* Skip the block if it is bad */
660 printf("Failed to get bad block at 0x%08llx\n",
667 printf("Skipping bad block at 0x%08llx\n",
709 printf("Only NAND-based devices can have bad blocks\n");
713 printf("MTD device %s bad blocks list:\n", mtd->name);
771 "mtd bad <name>\n"
811 U_BOOT_SUBCMD_MKENT_COMPLETE(bad, 2, 1, do_mtd_bad,
/u-boot/drivers/mtd/nand/raw/
H A Dmt7621_nand_spl.c114 u8 bad; local
126 ret = nfc_read_oob_hwecc(mtd, &bad, 1, page);
130 ret = bad != 0xFF;
155 /* Skip bad block */
H A Dmt7621_nand.c1072 u16 bad; local
1075 ops.oobbuf = (uint8_t *)&bad;
1095 ret = bad != 0xFF;
1097 ret = hweight8(bad) < nand->badblockbits;
H A Dnand_base.c311 * nand_block_bad - [DEFAULT] Read bad block marker from the chip
315 * Check, if the block is bad.
321 u16 bad; local
332 bad = cpu_to_le16(chip->read_word(mtd));
334 bad >>= 8;
336 bad &= 0xFF;
340 bad = chip->read_byte(mtd);
344 res = bad != 0xFF;
346 res = hweight8(bad) < chip->badblockbits;
356 * nand_default_block_markbad - [DEFAULT] mark a block bad vi
[all...]
/u-boot/drivers/mtd/ubispl/
H A Dubispl.c117 ubi_err("bad CRC at record %u: %#08x, not %#08x",
127 goto bad;
135 goto bad;
140 goto bad;
146 goto bad;
151 ubi_err("bad data_pad, has to be %d", n);
153 goto bad;
158 goto bad;
163 goto bad;
168 goto bad;
[all...]
/u-boot/tools/
H A Dqconfig.py808 return None, 0, f'bad sym format {data[linenum]}{file_line})'
1555 bad = flag not in IMPLY_FLAGS variable
1556 if bad:
1558 if flag == 'help' or bad:
/u-boot/
H A DMakefile2306 $(Q)bad=false; while read base_file base_val <&3 && read cur_file cur_val <&4; do \
2309 bad=true; fi; \
2311 if $$bad; then \
/u-boot/scripts/
H A Dcheckpatch.pl1056 bad => '',
1215 $lines[0] =~ /^fatal: bad object $commit/) {
1383 # "joe smith joe@smith.com" bad
1384 # "joe smith <joe@smith.com" bad
4881 # ENOSYS means "bad syscall nr" and nothing else. This will have a small
6487 # check for bad placement of section $InitAttribute (e.g.: __initdata)
/u-boot/common/
H A Dcli_hush_upstream.c2954 * To avoid writing to bad places, we check if
4590 /* "{ echo foo; } echo bar" - bad */
4628 syntax_error("bad for loop variable");
5021 // syntax_error("bad function name");
5380 if (cnt == 2) { /* \x but next char is "bad" */
11965 bb_error_msg("'%s': bad variable name", name);
12521 bb_error_msg("bad argument '%s'", str);
12637 /* Eat bad jobspec */
12821 ret = 127; /* bash compat for bad jobspecs */
12887 bb_error_msg("%s: bad argument
[all...]

Completed in 201 milliseconds