mstreg -d 41:00.0 --show_regs
Available Access Registers
================================================================================
========================
CWTP
CWTPM
MCIA
MLCR
MPCNT
MPEIN
NCFG
PAOS
PDDR
PMDR
PMLP
PPAOS
PPCNT
PPLM
PPLR
PPRT
PPTT
PTAS
PTYS
ROCE_ACCL
SBCM
SBDCR
SBPM
SBPR
SBSR
SLRG
SLRP
SLTP
Query a single access register (PAOS):
mstreg -d 41:00.0 --show_reg PAOS
Field Name | Address (Bytes) | Offset (Bits) | Size (Bits) | Access
=========================================================================
oper_status | 0x00000000 | 0 | 4 | RO
admin_status | 0x00000000 | 8 | 4 | RW
local_port | 0x00000000 | 16 | 8 | INDEX
swid | 0x00000000 | 24 | 8 | INDEX
e | 0x00000004 | 0 | 2 | RW
ee | 0x00000004 | 30 | 1 | WO
ase | 0x00000004 | 31 | 1 | WO
=========================================================================
Note: There might be indexes in access register fields that must be provided when setting orgetting
data.
Get access register data (PAOS with indexes: local port 1, swid 0):
mstreg -d 41:00.0 --reg_name PAOS --get --indexes "local_port=0x1,swid=0x0"
Sending access register...
Field Name | Data
=============================
oper_status | 0x00000001
admin_status | 0x00000001
local_port | 0x00000001
swid | 0x00000000
e | 0x00000000
ee | 0x00000000
ase | 0x00000000
=============================
Set access register data (PAOS with indexes: local_port 1 swid 0x0 and data: e 1):