Lines Matching refs:ginst
574 int gbase, int ginst, in spx5_offset() argument
580 WARN_ON((ginst) >= gcnt); in spx5_offset()
582 return gbase + ((ginst) * gwidth) + in spx5_offset()
591 int gbase, int ginst, in spx5_addr() argument
597 WARN_ON((ginst) >= gcnt); in spx5_addr()
600 gbase + ((ginst) * gwidth) + in spx5_addr()
605 int gbase, int ginst, in spx5_inst_addr() argument
610 WARN_ON((ginst) >= gcnt); in spx5_inst_addr()
613 gbase + ((ginst) * gwidth) + in spx5_inst_addr()
618 int gbase, int ginst, int gcnt, int gwidth, in spx5_rd() argument
621 return readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rd()
626 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_rd() argument
629 return readl(spx5_inst_addr(iomem, gbase, ginst, in spx5_inst_rd()
635 int gbase, int ginst, int gcnt, int gwidth, in spx5_wr() argument
639 gbase, ginst, gcnt, gwidth, in spx5_wr()
645 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_wr() argument
649 gbase, ginst, gcnt, gwidth, in spx5_inst_wr()
655 int gbase, int ginst, int gcnt, int gwidth, in spx5_rmw() argument
660 nval = readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
663 writel(nval, spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
669 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_rmw() argument
674 nval = readl(spx5_inst_addr(iomem, gbase, ginst, gcnt, gwidth, raddr, in spx5_inst_rmw()
677 writel(nval, spx5_inst_addr(iomem, gbase, ginst, gcnt, gwidth, raddr, in spx5_inst_rmw()
688 int gbase, int ginst, int gcnt, int gwidth, in spx5_reg_get() argument
692 gbase, ginst, gcnt, gwidth, in spx5_reg_get()