Searched refs:p2wi (Results 1 – 10 of 10) sorted by relevance
29 struct sunxi_p2wi_reg *p2wi = (struct sunxi_p2wi_reg *)SUN6I_P2WI_BASE; in p2wi_init() local38 writel(P2WI_CTRL_RESET, &p2wi->ctrl); in p2wi_init()41 &p2wi->cc); in p2wi_init()46 struct sunxi_p2wi_reg *p2wi = (struct sunxi_p2wi_reg *)SUN6I_P2WI_BASE; in p2wi_change_to_p2wi_mode() local53 &p2wi->pm); in p2wi_change_to_p2wi_mode()55 while ((readl(&p2wi->pm) & P2WI_PM_INIT_SEND)) { in p2wi_change_to_p2wi_mode()65 struct sunxi_p2wi_reg *p2wi = (struct sunxi_p2wi_reg *)SUN6I_P2WI_BASE; in p2wi_await_trans() local71 reg = readl(&p2wi->status); in p2wi_await_trans()85 writel(reg, &p2wi->status); /* Clear status bits */ in p2wi_await_trans()91 struct sunxi_p2wi_reg *p2wi = (struct sunxi_p2wi_reg *)SUN6I_P2WI_BASE; in p2wi_read() local[all …]
22 obj-$(CONFIG_MACH_SUN6I) += p2wi.o
76 &p2wi {
94 &p2wi {
116 &p2wi {
158 &p2wi {
177 &p2wi {
1138 p2wi_pins: p2wi {1146 p2wi: i2c@01f03400 { label1147 compatible = "allwinner,sun6i-a31-p2wi";