Home
last modified time | relevance | path

Searched refs:nr_resource (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c472 for (i = 2; i < drvdata->nr_resource * 2; i++) in etm4_enable_hw()
596 for (rselector = 2; rselector < drvdata->nr_resource * 2; rselector++) in etm4_config_timestamp_event()
600 if (rselector == drvdata->nr_resource * 2) { in etm4_config_timestamp_event()
1260 drvdata->nr_resource = FIELD_GET(TRCIDR4_NUMRSPAIR_MASK, etmidr4); in etm4_init_arch_data()
1261 if ((drvdata->arch < ETM_ARCH_V4_3) || (drvdata->nr_resource > 0)) in etm4_init_arch_data()
1262 drvdata->nr_resource += 1; in etm4_init_arch_data()
1718 for (i = 0; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_save()
1849 for (i = 0; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_restore()
Dcoresight-etm4x-sysfs.c148 val = drvdata->nr_resource; in nr_resource_show()
151 static DEVICE_ATTR_RO(nr_resource);
240 for (i = 2; i < 2 * drvdata->nr_resource; i++) in reset_store()
1683 if ((val < 2) || (val >= 2 * drvdata->nr_resource)) in res_idx_store()
Dcoresight-etm4x.h1031 u8 nr_resource; member
/Linux-v6.6/Documentation/trace/coresight/
Dcoresight-etm4x-reference.rst488 Where 2 <= idx < nr_resource x 2
505 :File: ``nr_resource`` (ro)
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm4x65 What: /sys/bus/coresight/devices/etm<N>/nr_resource