Lines Matching refs:tinst
240 tinst) in sparx5_get_dev_phy_stats() argument
244 DEV5G_RX_SYMBOL_ERR_CNT(tinst))); in sparx5_get_dev_phy_stats()
247 DEV5G_PMAC_RX_SYMBOL_ERR_CNT(tinst))); in sparx5_get_dev_phy_stats()
251 tinst) in sparx5_get_dev_mac_stats() argument
254 spx5_inst_rd(inst, DEV5G_TX_UC_CNT(tinst))); in sparx5_get_dev_mac_stats()
256 spx5_inst_rd(inst, DEV5G_PMAC_TX_UC_CNT(tinst))); in sparx5_get_dev_mac_stats()
258 spx5_inst_rd(inst, DEV5G_TX_MC_CNT(tinst))); in sparx5_get_dev_mac_stats()
260 spx5_inst_rd(inst, DEV5G_TX_BC_CNT(tinst))); in sparx5_get_dev_mac_stats()
262 spx5_inst_rd(inst, DEV5G_RX_UC_CNT(tinst))); in sparx5_get_dev_mac_stats()
264 spx5_inst_rd(inst, DEV5G_PMAC_RX_UC_CNT(tinst))); in sparx5_get_dev_mac_stats()
266 spx5_inst_rd(inst, DEV5G_RX_MC_CNT(tinst))); in sparx5_get_dev_mac_stats()
268 spx5_inst_rd(inst, DEV5G_RX_BC_CNT(tinst))); in sparx5_get_dev_mac_stats()
270 spx5_inst_rd(inst, DEV5G_RX_CRC_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
273 DEV5G_PMAC_RX_CRC_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
276 DEV5G_RX_ALIGNMENT_LOST_CNT(tinst))); in sparx5_get_dev_mac_stats()
279 DEV5G_PMAC_RX_ALIGNMENT_LOST_CNT(tinst))); in sparx5_get_dev_mac_stats()
281 spx5_inst_rd(inst, DEV5G_TX_OK_BYTES_CNT(tinst))); in sparx5_get_dev_mac_stats()
284 DEV5G_PMAC_TX_OK_BYTES_CNT(tinst))); in sparx5_get_dev_mac_stats()
286 spx5_inst_rd(inst, DEV5G_RX_OK_BYTES_CNT(tinst))); in sparx5_get_dev_mac_stats()
289 DEV5G_PMAC_RX_OK_BYTES_CNT(tinst))); in sparx5_get_dev_mac_stats()
291 spx5_inst_rd(inst, DEV5G_PMAC_TX_MC_CNT(tinst))); in sparx5_get_dev_mac_stats()
293 spx5_inst_rd(inst, DEV5G_PMAC_TX_BC_CNT(tinst))); in sparx5_get_dev_mac_stats()
295 spx5_inst_rd(inst, DEV5G_PMAC_RX_MC_CNT(tinst))); in sparx5_get_dev_mac_stats()
297 spx5_inst_rd(inst, DEV5G_PMAC_RX_BC_CNT(tinst))); in sparx5_get_dev_mac_stats()
300 DEV5G_RX_IN_RANGE_LEN_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
303 DEV5G_PMAC_RX_IN_RANGE_LEN_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
306 DEV5G_RX_OUT_OF_RANGE_LEN_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
309 DEV5G_PMAC_RX_OUT_OF_RANGE_LEN_ERR_CNT(tinst))); in sparx5_get_dev_mac_stats()
311 spx5_inst_rd(inst, DEV5G_RX_OVERSIZE_CNT(tinst))); in sparx5_get_dev_mac_stats()
314 DEV5G_PMAC_RX_OVERSIZE_CNT(tinst))); in sparx5_get_dev_mac_stats()
318 u32 tinst) in sparx5_get_dev_mac_ctrl_stats() argument
321 spx5_inst_rd(inst, DEV5G_TX_PAUSE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats()
324 DEV5G_PMAC_TX_PAUSE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats()
326 spx5_inst_rd(inst, DEV5G_RX_PAUSE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats()
329 DEV5G_PMAC_RX_PAUSE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats()
332 DEV5G_RX_UNSUP_OPCODE_CNT(tinst))); in sparx5_get_dev_mac_ctrl_stats()
335 DEV5G_PMAC_RX_UNSUP_OPCODE_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()
346 DEV5G_PMAC_RX_UNDERSIZE_CNT(tinst))); in sparx5_get_dev_rmon_stats()
348 spx5_inst_rd(inst, DEV5G_RX_OVERSIZE_CNT(tinst))); in sparx5_get_dev_rmon_stats()
351 DEV5G_PMAC_RX_OVERSIZE_CNT(tinst))); in sparx5_get_dev_rmon_stats()
354 DEV5G_RX_FRAGMENTS_CNT(tinst))); in sparx5_get_dev_rmon_stats()
357 DEV5G_PMAC_RX_FRAGMENTS_CNT(tinst))); in sparx5_get_dev_rmon_stats()
359 spx5_inst_rd(inst, DEV5G_RX_JABBERS_CNT(tinst))); in sparx5_get_dev_rmon_stats()
362 DEV5G_PMAC_RX_JABBERS_CNT(tinst))); in sparx5_get_dev_rmon_stats()
364 spx5_inst_rd(inst, DEV5G_RX_SIZE64_CNT(tinst))); in sparx5_get_dev_rmon_stats()
367 DEV5G_PMAC_RX_SIZE64_CNT(tinst))); in sparx5_get_dev_rmon_stats()
370 DEV5G_RX_SIZE65TO127_CNT(tinst))); in sparx5_get_dev_rmon_stats()
373 DEV5G_PMAC_RX_SIZE65TO127_CNT(tinst))); in sparx5_get_dev_rmon_stats()
376 DEV5G_RX_SIZE128TO255_CNT(tinst))); in sparx5_get_dev_rmon_stats()
379 DEV5G_PMAC_RX_SIZE128TO255_CNT(tinst))); in sparx5_get_dev_rmon_stats()
382 DEV5G_RX_SIZE256TO511_CNT(tinst))); in sparx5_get_dev_rmon_stats()
385 DEV5G_PMAC_RX_SIZE256TO511_CNT(tinst))); in sparx5_get_dev_rmon_stats()
388 DEV5G_RX_SIZE512TO1023_CNT(tinst))); in sparx5_get_dev_rmon_stats()
391 DEV5G_PMAC_RX_SIZE512TO1023_CNT(tinst))); in sparx5_get_dev_rmon_stats()
394 DEV5G_RX_SIZE1024TO1518_CNT(tinst))); in sparx5_get_dev_rmon_stats()
397 DEV5G_PMAC_RX_SIZE1024TO1518_CNT(tinst))); in sparx5_get_dev_rmon_stats()
400 DEV5G_RX_SIZE1519TOMAX_CNT(tinst))); in sparx5_get_dev_rmon_stats()
403 DEV5G_PMAC_RX_SIZE1519TOMAX_CNT(tinst))); in sparx5_get_dev_rmon_stats()
405 spx5_inst_rd(inst, DEV5G_TX_SIZE64_CNT(tinst))); in sparx5_get_dev_rmon_stats()
408 DEV5G_PMAC_TX_SIZE64_CNT(tinst))); in sparx5_get_dev_rmon_stats()
411 DEV5G_TX_SIZE65TO127_CNT(tinst))); in sparx5_get_dev_rmon_stats()
414 DEV5G_PMAC_TX_SIZE65TO127_CNT(tinst))); in sparx5_get_dev_rmon_stats()
417 DEV5G_TX_SIZE128TO255_CNT(tinst))); in sparx5_get_dev_rmon_stats()
420 DEV5G_PMAC_TX_SIZE128TO255_CNT(tinst))); in sparx5_get_dev_rmon_stats()
423 DEV5G_TX_SIZE256TO511_CNT(tinst))); in sparx5_get_dev_rmon_stats()
426 DEV5G_PMAC_TX_SIZE256TO511_CNT(tinst))); in sparx5_get_dev_rmon_stats()
429 DEV5G_TX_SIZE512TO1023_CNT(tinst))); in sparx5_get_dev_rmon_stats()
432 DEV5G_PMAC_TX_SIZE512TO1023_CNT(tinst))); in sparx5_get_dev_rmon_stats()
435 DEV5G_TX_SIZE1024TO1518_CNT(tinst))); in sparx5_get_dev_rmon_stats()
438 DEV5G_PMAC_TX_SIZE1024TO1518_CNT(tinst))); in sparx5_get_dev_rmon_stats()
441 DEV5G_TX_SIZE1519TOMAX_CNT(tinst))); in sparx5_get_dev_rmon_stats()
444 DEV5G_PMAC_TX_SIZE1519TOMAX_CNT(tinst))); in sparx5_get_dev_rmon_stats()
448 tinst) in sparx5_get_dev_misc_stats() argument
452 DEV5G_MM_RX_ASSEMBLY_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
455 DEV5G_MM_RX_ASSEMBLY_OK_CNT(tinst))); in sparx5_get_dev_misc_stats()
458 DEV5G_MM_RX_MERGE_FRAG_CNT(tinst))); in sparx5_get_dev_misc_stats()
461 DEV5G_MM_RX_SMD_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
464 DEV5G_MM_TX_PFRAGMENT_CNT(tinst))); in sparx5_get_dev_misc_stats()
467 DEV5G_RX_BAD_BYTES_CNT(tinst))); in sparx5_get_dev_misc_stats()
470 DEV5G_PMAC_RX_BAD_BYTES_CNT(tinst))); in sparx5_get_dev_misc_stats()
472 spx5_inst_rd(inst, DEV5G_RX_IN_BYTES_CNT(tinst))); in sparx5_get_dev_misc_stats()
475 DEV5G_RX_IPG_SHRINK_CNT(tinst))); in sparx5_get_dev_misc_stats()
478 DEV5G_RX_TAGGED_FRMS_CNT(tinst))); in sparx5_get_dev_misc_stats()
481 DEV5G_RX_UNTAGGED_FRMS_CNT(tinst))); in sparx5_get_dev_misc_stats()
484 DEV5G_TX_OUT_BYTES_CNT(tinst))); in sparx5_get_dev_misc_stats()
487 DEV5G_TX_TAGGED_FRMS_CNT(tinst))); in sparx5_get_dev_misc_stats()
490 DEV5G_TX_UNTAGGED_FRMS_CNT(tinst))); in sparx5_get_dev_misc_stats()
493 DEV5G_RX_HIH_CKSM_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
496 DEV5G_PMAC_RX_HIH_CKSM_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
499 DEV5G_RX_XGMII_PROT_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
502 DEV5G_PMAC_RX_XGMII_PROT_ERR_CNT(tinst))); in sparx5_get_dev_misc_stats()
508 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_device_stats() local
512 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_device_stats()
513 sparx5_get_dev_phy_stats(portstats, inst, tinst); in sparx5_get_device_stats()
514 sparx5_get_dev_mac_stats(portstats, inst, tinst); in sparx5_get_device_stats()
515 sparx5_get_dev_mac_ctrl_stats(portstats, inst, tinst); in sparx5_get_device_stats()
516 sparx5_get_dev_rmon_stats(portstats, inst, tinst); in sparx5_get_device_stats()
517 sparx5_get_dev_misc_stats(portstats, inst, tinst); in sparx5_get_device_stats()
822 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_eth_phy_stats() local
825 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_eth_phy_stats()
826 sparx5_get_dev_phy_stats(portstats, inst, tinst); in sparx5_get_eth_phy_stats()
847 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_eth_mac_stats() local
850 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_eth_mac_stats()
851 sparx5_get_dev_mac_stats(portstats, inst, tinst); in sparx5_get_eth_mac_stats()
915 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_eth_mac_ctrl_stats() local
918 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_eth_mac_ctrl_stats()
919 sparx5_get_dev_mac_ctrl_stats(portstats, inst, tinst); in sparx5_get_eth_mac_ctrl_stats()
947 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_eth_rmon_stats() local
950 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_eth_rmon_stats()
951 sparx5_get_dev_rmon_stats(portstats, inst, tinst); in sparx5_get_eth_rmon_stats()
1030 u32 tinst = sparx5_port_dev_index(portno); in sparx5_get_sset_data() local
1033 inst = spx5_inst_get(sparx5, dev, tinst); in sparx5_get_sset_data()
1034 sparx5_get_dev_misc_stats(portstats, inst, tinst); in sparx5_get_sset_data()