Searched refs:nr_resource (Results 1 – 5 of 5) sorted by relevance
472 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()
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()1683 if ((val < 2) || (val >= 2 * drvdata->nr_resource)) in res_idx_store()
1031 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