Searched refs:arche_pdata (Results 1 – 1 of 1) sorted by relevance
73 static void arche_platform_set_state(struct arche_platform_drvdata *arche_pdata, in arche_platform_set_state() argument76 arche_pdata->state = state; in arche_platform_set_state()81 struct arche_platform_drvdata *arche_pdata, in arche_platform_set_wake_detect_state() argument84 arche_pdata->wake_detect_state = state; in arche_platform_set_wake_detect_state()115 static void arche_platform_wd_irq_en(struct arche_platform_drvdata *arche_pdata) in arche_platform_wd_irq_en() argument118 enable_irq(arche_pdata->wake_detect_irq); in arche_platform_wd_irq_en()123 struct arche_platform_drvdata *arche_pdata = devid; in arche_platform_wd_irq_thread() local126 spin_lock_irqsave(&arche_pdata->wake_lock, flags); in arche_platform_wd_irq_thread()127 if (arche_pdata->wake_detect_state != WD_STATE_COLDBOOT_TRIG) { in arche_platform_wd_irq_thread()129 spin_unlock_irqrestore(&arche_pdata->wake_lock, flags); in arche_platform_wd_irq_thread()[all …]