Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Ddb8500-prcmu.c440 } mb5_transfer; variable
2179 mutex_lock(&mb5_transfer.lock); in prcmu_abb_read()
2192 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_read()
2198 r = ((mb5_transfer.ack.status == I2C_RD_OK) ? 0 : -EIO); in prcmu_abb_read()
2202 *value = mb5_transfer.ack.value; in prcmu_abb_read()
2204 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_read()
2229 mutex_lock(&mb5_transfer.lock); in prcmu_abb_write_masked()
2242 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_write_masked()
2248 r = ((mb5_transfer.ack.status == I2C_WR_OK) ? 0 : -EIO); in prcmu_abb_write_masked()
2251 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_write_masked()
[all …]