static SYSDEV_ATTR(l2_aux_control, S_IRUGO|L2AUX_WR,
l2_aux_ctl_show, l2_aux_ctl_store);
+RDWR_REG(pmon_pmnc, 0, c9, c12, 0, 0x3f)
+RDWR_REG(pmon_cntens, 0, c9, c12, 1, 0x8000000f)
+RDWR_REG(pmon_cntenc, 0, c9, c12, 2, 0x8000000f)
+RDWR_REG(pmon_ccnt, 0, c9, c13, 0, 0xffffffff)
+RDWR_REG(pmon_useren, 0, c9, c14, 0, 1)
+
#define REG_ATTR(sysdev, name) \
do { \
int err = sysfs_create_file(&sysdev->kobj, &name.attr); \
REG_ATTR(sysdev, attr_control);
REG_ATTR(sysdev, attr_aux_control);
REG_ATTR(sysdev, attr_l2_aux_control);
+ REG_ATTR(sysdev, attr_pmon_pmnc);
+ REG_ATTR(sysdev, attr_pmon_cntens);
+ REG_ATTR(sysdev, attr_pmon_cntenc);
+ REG_ATTR(sysdev, attr_pmon_ccnt);
+ REG_ATTR(sysdev, attr_pmon_useren);
}
return 0;