Lines Matching refs:pch_pic_priv
51 static struct pch_pic *pch_pic_priv[MAX_IO_PICS]; variable
248 pch_pic_priv[i]->saved_vec_pol[j] = in pch_pic_suspend()
249 readl(pch_pic_priv[i]->base + PCH_PIC_POL + 4 * j); in pch_pic_suspend()
250 pch_pic_priv[i]->saved_vec_edge[j] = in pch_pic_suspend()
251 readl(pch_pic_priv[i]->base + PCH_PIC_EDGE + 4 * j); in pch_pic_suspend()
252 pch_pic_priv[i]->saved_vec_en[j] = in pch_pic_suspend()
253 readl(pch_pic_priv[i]->base + PCH_PIC_MASK + 4 * j); in pch_pic_suspend()
265 pch_pic_reset(pch_pic_priv[i]); in pch_pic_resume()
267 writel(pch_pic_priv[i]->saved_vec_pol[j], in pch_pic_resume()
268 pch_pic_priv[i]->base + PCH_PIC_POL + 4 * j); in pch_pic_resume()
269 writel(pch_pic_priv[i]->saved_vec_edge[j], in pch_pic_resume()
270 pch_pic_priv[i]->base + PCH_PIC_EDGE + 4 * j); in pch_pic_resume()
271 writel(pch_pic_priv[i]->saved_vec_en[j], in pch_pic_resume()
272 pch_pic_priv[i]->base + PCH_PIC_MASK + 4 * j); in pch_pic_resume()
312 pch_pic_priv[nr_pics++] = priv; in pch_pic_init()
369 struct pch_pic *priv = pch_pic_priv[i]; in find_pch_pic()
387 return pch_lpc_acpi_init(pch_pic_priv[0]->pic_domain, pchlpc_entry); in pch_lpc_parse_madt()