pl01x: use C structs and readl/writel