Lines Matching refs:inf

93 	struct hw_pmu_info *inf;
142 struct hw_pmu_info inf;
734 return readl(pmu_dev->inf->csr + PMU_PMEVCNTR0 + (4 * idx));
759 writel(val, pmu_dev->inf->csr + PMU_PMEVCNTR0 + (4 * idx));
778 writel(val, pmu_dev->inf->csr + PMU_PMEVTYPER0 + (4 * idx));
784 writel(val, pmu_dev->inf->csr + PMU_PMAMR0);
793 writel(val, pmu_dev->inf->csr + PMU_PMAMR1);
804 val = readl(pmu_dev->inf->csr + PMU_PMCNTENSET);
806 writel(val, pmu_dev->inf->csr + PMU_PMCNTENSET);
814 val = readl(pmu_dev->inf->csr + PMU_PMCNTENCLR);
816 writel(val, pmu_dev->inf->csr + PMU_PMCNTENCLR);
824 val = readl(pmu_dev->inf->csr + PMU_PMINTENSET);
826 writel(val, pmu_dev->inf->csr + PMU_PMINTENSET);
834 val = readl(pmu_dev->inf->csr + PMU_PMINTENCLR);
836 writel(val, pmu_dev->inf->csr + PMU_PMINTENCLR);
843 val = readl(pmu_dev->inf->csr + PMU_PMCR);
845 writel(val, pmu_dev->inf->csr + PMU_PMCR);
852 val = readl(pmu_dev->inf->csr + PMU_PMCR);
854 writel(val, pmu_dev->inf->csr + PMU_PMCR);
861 val = readl(pmu_dev->inf->csr + PMU_PMCR);
863 writel(val, pmu_dev->inf->csr + PMU_PMCR);
952 if (pmu_dev->inf->type == PMU_TYPE_IOB)
1137 pmu->inf = &ctx->inf;
1140 switch (pmu->inf->type) {
1142 if (!(xgene_pmu->l3c_active_mask & pmu->inf->enable_mask))
1160 if (!(xgene_pmu->mcb_active_mask & pmu->inf->enable_mask))
1168 if (!(xgene_pmu->mc_active_mask & pmu->inf->enable_mask))
1192 void __iomem *csr = pmu_dev->inf->csr;
1460 struct hw_pmu_info *inf;
1511 inf = &ctx->inf;
1512 inf->type = type;
1513 inf->csr = dev_csr;
1514 inf->enable_mask = 1 << enable_bit;
1574 switch (ctx->inf.type) {
1628 struct hw_pmu_info *inf;
1658 inf = &ctx->inf;
1659 inf->type = type;
1660 inf->csr = dev_csr;
1661 inf->enable_mask = 1 << enable_bit;
1696 switch (ctx->inf.type) {