Lines Matching refs:pause
789 struct ethtool_pauseparam *pause) in qlcnic_get_pauseparam() argument
797 qlcnic_83xx_get_pauseparam(adapter, pause); in qlcnic_get_pauseparam()
807 pause->rx_pause = qlcnic_gb_get_rx_flowctl(val); in qlcnic_get_pauseparam()
813 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
816 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
819 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
823 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
829 pause->rx_pause = 1; in qlcnic_get_pauseparam()
834 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
836 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
845 struct ethtool_pauseparam *pause) in qlcnic_set_pauseparam() argument
853 return qlcnic_83xx_set_pauseparam(adapter, pause); in qlcnic_set_pauseparam()
864 if (pause->rx_pause) in qlcnic_set_pauseparam()
878 if (pause->tx_pause) in qlcnic_set_pauseparam()
884 if (pause->tx_pause) in qlcnic_set_pauseparam()
890 if (pause->tx_pause) in qlcnic_set_pauseparam()
897 if (pause->tx_pause) in qlcnic_set_pauseparam()
905 if (!pause->rx_pause || pause->autoneg) in qlcnic_set_pauseparam()
915 if (pause->tx_pause) in qlcnic_set_pauseparam()
920 if (pause->tx_pause) in qlcnic_set_pauseparam()