Back to home page

OSCL-LXR

 
 

    


0001 What:           /config/stp-policy
0002 Date:           June 2015
0003 KernelVersion:  4.3
0004 Description:
0005                 This group contains policies mandating Master/Channel allocation
0006                 for software sources wishing to send trace data over an STM
0007                 device.
0008 
0009 What:           /config/stp-policy/<device>.<policy>
0010 Date:           June 2015
0011 KernelVersion:  4.3
0012 Description:
0013                 This group is the root of a policy; its name is a concatenation
0014                 of an stm device name to which this policy applies and an
0015                 arbitrary string. If <device> part doesn't match an existing
0016                 stm device, mkdir will fail with ENODEV; if that device already
0017                 has a policy assigned to it, mkdir will fail with EBUSY.
0018 
0019 What:           /config/stp-policy/<device>.<policy>/device
0020 Date:           June 2015
0021 KernelVersion:  4.3
0022 Description:
0023                 STM device to which this policy applies, read only. Same as the
0024                 <device> component of its parent directory.
0025 
0026 What:           /config/stp-policy/<device>.<policy>/<node>
0027 Date:           June 2015
0028 KernelVersion:  4.3
0029 Description:
0030                 Policy node is a string identifier that software clients will
0031                 use to request a master/channel to be allocated and assigned to
0032                 them.
0033 
0034 What:           /config/stp-policy/<device>.<policy>/<node>/masters
0035 Date:           June 2015
0036 KernelVersion:  4.3
0037 Description:
0038                 Range of masters from which to allocate for users of this node.
0039                 Write two numbers: the first master and the last master number.
0040 
0041 What:           /config/stp-policy/<device>.<policy>/<node>/channels
0042 Date:           June 2015
0043 KernelVersion:  4.3
0044 Description:
0045                 Range of channels from which to allocate for users of this node.
0046                 Write two numbers: the first channel and the last channel
0047                 number.
0048