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

/linux-4.4.14/drivers/mfd/
H A Ddb8500-prcmu.c387 * mb2_transfer - state needed for mailbox 2 communication.
403 } mb2_transfer; variable in typeref:struct:__anon6298
1205 mutex_lock(&mb2_transfer.lock); db8500_prcmu_set_epod()
1225 if (!wait_for_completion_timeout(&mb2_transfer.work, db8500_prcmu_set_epod()
1233 if (mb2_transfer.ack.status != HWACC_PWR_ST_OK) db8500_prcmu_set_epod()
1237 mutex_unlock(&mb2_transfer.lock); db8500_prcmu_set_epod()
1269 spin_lock_irqsave(&mb2_transfer.auto_pm_lock, flags); prcmu_configure_auto_pm()
1279 mb2_transfer.auto_pm_enabled = prcmu_configure_auto_pm()
1285 spin_unlock_irqrestore(&mb2_transfer.auto_pm_lock, flags); prcmu_configure_auto_pm()
1291 return mb2_transfer.auto_pm_enabled; prcmu_is_auto_pm_enabled()
2457 mb2_transfer.ack.status = readb(tcdm_base + PRCM_ACK_MB2_DPS_STATUS); read_mailbox_2()
2459 complete(&mb2_transfer.work); read_mailbox_2()
2744 mutex_init(&mb2_transfer.lock); db8500_prcmu_early_init()
2745 init_completion(&mb2_transfer.work); db8500_prcmu_early_init()
2746 spin_lock_init(&mb2_transfer.auto_pm_lock); db8500_prcmu_early_init()

Completed in 55 milliseconds