Lines Matching refs:cr6_data

208 	u32 cr6_data;  member
556 db->cr6_data = CR6_DEFAULT | dmfe_cr6_user_set; in dmfe_open()
569 db->cr6_data |= DMFE_TXTH_256; in dmfe_open()
573 db->cr6_data |= CR6_SFT; /* Store & Forward mode */ in dmfe_open()
640 update_cr6(db->cr6_data, ioaddr); in dmfe_init_dm910x()
656 db->cr6_data |= CR6_RXSC | CR6_TXSC | 0x40000; in dmfe_init_dm910x()
657 update_cr6(db->cr6_data, ioaddr); in dmfe_init_dm910x()
826 db->cr6_data |= 0x100; in dmfe_interrupt()
827 update_cr6(db->cr6_data, ioaddr); in dmfe_interrupt()
887 if ( !(db->cr6_data & CR6_SFT) ) { in dmfe_free_tx_pkt()
888 db->cr6_data = db->cr6_data | CR6_SFT; in dmfe_free_tx_pkt()
889 update_cr6(db->cr6_data, ioaddr); in dmfe_free_tx_pkt()
986 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in dmfe_rx_packet()
1046 db->cr6_data |= CR6_PM | CR6_PBF; in dmfe_set_filter_mode()
1047 update_cr6(db->cr6_data, db->ioaddr); in dmfe_set_filter_mode()
1054 db->cr6_data &= ~(CR6_PM | CR6_PBF); in dmfe_set_filter_mode()
1055 db->cr6_data |= CR6_PAM; in dmfe_set_filter_mode()
1134 db->cr6_data &= ~0x40000; in dmfe_timer()
1135 update_cr6(db->cr6_data, ioaddr); in dmfe_timer()
1137 db->cr6_data |= 0x40000; in dmfe_timer()
1138 update_cr6(db->cr6_data, ioaddr); in dmfe_timer()
1235 db->cr6_data|=0x00040000; /* bit18=1, MII */ in dmfe_timer()
1236 db->cr6_data&=~0x00000200; /* bit9=0, HD mode */ in dmfe_timer()
1237 update_cr6(db->cr6_data, ioaddr); in dmfe_timer()
1282 db->cr6_data &= ~(CR6_RXSC | CR6_TXSC); /* Disable Tx/Rx */ in dmfe_dynamic_reset()
1283 update_cr6(db->cr6_data, ioaddr); in dmfe_dynamic_reset()
1419 static void update_cr6(u32 cr6_data, void __iomem *ioaddr) in update_cr6() argument
1423 cr6_tmp = cr6_data & ~0x2002; /* stop Tx/Rx */ in update_cr6()
1426 dw32(DCR6, cr6_data); in update_cr6()
1524 update_cr6(db->cr6_data | 0x2000, ioaddr); in send_filter_frame()
1526 update_cr6(db->cr6_data, ioaddr); in send_filter_frame()
1629 update_cr6(db->cr6_data & ~0x40000, ioaddr); in dmfe_sense_speed()
1672 db->cr6_data &= ~0x40000; in dmfe_set_phyxcer()
1673 update_cr6(db->cr6_data, ioaddr); in dmfe_set_phyxcer()
1729 db->cr6_data |= CR6_FDM; /* Set Full Duplex Bit */ in dmfe_process_mode()
1731 db->cr6_data &= ~CR6_FDM; /* Clear Full Duplex Bit */ in dmfe_process_mode()
1735 db->cr6_data |= 0x40000;/* External MII select */ in dmfe_process_mode()
1737 db->cr6_data &= ~0x40000;/* Internal 10/100 transciver */ in dmfe_process_mode()
1739 update_cr6(db->cr6_data, db->ioaddr); in dmfe_process_mode()
1976 update_cr6(db->cr6_data | 0x40000, db->ioaddr); in dmfe_parse_srom()
2097 db->cr6_data &= ~(CR6_RXSC | CR6_TXSC); in dmfe_suspend()
2098 update_cr6(db->cr6_data, ioaddr); in dmfe_suspend()