/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_ethtool.c | 240 tinst) in sparx5_get_dev_phy_stats() argument 244 DEV5G_RX_SYMBOL_ERR_CNT(tinst))); in sparx5_get_dev_phy_stats() 251 tinst) in sparx5_get_dev_mac_stats() argument 318 u32 tinst) in sparx5_get_dev_mac_ctrl_stats() argument 324 DEV5G_PMAC_TX_PAUSE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats() 339 tinst) in sparx5_get_dev_rmon_stats() argument 343 DEV5G_RX_UNDERSIZE_CNT(tinst))); in sparx5_get_dev_rmon_stats() 354 DEV5G_RX_FRAGMENTS_CNT(tinst))); in sparx5_get_dev_rmon_stats() 448 tinst) in sparx5_get_dev_misc_stats() argument 467 DEV5G_RX_BAD_BYTES_CNT(tinst))); in sparx5_get_dev_misc_stats() [all …]
|
A D | sparx5_main.h | 573 WARN_ON((tinst) >= tcnt); in spx5_offset() 584 int id, int tinst, int tcnt, in spx5_addr() argument 590 WARN_ON((tinst) >= tcnt); in spx5_addr() 593 return base[id + (tinst)] + in spx5_addr() 628 int id, int tinst, int tcnt, in spx5_wr() argument 638 int id, int tinst, int tcnt, in spx5_inst_wr() argument 648 int id, int tinst, int tcnt, in spx5_rmw() argument 662 int id, int tinst, int tcnt, in spx5_inst_rmw() argument 677 return sparx5->regs[id + tinst]; in spx5_inst_get() 681 int id, int tinst, int tcnt, in spx5_reg_get() argument [all …]
|
A D | sparx5_port.c | 127 u32 value, dev, tinst; in sparx5_get_sfi_status() local 136 tinst = sparx5_port_dev_index(portno); in sparx5_get_sfi_status() 137 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_sfi_status() 318 u32 tinst = high_spd_dev ? in sparx5_port_disable() local 322 void __iomem *devinst = spx5_inst_get(sparx5, dev, tinst); in sparx5_port_disable() 431 void __iomem *pcsinst = spx5_inst_get(sparx5, pcs, tinst); in sparx5_port_disable() 444 DEV25G_PCS25G_CFG(tinst)); in sparx5_port_disable() 562 u32 tinst = sparx5_port_dev_index(port->portno); in sparx5_port_max_tags_set() local 563 void __iomem *inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_port_max_tags_set()
|
/linux-6.3-rc2/drivers/phy/microchip/ |
A D | sparx5_serdes.h | 52 int id, int tinst, int tcnt, in sdx5_addr() argument 58 WARN_ON((tinst) >= tcnt); in sdx5_addr() 61 return base[id + (tinst)] + in sdx5_addr() 80 int id, int tinst, int tcnt, in sdx5_rmw() argument 86 sdx5_addr(priv->regs, id, tinst, tcnt, in sdx5_rmw() 95 int id, int tinst, int tcnt, in sdx5_inst_rmw() argument 119 int id, int tinst) in sdx5_inst_get() argument 121 return priv->regs[id + tinst]; in sdx5_inst_get() 125 int id, int tinst, int tcnt, in sdx5_inst_addr() argument
|
A D | lan966x_serdes.c | 20 #define lan_offset_(id, tinst, tcnt, \ argument
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_main.h | 644 int id, int tinst, int tcnt, in lan_addr() argument 650 WARN_ON((tinst) >= tcnt); in lan_addr() 653 return base[id + (tinst)] + in lan_addr() 658 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, in lan_rd() argument 662 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd() 667 int id, int tinst, int tcnt, in lan_wr() argument 671 writel(val, lan_addr(lan966x->regs, id, tinst, tcnt, in lan_wr() 677 int id, int tinst, int tcnt, in lan_rmw() argument 683 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw() 686 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
|