Home
last modified time | relevance | path

Searched refs:requested_fc (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c678 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
691 lc->requested_fc = 0; in set_pauseparam()
693 lc->requested_fc = PAUSE_AUTONEG; in set_pauseparam()
698 lc->requested_fc |= PAUSE_RX; in set_pauseparam()
700 lc->requested_fc |= PAUSE_TX; in set_pauseparam()
705 lc->fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in set_pauseparam()
H A Dsubr.c151 if (!(lc->requested_fc & PAUSE_AUTONEG)) in t1_link_changed()
152 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_changed()
628 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_start()
1053 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
1057 lc->requested_fc |= PAUSE_AUTONEG; in init_link_config()
H A Dcommon.h203 unsigned char requested_fc; /* flow control user has requested */ member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h136 enum cc_pause requested_fc; /* flow control user has requested */ member
H A Dt4vf_hw.c464 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
483 lc->requested_fc |= PAUSE_AUTONEG; in init_link_config()
H A Dcxgb4vf_main.c1697 pauseparam->autoneg = (pi->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; in cxgb4vf_get_pauseparam()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c865 epause->autoneg = (p->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
877 lc->requested_fc = 0; in set_pauseparam()
879 lc->requested_fc = PAUSE_AUTONEG; in set_pauseparam()
884 lc->requested_fc |= PAUSE_RX; in set_pauseparam()
886 lc->requested_fc |= PAUSE_TX; in set_pauseparam()
H A Dt4_hw.c4119 fw_fc = cc_to_fwcap_pause(lc->requested_fc); in t4_link_acaps()
4140 lc->fc = lc->requested_fc & ~PAUSE_AUTONEG; in t4_link_acaps()
4144 lc->fc = lc->requested_fc & ~PAUSE_AUTONEG; in t4_link_acaps()
8906 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
8924 lc->requested_fc |= PAUSE_AUTONEG; in init_link_config()
H A Dcxgb4.h587 enum cc_pause requested_fc; /* flow control user has requested */ member
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_hw.c1696 lc->requested_fc = PAUSE_RX | PAUSE_TX; in csio_init_link_config()
1697 lc->fc = lc->requested_fc; in csio_init_link_config()
1716 lc->requested_fc |= PAUSE_AUTONEG; in csio_init_link_config()
1735 fw_fc = cc_to_fwcap_pause(lc->requested_fc); in csio_link_l1cfg()
1757 lc->fc = lc->requested_fc & ~PAUSE_AUTONEG; in csio_link_l1cfg()
1761 lc->fc = lc->requested_fc & ~PAUSE_AUTONEG; in csio_link_l1cfg()
H A Dcsio_hw.h303 enum cc_pause requested_fc; /* flow control user has requested */ member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1918 epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
1930 lc->requested_fc = 0; in set_pauseparam()
1932 lc->requested_fc = PAUSE_AUTONEG; in set_pauseparam()
1937 lc->requested_fc |= PAUSE_RX; in set_pauseparam()
1939 lc->requested_fc |= PAUSE_TX; in set_pauseparam()
1944 lc->fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in set_pauseparam()
H A Dt3_hw.c1202 if (lc->requested_fc & PAUSE_AUTONEG) in t3_link_changed()
1203 fc &= lc->requested_fc; in t3_link_changed()
1205 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t3_link_changed()
1300 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t3_link_start()
3433 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
3437 lc->requested_fc |= PAUSE_AUTONEG; in init_link_config()
H A Dcommon.h433 unsigned char requested_fc; /* flow control user has requested */ member