Searched refs:mb0_transfer (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/mfd/ |
H A D | db8500-prcmu.c | 347 * mb0_transfer - state needed for mailbox 0 communication. 365 } mb0_transfer; variable in typeref:struct:__anon6294 790 spin_lock_irqsave(&mb0_transfer.lock, flags); db8500_prcmu_set_power_state() 803 spin_unlock_irqrestore(&mb0_transfer.lock, flags); db8500_prcmu_set_power_state() 813 /* This function should only be called while mb0_transfer.lock is held. */ config_wakeups() 826 dbb_events = mb0_transfer.req.dbb_irqs | mb0_transfer.req.dbb_wakeups; config_wakeups() 829 abb_events = mb0_transfer.req.abb_events; config_wakeups() 859 spin_lock_irqsave(&mb0_transfer.lock, flags); db8500_prcmu_enable_wakeups() 861 mb0_transfer.req.dbb_wakeups = bits; db8500_prcmu_enable_wakeups() 864 spin_unlock_irqrestore(&mb0_transfer.lock, flags); db8500_prcmu_enable_wakeups() 871 spin_lock_irqsave(&mb0_transfer.lock, flags); db8500_prcmu_config_abb_event_readout() 873 mb0_transfer.req.abb_events = abb_events; db8500_prcmu_config_abb_event_readout() 876 spin_unlock_irqrestore(&mb0_transfer.lock, flags); db8500_prcmu_config_abb_event_readout() 2271 mutex_lock(&mb0_transfer.ac_wake_lock); prcmu_ac_wake_req() 2292 if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work, prcmu_ac_wake_req() 2300 mutex_unlock(&mb0_transfer.ac_wake_lock); prcmu_ac_wake_req() 2311 mutex_lock(&mb0_transfer.ac_wake_lock); prcmu_ac_sleep_req() 2320 if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work, prcmu_ac_sleep_req() 2329 mutex_unlock(&mb0_transfer.ac_wake_lock); prcmu_ac_sleep_req() 2386 spin_lock_irqsave(&mb0_transfer.lock, flags); ack_dbb_wakeup() 2394 spin_unlock_irqrestore(&mb0_transfer.lock, flags); ack_dbb_wakeup() 2420 complete(&mb0_transfer.ac_wake_work); read_mailbox_0() 2424 ev &= mb0_transfer.req.dbb_irqs; read_mailbox_0() 2563 spin_lock_irqsave(&mb0_transfer.lock, flags); prcmu_mask_work() 2567 spin_unlock_irqrestore(&mb0_transfer.lock, flags); prcmu_mask_work() 2574 spin_lock_irqsave(&mb0_transfer.dbb_irqs_lock, flags); prcmu_irq_mask() 2576 mb0_transfer.req.dbb_irqs &= ~prcmu_irq_bit[d->hwirq]; prcmu_irq_mask() 2578 spin_unlock_irqrestore(&mb0_transfer.dbb_irqs_lock, flags); prcmu_irq_mask() 2581 schedule_work(&mb0_transfer.mask_work); prcmu_irq_mask() 2588 spin_lock_irqsave(&mb0_transfer.dbb_irqs_lock, flags); prcmu_irq_unmask() 2590 mb0_transfer.req.dbb_irqs |= prcmu_irq_bit[d->hwirq]; prcmu_irq_unmask() 2592 spin_unlock_irqrestore(&mb0_transfer.dbb_irqs_lock, flags); prcmu_irq_unmask() 2595 schedule_work(&mb0_transfer.mask_work); prcmu_irq_unmask() 2737 spin_lock_init(&mb0_transfer.lock); db8500_prcmu_early_init() 2738 spin_lock_init(&mb0_transfer.dbb_irqs_lock); db8500_prcmu_early_init() 2739 mutex_init(&mb0_transfer.ac_wake_lock); db8500_prcmu_early_init() 2740 init_completion(&mb0_transfer.ac_wake_work); db8500_prcmu_early_init() 2755 INIT_WORK(&mb0_transfer.mask_work, prcmu_mask_work); db8500_prcmu_early_init()
|
Completed in 53 milliseconds