Searched refs:stat (Results 76 - 100 of 184) sorted by relevance

12345678

/u-boot/tools/
H A Drenesas_spkgimage.c222 struct stat s;
232 if (stat(params->datafile, &s)) {
233 fprintf(stderr, "Could not stat data file: %s: %s\n",
284 static void spkgimage_set_header(void *ptr, struct stat *sbuf, int ifd,
H A Dlpc32xximage.c139 static void lpc32xximage_set_header(void *ptr, struct stat *sbuf, int ifd,
H A Dstm32image.c123 static void stm32image_set_header(void *ptr, struct stat *sbuf, int ifd,
H A Dsfspl.c133 static void sfspl_set_header(void *buf, struct stat *sbuf, int infd,
H A Dpblimage.c262 static void pblimage_set_header(void *ptr, struct stat *sbuf, int ifd,
272 struct stat st;
H A Dzynqimage.c237 struct stat path_stat;
268 static void zynqimage_set_header(void *ptr, struct stat *sbuf, int ifd,
/u-boot/drivers/nvme/
H A Dnvme_apple.c193 u32 ctrl, stat, phandle; local
235 ret = readl_poll_sleep_timeout(priv->base + ANS_BOOT_STATUS, stat,
236 (stat == ANS_BOOT_STATUS_OK), 100,
/u-boot/drivers/video/imx/
H A Dipu_regs.h237 u32 stat; member in struct:ipu_di
282 u32 stat; member in struct:ipu_dc
296 u32 stat; member in struct:ipu_dmfc
394 #define DC_STAT (&DC_REG->stat)
/u-boot/drivers/net/
H A Dpic32_eth.h29 struct pic32_reg_atomic stat; /* 0xe0 */ member in struct:pic32_ectl_regs
/u-boot/arch/arm/mach-keystone/include/mach/
H A Dclock_defs.h33 u32 stat; /* 3c */ member in struct:pllctl_regs
/u-boot/fs/yaffs2/
H A Dyportenv.h291 #include <sys/stat.h>
/u-boot/drivers/fpga/
H A Dsocfpga_gen5.c33 msel = readl(&fpgamgr_regs->stat);
/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_ddr.c188 DDR_REG_DYN(stat),
604 u32 stat, val, mask, val2 = 0, mask2 = 0; local
621 ret = readl_poll_timeout(&priv->ctl->stat, stat,
622 ((stat & mask) == val) ||
623 (mask2 && ((stat & mask2) == val2)),
627 panic("Timeout DRAM : DDR->stat = %x\n", stat);
629 log_debug("[0x%08x] stat = 0x%08x\n", (u32)&priv->ctl->stat, sta
[all...]
/u-boot/cmd/
H A Dzfs.c20 #include <linux/stat.h>
/u-boot/fs/zfs/
H A Dzfs_fletcher.c13 #include <linux/stat.h>
/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c1865 int stat; local
1867 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]);
1868 if (stat < 0) {
1871 mtd->ecc_stats.corrected += stat;
1872 max_bitflips = max_t(unsigned int, max_bitflips, stat);
1966 int stat; local
1968 stat = chip->ecc.correct(mtd, p,
1970 if (stat == -EBADMSG &&
1973 stat = nand_check_erased_ecc_chunk(p, chip->ecc.size,
1980 if (stat <
2034 int stat; local
2096 int stat; local
2149 int stat; local
[all...]
H A Dzynq_nand.c676 int i, stat, eccsteps, eccsize = chip->ecc.size; local
728 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]);
729 if (stat < 0)
732 mtd->ecc_stats.corrected += stat;
768 int stat; local
770 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]);
771 if (stat < 0)
774 mtd->ecc_stats.corrected += stat;
H A Dvf610_nfc.c596 int stat; local
602 stat = vf610_nfc_correct_data(mtd, buf, chip->oob_poi, page);
604 if (stat < 0) {
608 mtd->ecc_stats.corrected += stat;
609 return stat;
H A Dstm32_fmc2_nand.c516 int i, s, stat, eccsize = chip->ecc.size; local
538 stat = chip->ecc.correct(mtd, p, ecc_code, ecc_calc);
539 if (stat == -EBADMSG)
541 stat = nand_check_erased_ecc_chunk(p, eccsize,
546 if (stat < 0) {
549 mtd->ecc_stats.corrected += stat;
550 max_bitflips = max_t(unsigned int, max_bitflips, stat);
/u-boot/drivers/spi/
H A Dmt7620_spi.c46 u32 stat; member in struct:mt7620_spi_master_regs
148 return readl_poll_timeout(&ms->m[cs]->stat, val, !(val & SPI_BUSY),
/u-boot/scripts/basic/
H A Dfixdep.c93 #include <sys/stat.h>
285 struct stat st;
/u-boot/drivers/ram/rockchip/
H A Ddmc-rk3368.c272 u32 state = readl(&pctl->stat) & PCTL_STAT_MSK;
277 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != ACCESS)
284 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
302 u32 state = readl(&pctl->stat) & PCTL_STAT_MSK;
306 if (((readl(&pctl->stat) >> LP_TRIG_SHIFT) &
311 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != ACCESS)
317 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
323 while ((readl(&pctl->stat) & PCTL_STAT_MSK) == CONFIG)
H A Dsdram_rk3188.c348 state = readl(&pctl->stat) & PCTL_STAT_MSK;
353 while ((readl(&pctl->stat) & PCTL_STAT_MSK)
369 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
488 state = readl(&pctl->stat) & PCTL_STAT_MSK;
492 if (((readl(&pctl->stat) >> LP_TRIG_SHIFT) &
497 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != ACCESS)
506 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
511 while ((readl(&pctl->stat) & PCTL_STAT_MSK) == CONFIG)
H A Dsdram_rk3066.c335 state = readl(&pctl->stat) & PCTL_STAT_MSK;
340 while ((readl(&pctl->stat) & PCTL_STAT_MSK)
356 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
473 state = readl(&pctl->stat) & PCTL_STAT_MSK;
477 if (((readl(&pctl->stat) >> LP_TRIG_SHIFT) &
482 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != ACCESS)
491 while ((readl(&pctl->stat) & PCTL_STAT_MSK) != CONFIG)
496 while ((readl(&pctl->stat) & PCTL_STAT_MSK) == CONFIG)
/u-boot/drivers/i2c/
H A Domap24xx_i2c.c227 u16 stat; local
235 while ((stat = omap_i2c_read_reg(i2c_base, ip_rev, irq_stat_reg) &
237 omap_i2c_write_reg(i2c_base, ip_rev, stat, OMAP_I2C_STAT_REG);
242 printf("Timed out in %s: status=%04x\n", __func__, stat);
287 u16 stat; local
294 stat = omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_STAT_REG);
295 if (stat == I2C_STAT_RRDY) {
458 * an 'irqstatus_raw' register and we shall have to poll 'stat'

Completed in 343 milliseconds

12345678