Home
last modified time | relevance | path

Searched full:ptm (Results 1 – 25 of 87) sorted by relevance

1234

/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm3x1 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/enable_source
11 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_idx
18 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_acctype
29 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_range
37 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_single
45 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_start
53 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_stop
61 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx
67 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_event
74 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_val
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm3x1 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/enable_source
11 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_idx
18 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_acctype
29 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_range
37 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_single
45 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_start
53 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_stop
61 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx
67 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_event
74 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_val
[all …]
/kernel/linux/linux-4.19/drivers/pci/pcie/
Dptm.c28 pci_info(dev, "PTM enabled%s, %s granularity\n", in pci_ptm_info()
43 * Enable PTM only on interior devices (root ports, switch ports, in pci_ptm_init()
52 * Switch Downstream Ports are not permitted to have a PTM in pci_ptm_init()
53 * capability; their PTM behavior is controlled by the Upstream in pci_ptm_init()
72 * There's no point in enabling PTM unless it's enabled in the in pci_ptm_init()
73 * upstream device or this device can be a PTM Root itself. Per in pci_ptm_init()
75 * furthest upstream Time Source as the PTM Root. in pci_ptm_init()
117 * For a PCIe Endpoint, PTM is only useful if the endpoint can in pci_enable_ptm()
118 * issue PTM requests to upstream devices that have PTM enabled. in pci_enable_ptm()
DKconfig145 This enables PCI Express Precision Time Measurement (PTM)
148 This is only useful if you have devices that support PTM, but it
DMakefile14 obj-$(CONFIG_PCIE_PTM) += ptm.o
/kernel/linux/linux-5.10/drivers/pci/pcie/
Dptm.c28 pci_info(dev, "PTM enabled%s, %s granularity\n", in pci_ptm_info()
43 * Enable PTM only on interior devices (root ports, switch ports, in pci_ptm_init()
52 * Switch Downstream Ports are not permitted to have a PTM in pci_ptm_init()
53 * capability; their PTM behavior is controlled by the Upstream in pci_ptm_init()
72 * There's no point in enabling PTM unless it's enabled in the in pci_ptm_init()
73 * upstream device or this device can be a PTM Root itself. Per in pci_ptm_init()
75 * furthest upstream Time Source as the PTM Root. in pci_ptm_init()
117 * For a PCIe Endpoint, PTM is only useful if the endpoint can in pci_enable_ptm()
118 * issue PTM requests to upstream devices that have PTM enabled. in pci_enable_ptm()
DKconfig130 This enables PCI Express Precision Time Measurement (PTM)
133 This is only useful if you have devices that support PTM, but it
DMakefile14 obj-$(CONFIG_PCIE_PTM) += ptm.o
/kernel/liteos_m/testsuites/unittest/fuzz/src/time/
Dmktime_fuzz.c47 struct tm *ptm = NULL; in MktimeFuzzTest() local
61 ptm = localtime(&timeValue); in MktimeFuzzTest()
62 if (ptm == NULL) { in MktimeFuzzTest()
63 printf("Fuzz test in line [%d] mktime ptm == NULL,count:%d.\n", __LINE__, i); in MktimeFuzzTest()
71 ptm->tm_sec += c; in MktimeFuzzTest()
72 (void)mktime(ptm); in MktimeFuzzTest()
Dstrftime_fuzz.c49 struct tm *ptm = NULL; in StrftimeFuzzTest() local
63 ptm = localtime(&timeValue); in StrftimeFuzzTest()
64 if (ptm == NULL) { in StrftimeFuzzTest()
65 printf("Fuzz test in line [%d] strftime ptm == NULL,count:%d.\n", __LINE__, i); in StrftimeFuzzTest()
72 ptm->tm_sec += c; in StrftimeFuzzTest()
73 (void)strftime(s, MAX_S_LEN, "%Y-%m-%d %H:%M:%S.%f", ptm); in StrftimeFuzzTest()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dhip04.dtsi732 ptm@0,e3c7c000 {
748 ptm@0,e3c7d000 {
764 ptm@0,e3c7e000 {
780 ptm@0,e3c7f000 {
796 ptm@0,e3cbc000 {
812 ptm@0,e3cbd000 {
828 ptm@0,e3cbe000 {
844 ptm@0,e3cbf000 {
860 ptm@0,e3cfc000 {
876 ptm@0,e3cfd000 {
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dhip04.dtsi761 ptm@0,e3c7c000 {
775 ptm@0,e3c7d000 {
789 ptm@0,e3c7e000 {
803 ptm@0,e3c7f000 {
817 ptm@0,e3cbc000 {
831 ptm@0,e3cbd000 {
845 ptm@0,e3cbe000 {
859 ptm@0,e3cbf000 {
873 ptm@0,e3cfc000 {
887 ptm@0,e3cfd000 {
[all …]
/kernel/linux/linux-4.19/Documentation/trace/
Dcoresight.txt40 | # ETM # ::::: | # PTM # ::::: ::::: @ |
76 ; PTM = Program Trace Macrocell
88 the basic tracing functionality, enabling components such ETM/PTM, funnel,
98 PTM: Program Trace Macrocell
147 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
148 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
208 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
209 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
222 root:/sys/bus/coresight/devices# echo 1 > 2201c000.ptm/enable_source
223 root:/sys/bus/coresight/devices# cat 2201c000.ptm/enable_source
[all …]
/kernel/linux/linux-5.10/arch/sh/include/cpu-sh4/cpu/
Dsh7724.h65 /* PTM */
148 /* LCDC (PTC/PTD/PTE/PTF/PTM/PTR) */
159 /* SCIF0 (PTF/PTM) */
220 /* VOU (PTL/PTM/PTN*/
227 /* MSIOF0 (PTL/PTM) */
/kernel/linux/linux-4.19/arch/sh/include/cpu-sh4/cpu/
Dsh7724.h65 /* PTM */
148 /* LCDC (PTC/PTD/PTE/PTF/PTM/PTR) */
159 /* SCIF0 (PTF/PTM) */
220 /* VOU (PTL/PTM/PTN*/
227 /* MSIOF0 (PTL/PTM) */
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/
Dcoresight.txt80 * arm,cp14: must be present if the system accesses ETM/PTM management
83 * cpu: the cpu phandle this ETM/PTM is affined to. When omitted the
244 ptm@2201c000 {
258 ptm@2201d000 {
/kernel/linux/linux-5.10/Documentation/trace/coresight/
Dcoresight.rst41 | # ETM # ::::: | # PTM # ::::: ::::: @ |
77 ; PTM = Program Trace Macrocell
89 the basic tracing functionality, enabling components such ETM/PTM, funnel,
99 PTM:
157 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
158 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
349 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
350 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
363 root:/sys/bus/coresight/devices# echo 1 > 2201c000.ptm/enable_source
364 root:/sys/bus/coresight/devices# cat 2201c000.ptm/enable_source
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dcoresight.txt68 * cpu: the cpu phandle this ETM/PTM is affined to. Do not
108 * arm,cp14: must be present if the system accesses ETM/PTM management
324 ptm@2201c000 {
340 ptm@2201d000 {
/kernel/linux/linux-4.19/drivers/hwtracing/coresight/
Dcoresight-etm3x.c43 /* The number of ETM/PTM currently registered */
346 * Possible to have cores with PTM (supports ret stack) and ETM in etm_parse_event_config()
909 { /* PTM 1.0 */
912 .data = "PTM 1.0",
914 { /* PTM 1.1 */
917 .data = "PTM 1.1",
919 { /* PTM 1.1 Qualcomm */
922 .data = "PTM 1.1",
/kernel/linux/linux-4.19/scripts/kconfig/
Dconfdata.c1202 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local
1204 * ptm: probability of tristate = m in conf_set_all_new_symbols()
1207 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case in conf_set_all_new_symbols()
1231 pby = p[0]; ptm = pby/2; pty = pby-ptm; in conf_set_all_new_symbols()
1234 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols()
1237 pby = p[0]; pty = p[1]; ptm = p[2]; in conf_set_all_new_symbols()
1241 if( pty+ptm > 100 ) { in conf_set_all_new_symbols()
1275 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
/kernel/linux/linux-5.10/scripts/kconfig/
Dconfdata.c1200 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local
1202 * ptm: probability of tristate = m in conf_set_all_new_symbols()
1205 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case in conf_set_all_new_symbols()
1229 pby = p[0]; ptm = pby/2; pty = pby-ptm; in conf_set_all_new_symbols()
1232 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols()
1235 pby = p[0]; pty = p[1]; ptm = p[2]; in conf_set_all_new_symbols()
1239 if( pty+ptm > 100 ) { in conf_set_all_new_symbols()
1273 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dti,k3-am654-cpts.yaml30 Measurement (PTM).
36 - PCIe subsystem CPTS for PTM support
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm3x-core.c344 * Possible to have cores with PTM (supports ret stack) and ETM in etm_parse_event_config()
972 /* PTM 1.0 */
973 CS_AMBA_ID_DATA(0x000bb950, "PTM 1.0"),
974 /* PTM 1.1 */
975 CS_AMBA_ID_DATA(0x000bb95f, "PTM 1.1"),
976 /* PTM 1.1 Qualcomm */
977 CS_AMBA_ID_DATA(0x000b006f, "PTM 1.1"),
/kernel/linux/linux-4.19/tools/include/linux/
Dcoresight-pmu.h13 /* ETMv3.5/PTM's ETMCR config bit */
/kernel/linux/linux-4.19/include/linux/
Dcoresight-pmu.h13 /* ETMv3.5/PTM's ETMCR config bit */

1234