Lines Matching refs:at91_twi_write

36 		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()
291 at91_twi_write(dev, AT91_TWI_IER, ier); in at91_twi_read_data_dma_callback()
325 at91_twi_write(dev, AT91_TWI_FMR, fifo_mr); in at91_twi_read_data_dma()
504 at91_twi_write(dev, AT91_TWI_FMR, fifo_mr); in at91_do_twi_transfer()
507 at91_twi_write(dev, AT91_TWI_CR, in at91_do_twi_transfer()
512 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_QUICK); in at91_do_twi_transfer()
513 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_TXCOMP); in at91_do_twi_transfer()
521 at91_twi_write(dev, AT91_TWI_CR, start_flags); in at91_do_twi_transfer()
532 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_NACK); in at91_do_twi_transfer()
535 at91_twi_write(dev, AT91_TWI_IER, in at91_do_twi_transfer()
542 at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_NACK); in at91_do_twi_transfer()
546 at91_twi_write(dev, AT91_TWI_IER, in at91_do_twi_transfer()
599 at91_twi_write(dev, AT91_TWI_CR, in at91_do_twi_transfer()
631 at91_twi_write(dev, AT91_TWI_IADR, internal_address); in at91_twi_xfer()
639 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_ACMEN); in at91_twi_xfer()
640 at91_twi_write(dev, AT91_TWI_ACR, in at91_twi_xfer()
645 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_ACMDIS); in at91_twi_xfer()
649 at91_twi_write(dev, AT91_TWI_MMR, in at91_twi_xfer()