Lines Matching refs:ginst
409 int gbase, int ginst, in spx5_offset() argument
415 WARN_ON((ginst) >= gcnt); in spx5_offset()
417 return gbase + ((ginst) * gwidth) + in spx5_offset()
426 int gbase, int ginst, in spx5_addr() argument
432 WARN_ON((ginst) >= gcnt); in spx5_addr()
435 gbase + ((ginst) * gwidth) + in spx5_addr()
440 int gbase, int ginst, in spx5_inst_addr() argument
445 WARN_ON((ginst) >= gcnt); in spx5_inst_addr()
448 gbase + ((ginst) * gwidth) + in spx5_inst_addr()
453 int gbase, int ginst, int gcnt, int gwidth, in spx5_rd() argument
456 return readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rd()
461 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_rd() argument
464 return readl(spx5_inst_addr(iomem, gbase, ginst, in spx5_inst_rd()
470 int gbase, int ginst, int gcnt, int gwidth, in spx5_wr() argument
474 gbase, ginst, gcnt, gwidth, in spx5_wr()
480 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_wr() argument
484 gbase, ginst, gcnt, gwidth, in spx5_inst_wr()
490 int gbase, int ginst, int gcnt, int gwidth, in spx5_rmw() argument
495 nval = readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
498 writel(nval, spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
504 int gbase, int ginst, int gcnt, int gwidth, in spx5_inst_rmw() argument
509 nval = readl(spx5_inst_addr(iomem, gbase, ginst, gcnt, gwidth, raddr, in spx5_inst_rmw()
512 writel(nval, spx5_inst_addr(iomem, gbase, ginst, gcnt, gwidth, raddr, in spx5_inst_rmw()
523 int gbase, int ginst, int gcnt, int gwidth, in spx5_reg_get() argument
527 gbase, ginst, gcnt, gwidth, in spx5_reg_get()