Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mfd/
Ddb8500-prcmu.c440 } mb5_transfer; variable
2103 mutex_lock(&mb5_transfer.lock); in prcmu_abb_read()
2116 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_read()
2122 r = ((mb5_transfer.ack.status == I2C_RD_OK) ? 0 : -EIO); in prcmu_abb_read()
2126 *value = mb5_transfer.ack.value; in prcmu_abb_read()
2128 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_read()
2153 mutex_lock(&mb5_transfer.lock); in prcmu_abb_write_masked()
2166 if (!wait_for_completion_timeout(&mb5_transfer.work, in prcmu_abb_write_masked()
2172 r = ((mb5_transfer.ack.status == I2C_WR_OK) ? 0 : -EIO); in prcmu_abb_write_masked()
2175 mutex_unlock(&mb5_transfer.lock); in prcmu_abb_write_masked()
[all …]