Home
last modified time | relevance | path

Searched refs:cc_pause (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h116 enum cc_pause { enum
136 enum cc_pause requested_fc; /* flow control user has requested */
137 enum cc_pause fc; /* actual link flow control */
Dt4vf_hw.c367 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause()
369 enum cc_pause cc_pause = 0; in fwcap_to_cc_pause() local
372 cc_pause |= PAUSE_RX; in fwcap_to_cc_pause()
374 cc_pause |= PAUSE_TX; in fwcap_to_cc_pause()
376 return cc_pause; in fwcap_to_cc_pause()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_hw.h282 enum cc_pause { enum
303 enum cc_pause requested_fc; /* flow control user has requested */
304 enum cc_pause fc; /* actual link flow control */
Dcsio_hw.c1513 static inline fw_port_cap32_t cc_to_fwcap_pause(enum cc_pause cc_pause) in cc_to_fwcap_pause() argument
1517 if (cc_pause & PAUSE_RX) in cc_to_fwcap_pause()
1519 if (cc_pause & PAUSE_TX) in cc_to_fwcap_pause()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4057 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause()
4059 enum cc_pause cc_pause = 0; in fwcap_to_cc_pause() local
4062 cc_pause |= PAUSE_RX; in fwcap_to_cc_pause()
4064 cc_pause |= PAUSE_TX; in fwcap_to_cc_pause()
4066 return cc_pause; in fwcap_to_cc_pause()
4070 static inline fw_port_cap32_t cc_to_fwcap_pause(enum cc_pause cc_pause) in cc_to_fwcap_pause() argument
4077 if (cc_pause & PAUSE_RX) in cc_to_fwcap_pause()
4079 if (cc_pause & PAUSE_TX) in cc_to_fwcap_pause()
4081 if (!(cc_pause & PAUSE_AUTONEG)) in cc_to_fwcap_pause()
4088 if (cc_pause & PAUSE_RX) { in cc_to_fwcap_pause()
[all …]
Dcxgb4.h118 enum cc_pause { enum
504 enum cc_pause requested_fc; /* flow control user has requested */
505 enum cc_pause fc; /* actual link flow control */