Searched refs:status (Results 176 - 200 of 567) sorted by relevance

1234567891011>>

/u-boot/drivers/spi/
H A Drockchip_sfc.c68 /* Interrupt status */
79 /* FIFO status */
90 /* FSM status */
95 /* Raw interrupt status */
187 u32 status; local
191 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status,
192 !(status & SFC_RCVR_RESET),
292 u32 status; local
294 ret = readl_poll_timeout(sfc->regbase + SFC_FSR, status,
295 status
309 u32 status; local
543 u32 status; local
[all...]
H A Dzynq_spi.c243 u32 ts, status; local
272 status = readl(&regs->isr);
273 while (!(status & ZYNQ_SPI_IXR_TXOW_MASK)) {
278 status = readl(&regs->isr);
282 status = readl(&regs->isr);
283 while ((status & ZYNQ_SPI_IXR_RXNEMPTY_MASK) && rx_len) {
287 status = readl(&regs->isr);
H A Daltera_spi.c27 u32 status; member in struct:altera_spi_regs
110 if (readl(&regs->status) & ALTERA_SPI_STATUS_RRDY_MSK)
127 reg = readl(&regs->status);
/u-boot/drivers/mmc/
H A Dsunxi_mmc.c175 /* clock update sets various irq status bits, clear these */
252 uint32_t status; local
266 while ((status = readl(&priv->reg->status)) & status_bit) {
273 * to check the FIFO status after every word written.
284 * The status register holds the current FIFO level, so we
286 * register without checking the status register after every
293 in_fifo = SUNXI_MMC_STATUS_FIFO_LEVEL(status);
294 if (in_fifo == 0 && (status & SUNXI_MMC_STATUS_FIFO_FULL))
307 unsigned int status; local
330 unsigned int status = 0; local
[all...]
/u-boot/drivers/usb/gadget/
H A Dcore.c292 return (device->status == USB_STATUS_HALT);
329 rcv_urb->status = RECV_ERROR;
590 if (device->status != USBD_CLOSING) {
591 device->status = USBD_SUSPENDED;
595 if (device->status != USBD_CLOSING) {
596 device->status = USBD_OK;
624 debug("%s event: %d oldstate: %d newstate: %d status: %d address: %d",
626 device->device_state, device->status, device->address);
H A Dether.c104 struct usb_request *stat_req; /* for cdc & rndis status */
109 *in, *out, *status; member in struct:eth_dev
294 * status transfer endpoint isn't optional.
381 * three class descriptors, two interface descriptors, optional status
405 /* status endpoint is optional; this may be patched later */
526 * include the status endpoint if we can, even where it's optional.
536 * RNDIS requires the status endpoint, since it uses that encapsulation
664 /* NOTE: status endpoint may need to be removed */
764 /* NOTE: status endpoint may need to be removed */
927 /* status endpoin
1210 int status; local
1976 int status = -ENOMEM; local
[all...]
H A Dmax3420_udc.c263 static void max3420_req_done(struct max3420_req *req, int status) argument
267 if (req->usb_req.status == -EINPROGRESS)
268 req->usb_req.status = status;
270 status = req->usb_req.status;
272 if (status && status != -ESHUTDOWN)
273 dev_err(ep->udc->dev, "%s done %p, status %d\n",
274 ep->ep_usb.name, req, status);
280 max3420_ep_nuke(struct max3420_ep *ep, int status) argument
500 u16 status = 0; local
[all...]
/u-boot/tools/u_boot_pylib/
H A Dtools.py573 status = ''
579 print(chr(8) * (len(status) + 1), '\r', end=' ')
584 status = r'%10d MiB [%3d%%]' % (done // 1024 // 1024,
586 status = status + chr(8) * (len(status) + 1)
587 print(status, end=' ')
/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c33 u32 isr; /* I2C interrupt and status register */
276 u32 status = readl(&regs->isr); local
278 if (status & STM32_I2C_ISR_BUSY)
346 u32 flags, u32 *status)
351 *status = readl(&regs->isr);
352 while (!(*status & flags)) {
358 *status = readl(&regs->isr);
369 u32 status; local
372 ret = stm32_i2c_wait_flags(i2c_priv, mask, &status);
376 if (status
345 stm32_i2c_wait_flags(struct stm32_i2c_priv *i2c_priv, u32 flags, u32 *status) argument
424 u32 status; local
[all...]
/u-boot/common/
H A Dmcheck_core.inc.h93 static void mcheck_default_abort(enum mcheck_status status, const void *p) argument
97 switch (status) {
127 static enum mcheck_status mcheck_OnNok(enum mcheck_status status, const void *p) argument
129 (*mcheck_abortfunc)(status, p);
130 return status;
H A Dusb_hub.c139 * Translate the USB 3.0 hub port status field into the old version
141 * For root hub, the port status field has already been translated
148 struct usb_port_status *status = (struct usb_port_status *)data; local
149 u16 tmp = le16_to_cpu(status->wPortStatus) &
152 if (status->wPortStatus & USB_SS_PORT_STAT_POWER)
154 if ((status->wPortStatus & USB_SS_PORT_STAT_SPEED) ==
158 status->wPortStatus = cpu_to_le16(tmp);
179 debug("Reset : port %d returns %lX\n", i + 1, dev->status);
182 debug("PowerOn : port %d returns %lX\n", i + 1, dev->status);
267 * sufficient time for it to show itself. The port status i
[all...]
/u-boot/drivers/mtd/nand/spi/
H A Dcore.c78 static int spinand_read_status(struct spinand_device *spinand, u8 *status) argument
80 return spinand_read_reg_op(spinand, REG_STATUS, status);
434 u8 status; local
440 ret = spinand_read_status(spinand, &status);
444 if (!(status & STATUS_BUSY))
452 ret = spinand_read_status(spinand, &status);
458 *s = status;
460 return status & STATUS_BUSY ? -ETIMEDOUT : 0;
495 static int spinand_check_ecc_status(struct spinand_device *spinand, u8 status) argument
500 return spinand->eccinfo.get_status(spinand, status);
528 u8 status; local
552 u8 status; local
756 u8 status; local
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_spl.c72 u32 status; local
81 status = ifc_in32(&ifc->ifc_nand.nand_evter_stat);
82 } while (!(status & IFC_NAND_EVTER_STAT_OPC));
84 if (status & IFC_NAND_EVTER_STAT_FTOER) {
98 ifc_out32(&ifc->ifc_nand.nand_evter_stat, status);
/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training.c832 int status = 1; local
835 status &= ddr3_tip_validate_algo_var(ck_delay, PARAM_UNDEFINED, "ck_delay");
836 status &= ddr3_tip_validate_algo_var(phy_reg3_val, PARAM_UNDEFINED, "phy_reg3_val");
837 status &= ddr3_tip_validate_algo_var(g_rtt_nom, PARAM_UNDEFINED, "g_rtt_nom");
838 status &= ddr3_tip_validate_algo_var(g_dic, PARAM_UNDEFINED, "g_dic");
839 status &= ddr3_tip_validate_algo_var(odt_config, PARAM_UNDEFINED, "odt_config");
840 status &= ddr3_tip_validate_algo_var(g_zpri_data, PARAM_UNDEFINED, "g_zpri_data");
841 status &= ddr3_tip_validate_algo_var(g_znri_data, PARAM_UNDEFINED, "g_znri_data");
842 status &= ddr3_tip_validate_algo_var(g_zpri_ctrl, PARAM_UNDEFINED, "g_zpri_ctrl");
843 status
910 int status; local
937 int status = MV_OK; local
2604 int status; local
[all...]
/u-boot/drivers/usb/isp1760/
H A Disp1760-hcd.c166 u32 status; member in struct:isp1760_qtd
249 /* one endpoint (status change endpoint) */
1034 usb_hcd_giveback_urb(hcd, urb, urb->status);
1050 qtd->status = QTD_ENQUEUED;
1075 WARN_ON(qtd->status != QTD_PAYLOAD_ALLOC);
1097 qtd->status = QTD_XFER_STARTED;
1123 if (qtd->status < QTD_XFER_COMPLETE)
1128 if (!last_qtd && qtd->status == QTD_RETIRE)
1129 qtd_next->status = QTD_RETIRE;
1131 if (qtd->status
1977 isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument
2068 u32 status; local
[all...]
/u-boot/tools/patman/
H A Dfunc_test.py31 from patman import status namespace
717 status.collect_patches(series, 1234, None, self._fake_patchwork)
726 patches = status.collect_patches(series, 1234, None,
735 patch = status.Patch('1')
804 patch1 = status.Patch('1')
806 patch2 = status.Patch('2')
808 patch3 = status.Patch('3')
815 status.compare_with_series(series, patches))
824 status.compare_with_series(series, patches))
835 status
[all...]
/u-boot/lib/zlib/
H A Ddeflate.c322 s->status = FINISH_STATE;
354 (strm->state->wrap == 1 && strm->state->status != INIT_STATE))
405 s->status = s->wrap ? INIT_STATE : BUSY_STATE;
626 if (s->status == FINISH_STATE && flush != Z_FINISH) {
636 if (s->status == INIT_STATE) {
653 s->status = BUSY_STATE;
678 s->status = EXTRA_STATE;
699 s->status = BUSY_STATE;
711 if (s->status == EXTRA_STATE) {
733 s->status
927 int status; local
[all...]
/u-boot/drivers/net/
H A Daltera_tse.h41 * Descriptor status bit masks & offsets
43 * Note: The status byte physically occupies bits [23:16] in memory.
45 * the status register bitfield.
84 u32 status; member in struct:alt_sgdma_registers
126 /* mSGDMA dispatcher control and status register map */
128 u32 status; /* Read/Clear */ member in struct:msgdma_csr
136 /* mSGDMA CSR status register bit definitions */
147 u32 status; member in struct:msgdma_response
H A Dxilinx_axi_mrmac.h102 #define XMCDMA_BD_STS_ALL_MASK GENMASK(31, 28) /* All status bits */
158 u32 status; /* Common status */ member in struct:mcdma_common_regs
174 u32 status; /* Status */ member in struct:mcdma_chan_reg
190 u32 status; /* Status */ member in struct:mcdma_bd
/u-boot/drivers/rng/
H A Diproc_rng200.c61 /* Clear all interrupt status */
89 u32 status; local
97 status = readl(priv->base + RNG_INT_STATUS_OFFSET);
98 if ((status & (RNG_INT_STATUS_MASTER_FAIL_LOCKOUT_IRQ_MASK |
/u-boot/drivers/clk/
H A Dclk_scmi.c77 return scmi_to_linux_errno(out.status);
105 ret = scmi_to_linux_errno(out.status);
130 ret = scmi_to_linux_errno(out.status);
/u-boot/drivers/demo/
H A Ddemo-shape.c88 static int shape_status(struct udevice *dev, int *status) argument
92 *status = data->num_chars;
139 .status = shape_status,
/u-boot/drivers/fpga/
H A DACEX1K.c104 "status:\t0x%p\n"
108 &fn, fn, fn->config, fn->status,
128 if ( !(*fn->status) (cookie) ) {
147 } while ((*fn->status) (cookie));
/u-boot/drivers/tpm/
H A Dcr50_i2c.c315 /* cr50 requires all 4 bytes of status register to be read */
324 log_warning("%s: Failed to read status\n", __func__);
331 /* cr50 requires all 4 bytes of status register to be written */
348 size_t *burst, int *status)
355 * cr50 uses bytes 3:2 of status register for burst count and all 4
366 *status = buf & 0xff;
369 if ((*status & mask) == mask &&
376 log_warning("Timeout reading burst and status\n");
388 int status; local
395 ret = cr50_i2c_wait_burststs(dev, mask, &burstcnt, &status);
347 cr50_i2c_wait_burststs(struct udevice *dev, u8 mask, size_t *burst, int *status) argument
462 int status; local
[all...]
/u-boot/drivers/reset/
H A Dreset-jh7110.c19 u32 status; member in struct:jh7110_reset_priv
84 addr = (ulong)priv->reg + priv->status + group * sizeof(u32);
138 priv->status = cfg->status_offset;

Completed in 314 milliseconds

1234567891011>>