Lines Matching defs:pmcr
1194 union cp15_c9_c12_PMCR pmcr;
1195 asm volatile("mrc p15, 0, %0, c9, c12, 0" : "=r"(pmcr.u32));
1197 pmcr.impl_code, pmcr.id_code, pmcr.counters, pmcr.prohibit,
1198 pmcr.export_en, pmcr.clk_div, pmcr.clk_reset, pmcr.evt_reset,
1199 pmcr.enable);
1200 return pmcr.u32;
1206 union cp15_c9_c12_PMCR pmcr;
1207 pmcr.u32 = v32 & 0x3F; /* write-able bits */
1209 pmcr.prohibit, pmcr.export_en, pmcr.clk_div, pmcr.clk_reset,
1210 pmcr.evt_reset, pmcr.enable);
1211 asm volatile("mcr p15, 0, %0, c9, c12, 0" : : "r"(pmcr.u32));
1235 union cp15_c9_c12_PMCR pmcr;
1240 pmcr.u32 = _armv7_pmcr_RD();
1241 pmcr.enable = 1;
1242 _armv7_pmcr_WR(pmcr.u32);