Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-at91.c145 bool use_alt_cmd; member
274 if (!dev->use_alt_cmd) in at91_twi_write_next_byte()
297 if (!dev->use_alt_cmd) in at91_twi_write_data_dma_callback()
415 if (!dev->use_alt_cmd && dev->buf_len == 1) in at91_twi_read_next_byte()
431 if (!dev->use_alt_cmd) { in at91_twi_read_data_dma_callback()
448 buf_len = (dev->use_alt_cmd) ? dev->buf_len : dev->buf_len - 2; in at91_twi_read_data_dma()
656 if (!dev->use_alt_cmd && dev->buf_len <= 1 && in at91_do_twi_transfer()
773 dev->use_alt_cmd = false; in at91_twi_xfer()
782 dev->use_alt_cmd = true; in at91_twi_xfer()
791 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()