Searched refs:stat (Results 26 - 50 of 184) sorted by relevance

12345678

/u-boot/drivers/i2c/
H A Ddavinci_i2c.c41 int stat, timeout; local
46 stat = REG(&(i2c_base->i2c_stat));
47 if (!((stat) & I2C_STAT_BB)) {
52 REG(&(i2c_base->i2c_stat)) = stat;
62 int stat, timeout; local
66 stat = REG(&(i2c_base->i2c_stat));
67 if (stat & mask)
68 return stat;
72 return stat | I2C_TIMEOUT;
/u-boot/board/renesas/lager/
H A Dlager.c50 u32 stat = 0; local
56 stat = readl(PLLECR) & PLL0ST;
57 } while (stat == 0x0);
/u-boot/board/renesas/stout/
H A Dstout.c50 u32 stat = 0; local
56 stat = readl(PLLECR) & PLL0ST;
57 } while (stat == 0x0);
/u-boot/drivers/serial/
H A Dserial_owl.c71 unsigned int stat = readl(priv->base + OWL_UART_STAT); local
74 return !(stat & OWL_UART_STAT_RFEM);
76 return !(stat & OWL_UART_STAT_TFES);
H A Dserial_lpuart.c336 u32 stat, val; local
338 lpuart_read32(plat->flags, &base->stat, &stat);
339 if ((stat & STAT_RDRF) == 0) {
340 lpuart_write32(plat->flags, &base->stat, STAT_FLAGS);
346 lpuart_read32(plat->flags, &base->stat, &stat);
347 if (stat & STAT_OR)
348 lpuart_write32(plat->flags, &base->stat, STAT_OR);
357 u32 stat; local
469 u32 stat; local
[all...]
/u-boot/arch/arm/include/asm/arch-sunxi/
H A Drsb.h20 u32 stat; /* 0x0c */ member in struct:sunxi_rsb_reg
/u-boot/tools/
H A Dimagetool.c31 struct stat *sbuf,
37 struct stat *sbuf,
90 struct stat *sbuf,
155 struct stat sbuf;
166 fprintf(stderr, "%s: Can't stat %s: %s\n",
H A Dgpimage.c51 static void gpimage_set_header(void *ptr, struct stat *sbuf, int ifd,
H A Dmkimage.h17 #include <sys/stat.h>
H A Dprelink-riscv.c21 #include <sys/stat.h>
88 struct stat st;
91 die("Cannot stat %s: %s", argv[1], strerror(errno));
H A Dimagetool.h18 #include <sys/stat.h>
142 void (*set_header) (void *, struct stat *, int,
196 * @sbuf: stat information about the file pointed to by ptr
205 struct stat *sbuf,
H A Dfit_info.c42 struct stat fsbuf;
H A Drkspi.c19 static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd,
/u-boot/tools/gdb/
H A Dgdbsend.c13 #include <sys/stat.h>
28 struct stat ist;
/u-boot/drivers/rng/
H A Djh7110_rng.c90 u32 stat; local
92 return readl_relaxed_poll_timeout(trng->base + STARFIVE_STAT, stat,
93 !(stat & STARFIVE_STAT_RUNNING),
107 u32 stat, flg; local
123 ret = readl_relaxed_poll_timeout(trng->base + STARFIVE_ISTAT, stat,
124 (stat & flg), 1000);
/u-boot/drivers/pci/
H A Dpcie_apple.c213 u32 stat; local
222 stat, stat & PHY_LANE_CFG_REFCLK0ACK,
229 stat, stat & PHY_LANE_CFG_REFCLK1ACK,
251 u32 stat, idx; local
307 ret = readl_poll_sleep_timeout(port->base + PORT_STATUS, stat,
308 stat & PORT_STATUS_READY, 100, 250000);
322 readl_poll_sleep_timeout(port->base + PORT_LINKSTS, stat,
323 (stat
[all...]
/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c105 static const char *yaffs_file_type_str(struct yaffs_stat *stat) argument
107 switch (stat->st_mode & S_IFMT) {
405 struct yaffs_stat stat; local
418 yaffs_lstat(tempstr, &stat);
421 (long)stat.st_size);
423 stat.st_ino,
424 yaffs_file_type_str(&stat));
/u-boot/arch/arm/mach-k3/
H A Dam625_init.c81 u32 stat = readl(CTRLMMR_MCU_RST_CTRL); local
83 stat &= RST_CTRL_ESM_ERROR_RST_EN_Z_MASK;
84 writel(stat, CTRLMMR_MCU_RST_CTRL);
/u-boot/arch/arm/mach-socfpga/
H A Dscan_manager.c50 status = readl(&scan_manager_base->stat);
225 writel(0x02, &scan_manager_base->stat);
231 writel(0, &scan_manager_base->stat);
/u-boot/include/
H A Data.h79 #define ATA_OK_STAT(stat,good,bad) (((stat)&((good)|(bad)))==(good))
/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_slc.c35 u32 stat; member in struct:lpc32xx_nand_slc_regs
162 return readl(&lpc32xx_nand_slc_regs->stat) & STAT_NAND_READY;
311 if (!((readl(&lpc32xx_nand_slc_regs->stat) & STAT_DMA_FIFO) |
420 int stat; local
442 stat = chip->ecc.correct(mtd, p, &ecc_code[0], &ecc_calc[0]);
443 if (stat < 0)
446 mtd->ecc_stats.corrected += stat;
447 max_bitflips = max_t(unsigned int, max_bitflips, stat);
/u-boot/drivers/usb/host/
H A Ddwc2.c540 int stat = 0; local
590 stat = USB_ST_STALLED;
594 dev->status = stat;
596 return stat;
607 int stat = 0; local
637 stat = USB_ST_STALLED;
673 stat = USB_ST_STALLED;
677 dev->status = stat;
679 return stat;
688 int stat local
735 int stat = 0; local
793 int stat = 0; local
[all...]
/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dfpga_manager_gen5.h39 u32 stat; /* 0x00 */ member in struct:socfpga_fpga_manager
/u-boot/doc/imx/habv4/csf_examples/mx8m/
H A Dcsf.sh46 spl_block_size=$(printf "0x%x" $(stat -tc %s u-boot-spl-ddr.bin))
63 fit_block_size=$(printf "0x%x" $(( ( ( $(stat -tc %s u-boot.itb) + 0x1000 - 0x1 ) & ~(0x1000 - 0x1)) + 0x20 )) )
/u-boot/cmd/
H A Dext4.c36 #include <linux/stat.h>

Completed in 286 milliseconds

12345678