Lines Matching refs:errctl
1658 unsigned long errctl; in parity_protection_init() local
1661 errctl = read_c0_ecc(); in parity_protection_init()
1662 errctl &= ~(ERRCTL_PE|ERRCTL_L2P); in parity_protection_init()
1665 write_c0_ecc(errctl | ERRCTL_PE); in parity_protection_init()
1670 write_c0_ecc(errctl|ERRCTL_L2P); in parity_protection_init()
1676 errctl |= ERRCTL_PE; in parity_protection_init()
1678 errctl |= ERRCTL_L2P; in parity_protection_init()
1681 errctl |= ERRCTL_PE; in parity_protection_init()
1684 errctl |= ERRCTL_L2P; in parity_protection_init()
1689 printk(KERN_INFO "Writing ErrCtl register=%08lx\n", errctl); in parity_protection_init()
1691 write_c0_ecc(errctl); in parity_protection_init()
1693 errctl = read_c0_ecc(); in parity_protection_init()
1694 printk(KERN_INFO "Readback ErrCtl register=%08lx\n", errctl); in parity_protection_init()
1698 (errctl & ERRCTL_PE) ? "en" : "dis"); in parity_protection_init()
1702 errctl ^= ERRCTL_L2P; in parity_protection_init()
1704 (errctl & ERRCTL_L2P) ? "en" : "dis"); in parity_protection_init()