Searched refs:status (Results 51 - 75 of 567) sorted by relevance

1234567891011>>

/u-boot/drivers/mmc/
H A Dgen_atmel_mci.c66 * Print command and status:
71 static void dump_cmd(u32 cmdr, u32 arg, u32 status, const char* msg) argument
74 cmdr, cmdr & 0x3F, arg, status, msg);
201 u32 status; local
204 status = readl(&mci->sr);
205 if (status & (error_flags | MMCI_BIT(OVRE)))
207 } while (!(status & MMCI_BIT(RXRDY)));
209 if (status & MMCI_BIT(RXRDY)) {
211 status = 0;
214 return status;
220 u32 status; local
258 u32 status; local
[all...]
H A Darm_pl180_mmci.c49 hoststatus = readl(&host->base->status) & statusmask;
114 u32 status, status_err; local
118 status = readl(&host->base->status);
119 status_err = status & (SDI_STA_DCRCFAIL | SDI_STA_DTIMEOUT |
122 if (status & SDI_STA_RXDAVL) {
127 status = readl(&host->base->status);
128 status_err = status & (SDI_STA_DCRCFAIL | SDI_STA_DTIMEOUT |
132 status_err = status
170 u32 status, status_err; local
[all...]
/u-boot/test/dm/
H A Dvirtio_device.c22 u8 status; local
33 /* check driver status */
34 ut_assertok(virtio_get_status(dev, &status));
35 ut_asserteq(VIRTIO_CONFIG_S_ACKNOWLEDGE, status);
41 ut_assertok(virtio_get_status(dev, &status));
44 VIRTIO_CONFIG_S_FEATURES_OK, status);
57 u8 status; local
83 ut_assertok(virtio_get_status(dev, &status));
84 ut_asserteq(VIRTIO_CONFIG_S_DRIVER_OK, status);
86 ut_assertok(virtio_get_status(dev, &status));
103 u8 status; local
[all...]
/u-boot/drivers/net/
H A Dpcnet.c49 s16 status; member in struct:pcnet_rx_head
57 s16 status; member in struct:pcnet_tx_head
90 u16 status; member in struct:pcnet_priv
253 uc->rx_ring[i].status = cpu_to_le16(0x8000);
255 ("Rx%d: base=0x%x buf_length=0x%hx status=0x%hx\n", i,
257 uc->rx_ring[i].status);
267 uc->tx_ring[i].status = 0;
324 int i, status; local
336 status = readw(&entry->status);
508 u16 command, status; local
[all...]
H A Daltera_tse.c79 int status; local
85 status = readl(&regs->status);
86 if (!(status & ALT_SGDMA_STATUS_BUSY_MSK))
89 status = -ETIMEDOUT;
97 /* Clear status */
98 writel(0xff, &regs->status);
100 return status;
229 u32 status; local
236 status
271 u32 status; local
293 u32 status; local
319 u32 status; local
341 u32 level, length, status; local
[all...]
H A Ddc2114x.c87 volatile s32 status; member in struct:de4x5_desc
287 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) {
298 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN);
302 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) {
310 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) {
312 le32_to_cpu(priv->tx_ring[priv->tx_new].status));
320 int status = -1; local
328 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) {
339 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN);
343 for (i = 0; priv->tx_ring[priv->tx_new].status
366 u32 status; local
559 u16 command, status; local
[all...]
/u-boot/drivers/serial/
H A Dserial_xuartlite.c31 unsigned int status; member in struct:uartlite
60 if (uart_in32(&regs->status) & SR_TX_FIFO_FULL)
73 if (!(uart_in32(&regs->status) & SR_RX_FIFO_VALID_DATA))
85 return uart_in32(&regs->status) & SR_RX_FIFO_VALID_DATA;
87 return !(uart_in32(&regs->status) & SR_TX_FIFO_EMPTY);
98 ret = uart_in32(&regs->status);
151 ret = uart_in32(&regs->status);
164 while (uart_in32(&regs->status) & SR_TX_FIFO_FULL)
H A Dserial_meson.c20 u32 status; member in struct:meson_uart
127 uint32_t status = readl(&uart->status); local
129 if (status & AML_UART_RX_EMPTY)
132 if (status & AML_UART_ERR) {
145 if (readl(&uart->status) & AML_UART_TX_FULL)
187 uint32_t status = readl(&uart->status); local
190 if (status & AML_UART_RX_EMPTY)
197 if (status
[all...]
H A Daltera_uart.c14 /* status register */
22 u32 status; /* Status reg */ member in struct:altera_uart_regs
50 if (!(readl(&regs->status) & ALTERA_UART_TRDY))
62 u32 st = readl(&regs->status);
75 if (!(readl(&regs->status) & ALTERA_UART_RRDY))
138 u32 st = readl(&regs->status);
/u-boot/drivers/tpm/
H A Dtpm_tis_st33zp24_spi.c224 int latency = 1, status = 0; local
228 while (!status && latency < MAX_SPI_LATENCY) {
230 status = st33zp24_spi_read8_reg(dev, TPM_INTF_CAPABILITY,
234 if (status < 0)
235 return status;
261 u8 status; local
264 status = st33zp24_spi_read(dev, TPM_ACCESS, &data, 1);
265 if (status && (data &
327 int burstcnt, status; local
335 status
375 st33zp24_spi_wait_for_stat(struct udevice *dev, u8 mask, unsigned long timeout, int *status) argument
407 int size = 0, burstcnt, len, ret, status; local
484 int burstcnt, ret, status; local
[all...]
H A Dtpm2_tis_core.c85 * tpm_tis_status - Check the current device status
88 * @status: return value of status
92 static int tpm_tis_status(struct udevice *dev, u8 *status) argument
100 phy_ops->read_bytes(dev, TPM_STS(chip->locality), 1, status);
102 if ((*status & TPM_STS_READ_ZERO)) {
103 log_err("TPM returned invalid status\n");
140 * @status: current status
145 unsigned long timeout, u8 *status)
144 tpm_tis_wait_for_stat(struct udevice *dev, u8 mask, unsigned long timeout, u8 *status) argument
224 u8 status; local
307 u8 status; local
[all...]
/u-boot/drivers/misc/
H A Dihs_fpga.h16 * @status: FPGA status register
28 u16 status; member in struct:ihs_fpga_regs
/u-boot/arch/arm/include/asm/arch-aspeed/
H A Dtimer.h32 u32 status; member in struct:ast_timer_counter
/u-boot/arch/arm/include/asm/
H A Ddavinci_rtc.h33 unsigned int status; member in struct:davinci_rtc
/u-boot/arch/x86/include/asm/fsp1/
H A Dfsp_api.h26 typedef void (*fsp_continuation_f)(u32 status, void *hob_list);
/u-boot/drivers/ufs/
H A Dcdns-platform.c24 enum ufs_notify_change_status status)
27 switch (status) {
66 enum ufs_notify_change_status status)
68 switch (status) {
23 cdns_ufs_link_startup_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) argument
65 cdns_ufs_hce_enable_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) argument
/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr4_training_calibration.c97 int status; local
126 /* clean vref status array */
248 status = mv_ddr4_center_of_mass_calc(dev_num, if_id, subphy_num, TX_DIR,
255 if (status != MV_OK)
256 return status;
265 status = MV_ERROR;
266 return status;
304 status = ddr3_tip_bus_write(dev_num, ACCESS_TYPE_UNICAST, if_id, ACCESS_TYPE_UNICAST,
308 if (status != MV_OK)
309 return status;
358 int status; local
956 int status; local
1104 int status = MV_OK; local
1655 int status; local
2036 int status; local
[all...]
/u-boot/drivers/i2c/
H A Domap24xx_i2c.c65 /* Absolutely safe for status update at 100 kHz I2C: */
242 printf("Timed out in %s: status=%04x\n", __func__, stat);
253 * and update status
257 u16 status; local
265 status = omap_i2c_read_reg(i2c_base, ip_rev, irq_stat_reg);
266 } while (!(status &
272 printf("Timed out in %s: status=%04x\n", __func__, status);
274 * If status is still 0 here, probably the bus pads have
279 status
486 u16 status; local
557 u16 status; local
711 u16 status; local
[all...]
/u-boot/board/gdsys/common/
H A Dcmd_ioloop.c81 static void io_check_status(uint fpga, u16 status, enum status_print_type type) argument
87 if (!(status & mask)) {
88 FPGA_SET_REG(fpga, ep.rx_tx_status, status);
93 FPGA_SET_REG(fpga, ep.rx_tx_status, status);
98 if (status & STATE_RX_PACKET_DROPPED)
99 printf("RX_PACKET_DROPPED, status %04x\n", status);
101 if (status & STATE_RX_DIST_ERR)
103 if (status & STATE_RX_LENGTH_ERR)
105 if (status
116 u16 status = 0; local
[all...]
/u-boot/arch/x86/cpu/broadwell/
H A Diobp.c36 u16 status = readw(RCB_REG(IOBPS)); local
37 if ((status & IOBPS_READY) == 0)
62 u16 status; local
74 status = readw(RCB_REG(IOBPS));
75 if (status & IOBPS_TX_MASK)
/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c118 int status[SANDBOX_NUM_PORTS]; member in struct:sandbox_hub_priv
164 int *status = &priv->status[port]; local
194 *change |= *status & clear;
195 *change |= ~*status & set;
197 *status = (*status & ~clear) | set;
220 udev->status = 0;
233 portsts->wPortStatus = priv->status[port];
235 udev->status
[all...]
/u-boot/fs/ext4/
H A Dext4fs.c69 short status; local
113 int status; local
120 status = ext4fs_devread(delayed_start,
124 if (status == 0) {
150 status = ext4fs_devread(delayed_start,
154 if (status == 0) {
171 status = ext4fs_devread(delayed_start,
174 if (status == 0) {
189 int status; local
194 status
[all...]
/u-boot/drivers/usb/common/
H A Dusb_urb.c54 urb->dev->status &= ~USB_ST_NOT_PROC;
57 if (urb->status == -EINPROGRESS)
58 urb->status = 0;
77 urb->status = -EINPROGRESS;
112 } while (urb->status == -EINPROGRESS && get_timer(0) < timeout);
114 if (urb->status == -EINPROGRESS)
117 return urb->status;
/u-boot/arch/arm/mach-imx/imx8ulp/upower/
H A Dupower_hal.c45 u32 upower_status(int status) argument
49 switch (status) {
64 printf("%s: invalid return status\n", __func__);
131 int status; local
139 status = upwr_init(1, muptr);
140 if (upower_status(status)) {
155 status = upwr_start(1, user_upwr_rdy_callb);
157 if (upower_status(status)) {
/u-boot/drivers/crypto/fsl/
H A Ddcp_rng.c58 u32 status, level; local
62 status = readl(priv->base + RNGC_STATUS);
65 if (status & RNGC_STATUS_ERROR)
68 level = (status & RNGC_STATUS_FIFO_LEVEL_MASK) >>
86 u32 cmd, ctrl, status, err_reg = 0; local
103 status = readl(priv->base + RNGC_STATUS);
106 if (status & (RNGC_STATUS_SEED_DONE | RNGC_STATUS_ST_DONE))

Completed in 174 milliseconds

1234567891011>>