Lines Matching refs:virt
81 void __iomem *virt; member
104 return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); in xway_stp_get()
123 xway_stp_w32(chip->virt, chip->shadow, XWAY_STP_CPU0); in xway_stp_set()
125 xway_stp_w32_mask(chip->virt, 0, XWAY_STP_CON_SWU, XWAY_STP_CON0); in xway_stp_set()
169 xway_stp_w32(chip->virt, 0, XWAY_STP_AR); in xway_stp_hw_init()
170 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU0); in xway_stp_hw_init()
171 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU1); in xway_stp_hw_init()
172 xway_stp_w32(chip->virt, XWAY_STP_CON_SWU, XWAY_STP_CON0); in xway_stp_hw_init()
173 xway_stp_w32(chip->virt, 0, XWAY_STP_CON1); in xway_stp_hw_init()
176 xway_stp_w32_mask(chip->virt, XWAY_STP_EDGE_MASK, in xway_stp_hw_init()
180 xway_stp_w32_mask(chip->virt, XWAY_STP_GROUP_MASK, in xway_stp_hw_init()
184 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
190 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
194 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
201 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
208 xway_stp_w32_mask(chip->virt, in xway_stp_hw_init()
223 xway_stp_w32_mask(chip->virt, XWAY_STP_UPD_MASK, in xway_stp_hw_init()
225 xway_stp_w32_mask(chip->virt, XWAY_STP_SPEED_MASK, in xway_stp_hw_init()
227 xway_stp_w32_mask(chip->virt, XWAY_STP_FPIS_MASK, in xway_stp_hw_init()
243 chip->virt = devm_platform_ioremap_resource(pdev, 0); in xway_stp_probe()
244 if (IS_ERR(chip->virt)) in xway_stp_probe()
245 return PTR_ERR(chip->virt); in xway_stp_probe()