Searched refs:max_q_count (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-hw.c | 1190 unsigned int max_q_count, q_count; in xlgmac_disable_tx_flow_control() local 1203 max_q_count = XLGMAC_MAX_FLOW_CONTROL_QUEUES; in xlgmac_disable_tx_flow_control() 1204 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); in xlgmac_disable_tx_flow_control() 1222 unsigned int max_q_count, q_count; in xlgmac_enable_tx_flow_control() local 1235 max_q_count = XLGMAC_MAX_FLOW_CONTROL_QUEUES; in xlgmac_enable_tx_flow_control() 1236 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); in xlgmac_enable_tx_flow_control()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 529 unsigned int max_q_count, q_count; in xgbe_disable_tx_flow_control() local 538 max_q_count = XGMAC_MAX_FLOW_CONTROL_QUEUES; in xgbe_disable_tx_flow_control() 539 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); in xgbe_disable_tx_flow_control() 556 unsigned int max_q_count, q_count; in xgbe_enable_tx_flow_control() local 582 max_q_count = XGMAC_MAX_FLOW_CONTROL_QUEUES; in xgbe_enable_tx_flow_control() 583 q_count = min_t(unsigned int, pdata->tx_q_count, max_q_count); in xgbe_enable_tx_flow_control()
|