Searched refs:wait_tab (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/nfc/st21nfca/
H A Di2c.c99 static u16 wait_tab[] = { 2, 3, 5, 15, 20, 40}; variable
254 for (i = 0; i < ARRAY_SIZE(wait_tab) && r < 0; i++) { st21nfca_hci_i2c_write()
257 msleep(wait_tab[i]); st21nfca_hci_i2c_write()
388 for (i = 0; i < ARRAY_SIZE(wait_tab) && r <= 0; i++) { st21nfca_hci_i2c_read()
391 msleep(wait_tab[i]); st21nfca_hci_i2c_read()
471 } else if (r == -EBADMSG && phy->crc_trials < ARRAY_SIZE(wait_tab)) { st21nfca_hci_irq_thread_fn()
481 msleep(wait_tab[phy->crc_trials]); st21nfca_hci_irq_thread_fn()

Completed in 52 milliseconds