Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-at91-master.c126 if (!dev->use_alt_cmd) in at91_twi_write_next_byte()
151 if (!dev->use_alt_cmd) in at91_twi_write_data_dma_callback()
269 if (!dev->use_alt_cmd && dev->buf_len == 1) in at91_twi_read_next_byte()
285 if (!dev->use_alt_cmd) { in at91_twi_read_data_dma_callback()
302 buf_len = (dev->use_alt_cmd) ? dev->buf_len : dev->buf_len - 2; in at91_twi_read_data_dma()
518 if (!dev->use_alt_cmd && dev->buf_len <= 1 && in at91_do_twi_transfer()
634 dev->use_alt_cmd = false; in at91_twi_xfer()
643 dev->use_alt_cmd = true; in at91_twi_xfer()
652 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
Di2c-at91.h139 bool use_alt_cmd; member