Lines Matching refs:pmu_idx
65 u8 pmu_idx; member
81 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
85 u8 die, u8 pmu_idx) in iio_root_port_new() argument
93 p->pmu_idx = pmu_idx; in iio_root_port_new()
145 static int iio_mapping(u8 pmu_idx, struct iio_root_ports_list * const list) in iio_mapping() argument
156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
158 if (pmu_idx) in iio_mapping()
167 pmu_idx, die); in iio_mapping()
170 rp = iio_root_port_new(domain, bus, die, pmu_idx); in iio_mapping()
182 u8 pmu_idx = 0; in iio_pmu_count() local
187 for (;; pmu_idx++) { in iio_pmu_count()
189 sysfs, pmu_idx); in iio_pmu_count()
194 return pmu_idx; in iio_pmu_count()
212 for (u8 pmu_idx = 0; pmu_idx < pmu_count; pmu_idx++) { in iio_root_ports_scan() local
213 ret = iio_mapping(pmu_idx, tmp_list); in iio_root_ports_scan()
318 list->rps[idx]->pmu_idx, list->rps[idx]->pmu_idx, in iostat_event_group()
319 list->rps[idx]->pmu_idx, list->rps[idx]->pmu_idx); in iostat_event_group()