Lines Matching refs:CSR_SPR

819 	PUTCSR(mxfep, CSR_SPR, eeread & ~SPR_SROM_CHIP);  in mxfe_sromwidth()
821 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_sromwidth()
826 PUTCSR(mxfep, CSR_SPR, eeread | val); in mxfe_sromwidth()
828 PUTCSR(mxfep, CSR_SPR, eeread | val | SPR_SROM_CLOCK); in mxfe_sromwidth()
832 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_sromwidth()
835 PUTCSR(mxfep, CSR_SPR, eeread | SPR_SROM_CLOCK); in mxfe_sromwidth()
837 if (!(GETCSR(mxfep, CSR_SPR) & SPR_SROM_DOUT)) { in mxfe_sromwidth()
838 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_sromwidth()
842 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_sromwidth()
847 PUTCSR(mxfep, CSR_SPR, eeread &~ SPR_SROM_CHIP); in mxfe_sromwidth()
879 PUTCSR(mxfep, CSR_SPR, eeread & ~SPR_SROM_CHIP); in mxfe_readsromword()
880 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_readsromword()
885 PUTCSR(mxfep, CSR_SPR, eeread | val); in mxfe_readsromword()
887 PUTCSR(mxfep, CSR_SPR, eeread | val | SPR_SROM_CLOCK); in mxfe_readsromword()
891 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_readsromword()
894 PUTCSR(mxfep, CSR_SPR, eeread | SPR_SROM_CLOCK); in mxfe_readsromword()
897 if (GETCSR(mxfep, CSR_SPR) & SPR_SROM_DOUT) { in mxfe_readsromword()
900 PUTCSR(mxfep, CSR_SPR, eeread); in mxfe_readsromword()
905 PUTCSR(mxfep, CSR_SPR, eeread &~ SPR_SROM_CHIP); in mxfe_readsromword()
1561 PUTCSR(mxfep, CSR_SPR, val); in mxfe_miitristate()
1563 PUTCSR(mxfep, CSR_SPR, val | SPR_MII_CLOCK); in mxfe_miitristate()
1571 PUTCSR(mxfep, CSR_SPR, val); in mxfe_miiwritebit()
1573 PUTCSR(mxfep, CSR_SPR, val | SPR_MII_CLOCK); in mxfe_miiwritebit()
1582 PUTCSR(mxfep, CSR_SPR, val); in mxfe_miireadbit()
1584 bit = (GETCSR(mxfep, CSR_SPR) & SPR_MII_DIN) ? 1 : 0; in mxfe_miireadbit()
1585 PUTCSR(mxfep, CSR_SPR, val | SPR_MII_CLOCK); in mxfe_miireadbit()