Lines Matching full:virt
82 void __iomem *virt; member
105 return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); in xway_stp_get()
124 xway_stp_w32(chip->virt, chip->shadow, XWAY_STP_CPU0); in xway_stp_set()
126 xway_stp_w32_mask(chip->virt, 0, XWAY_STP_CON_SWU, XWAY_STP_CON0); in xway_stp_set()
170 xway_stp_w32(chip->virt, 0, XWAY_STP_AR); in xway_stp_hw_init()
171 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU0); in xway_stp_hw_init()
172 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU1); in xway_stp_hw_init()
173 xway_stp_w32(chip->virt, XWAY_STP_CON_SWU, XWAY_STP_CON0); in xway_stp_hw_init()
174 xway_stp_w32(chip->virt, 0, XWAY_STP_CON1); in xway_stp_hw_init()
177 xway_stp_w32_mask(chip->virt, XWAY_STP_EDGE_MASK, in xway_stp_hw_init()
181 xway_stp_w32_mask(chip->virt, XWAY_STP_GROUP_MASK, in xway_stp_hw_init()
185 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
191 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
195 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
202 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
209 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
224 xway_stp_w32_mask(chip->virt, XWAY_STP_UPD_MASK, in xway_stp_hw_init()
226 xway_stp_w32_mask(chip->virt, XWAY_STP_SPEED_MASK, in xway_stp_hw_init()
228 xway_stp_w32_mask(chip->virt, XWAY_STP_FPIS_MASK, in xway_stp_hw_init()
244 chip->virt = devm_platform_ioremap_resource(pdev, 0); in xway_stp_probe()
245 if (IS_ERR(chip->virt)) in xway_stp_probe()
246 return PTR_ERR(chip->virt); in xway_stp_probe()