Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mfd/
Ddb8500-prcmu.c441 } mb5_transfer; variable
2106 mutex_lock(&mb5_transfer.lock); in prcmu_abb_read()
2119 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_read()
2125 r = ((mb5_transfer.ack.status == I2C_RD_OK) ? 0 : -EIO); in prcmu_abb_read()
2129 *value = mb5_transfer.ack.value; in prcmu_abb_read()
2131 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_read()
2156 mutex_lock(&mb5_transfer.lock); in prcmu_abb_write_masked()
2169 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_write_masked()
2175 r = ((mb5_transfer.ack.status == I2C_WR_OK) ? 0 : -EIO); in prcmu_abb_write_masked()
2178 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_write_masked()
[all …]