Searched refs:stat (Results 51 - 75 of 184) sorted by relevance

12345678

/u-boot/drivers/clk/ti/
H A Dclk-k3-pll.c87 u32 stat; local
97 stat = readl(pll->reg + PLL_16FFT_STAT);
98 if (stat & PLL_16FFT_STAT_LOCK) {
132 stat = readl(pll->reg + PLL_16FFT_CAL_STAT);
133 if (stat & PLL_16FFT_CAL_STAT_CAL_LOCK) {
/u-boot/drivers/mmc/
H A Dsdhci.c133 unsigned int stat, rdy, mask, timeout, block = 0; local
140 stat = sdhci_readl(host, SDHCI_INT_STATUS);
141 if (stat & SDHCI_INT_ERROR) {
143 __func__, stat);
146 if (!transfer_done && (stat & rdy)) {
162 (stat & SDHCI_INT_DMA_END)) {
179 } while (!(stat & SDHCI_INT_DATA_END));
212 unsigned int stat = 0; local
305 stat = sdhci_readl(host, SDHCI_INT_STATUS);
306 if (stat
[all...]
H A Domap_hsmmc.c292 while (!(readl(&mmc_base->stat) & CC_MASK)) {
298 writel(CC_MASK, &mmc_base->stat)
303 while (!(readl(&mmc_base->stat) & CC_MASK)) {
1073 writel(0xFFFFFFFF, &mmc_base->stat);
1074 if (readl(&mmc_base->stat)) {
1148 mmc_stat = readl(&mmc_base->stat);
1162 writel(CC_MASK, &mmc_base->stat);
1193 mmc_stat = readl(&mmc_base->stat);
1195 writel(readl(&mmc_base->stat) | TC_MASK,
1196 &mmc_base->stat);
[all...]
/u-boot/drivers/usb/host/
H A Dohci-hcd.c258 dbg("%s URB:[%4x] dev:%2lu,ep:%2lu-%c,type:%s,len:%d/%d stat:%#lx",
1114 int stat = 0; local
1133 stat = cc_to_error[cc];
1153 return stat;
1158 int stat = 0; local
1163 stat = takeback_td(ohci, td_list);
1166 return stat;
1226 int stat = 0; local
1366 stat = USB_ST_STALLED;
1416 stat
1494 int stat = 0; local
1881 int stat = -1; local
[all...]
/u-boot/tools/
H A Ddumpimage.c29 void *ptr, struct stat *sbuf)
68 struct stat sbuf;
155 fprintf(stderr, "%s: Can't stat \"%s\": %s\n", params.cmdname,
H A Diot2050-sign-fw.sh14 BIN_SIZE=$(stat -c %s tispl.bin)
H A Dfdt_add_pubkey.c89 struct stat dest_sbuf;
H A Dsocfpgaimage.c403 struct stat sbuf;
406 stat(params->datafile, &sbuf) == 0 &&
445 static void socfpgaimage_set_header_v0(void *ptr, struct stat *sbuf, int ifd,
451 static void socfpgaimage_set_header_v1(void *ptr, struct stat *sbuf, int ifd,
H A Dmxsimage.c1652 const char *stat[2] = { "[PASS]", "[FAIL]" }; local
1685 soprintf(ictx, "%s Image header checksum: %s\n", stat[!!ret],
1694 stat[!!ret], hdr->signature1, hdr->signature2);
1701 soprintf(ictx, "%s Image version: v%i.%i\n", stat[!!ret],
1709 stat[!!ret], tm.tm_hour, tm.tm_min, tm.tm_sec,
1714 soprintf(ictx, "%s Product version: %x.%x.%x\n", stat[0],
1718 soprintf(ictx, "%s Component version: %x.%x.%x\n", stat[0],
1725 soprintf(ictx, "%s Image flags: %s\n", stat[!!ret],
1733 soprintf(ictx, "%s Drive tag: %i\n", stat[!!ret],
1741 soprintf(ictx, "%s Image header size (blocks): %i\n", stat[!!re
[all...]
H A Daisimage.c180 struct stat sbuf;
192 fprintf(stderr, "%s: Can't stat %s: %s\n",
223 struct stat sbuf;
235 fprintf(stderr, "%s: Can't stat %s: %s\n",
385 static void aisimage_set_header(void *ptr, struct stat *sbuf, int ifd,
/u-boot/drivers/net/
H A Dpic32_eth.c73 wait_for_bit_le32(&ectl_p->stat.raw, ETHSTAT_BUSY, false,
175 u32 stat = 0, v; local
208 stat = phy_read(priv->phydev, priv->phy_addr, MII_BMSR);
209 if (stat & BMSR_LSTATUS)
213 if (!(stat & BMSR_LSTATUS))
248 wait_for_bit_le32(&ectl_p->stat.raw, ETHSTAT_BUSY, false,
251 while (readl(&ectl_p->stat.raw) & ETHSTAT_BUFCNT)
384 wait_for_bit_le32(&ectl_p->stat.raw, ETHSTAT_BUSY, false,
406 debug("%s: %d / .hdr %x, .data_buff %x, .stat %x, .nexted %x\n",
471 debug("%s: %d /idx %i, hdr=%x, data_buff %x, stat
[all...]
/u-boot/drivers/i2c/
H A Docores_i2c.c152 static void ocores_process(struct ocores_i2c_bus *i2c, u8 stat) argument
163 if (stat & OCI2C_STAT_ARBLOST) {
173 if (stat & OCI2C_STAT_NACK) {
221 u8 stat = oc_getreg(i2c, OCI2C_STATUS); local
224 if ((stat & OCI2C_STAT_IF) && !(stat & OCI2C_STAT_BUSY))
226 } else if (!(stat & OCI2C_STAT_IF)) {
229 ocores_process(i2c, stat);
H A Docteon_i2c.c392 u8 stat; local
398 stat = twsi_read_status(base);
399 debug("%s: ret: 0x%x, status: 0x%x\n", __func__, ret, stat);
400 switch (stat) {
422 u8 stat; local
426 stat = twsi_read_status(base);
427 if (stat != TWSI_STAT_IDLE) {
/u-boot/board/samsung/origen/tools/
H A Dmkorigenspl.c12 #include <sys/stat.h>
/u-boot/board/samsung/smdkv310/tools/
H A Dmksmdkv310spl.c12 #include <sys/stat.h>
/u-boot/arch/arm/include/asm/arch-lpc32xx/
H A Demc.h50 } stat[4]; member in struct:emc_regs
/u-boot/fs/zfs/
H A Dzfs_lzjb.c13 #include <linux/stat.h>
/u-boot/scripts/dtc/
H A Ddtc.c21 #include <sys/stat.h>
138 struct stat statbuf;
142 if (stat(fname, &statbuf) != 0)
/u-boot/arch/arm/mach-k3/
H A Dam642_init.c160 u32 stat = readl(CTRLMMR_MCU_RST_CTRL); local
162 stat &= 0xFFFDFFFF;
163 writel(stat, CTRLMMR_MCU_RST_CTRL);
/u-boot/drivers/ram/rockchip/
H A Dsdram_rk322x.c276 state = readl(&pctl->stat) & PCTL_STAT_MASK;
280 while ((readl(&pctl->stat) & PCTL_STAT_MASK)
291 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG)
307 state = readl(&pctl->stat) & PCTL_STAT_MASK;
311 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS)
316 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG)
321 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS)
337 state = readl(&pctl->stat) & PCTL_STAT_MASK;
341 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG)
346 while ((readl(&pctl->stat)
[all...]
/u-boot/drivers/spi/
H A Dmxc_spi.c35 u32 stat; member in struct:cspi_regs
66 u32 stat; member in struct:cspi_regs
297 reg_write(&regs->stat, MXC_CSPICTRL_TC | MXC_CSPICTRL_RXOVF);
325 reg_write(&regs->stat, MXC_CSPICTRL_TC | MXC_CSPICTRL_RXOVF);
372 status = reg_read(&regs->stat);
379 status = reg_read(&regs->stat);
383 reg_write(&regs->stat, MXC_CSPICTRL_TC | MXC_CSPICTRL_RXOVF);
/u-boot/arch/arm/mach-rockchip/rk3036/
H A Dsdram_rk3036.c521 state = readl(&pctl->stat) & PCTL_STAT_MASK;
525 while ((readl(&pctl->stat) & PCTL_STAT_MASK)
536 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG)
553 state = readl(&pctl->stat) & PCTL_STAT_MASK;
557 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS)
562 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != CONFIG)
567 while ((readl(&pctl->stat) & PCTL_STAT_MASK) != ACCESS)
/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c459 int stat = 0; local
597 stat = USB_ST_STALLED;
626 stat = USB_ST_STALLED;
677 stat = USB_ST_STALLED;
719 stat = USB_ST_STALLED;
727 dev->status = stat;
730 return stat;
757 int stat = musb_submit_rh_msg(dev, pipe, buffer, len, setup); local
758 if (stat)
759 return stat;
[all...]
/u-boot/drivers/pci/
H A Dpci_mvebu.c106 u32 stat; local
108 stat = readl(pcie->base + MVPCIE_STAT_OFF);
109 stat &= ~MVPCIE_STAT_BUS;
110 stat |= busno << 8;
111 writel(stat, pcie->base + MVPCIE_STAT_OFF);
116 u32 stat; local
118 stat = readl(pcie->base + MVPCIE_STAT_OFF);
119 stat &= ~MVPCIE_STAT_DEV;
120 stat |= devno << 16;
121 writel(stat, pci
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c297 int i, ret, stat; local
308 stat = nand_check_erased_ecc_chunk(buf, ecc_size,
312 if (stat < 0) {
315 mtd->ecc_stats.corrected += stat;
316 max_bitflips = max_t(unsigned int, max_bitflips, stat);
774 int stat = 0; local
782 stat = denali_hw_ecc_fixup(mtd, denali, &uncor_ecc_flags);
784 stat = denali_sw_ecc_fixup(mtd, denali, &uncor_ecc_flags, buf);
786 if (stat < 0)
787 return stat;
[all...]

Completed in 237 milliseconds

12345678