Lines Matching refs:cr6_data
130 u32 cr6_data; member
459 db->cr6_data = CR6_DEFAULT | uli526x_cr6_user_set; in uli526x_open()
470 db->cr6_data |= ULI526X_TXTH_256; in uli526x_open()
559 update_cr6(db->cr6_data, ioaddr); in uli526x_init()
572 db->cr6_data |= CR6_RXSC | CR6_TXSC; in uli526x_init()
573 update_cr6(db->cr6_data, ioaddr); in uli526x_init()
768 if ( !(db->cr6_data & CR6_SFT) ) { in uli526x_free_tx_pkt()
769 db->cr6_data = db->cr6_data | CR6_SFT; in uli526x_free_tx_pkt()
770 update_cr6(db->cr6_data, db->ioaddr); in uli526x_free_tx_pkt()
845 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in uli526x_rx_packet()
897 db->cr6_data |= CR6_PM | CR6_PBF; in uli526x_set_filter_mode()
898 update_cr6(db->cr6_data, db->ioaddr); in uli526x_set_filter_mode()
907 db->cr6_data &= ~(CR6_PM | CR6_PBF); in uli526x_set_filter_mode()
908 db->cr6_data |= CR6_PAM; in uli526x_set_filter_mode()
1078 db->cr6_data&=~0x00000200; /* bit9=0, HD mode */ in uli526x_timer()
1079 update_cr6(db->cr6_data, db->ioaddr); in uli526x_timer()
1134 db->cr6_data &= ~(CR6_RXSC | CR6_TXSC); /* Disable Tx/Rx */ in uli526x_reset_prepare()
1135 update_cr6(db->cr6_data, ioaddr); in uli526x_reset_prepare()
1325 static void update_cr6(u32 cr6_data, void __iomem *ioaddr) in update_cr6() argument
1327 uw32(DCR6, cr6_data); in update_cr6()
1392 update_cr6(db->cr6_data | 0x2000, ioaddr); in send_filter_frame()
1394 update_cr6(db->cr6_data, ioaddr); in send_filter_frame()
1568 db->cr6_data |= CR6_FDM; /* Set Full Duplex Bit */ in uli526x_process_mode()
1570 db->cr6_data &= ~CR6_FDM; /* Clear Full Duplex Bit */ in uli526x_process_mode()
1572 update_cr6(db->cr6_data, db->ioaddr); in uli526x_process_mode()