Lines Matching refs:errctl
1711 unsigned long errctl; in parity_protection_init() local
1714 errctl = read_c0_ecc(); in parity_protection_init()
1715 errctl &= ~(ERRCTL_PE|ERRCTL_L2P); in parity_protection_init()
1718 write_c0_ecc(errctl | ERRCTL_PE); in parity_protection_init()
1723 write_c0_ecc(errctl|ERRCTL_L2P); in parity_protection_init()
1729 errctl |= ERRCTL_PE; in parity_protection_init()
1731 errctl |= ERRCTL_L2P; in parity_protection_init()
1734 errctl |= ERRCTL_PE; in parity_protection_init()
1737 errctl |= ERRCTL_L2P; in parity_protection_init()
1742 printk(KERN_INFO "Writing ErrCtl register=%08lx\n", errctl); in parity_protection_init()
1744 write_c0_ecc(errctl); in parity_protection_init()
1746 errctl = read_c0_ecc(); in parity_protection_init()
1747 printk(KERN_INFO "Readback ErrCtl register=%08lx\n", errctl); in parity_protection_init()
1751 (errctl & ERRCTL_PE) ? "en" : "dis"); in parity_protection_init()
1755 errctl ^= ERRCTL_L2P; in parity_protection_init()
1757 (errctl & ERRCTL_L2P) ? "en" : "dis"); in parity_protection_init()