Lines Matching refs:fc
382 !hw->fc.disable_fc_autoneg) in ixgbe_get_pauseparam()
387 if (hw->fc.current_mode == ixgbe_fc_rx_pause) { in ixgbe_get_pauseparam()
389 } else if (hw->fc.current_mode == ixgbe_fc_tx_pause) { in ixgbe_get_pauseparam()
391 } else if (hw->fc.current_mode == ixgbe_fc_full) { in ixgbe_get_pauseparam()
402 struct ixgbe_fc_info fc = hw->fc; in ixgbe_set_pauseparam() local
414 fc.disable_fc_autoneg = (pause->autoneg != AUTONEG_ENABLE); in ixgbe_set_pauseparam()
417 fc.requested_mode = ixgbe_fc_full; in ixgbe_set_pauseparam()
419 fc.requested_mode = ixgbe_fc_rx_pause; in ixgbe_set_pauseparam()
421 fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_set_pauseparam()
423 fc.requested_mode = ixgbe_fc_none; in ixgbe_set_pauseparam()
426 if (memcmp(&fc, &hw->fc, sizeof(struct ixgbe_fc_info))) { in ixgbe_set_pauseparam()
427 hw->fc = fc; in ixgbe_set_pauseparam()