Home
last modified time | relevance | path

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

123

/linux/drivers/pci/pcie/
H A Dptm.c14 * If the next upstream device supports PTM, return it; otherwise return
15 * NULL. PTM Messages are local, so both link partners must support it.
22 * Switch Downstream Ports are not permitted to have a PTM in pci_upstream_ptm()
23 * capability; their PTM behavior is controlled by the Upstream in pci_upstream_ptm()
37 * Find the PTM Capability (if present) and extract the information we need
42 u16 ptm; in pci_ptm_init() local
49 ptm = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_PTM); in pci_ptm_init()
50 if (!ptm) in pci_ptm_init()
53 dev->ptm_cap = ptm; in pci_ptm_init()
56 pci_read_config_dword(dev, ptm + PCI_PTM_CAP, &cap); in pci_ptm_init()
[all …]
H A DMakefile14 obj-$(CONFIG_PCIE_PTM) += ptm.o
/linux/arch/arm/boot/dts/hisilicon/
H A 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 …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_defines.h570 /* PCIe PTM Control */
571 #define IGC_PTM_CTRL_START_NOW BIT(29) /* Start PTM Now */
572 #define IGC_PTM_CTRL_EN BIT(30) /* Enable PTM */
573 #define IGC_PTM_CTRL_TRIG BIT(31) /* PTM Cycle trigger */
578 #define IGC_PTM_CYC_TIME_DEFAULT 5 /* Default PTM cycle time */
579 #define IGC_PTM_TIMEOUT_DEFAULT 255 /* Default timeout for PTM errors */
589 /* PCIe PTM Status */
590 #define IGC_PTM_STAT_VALID BIT(0) /* PTM Status */
592 #define IGC_PTM_STAT_BAD_PTM_RES BIT(2) /* PTM Response msg instead of PTM Response Data */
594 #define IGC_PTM_STAT_ADJUST_1ST BIT(4) /* 1588 timer adjusted during 1st PTM cycle */
[all …]
H A Digc_ptp.c912 * PCIe PTM:
914 * 1. We have an way to convert the timestamps in the PTM messages
918 * 2. We have PTM enabled in the path from the device to the PCIe root port.
925 /* FIXME: it was noticed that enabling support for PCIe PTM in in igc_is_crosststamp_supported()
957 netdev_err(netdev, "PTM Error: Root port timeout\n"); in igc_ptm_log_error()
960 netdev_err(netdev, "PTM Error: Bad response, PTM Response Data expected\n"); in igc_ptm_log_error()
963 netdev_err(netdev, "PTM Error: T4 minus T1 overflow\n"); in igc_ptm_log_error()
966 netdev_err(netdev, "PTM Error: 1588 timer adjusted during first PTM cycle\n"); in igc_ptm_log_error()
969 netdev_err(netdev, "PTM Error: 1588 timer adjusted during non-first PTM cycle\n"); in igc_ptm_log_error()
972 netdev_err(netdev, "PTM Error: Unknown error (%#x)\n", ptm_stat); in igc_ptm_log_error()
[all …]
H A Digc_regs.h272 #define IGC_PTM_CTRL 0x12540 /* PTM Control */
273 #define IGC_PTM_STAT 0x12544 /* PTM Status */
274 #define IGC_PTM_CYCLE_CTRL 0x1254C /* PTM Cycle Control */
276 /* PTM Time registers */
284 #define IGC_PTM_PREV_T4M1 0x12578 /* T4 Minus T1 on previous PTM Cycle */
285 #define IGC_PTM_CURR_T4M1 0x1257C /* T4 Minus T1 on this PTM Cycle */
286 #define IGC_PTM_PREV_T3M2 0x12580 /* T3 Minus T2 on previous PTM Cycle */
287 #define IGC_PTM_TDELAY 0x12594 /* PTM PCIe Link Delay */
/linux/arch/sh/include/cpu-sh4/cpu/
H A Dsh7724.h65 /* PTM */
148 /* LCDC (PTC/PTD/PTE/PTF/PTM/PTR) */
159 /* SCIF0 (PTF/PTM) */
220 /* VOU (PTL/PTM/PTN*/
227 /* MSIOF0 (PTL/PTM) */
H A Dsh7757.h54 /* PTM */
180 /* PTM (mobule: LBSC, IIC) */
H A Dsh7722.h62 /* PTM */
/linux/Documentation/devicetree/bindings/arm/
H A Darm,coresight-etm.yaml91 Must be present if the system accesses ETM/PTM management registers via
128 ptm@2201c000 {
144 ptm@2201d000 {
/linux/scripts/kconfig/
H A Dconf.c185 int ptm = 33; /* probability of tristate = m */ in conf_set_all_new_symbols() local
210 ptm = pby / 2; in conf_set_all_new_symbols()
211 pty = pby - ptm; in conf_set_all_new_symbols()
215 ptm = p[1]; in conf_set_all_new_symbols()
216 pby = pty + ptm; in conf_set_all_new_symbols()
221 ptm = p[2]; in conf_set_all_new_symbols()
225 if (pty + ptm > 100) { in conf_set_all_new_symbols()
263 else if (cnt < pty + ptm) in conf_set_all_new_symbols()
/linux/Documentation/trace/coresight/
H A 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
351 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
352 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
365 root:/sys/bus/coresight/devices# echo 1 > 2201c000.ptm/enable_source
366 root:/sys/bus/coresight/devices# cat 2201c000.ptm/enable_source
[all …]
/linux/include/linux/
H A Dcoresight-pmu.h28 * Most of them are orignally from ETMv3.5/PTM's ETMCR config, therefore,
29 * ETMv3.5/PTM doesn't define ETMCR config bits with prefix "ETM3_" and
/linux/tools/include/linux/
H A Dcoresight-pmu.h28 * Most of them are orignally from ETMv3.5/PTM's ETMCR config, therefore,
29 * ETMv3.5/PTM doesn't define ETMCR config bits with prefix "ETM3_" and
/linux/Documentation/devicetree/bindings/net/
H A Dti,k3-am654-cpts.yaml30 Measurement (PTM).
36 - PCIe subsystem CPTS for PTM support
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm3x-core.c349 * Possible to have cores with PTM (supports ret stack) and ETM in etm_parse_event_config()
998 /* PTM 1.0 */
999 CS_AMBA_ID_DATA(0x000bb950, "PTM 1.0"),
1000 /* PTM 1.1 */
1001 CS_AMBA_ID_DATA(0x000bb95f, "PTM 1.1"),
1002 /* PTM 1.1 Qualcomm */
1003 CS_AMBA_ID_DATA(0x000b006f, "PTM 1.1"),
H A Dcoresight-etm.h145 * @mode: controls various modes supported by this ETM/PTM.
216 * @arch: ETM/PTM version number.
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dcake.json277 "name": "Create CAKE with memlimit and ptm flag",
287 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake memlimit 10000 ptm",
290 …iffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw ptm overhead 0 memlimit…
/linux/drivers/tty/
H A Dpty.c680 * @driver: ptm driver
882 panic("Couldn't allocate Unix98 ptm driver"); in unix98_pty_init()
893 ptm_driver->name = "ptm"; in unix98_pty_init()
922 panic("Couldn't register Unix98 ptm driver"); in unix98_pty_init()
/linux/drivers/net/ethernet/intel/
H A DKconfig335 bool "Support HW cross-timestamp on platforms with PTM support"
340 with PCIe PTM support. The cross-timestamp is available through
/linux/arch/sh/include/cpu-sh3/cpu/
H A Dsh7720.h48 /* PTM */
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi509 ptm@f889c000 {
524 ptm@f889d000 {
/linux/drivers/net/ethernet/ti/
H A DKconfig135 and PCIe Subsystem Precision Time Measurement (PTM).
/linux/arch/arm/boot/dts/arm/
H A Dvexpress-v2p-ca15_a7.dts531 ptm@2201c000 {
547 ptm@2201d000 {
/linux/tools/perf/util/
H A Dcs-etm.h54 /* ETMv3/PTM metadata */

123