Searched refs:stat_ctrl (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_i2c.c60 __le16 stat_ctrl; member in struct:netup_i2c_fifo_regs
104 tmp = readw(&i2c->regs->rx_fifo.stat_ctrl); netup_i2c_interrupt()
105 writew(tmp & ~FIFO_IRQEN, &i2c->regs->rx_fifo.stat_ctrl); netup_i2c_interrupt()
112 tmp = readw(&i2c->regs->tx_fifo.stat_ctrl); netup_i2c_interrupt()
113 writew(tmp & ~FIFO_IRQEN, &i2c->regs->tx_fifo.stat_ctrl); netup_i2c_interrupt()
134 writew(FIFO_RESET, &i2c->regs->tx_fifo.stat_ctrl); netup_i2c_reset()
135 writew(FIFO_RESET, &i2c->regs->rx_fifo.stat_ctrl); netup_i2c_reset()
136 writew(0x800, &i2c->regs->tx_fifo.stat_ctrl); netup_i2c_reset()
137 writew(0x800, &i2c->regs->rx_fifo.stat_ctrl); netup_i2c_reset()
144 (readw(&i2c->regs->tx_fifo.stat_ctrl) & 0x3f); netup_i2c_fifo_tx()
157 writew(readw(&i2c->regs->tx_fifo.stat_ctrl) | FIFO_IRQEN, netup_i2c_fifo_tx()
158 &i2c->regs->tx_fifo.stat_ctrl); netup_i2c_fifo_tx()
165 u32 fifo_size = readw(&i2c->regs->rx_fifo.stat_ctrl) & 0x3f; netup_i2c_fifo_rx()
181 writew(readw(&i2c->regs->rx_fifo.stat_ctrl) | FIFO_IRQEN, netup_i2c_fifo_rx()
182 &i2c->regs->rx_fifo.stat_ctrl); netup_i2c_fifo_rx()
205 writew(FIFO_IRQEN | readw(&i2c->regs->rx_fifo.stat_ctrl), netup_i2c_start_xfer()
206 &i2c->regs->rx_fifo.stat_ctrl); netup_i2c_start_xfer()

Completed in 44 milliseconds