Lines Matching refs:mb2_transfer
403 } mb2_transfer; variable
1183 mutex_lock(&mb2_transfer.lock); in db8500_prcmu_set_epod()
1203 if (!wait_for_completion_timeout(&mb2_transfer.work, in db8500_prcmu_set_epod()
1211 if (mb2_transfer.ack.status != HWACC_PWR_ST_OK) in db8500_prcmu_set_epod()
1215 mutex_unlock(&mb2_transfer.lock); in db8500_prcmu_set_epod()
1247 spin_lock_irqsave(&mb2_transfer.auto_pm_lock, flags); in prcmu_configure_auto_pm()
1257 mb2_transfer.auto_pm_enabled = in prcmu_configure_auto_pm()
1263 spin_unlock_irqrestore(&mb2_transfer.auto_pm_lock, flags); in prcmu_configure_auto_pm()
1269 return mb2_transfer.auto_pm_enabled; in prcmu_is_auto_pm_enabled()
2467 mb2_transfer.ack.status = readb(tcdm_base + PRCM_ACK_MB2_DPS_STATUS); in read_mailbox_2()
2469 complete(&mb2_transfer.work); in read_mailbox_2()
2754 mutex_init(&mb2_transfer.lock); in db8500_prcmu_early_init()
2755 init_completion(&mb2_transfer.work); in db8500_prcmu_early_init()
2756 spin_lock_init(&mb2_transfer.auto_pm_lock); in db8500_prcmu_early_init()