Home
last modified time | relevance | path

Searched refs:fifo_status (Results 1 – 25 of 29) sorted by relevance

12

/drivers/media/pci/tw686x/
Dtw686x-core.c169 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()
Dtw686x.h173 unsigned int pb_status, unsigned int fifo_status,
Dtw686x-video.c1087 unsigned int pb_status, unsigned int fifo_status, in tw686x_video_irq() argument
1102 if (vc->no_signal && !(fifo_status & BIT(ch))) { in tw686x_video_irq()
1110 vc->no_signal = !!(fifo_status & BIT(ch)); in tw686x_video_irq()
1116 fifo_ov = (fifo_status >> 24) & BIT(ch); in tw686x_video_irq()
1117 fifo_bad = (fifo_status >> 16) & BIT(ch); in tw686x_video_irq()
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c357 __le16 fifo_status; in st_lsm6dsx_read_fifo() local
362 &fifo_status, sizeof(fifo_status)); in st_lsm6dsx_read_fifo()
369 if (fifo_status & cpu_to_le16(ST_LSM6DSX_FIFO_EMPTY_MASK)) in st_lsm6dsx_read_fifo()
372 fifo_len = (le16_to_cpu(fifo_status) & fifo_diff_mask) * in st_lsm6dsx_read_fifo()
571 __le16 fifo_status; in st_lsm6dsx_read_tagged_fifo() local
576 &fifo_status, sizeof(fifo_status)); in st_lsm6dsx_read_tagged_fifo()
584 fifo_len = (le16_to_cpu(fifo_status) & fifo_diff_mask) * in st_lsm6dsx_read_tagged_fifo()
/drivers/input/serio/
Dsun4i-ps2.c99 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()
/drivers/comedi/drivers/
Drtd520.c495 unsigned int fifo_status; in rtd520_probe_fifo_depth() local
499 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd520_probe_fifo_depth()
500 if ((fifo_status & FS_ADC_HEMPTY) == 0) { in rtd520_probe_fifo_depth()
616 u16 fifo_status; in rtd_interrupt() local
621 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt()
623 if (!(fifo_status & FS_ADC_NOT_FULL)) /* 0 -> full */ in rtd_interrupt()
638 if (!(fifo_status & FS_ADC_HEMPTY)) { in rtd_interrupt()
646 if (fifo_status & FS_ADC_NOT_EMPTY) { in rtd_interrupt()
680 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt()
/drivers/memstick/host/
Dtifm_ms.c384 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()
/drivers/ata/
Dpata_mpc52xx.c225 u8 fifo_status; /* ATA + 0x41 */ member
513 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) in mpc52xx_bmdma_setup()
515 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_setup()
576 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) in mpc52xx_bmdma_stop()
578 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_stop()
587 if (in_8(&priv->ata_regs->fifo_status) & MPC52xx_ATA_FIFOSTAT_ERROR) { in mpc52xx_bmdma_status()
589 __func__, in_8(&priv->ata_regs->fifo_status)); in mpc52xx_bmdma_status()
/drivers/i2c/busses/
Di2c-axxia.c317 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()
Di2c-exynos5.c413 u32 fifo_level, int_status, fifo_status, trans_status; in exynos5_i2c_irq() local
472 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq()
473 fifo_level = HSI2C_RX_FIFO_LVL(fifo_status); in exynos5_i2c_irq()
484 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq()
485 fifo_level = HSI2C_TX_FIFO_LVL(fifo_status); in exynos5_i2c_irq()
Di2c-img-scb.c549 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()
Di2c-bcm-kona.c406 unsigned int fifo_status; in bcm_kona_i2c_write_fifo_single() local
428 fifo_status = readl(dev->base + FIFO_STATUS_OFFSET); in bcm_kona_i2c_write_fifo_single()
429 } while (time_left && !(fifo_status & FIFO_STATUS_TXFIFO_EMPTY_MASK)); in bcm_kona_i2c_write_fifo_single()
/drivers/spi/
Dspi-tegra20-slink.c291 u32 fifo_status; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
298 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_fill_tx_fifo_from_client_txbuf()
299 tx_empty_count = SLINK_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_slink_fill_tx_fifo_from_client_txbuf()
332 u32 fifo_status; in tegra_slink_read_rx_fifo_to_client_rxbuf() local
338 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_read_rx_fifo_to_client_rxbuf()
339 rx_full_count = SLINK_RX_FIFO_FULL_COUNT(fifo_status); in tegra_slink_read_rx_fifo_to_client_rxbuf()
Dspi-tegra210-quad.c269 u32 fifo_status; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local
271 fifo_status = tegra_qspi_readl(tqspi, QSPI_FIFO_STATUS); in tegra_qspi_fill_tx_fifo_from_client_txbuf()
272 tx_empty_count = QSPI_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_qspi_fill_tx_fifo_from_client_txbuf()
318 u32 fifo_status, x; in tegra_qspi_read_rx_fifo_to_client_rxbuf() local
320 fifo_status = tegra_qspi_readl(tqspi, QSPI_FIFO_STATUS); in tegra_qspi_read_rx_fifo_to_client_rxbuf()
321 rx_full_count = QSPI_RX_FIFO_FULL_COUNT(fifo_status); in tegra_qspi_read_rx_fifo_to_client_rxbuf()
Dspi-tegra114.c297 u32 fifo_status; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
304 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_fill_tx_fifo_from_client_txbuf()
305 tx_empty_count = SPI_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_spi_fill_tx_fifo_from_client_txbuf()
348 u32 fifo_status; in tegra_spi_read_rx_fifo_to_client_rxbuf() local
354 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_read_rx_fifo_to_client_rxbuf()
355 rx_full_count = SPI_RX_FIFO_FULL_COUNT(fifo_status); in tegra_spi_read_rx_fifo_to_client_rxbuf()
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-i2c.c387 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()
/drivers/mmc/host/
Dtifm_sd.c478 unsigned int fifo_status = 0; in tifm_sd_data_event() local
483 fifo_status = readl(sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event()
485 fifo_status, host->cmd_flags); in tifm_sd_data_event()
490 if (r_data && (fifo_status & TIFM_FIFO_READY)) { in tifm_sd_data_event()
498 writel(fifo_status, sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event()
/drivers/usb/gadget/udc/
Dcore.c430 if (ep->ops->fifo_status) in usb_ep_fifo_status()
431 ret = ep->ops->fifo_status(ep); in usb_ep_fifo_status()
Dpxa27x_udc.c1410 .fifo_status = pxa_ep_fifo_status,
Dgoku_udc.c986 .fifo_status = goku_fifo_status,
Dgr_udc.c1837 .fifo_status = gr_fifo_status,
Dpxa25x_udc.c1107 .fifo_status = pxa25x_ep_fifo_status,
Dfsl_udc_core.c1126 .fifo_status = fsl_ep_fifo_status,
Datmel_usba_udc.c985 .fifo_status = usba_ep_fifo_status,
/drivers/usb/musb/
Dmusb_gadget.c1502 .fifo_status = musb_gadget_fifo_status,

12