Searched refs:nr_resource (Results 1 – 5 of 5) sorted by relevance
167 for (i = 2; i < drvdata->nr_resource * 2; i++) in etm4_enable_hw()285 for (rselector = 2; rselector < drvdata->nr_resource * 2; rselector++) in etm4_config_timestamp_event()289 if (rselector == drvdata->nr_resource * 2) { in etm4_config_timestamp_event()754 drvdata->nr_resource = BMVAL(etmidr4, 16, 19); in etm4_init_arch_data()755 if ((drvdata->arch < ETM4X_ARCH_4V3) || (drvdata->nr_resource > 0)) in etm4_init_arch_data()756 drvdata->nr_resource += 1; in etm4_init_arch_data()1222 for (i = 0; i < drvdata->nr_resource * 2; i++) in etm4_cpu_save()1337 for (i = 0; i < drvdata->nr_resource * 2; i++) in etm4_cpu_restore()
435 u8 nr_resource; member
147 val = drvdata->nr_resource; in nr_resource_show()150 static DEVICE_ATTR_RO(nr_resource);239 for (i = 2; i < 2 * drvdata->nr_resource; i++) in reset_store()1670 if ((val < 2) || (val >= 2 * drvdata->nr_resource)) in res_idx_store()
474 Where 2 <= idx < nr_resource x 2491 :File: ``nr_resource`` (ro)
65 What: /sys/bus/coresight/devices/etm<N>/nr_resource