Lines Matching refs:fc
374 !hw->fc.disable_fc_autoneg) in ixgbe_get_pauseparam()
379 if (hw->fc.current_mode == ixgbe_fc_rx_pause) { in ixgbe_get_pauseparam()
381 } else if (hw->fc.current_mode == ixgbe_fc_tx_pause) { in ixgbe_get_pauseparam()
383 } else if (hw->fc.current_mode == ixgbe_fc_full) { in ixgbe_get_pauseparam()
394 struct ixgbe_fc_info fc = hw->fc; in ixgbe_set_pauseparam() local
406 fc.disable_fc_autoneg = (pause->autoneg != AUTONEG_ENABLE); in ixgbe_set_pauseparam()
409 fc.requested_mode = ixgbe_fc_full; in ixgbe_set_pauseparam()
411 fc.requested_mode = ixgbe_fc_rx_pause; in ixgbe_set_pauseparam()
413 fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_set_pauseparam()
415 fc.requested_mode = ixgbe_fc_none; in ixgbe_set_pauseparam()
418 if (memcmp(&fc, &hw->fc, sizeof(struct ixgbe_fc_info))) { in ixgbe_set_pauseparam()
419 hw->fc = fc; in ixgbe_set_pauseparam()