Lines Matching refs:virt
83 void __iomem *virt;
110 xway_stp_w32(chip->virt, chip->shadow, XWAY_STP_CPU0);
111 xway_stp_w32_mask(chip->virt, 0, XWAY_STP_CON_SWU, XWAY_STP_CON0);
151 * @virt: pointer to the remapped register range
156 xway_stp_w32(chip->virt, 0, XWAY_STP_AR);
157 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU0);
158 xway_stp_w32(chip->virt, 0, XWAY_STP_CPU1);
159 xway_stp_w32(chip->virt, XWAY_STP_CON_SWU, XWAY_STP_CON0);
160 xway_stp_w32(chip->virt, 0, XWAY_STP_CON1);
163 xway_stp_w32_mask(chip->virt, XWAY_STP_EDGE_MASK,
167 xway_stp_w32_mask(chip->virt, XWAY_STP_GROUP_MASK,
171 xway_stp_w32_mask(chip->virt,
177 xway_stp_w32_mask(chip->virt,
181 xway_stp_w32_mask(chip->virt,
194 xway_stp_w32_mask(chip->virt, XWAY_STP_UPD_MASK,
217 chip->virt = devm_ioremap_resource(&pdev->dev, res);
218 if (IS_ERR(chip->virt))
219 return PTR_ERR(chip->virt);