Searched refs:status (Results 76 - 100 of 567) sorted by relevance

1234567891011>>

/u-boot/drivers/serial/
H A Dserial_cortina.c97 unsigned int status; local
100 status = readl(priv->base + UINFO);
101 if (status & UINFO_TX_FIFO_FULL)
112 unsigned int status; local
114 status = readl(priv->base + UINFO);
117 return (status & UINFO_RX_FIFO_EMPTY) ? 0 : 1;
119 return (status & UINFO_TX_FIFO_FULL) ? 1 : 0;
H A Dserial_sti_asc.c36 u32 status; member in struct:sti_asc_uart
74 unsigned long status; local
76 status = readl(&uart->status);
78 return status & STA_RBF;
80 return status & STA_TF;
H A Dserial_sh.c88 unsigned short status = sci_in(port, SCxSR); local
89 sci_out(port, SCxSR, status & ~SCxSR_ERRORS(port));
97 if ((port->type != PORT_SCI) && (status & SCIF_FER))
130 unsigned short status; local
132 status = sci_in(port, SCxSR);
134 if (status & SCIF_ERRORS)
138 status &= (SCIF_DR | SCxSR_RDxF(port));
139 if (status)
140 return status;
146 unsigned short status; local
[all...]
/u-boot/arch/x86/lib/
H A Dscu.c27 u32 status; member in struct:ipc_regs
55 * scu_ipc_check_status() - check status of last command
59 * Driver will read this register to get the ready/busy status of the IPC
60 * block and error status of the IPC command that was just processed by SCU
67 int status; local
70 status = readl(&regs->status);
71 if (!(status & BIT(0)))
79 if (status & BIT(1)) {
80 printf("%s() status
[all...]
/u-boot/drivers/spi/
H A Dtegra20_slink.c71 u32 status; /* SLINK_STATUS_0 register */ member in struct:spi_regs
153 /* Clear stale status here */
156 writel(reg, &regs->status);
157 debug("%s: STATUS = %08x\n", __func__, readl(&regs->status));
220 reg = readl(&regs->status);
221 writel(reg, &regs->status); /* Clear all SPI events via R/W */
267 * The RX FIFO status will be read and cleared last
270 u32 status; local
272 status = readl(&regs->status);
[all...]
H A Dtegra20_sflash.c64 u32 status; /* SPI_STATUS_0 register */ member in struct:spi_regs
147 /* Clear stale status here */
150 writel(reg, &regs->status);
151 debug("%s: STATUS = %08x\n", __func__, readl(&regs->status));
228 reg = readl(&regs->status);
229 writel(reg, &regs->status); /* Clear all SPI events via R/W */
265 * The RX FIFO status will be read and cleared last
268 u32 status; local
270 status = readl(&regs->status);
[all...]
/u-boot/drivers/mmc/
H A Dstm32_sdmmc2.c66 #define SDMMC_STA 0x34 /* SDMMC status */
307 u32 status; local
318 /* Polling status register */
319 ret = readl_poll_timeout(plat->base + SDMMC_STA, status, status & mask,
328 /* Check status */
329 if (status & SDMMC_STA_CTIMEOUT) {
331 status, cmd->cmdidx);
336 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) {
338 status, cm
388 u32 status; local
[all...]
/u-boot/drivers/net/
H A Dsmc911x.c245 u16 status; local
261 if (smc911x_eth_phy_read(priv, 1, MII_BMSR, &status) != 0)
263 } while (!(status & BMSR_LSTATUS));
313 u32 status; local
328 /* get status. Ignore 'no carrier' error, it has no meaning for
331 status = smc911x_reg_read(priv, TX_STATUS_FIFO) &
335 if (!status)
339 status & TX_STS_LOC ? "TX_STS_LOC " : "",
340 status & TX_STS_LATE_COLL ? "TX_STS_LATE_COLL " : "",
341 status
357 u32 status; local
[all...]
/u-boot/drivers/mtd/nand/spi/
H A Dgigadevice.c89 u8 status)
91 switch (status & STATUS_ECC_MASK) {
173 u8 status)
180 switch (status & STATUS_ECC_MASK) {
187 * bit error status
198 return ((status & STATUS_ECC_MASK) >> 2) |
215 u8 status)
222 switch (status & STATUS_ECC_MASK) {
229 * bit error status
252 u8 status)
88 gd5fxgq4xa_ecc_get_status(struct spinand_device *spinand, u8 status) argument
172 gd5fxgq4uexxg_ecc_get_status(struct spinand_device *spinand, u8 status) argument
214 gd5fxgq5xexxg_ecc_get_status(struct spinand_device *spinand, u8 status) argument
251 gd5fxgq4ufxxg_ecc_get_status(struct spinand_device *spinand, u8 status) argument
[all...]
/u-boot/drivers/usb/musb-new/
H A Dda8xx.c73 u32 status; local
83 status = musb_readl(reg_base, DA8XX_USB_INTR_SRC_MASKED_REG);
84 if (!status)
87 musb_writel(reg_base, DA8XX_USB_INTR_SRC_CLEAR_REG, status);
88 dev_dbg(musb->controller, "USB IRQ %08x\n", status);
90 musb->int_rx = (status & DA8XX_INTR_RX_MASK) >> DA8XX_INTR_RX_SHIFT;
91 musb->int_tx = (status & DA8XX_INTR_TX_MASK) >> DA8XX_INTR_TX_SHIFT;
92 musb->int_usb = (status & DA8XX_INTR_USB_MASK) >> DA8XX_INTR_USB_SHIFT;
102 if (status & (DA8XX_INTR_DRVVBUS << DA8XX_INTR_USB_SHIFT)) {
146 if (ret == IRQ_HANDLED || status)
[all...]
H A Dmusb_host.c37 /* MUSB HOST status 22-mar-2006
298 static void musb_giveback(struct musb *musb, struct urb *urb, int status)
304 urb, urb->complete, status,
313 usb_hcd_giveback_urb(musb_to_hcd(musb), urb, status); variable
350 int status; local
352 status = (urb->status == -EINPROGRESS) ? 0 : urb->status;
362 if (status == 0 && urb->error_count)
363 status
477 int status = 0; local
973 int status = 0; local
1118 u32 status = 0; local
1448 u32 status; local
2134 int status = 0; local
2185 musb_urb_dequeue( struct usb_hcd *hcd, struct urb *urb, int status) argument
[all...]
/u-boot/drivers/tpm/
H A Dtpm_tis_infineon.c325 unsigned long timeout, int *status)
329 /* Check current status */
330 *status = tpm_tis_i2c_status(dev);
331 if ((*status & mask) == mask)
338 *status = tpm_tis_i2c_status(dev);
339 if ((*status & mask) == mask)
377 int status; local
381 status = tpm_tis_i2c_status(dev);
382 if (status == TPM_STS_COMMAND_READY)
384 if ((status
324 tpm_tis_i2c_wait_for_stat(struct udevice *dev, u8 mask, unsigned long timeout, int *status) argument
426 int rc, status; local
[all...]
/u-boot/drivers/i2c/
H A Dimx_lpi2c.c34 u32 status; local
36 status = readl(&regs->msr);
38 if ((status & LPI2C_MSR_BBF_MASK) && !(status & LPI2C_MSR_MBF_MASK))
47 u32 val, status; local
49 status = readl(&regs->msr);
51 status &= LPI2C_MSR_NDF_MASK | LPI2C_MSR_ALF_MASK |
54 if (status) {
55 if (status & LPI2C_MSR_PLTF_MASK)
57 else if (status
206 u32 status; local
[all...]
/u-boot/include/fsl-mc/
H A Dfsl_mc_cmd.h25 u8 status; member in struct:mc_cmd_header
135 enum mc_cmd_status status; local
139 status = MC_CMD_HDR_READ_STATUS(resp->header);
140 if (status != MC_CMD_STATUS_OK)
141 return status;
147 return status;
/u-boot/drivers/axi/
H A Dihs_axi.c161 u16 status; local
183 ihs_axi_get(priv->map, interrupt_status, &status);
184 if (status & wait_mask)
194 ihs_axi_get(priv->map, interrupt_status, &status);
196 if (status & complete_flag)
199 if (status & STATUS_ERROR_EVENT) {
/u-boot/drivers/dma/
H A Dfsl_dma.c65 uint status; local
69 status = in_dma32(&dma->sr);
70 } while (status & FSL_DMA_SR_CB);
76 if (status != 0)
77 printf ("DMA Error: status = %x\n", status);
79 return status;
/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_init.c278 unsigned int status; local
283 status = ddr3_init_main();
284 if (status == MV_DDR3_TRAINING_ERR_BAD_SAR)
286 if (status == MV_DDR3_TRAINING_ERR_BAD_DIMM_SETUP)
288 if (status == MV_DDR3_TRAINING_ERR_MAX_CS_LIMIT)
290 if (status == MV_DDR3_TRAINING_ERR_MAX_ENA_CS_LIMIT)
292 if (status == MV_DDR3_TRAINING_ERR_BAD_R_DIMM_SETUP)
294 if (status == MV_DDR3_TRAINING_ERR_TWSI_FAIL)
296 if (status == MV_DDR3_TRAINING_ERR_DIMM_TYPE_NO_MATCH)
298 if (status
362 __maybe_unused int status; local
[all...]
/u-boot/drivers/xen/
H A Dgnttab.c129 const char *gnttabop_error(int16_t status) argument
131 status = -status;
132 if (status < 0 || status >= ARRAY_SIZE(gnttabop_error_msgs))
133 return "bad status";
135 return gnttabop_error_msgs[status];
187 printf("XENMEM_add_to_physmap failed; status = %d\n",
210 printf("XENMEM_remove_from_physmap failed; status = %d\n",
/u-boot/fs/ext4/
H A Dext4_common.c243 int operand, status; local
261 status = input & operand;
262 if (status) {
309 int i, remainder, status; local
320 status = *ptr & operand;
321 if (status)
334 status = *ptr & operand;
335 if (status)
345 int i, remainder, status; local
356 status
375 int i, remainder, status; local
400 int i, remainder, status; local
486 int status; local
633 int status; local
868 int status; local
964 short status; local
1093 short status; local
1215 short status; local
1275 short status; local
1601 int inodes_per_block, status; local
1651 int status; local
2049 int status; local
2184 int status; local
2218 int status; local
2314 int status; local
2338 int status; local
2368 int status; local
[all...]
/u-boot/drivers/w1/
H A Dmxc_w1.c84 u16 status; local
101 status = readw(&regs->interrupt);
102 } while (!(status & MXC_W1_INTERRUPT_RBF));
111 u16 status; local
127 status = readw(&regs->interrupt);
128 } while (!(status & MXC_W1_INTERRUPT_TSRE));
/u-boot/lib/lzma/
H A DLzmaDec.h88 You can check status result also.
91 1) Check Result and "status" variable.
169 status:
178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
209 status:
221 ELzmaStatus *status, ISzAlloc *alloc);
/u-boot/drivers/clk/at91/
H A Dclk-system.c40 unsigned int status; local
42 pmc_read(base, AT91_PMC_SR, &status);
44 return !!(status & (1 << id));
/u-boot/lib/efi_selftest/
H A Defi_selftest_watchdog.c26 efi_status_t status; member in struct:notify_context
55 notify_context->status = ret;
77 notification_context.status = EFI_SUCCESS;
205 if (notification_context.status != EFI_SUCCESS) {
/u-boot/tools/buildman/
H A Dboard.py9 def __init__(self, status, arch, cpu, soc, vendor, board_name, target, cfg_name):
13 status: define whether the board is 'Active' or 'Orphaned'
/u-boot/drivers/reset/
H A Dreset-ast2600.c54 int status; local
59 status = BIT(reset_ctl->id) & readl(&scu->modrst_ctrl1);
61 status = BIT(reset_ctl->id - 32) & readl(&scu->modrst_ctrl2);
63 return !!status;

Completed in 294 milliseconds

1234567891011>>