Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwtracing/coresight/
H A 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()
1267 drvdata->nr_resource = FIELD_GET(TRCIDR4_NUMRSPAIR_MASK, etmidr4); in etm4_init_arch_data()
1268 if ((drvdata->arch < ETM_ARCH_V4_3) || (drvdata->nr_resource > 0)) in etm4_init_arch_data()
1269 drvdata->nr_resource += 1; in etm4_init_arch_data()
1724 for (i = 2; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_save()
1856 for (i = 2; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_restore()
H A 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()
H A Dcoresight-etm4x.h1005 u8 nr_resource; member
/openbmc/linux/Documentation/trace/coresight/
H A Dcoresight-etm4x-reference.rst488 Where 2 <= idx < nr_resource x 2
505 :File: ``nr_resource`` (ro)
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-coresight-devices-etm4x65 What: /sys/bus/coresight/devices/etm<N>/nr_resource