/linux-6.1.9/drivers/phy/microchip/ |
D | sparx5_serdes.h | 53 int gbase, int ginst, in sdx5_addr() argument 59 WARN_ON((ginst) >= gcnt); in sdx5_addr() 62 gbase + ((ginst) * gwidth) + in sdx5_addr() 67 int gbase, int ginst, in sdx5_inst_baseaddr() argument 72 WARN_ON((ginst) >= gcnt); in sdx5_inst_baseaddr() 75 gbase + ((ginst) * gwidth) + in sdx5_inst_baseaddr() 81 int gbase, int ginst, int gcnt, int gwidth, in sdx5_rmw() argument 87 gbase, ginst, gcnt, gwidth, in sdx5_rmw() 96 int gbase, int ginst, int gcnt, int gwidth, in sdx5_inst_rmw() argument 102 gbase, ginst, gcnt, gwidth, in sdx5_inst_rmw() [all …]
|
D | lan966x_serdes.c | 21 gbase, ginst, gcnt, gwidth, \ argument 23 (gbase + ((ginst) * gwidth) + raddr + ((rinst) * rwidth))
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_main.h | 424 int gbase, int ginst, in spx5_offset() argument 430 WARN_ON((ginst) >= gcnt); in spx5_offset() 432 return gbase + ((ginst) * gwidth) + in spx5_offset() 441 int gbase, int ginst, in spx5_addr() argument 447 WARN_ON((ginst) >= gcnt); in spx5_addr() 450 gbase + ((ginst) * gwidth) + in spx5_addr() 455 int gbase, int ginst, in spx5_inst_addr() argument 460 WARN_ON((ginst) >= gcnt); in spx5_inst_addr() 463 gbase + ((ginst) * gwidth) + in spx5_inst_addr() 468 int gbase, int ginst, int gcnt, int gwidth, in spx5_rd() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.h | 532 int gbase, int ginst, in lan_addr() argument 538 WARN_ON((ginst) >= gcnt); in lan_addr() 541 gbase + ((ginst) * gwidth) + in lan_addr() 546 int gbase, int ginst, int gcnt, int gwidth, in lan_rd() argument 549 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd() 555 int gbase, int ginst, int gcnt, int gwidth, in lan_wr() argument 559 gbase, ginst, gcnt, gwidth, in lan_wr() 565 int gbase, int ginst, int gcnt, int gwidth, in lan_rmw() argument 570 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw() 573 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
|