1MSTREG,(1) User Commands MSTREG,(1)
2
3
4
6 mstreg - Expose supported access registers
7
9 NAME:
10
11 mstreg
12
13 SYNOPSIS:
14
15 mstreg [OPTIONS]
16
17 DESCRIPTION:
18
19 Exposes supported access registers, and allows users to obtain
20 information regarding the registers fields and attributes, and
21 to set and get data with specific register.
22
23 OPTIONS:
24
25 -h |--help
26 : Display help message.
27
28 -v |--version
29 : Display version info.
30
31 -d |--device
32 <device> : Perform operation for a specified mst
33 device.
34
35 -a |--adb_file
36 <adb_file> : An external ADB file
37
38 --reg_name
39 <reg_name> : Known access register name
40
41 --reg_id
42 <reg_ID> : Access register ID
43
44 --reg_len
45 <reg_length> : Access register layout length (bytes)
46
47 -i |--indexes
48 <idxs_vals> : Register indexes
49
50 -g |--get
51 : Register access GET
52
53 -s |--set
54 <reg_dataStr> : Register access SET
55
56 --show_reg
57 <reg_name> : Print the fields of a given reg access
58 (must have reg_name)
59
60 --show_regs
61 : Print all available reg access'
62
63 --yes : Non-interactive mode, answer yes to all questions
64
65 Examples:
66
67 Show all available access register
68 : mstreg -d <device> --show_regs
69
70 Show all fields of register PAOS
71 : mstreg -d <device> --show_reg PAOS
72
73 GET PAOS with indexes: local port 0x1 and swid 0x5:
74
75 mstreg -d <device> --get --reg_name PAOS --indexes "lo‐
76 cal_port=0x1,swid=0x5"
77
78 SET PAOS with indexes: local port 0x1 and swid 0x5, and data: e
79 0x0:
80
81 mstreg -d <device> --set "e=0x0" --reg_name PAOS --indexes "lo‐
82 cal_port=0x1,swid=0x5"
83
85 The full documentation for mstreg, is maintained as a Texinfo manual.
86 If the info and mstreg, programs are properly installed at your site,
87 the command
88
89 info mstreg,
90
91 should give you access to the complete manual.
92
93
94
95mstreg, mstflint 4.14.0, built on MMaarrch322002200, 14:03:18. Git SHA HashM:STNR/EAG,(1)