Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-at91-master.c166 if (!dev->use_alt_cmd) in at91_twi_write_next_byte()
191 if (!dev->use_alt_cmd) in at91_twi_write_data_dma_callback()
309 if (!dev->use_alt_cmd && dev->buf_len == 1) in at91_twi_read_next_byte()
325 if (!dev->use_alt_cmd) { in at91_twi_read_data_dma_callback()
342 buf_len = (dev->use_alt_cmd) ? dev->buf_len : dev->buf_len - 2; in at91_twi_read_data_dma()
558 if (!dev->use_alt_cmd && dev->buf_len <= 1 && in at91_do_twi_transfer()
683 dev->use_alt_cmd = false; in at91_twi_xfer()
692 dev->use_alt_cmd = true; in at91_twi_xfer()
701 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
852 if (dev->use_alt_cmd) { in at91_twi_recover_bus_cmd()
H A Di2c-at91.h154 bool use_alt_cmd; member