Home
last modified time | relevance | path

Searched refs:ginst (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/phy/microchip/
Dsparx5_serdes.h52 int gbase, int ginst, in sdx5_addr() argument
58 WARN_ON((ginst) >= gcnt); in sdx5_addr()
61 gbase + ((ginst) * gwidth) + in sdx5_addr()
66 int gbase, int ginst, in sdx5_inst_baseaddr() argument
71 WARN_ON((ginst) >= gcnt); in sdx5_inst_baseaddr()
74 gbase + ((ginst) * gwidth) + in sdx5_inst_baseaddr()
80 int gbase, int ginst, int gcnt, int gwidth, in sdx5_rmw() argument
86 gbase, ginst, gcnt, gwidth, in sdx5_rmw()
95 int gbase, int ginst, int gcnt, int gwidth, in sdx5_inst_rmw() argument
101 gbase, ginst, gcnt, gwidth, in sdx5_inst_rmw()
[all …]
Dlan966x_serdes.c21 gbase, ginst, gcnt, gwidth, \ argument
23 (gbase + ((ginst) * gwidth) + raddr + ((rinst) * rwidth))
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.h574 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
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.h695 int gbase, int ginst, in lan_addr() argument
701 WARN_ON((ginst) >= gcnt); in lan_addr()
704 gbase + ((ginst) * gwidth) + in lan_addr()
709 int gbase, int ginst, int gcnt, int gwidth, in lan_rd() argument
712 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd()
718 int gbase, int ginst, int gcnt, int gwidth, in lan_wr() argument
722 gbase, ginst, gcnt, gwidth, in lan_wr()
728 int gbase, int ginst, int gcnt, int gwidth, in lan_rmw() argument
733 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
736 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()