/openbmc/u-boot/drivers/spi/ |
H A D | tegra210_qspi.c | 223 reg = readl(®s->fifo_status); in tegra210_qspi_xfer() 224 writel(reg, ®s->fifo_status); in tegra210_qspi_xfer() 227 setbits_le32(®s->fifo_status, in tegra210_qspi_xfer() 232 while ((tm && readl(®s->fifo_status) & in tegra210_qspi_xfer() 308 u32 fifo_status, xfer_status; in tegra210_qspi_xfer() local 314 fifo_status = readl(®s->fifo_status); in tegra210_qspi_xfer() 315 if (fifo_status & QSPI_FIFO_STS_ERR) { in tegra210_qspi_xfer() 317 if (fifo_status & QSPI_FIFO_STS_TX_FIFO_OVF) in tegra210_qspi_xfer() 319 if (fifo_status & QSPI_FIFO_STS_TX_FIFO_UNR) in tegra210_qspi_xfer() 321 if (fifo_status & QSPI_FIFO_STS_RX_FIFO_OVF) in tegra210_qspi_xfer() [all …]
|
H A D | tegra114_spi.c | 152 setbits_le32(®s->fifo_status, in tegra114_spi_probe() 241 reg = readl(®s->fifo_status); in tegra114_spi_xfer() 242 writel(reg, ®s->fifo_status); in tegra114_spi_xfer() 281 u32 fifo_status, xfer_status; in tegra114_spi_xfer() local 287 fifo_status = readl(®s->fifo_status); in tegra114_spi_xfer() 288 if (fifo_status & SPI_FIFO_STS_ERR) { in tegra114_spi_xfer() 290 if (fifo_status & SPI_FIFO_STS_TX_FIFO_OVF) in tegra114_spi_xfer() 292 if (fifo_status & SPI_FIFO_STS_TX_FIFO_UNR) in tegra114_spi_xfer() 294 if (fifo_status & SPI_FIFO_STS_RX_FIFO_OVF) in tegra114_spi_xfer() 296 if (fifo_status & SPI_FIFO_STS_RX_FIFO_UNR) in tegra114_spi_xfer() [all …]
|
/openbmc/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-core.c | 169 u32 fifo_status, fifo_signal, fifo_ov, fifo_bad, fifo_errors; in tw686x_irq() local 174 fifo_status = reg_read(dev, VIDEO_FIFO_STATUS); in tw686x_irq() 177 if (!int_status && !TW686X_FIFO_ERROR(fifo_status)) in tw686x_irq() 192 fifo_signal = ~(fifo_status & 0xff) & video_en; in tw686x_irq() 193 fifo_ov = fifo_status >> 24; in tw686x_irq() 194 fifo_bad = fifo_status >> 16; in tw686x_irq() 208 fifo_status, &reset_ch); in tw686x_irq()
|
H A D | tw686x.h | 173 unsigned int pb_status, unsigned int fifo_status,
|
H A D | tw686x-video.c | 1085 unsigned int pb_status, unsigned int fifo_status, in tw686x_video_irq() argument 1100 if (vc->no_signal && !(fifo_status & BIT(ch))) { in tw686x_video_irq() 1108 vc->no_signal = !!(fifo_status & BIT(ch)); in tw686x_video_irq() 1114 fifo_ov = (fifo_status >> 24) & BIT(ch); in tw686x_video_irq() 1115 fifo_bad = (fifo_status >> 16) & BIT(ch); in tw686x_video_irq()
|
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 358 __le16 fifo_status; in st_lsm6dsx_read_fifo() local 363 &fifo_status, sizeof(fifo_status)); in st_lsm6dsx_read_fifo() 370 if (fifo_status & cpu_to_le16(ST_LSM6DSX_FIFO_EMPTY_MASK)) in st_lsm6dsx_read_fifo() 373 fifo_len = (le16_to_cpu(fifo_status) & fifo_diff_mask) * in st_lsm6dsx_read_fifo() 586 __le16 fifo_status; in st_lsm6dsx_read_tagged_fifo() local 591 &fifo_status, sizeof(fifo_status)); in st_lsm6dsx_read_tagged_fifo() 599 fifo_len = (le16_to_cpu(fifo_status) & fifo_diff_mask) * in st_lsm6dsx_read_tagged_fifo()
|
/openbmc/linux/drivers/input/serio/ |
H A D | sun4i-ps2.c | 99 u32 fifo_status; in sun4i_ps2_interrupt() local 108 fifo_status = readl(drvdata->reg_base + PS2_REG_FSTS); in sun4i_ps2_interrupt() 122 if (fifo_status & PS2_FIFO_ERROR_BIT) { in sun4i_ps2_interrupt() 128 rval = (fifo_status >> 16) & 0x3; in sun4i_ps2_interrupt() 135 writel(fifo_status, drvdata->reg_base + PS2_REG_FSTS); in sun4i_ps2_interrupt()
|
/openbmc/linux/drivers/memstick/host/ |
H A D | tifm_ms.c | 384 unsigned int fifo_status = 0, host_status = 0; in tifm_ms_data_event() local 389 fifo_status = readl(sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_ms_data_event() 393 fifo_status, host_status, host->cmd_flags); in tifm_ms_data_event() 396 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event() 400 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event() 408 writel(fifo_status, sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_ms_data_event()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | rtd520.c | 494 unsigned int fifo_status; in rtd520_probe_fifo_depth() local 498 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd520_probe_fifo_depth() 499 if ((fifo_status & FS_ADC_HEMPTY) == 0) { in rtd520_probe_fifo_depth() 615 u16 fifo_status; in rtd_interrupt() local 620 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt() 622 if (!(fifo_status & FS_ADC_NOT_FULL)) /* 0 -> full */ in rtd_interrupt() 637 if (!(fifo_status & FS_ADC_HEMPTY)) { in rtd_interrupt() 645 if (fifo_status & FS_ADC_NOT_EMPTY) { in rtd_interrupt() 679 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt()
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_core.c | 1268 switch (dma->fifo_status) { in vortex_adbdma_startfifo() 1287 dma->fifo_status = FIFO_START; in vortex_adbdma_startfifo() 1295 switch (dma->fifo_status) { in vortex_adbdma_resumefifo() 1309 dma->fifo_status = FIFO_START; in vortex_adbdma_resumefifo() 1317 switch (dma->fifo_status) { in vortex_adbdma_pausefifo() 1329 dma->fifo_status = FIFO_PAUSE; in vortex_adbdma_pausefifo() 1342 dma->fifo_status = FIFO_STOP; in vortex_adbdma_stopfifo() 1517 switch (dma->fifo_status) { in vortex_wtdma_startfifo() 1544 switch (dma->fifo_status) { in vortex_wtdma_resumefifo() 1566 switch (dma->fifo_status) { in vortex_wtdma_pausefifo() [all …]
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 128 int (*fifo_status) (struct usb_ep *ep); member 408 if (ep->ops->fifo_status) in usb_ep_fifo_status() 409 return ep->ops->fifo_status(ep); in usb_ep_fifo_status()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-axxia.c | 317 u32 fifo_status = readl(idev->base + SLV_RX_FIFO); in axxia_i2c_slv_fifo_event() local 320 dev_dbg(idev->dev, "slave irq fifo_status=0x%x\n", fifo_status); in axxia_i2c_slv_fifo_event() 322 if (fifo_status & SLV_FIFO_DV1) { in axxia_i2c_slv_fifo_event() 323 if (fifo_status & SLV_FIFO_STRC) in axxia_i2c_slv_fifo_event() 330 if (fifo_status & SLV_FIFO_STPC) { in axxia_i2c_slv_fifo_event() 334 if (fifo_status & SLV_FIFO_RSC) in axxia_i2c_slv_fifo_event()
|
H A D | i2c-exynos5.c | 446 u32 fifo_level, int_status, fifo_status, trans_status; in exynos5_i2c_irq() local 515 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq() 516 fifo_level = HSI2C_RX_FIFO_LVL(fifo_status); in exynos5_i2c_irq() 527 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq() 528 fifo_level = HSI2C_TX_FIFO_LVL(fifo_status); in exynos5_i2c_irq()
|
H A D | i2c-img-scb.c | 549 u32 fifo_status; in img_i2c_read_fifo() local 553 fifo_status = img_i2c_readl(i2c, SCB_FIFO_STATUS_REG); in img_i2c_read_fifo() 554 if (fifo_status & FIFO_READ_EMPTY) in img_i2c_read_fifo() 570 u32 fifo_status; in img_i2c_write_fifo() local 573 fifo_status = img_i2c_readl(i2c, SCB_FIFO_STATUS_REG); in img_i2c_write_fifo() 574 if (fifo_status & FIFO_WRITE_FULL) in img_i2c_write_fifo()
|
H A D | i2c-bcm-kona.c | 396 unsigned int fifo_status; in bcm_kona_i2c_write_fifo_single() local 418 fifo_status = readl(dev->base + FIFO_STATUS_OFFSET); in bcm_kona_i2c_write_fifo_single() 419 } while (time_left && !(fifo_status & FIFO_STATUS_TXFIFO_EMPTY_MASK)); in bcm_kona_i2c_write_fifo_single()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_mpc52xx.c | 227 u8 fifo_status; /* ATA + 0x41 */ member 515 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) in mpc52xx_bmdma_setup() 517 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_setup() 578 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) in mpc52xx_bmdma_stop() 580 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_stop() 589 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) { in mpc52xx_bmdma_status() 591 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_status()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mpc5121.h | 76 u32 fifo_status; /* LPC RX/TX FIFO Status Register */ member
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | tegra_i2c.h | 48 u32 fifo_status; member
|
/openbmc/u-boot/drivers/i2c/ |
H A D | kona_i2c.c | 365 unsigned int fifo_status; in bcm_kona_i2c_write_fifo_single() local 377 fifo_status = readl(dev->base + FIFO_STATUS_OFFSET); in bcm_kona_i2c_write_fifo_single() 378 } while (time_left && !(fifo_status & FIFO_STATUS_TXFIFO_EMPTY_MASK)); in bcm_kona_i2c_write_fifo_single()
|
H A D | tegra_i2c.c | 181 count = (readl(&control->fifo_status) & TX_FIFO_EMPTY_CNT_MASK) in wait_for_tx_fifo_empty() 198 count = (readl(&control->fifo_status) & TX_FIFO_FULL_CNT_MASK) in wait_for_rx_fifo_notempty()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-tegra20-slink.c | 293 u32 fifo_status; in tegra_slink_fill_tx_fifo_from_client_txbuf() local 300 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_fill_tx_fifo_from_client_txbuf() 301 tx_empty_count = SLINK_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_slink_fill_tx_fifo_from_client_txbuf() 334 u32 fifo_status; in tegra_slink_read_rx_fifo_to_client_rxbuf() local 340 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_read_rx_fifo_to_client_rxbuf() 341 rx_full_count = SLINK_RX_FIFO_FULL_COUNT(fifo_status); in tegra_slink_read_rx_fifo_to_client_rxbuf()
|
H A D | spi-tegra114.c | 296 u32 fifo_status; in tegra_spi_fill_tx_fifo_from_client_txbuf() local 303 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_fill_tx_fifo_from_client_txbuf() 304 tx_empty_count = SPI_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_spi_fill_tx_fifo_from_client_txbuf() 347 u32 fifo_status; in tegra_spi_read_rx_fifo_to_client_rxbuf() local 353 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_read_rx_fifo_to_client_rxbuf() 354 rx_full_count = SPI_RX_FIFO_FULL_COUNT(fifo_status); in tegra_spi_read_rx_fifo_to_client_rxbuf()
|
H A D | spi-tegra210-quad.c | 312 u32 fifo_status; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local 314 fifo_status = tegra_qspi_readl(tqspi, QSPI_FIFO_STATUS); in tegra_qspi_fill_tx_fifo_from_client_txbuf() 315 tx_empty_count = QSPI_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_qspi_fill_tx_fifo_from_client_txbuf() 361 u32 fifo_status, x; in tegra_qspi_read_rx_fifo_to_client_rxbuf() local 363 fifo_status = tegra_qspi_readl(tqspi, QSPI_FIFO_STATUS); in tegra_qspi_read_rx_fifo_to_client_rxbuf() 364 rx_full_count = QSPI_RX_FIFO_FULL_COUNT(fifo_status); in tegra_qspi_read_rx_fifo_to_client_rxbuf()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-i2c.c | 387 u8 fifo_status = 0; in mxl111sf_i2c_readagain() local 392 while ((fifo_status == 0) && (i++ < 5)) in mxl111sf_i2c_readagain() 393 fifo_status = mxl111sf_i2c_check_fifo(state); in mxl111sf_i2c_readagain()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 473 unsigned int fifo_status = 0; in tifm_sd_data_event() local 478 fifo_status = readl(sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event() 480 fifo_status, host->cmd_flags); in tifm_sd_data_event() 485 if (r_data && (fifo_status & TIFM_FIFO_READY)) { in tifm_sd_data_event() 493 writel(fifo_status, sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event()
|