Searched refs:nr_resource (Results 1 – 5 of 5) sorted by relevance
440 for (i = 2; i < drvdata->nr_resource * 2; i++) in etm4_enable_hw()564 for (rselector = 2; rselector < drvdata->nr_resource * 2; rselector++) in etm4_config_timestamp_event()568 if (rselector == drvdata->nr_resource * 2) { in etm4_config_timestamp_event()1183 drvdata->nr_resource = FIELD_GET(TRCIDR4_NUMRSPAIR_MASK, etmidr4); in etm4_init_arch_data()1184 if ((drvdata->arch < ETM_ARCH_V4_3) || (drvdata->nr_resource > 0)) in etm4_init_arch_data()1185 drvdata->nr_resource += 1; in etm4_init_arch_data()1644 for (i = 0; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_save()1773 for (i = 0; i < drvdata->nr_resource * 2; i++) in __etm4_cpu_restore()
148 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()1682 if ((val < 2) || (val >= 2 * drvdata->nr_resource)) in res_idx_store()
1035 u8 nr_resource; member
488 Where 2 <= idx < nr_resource x 2505 :File: ``nr_resource`` (ro)
65 What: /sys/bus/coresight/devices/etm<N>/nr_resource