Home
last modified time | relevance | path

Searched refs:at91_twi_read (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/i2c/busses/
Di2c-at91.c151 static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) in at91_twi_read() function
168 dev->imr = at91_twi_read(dev, AT91_TWI_IMR) & AT91_TWI_INT_MASK; in at91_twi_irq_save()
349 fifo_mr = at91_twi_read(dev, AT91_TWI_FMR); in at91_twi_write_data_dma()
386 at91_twi_read(dev, AT91_TWI_RHR); in at91_twi_read_next_byte()
468 fifo_mr = at91_twi_read(dev, AT91_TWI_FMR); in at91_twi_read_data_dma()
500 const unsigned status = at91_twi_read(dev, AT91_TWI_SR); in atmel_twi_interrupt()
501 const unsigned irqstatus = status & at91_twi_read(dev, AT91_TWI_IMR); in atmel_twi_interrupt()
529 } while (at91_twi_read(dev, AT91_TWI_SR) & AT91_TWI_RXRDY); in atmel_twi_interrupt()
640 at91_twi_read(dev, AT91_TWI_SR); in at91_do_twi_transfer()
643 unsigned fifo_mr = at91_twi_read(dev, AT91_TWI_FMR); in at91_do_twi_transfer()
[all …]