Home
last modified time | relevance | path

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

/linux-6.6.21/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 */
138 enum cc_pause advertised_fc; /* actual advertised flow control */
Dt4vf_hw.c368 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause()
370 enum cc_pause cc_pause = 0; in fwcap_to_cc_pause() local
373 cc_pause |= PAUSE_RX; in fwcap_to_cc_pause()
375 cc_pause |= PAUSE_TX; in fwcap_to_cc_pause()
377 return cc_pause; in fwcap_to_cc_pause()
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h130 enum cc_pause { enum
587 enum cc_pause requested_fc; /* flow control user has requested */
588 enum cc_pause fc; /* actual link flow control */
589 enum cc_pause advertised_fc; /* actual advertised flow control */
Dt4_hw.c4026 static inline enum cc_pause fwcap_to_cc_pause(fw_port_cap32_t fw_pause) in fwcap_to_cc_pause()
4028 enum cc_pause cc_pause = 0; in fwcap_to_cc_pause() local
4031 cc_pause |= PAUSE_RX; in fwcap_to_cc_pause()
4033 cc_pause |= PAUSE_TX; in fwcap_to_cc_pause()
4035 return cc_pause; in fwcap_to_cc_pause()
4039 static inline fw_port_cap32_t cc_to_fwcap_pause(enum cc_pause cc_pause) in cc_to_fwcap_pause() argument
4046 if (cc_pause & PAUSE_RX) in cc_to_fwcap_pause()
4048 if (cc_pause & PAUSE_TX) in cc_to_fwcap_pause()
4050 if (!(cc_pause & PAUSE_AUTONEG)) in cc_to_fwcap_pause()
4057 if (cc_pause & PAUSE_RX) { in cc_to_fwcap_pause()
[all …]