Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/greybus/
Darche-platform.c73 static void arche_platform_set_state(struct arche_platform_drvdata *arche_pdata, in arche_platform_set_state() argument
76 arche_pdata->state = state; in arche_platform_set_state()
81 struct arche_platform_drvdata *arche_pdata, in arche_platform_set_wake_detect_state() argument
84 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() argument
118 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() local
126 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 …]