Home
last modified time | relevance | path

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

12

/drivers/media/pci/tw686x/
Dtw686x-core.c172 u32 fifo_status, fifo_signal, fifo_ov, fifo_bad, fifo_errors; in tw686x_irq() local
177 fifo_status = reg_read(dev, VIDEO_FIFO_STATUS); in tw686x_irq()
180 if (!int_status && !TW686X_FIFO_ERROR(fifo_status)) in tw686x_irq()
195 fifo_signal = ~(fifo_status & 0xff) & video_en; in tw686x_irq()
196 fifo_ov = fifo_status >> 24; in tw686x_irq()
197 fifo_bad = fifo_status >> 16; in tw686x_irq()
211 fifo_status, &reset_ch); in tw686x_irq()
Dtw686x.h176 unsigned int pb_status, unsigned int fifo_status,
Dtw686x-video.c1095 unsigned int pb_status, unsigned int fifo_status, in tw686x_video_irq() argument
1110 if (vc->no_signal && !(fifo_status & BIT(ch))) { in tw686x_video_irq()
1118 vc->no_signal = !!(fifo_status & BIT(ch)); in tw686x_video_irq()
1124 fifo_ov = (fifo_status >> 24) & BIT(ch); in tw686x_video_irq()
1125 fifo_bad = (fifo_status >> 16) & BIT(ch); in tw686x_video_irq()
/drivers/input/serio/
Dsun4i-ps2.c98 u32 fifo_status; in sun4i_ps2_interrupt() local
107 fifo_status = readl(drvdata->reg_base + PS2_REG_FSTS); in sun4i_ps2_interrupt()
121 if (fifo_status & PS2_FIFO_ERROR_BIT) { in sun4i_ps2_interrupt()
127 rval = (fifo_status >> 16) & 0x3; in sun4i_ps2_interrupt()
134 writel(fifo_status, drvdata->reg_base + PS2_REG_FSTS); in sun4i_ps2_interrupt()
/drivers/staging/irda/drivers/
Dstir4200.c176 __u8 *fifo_status; member
600 err = read_reg(stir, REG_FIFOCTL, stir->fifo_status, in fifo_txwait()
609 status = stir->fifo_status[0]; in fifo_txwait()
610 count = (unsigned)(stir->fifo_status[2] & 0x1f) << 8 in fifo_txwait()
611 | stir->fifo_status[1]; in fifo_txwait()
893 stir->fifo_status = kmalloc(FIFO_REGS_SIZE, GFP_KERNEL); in stir_net_open()
894 if (!stir->fifo_status) in stir_net_open()
925 kfree(stir->fifo_status); in stir_net_open()
951 kfree(stir->fifo_status); in stir_net_close()
Dmcs7780.h116 __u8 *fifo_status; member
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c231 __le16 fifo_status; in st_lsm6dsx_read_fifo() local
234 sizeof(fifo_status), (u8 *)&fifo_status); in st_lsm6dsx_read_fifo()
238 if (fifo_status & cpu_to_le16(ST_LSM6DSX_FIFO_EMPTY_MASK)) in st_lsm6dsx_read_fifo()
241 fifo_len = (le16_to_cpu(fifo_status) & ST_LSM6DSX_FIFO_DIFF_MASK) * in st_lsm6dsx_read_fifo()
/drivers/staging/comedi/drivers/
Drtd520.c504 unsigned int fifo_status; in rtd520_probe_fifo_depth() local
508 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd520_probe_fifo_depth()
509 if ((fifo_status & FS_ADC_HEMPTY) == 0) { in rtd520_probe_fifo_depth()
625 u16 fifo_status; in rtd_interrupt() local
630 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt()
632 if (!(fifo_status & FS_ADC_NOT_FULL)) /* 0 -> full */ in rtd_interrupt()
647 if (!(fifo_status & FS_ADC_HEMPTY)) { in rtd_interrupt()
655 if (fifo_status & FS_ADC_NOT_EMPTY) { in rtd_interrupt()
689 fifo_status = readl(dev->mmio + LAS0_ADC); in rtd_interrupt()
/drivers/memstick/host/
Dtifm_ms.c389 unsigned int fifo_status = 0, host_status = 0; in tifm_ms_data_event() local
394 fifo_status = readl(sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_ms_data_event()
398 fifo_status, host_status, host->cmd_flags); in tifm_ms_data_event()
401 if (host->use_dma && (fifo_status & 1)) { in tifm_ms_data_event()
405 if (!host->use_dma && (fifo_status & TIFM_FIFO_MORE)) { in tifm_ms_data_event()
413 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-exynos5.c411 u32 fifo_level, int_status, fifo_status, trans_status; in exynos5_i2c_irq() local
476 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq()
477 fifo_level = HSI2C_RX_FIFO_LVL(fifo_status); in exynos5_i2c_irq()
488 fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS); in exynos5_i2c_irq()
489 fifo_level = HSI2C_TX_FIFO_LVL(fifo_status); in exynos5_i2c_irq()
Di2c-img-scb.c546 u32 fifo_status; in img_i2c_read_fifo() local
550 fifo_status = img_i2c_readl(i2c, SCB_FIFO_STATUS_REG); in img_i2c_read_fifo()
551 if (fifo_status & FIFO_READ_EMPTY) in img_i2c_read_fifo()
567 u32 fifo_status; in img_i2c_write_fifo() local
570 fifo_status = img_i2c_readl(i2c, SCB_FIFO_STATUS_REG); in img_i2c_write_fifo()
571 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/tty/serial/
Dsirfsoc_uart.h104 struct sirfsoc_fifo_status fifo_status; member
180 .fifo_status = {
251 .fifo_status = {
Dsirfsoc_uart.c72 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_tx_empty()
398 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_pio_rx_chars()
426 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_pio_tx_chars()
473 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_isr()
1120 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_console_putchar()
1187 ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_rx_dma_hrtimer_callback()
/drivers/spi/
Dspi-tegra114.c288 u32 fifo_status; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
295 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_fill_tx_fifo_from_client_txbuf()
296 tx_empty_count = SPI_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_spi_fill_tx_fifo_from_client_txbuf()
339 u32 fifo_status; in tegra_spi_read_rx_fifo_to_client_rxbuf() local
345 fifo_status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_read_rx_fifo_to_client_rxbuf()
346 rx_full_count = SPI_RX_FIFO_FULL_COUNT(fifo_status); in tegra_spi_read_rx_fifo_to_client_rxbuf()
Dspi-tegra20-slink.c305 u32 fifo_status; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
312 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_fill_tx_fifo_from_client_txbuf()
313 tx_empty_count = SLINK_TX_FIFO_EMPTY_COUNT(fifo_status); in tegra_slink_fill_tx_fifo_from_client_txbuf()
346 u32 fifo_status; in tegra_slink_read_rx_fifo_to_client_rxbuf() local
352 fifo_status = tegra_slink_readl(tspi, SLINK_STATUS2); in tegra_slink_read_rx_fifo_to_client_rxbuf()
353 rx_full_count = SLINK_RX_FIFO_FULL_COUNT(fifo_status); in tegra_slink_read_rx_fifo_to_client_rxbuf()
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-i2c.c396 u8 fifo_status = 0; in mxl111sf_i2c_readagain() local
401 while ((fifo_status == 0) && (i++ < 5)) in mxl111sf_i2c_readagain()
402 fifo_status = mxl111sf_i2c_check_fifo(state); in mxl111sf_i2c_readagain()
/drivers/mmc/host/
Dtifm_sd.c479 unsigned int fifo_status = 0; in tifm_sd_data_event() local
484 fifo_status = readl(sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event()
486 fifo_status, host->cmd_flags); in tifm_sd_data_event()
491 if (r_data && (fifo_status & TIFM_FIFO_READY)) { in tifm_sd_data_event()
499 writel(fifo_status, sock->addr + SOCK_DMA_FIFO_STATUS); in tifm_sd_data_event()
/drivers/usb/gadget/udc/
Dcore.c415 if (ep->ops->fifo_status) in usb_ep_fifo_status()
416 ret = ep->ops->fifo_status(ep); in usb_ep_fifo_status()
Dgoku_udc.c982 .fifo_status = goku_fifo_status,
Dgr_udc.c1856 .fifo_status = gr_fifo_status,
Dpxa25x_udc.c1111 .fifo_status = pxa25x_ep_fifo_status,
Dpxa27x_udc.c1487 .fifo_status = pxa_ep_fifo_status,
/drivers/usb/musb/
Dmusb_gadget.c1530 .fifo_status = musb_gadget_fifo_status,

12