Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-at91-master.c36 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_FIFOEN); in at91_init_twi_bus_master()
37 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_MSEN); in at91_init_twi_bus_master()
38 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_SVDIS); in at91_init_twi_bus_master()
39 at91_twi_write(dev, AT91_TWI_CWGR, dev->twi_cwgr_reg); in at91_init_twi_bus_master()
127 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_STOP); in at91_twi_write_next_byte()
128 at91_twi_write(dev, AT91_TWI_IDR, AT91_TWI_TXRDY); in at91_twi_write_next_byte()
150 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_TXCOMP); in at91_twi_write_data_dma_callback()
152 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_STOP); in at91_twi_write_data_dma_callback()
206 at91_twi_write(dev, AT91_TWI_FMR, fifo_mr); in at91_twi_write_data_dma()
270 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_STOP); in at91_twi_read_next_byte()
[all …]
Di2c-at91-slave.c31 at91_twi_write(dev, AT91_TWI_IER, in atmel_twi_interrupt_slave()
36 at91_twi_write(dev, AT91_TWI_IER, in atmel_twi_interrupt_slave()
39 at91_twi_write(dev, AT91_TWI_IDR, AT91_TWI_SVACC); in atmel_twi_interrupt_slave()
56 at91_twi_write(dev, AT91_TWI_IDR, in atmel_twi_interrupt_slave()
58 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_SVACC); in atmel_twi_interrupt_slave()
82 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_SVACC); in at91_reg_slave()
138 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_MSDIS); in at91_init_twi_bus_slave()
140 at91_twi_write(dev, AT91_TWI_SMR, dev->smr); in at91_init_twi_bus_slave()
141 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_SVEN); in at91_init_twi_bus_slave()
Di2c-at91-core.c34 void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val) in at91_twi_write() function
41 at91_twi_write(dev, AT91_TWI_IDR, AT91_TWI_INT_MASK); in at91_disable_twi_interrupts()
52 at91_twi_write(dev, AT91_TWI_IER, dev->imr); in at91_twi_irq_restore()
58 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_SWRST); in at91_init_twi_bus()
Di2c-at91.h151 void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val);