Home
last modified time | relevance | path

Searched refs:pause_time (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c128 unsigned int fc, unsigned int pause_time, in dwmac100_flow_ctrl() argument
135 flow |= (pause_time << MAC_FLOW_CTRL_PT_SHIFT); in dwmac100_flow_ctrl()
H A Ddwmac1000_core.c220 unsigned int fc, unsigned int pause_time, in dwmac1000_flow_ctrl() argument
240 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac1000_flow_ctrl()
241 flow |= (pause_time << GMAC_FLOW_CTRL_PT_SHIFT); in dwmac1000_flow_ctrl()
H A Ddwmac4_core.c718 unsigned int fc, unsigned int pause_time, in dwmac4_flow_ctrl() argument
738 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac4_flow_ctrl()
745 (pause_time << GMAC_TX_FLOW_CTRL_PT_SHIFT); in dwmac4_flow_ctrl()
H A Ddwxgmac2_core.c356 unsigned int fc, unsigned int pause_time, in dwxgmac2_flow_ctrl() argument
369 value |= pause_time << XGMAC_PT_SHIFT; in dwxgmac2_flow_ctrl()
H A Ddwmac-sun8i.c732 unsigned int pause_time, u32 tx_cnt) in sun8i_dwmac_flow_ctrl() argument
H A Dhwif.h344 unsigned int fc, unsigned int pause_time, u32 tx_cnt);
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82598.c209 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_config_pfc_82598()
214 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82598()
H A Dixgbe_dcb_82599.c258 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_config_pfc_82599()
263 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82599()
H A Dixgbe_82598.c285 if (!hw->fc.pause_time) in ixgbe_fc_enable_82598()
396 reg = hw->fc.pause_time * 0x00010001; in ixgbe_fc_enable_82598()
401 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_fc_enable_82598()
H A Dixgbe_common.c2135 if (!hw->fc.pause_time) in ixgbe_fc_enable_generic()
2233 reg = hw->fc.pause_time * 0x00010001U; in ixgbe_fc_enable_generic()
2237 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_fc_enable_generic()
H A Dixgbe_type.h3303 u16 pause_time; /* Flow Control Pause timer */ member
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.c839 u16 pause_time, in dtsec_set_tx_pause_frames() argument
845 if (pause_time) { in dtsec_set_tx_pause_frames()
847 if (dtsec->fm_rev_info.major == 2 && pause_time <= 320) { in dtsec_set_tx_pause_frames()
849 pause_time); in dtsec_set_tx_pause_frames()
855 ptv |= pause_time & PTV_PT_MASK; in dtsec_set_tx_pause_frames()
936 u16 pause_time = tx_pause ? FSL_FM_PAUSE_TIME_ENABLE : in dtsec_link_up() local
940 dtsec_set_tx_pause_frames(dtsec, 0, pause_time, 0); in dtsec_link_up()
H A Dfman_tgec.c409 u8 __maybe_unused priority, u16 pause_time, in tgec_set_tx_pause_frames() argument
414 iowrite32be((u32)pause_time, &regs->pause_quant); in tgec_set_tx_pause_frames()
446 u16 pause_time = tx_pause ? FSL_FM_PAUSE_TIME_ENABLE : in tgec_link_up() local
450 tgec_set_tx_pause_frames(tgec, 0, pause_time, 0); in tgec_link_up()
H A Dfman_memac.c571 u16 pause_time, u16 thresh_time) in memac_set_tx_pause_frames() argument
591 tmp |= ((u32)pause_time << (16 * (priority % 2))); in memac_set_tx_pause_frames()
721 u16 pause_time = tx_pause ? FSL_FM_PAUSE_TIME_ENABLE : in memac_link_up() local
724 memac_set_tx_pause_frames(memac, 0, pause_time, 0); in memac_link_up()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_hw.h167 u16 pause_time; /* Flow control pause timer */ member
H A Digc_mac.c158 wr32(IGC_FCTTV, hw->fc.pause_time); in igc_setup_link()
H A Digc_main.c101 fc->pause_time = 0xFFFF; in igc_reset()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_xgmac.c428 u32 pause_time, pause_ctrl, port_mode, ctrl_val; in hns_xgmac_get_info() local
434 pause_time = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_TIME_REG); in hns_xgmac_get_info()
435 mac_info->tx_pause_time = pause_time; in hns_xgmac_get_info()
H A Dhns_dsaf_mac.h368 void (*set_tx_auto_pause_frames)(void *mac_drv, u16 pause_time);
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h467 u16 pause_time; /* Flow control pause timer */ member
H A De1000_mac.c720 wr32(E1000_FCTTV, hw->fc.pause_time); in igb_setup_link()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dhw.h676 u16 pause_time; /* Flow control pause timer */ member
H A Dmac.c709 ew32(FCTTV, hw->fc.pause_time); in e1000e_setup_link_generic()
H A Dnetdev.c4017 fc->pause_time = 0xFFFF; in e1000e_reset()
4019 fc->pause_time = E1000_FC_PAUSE_TIME; in e1000e_reset()
4065 fc->pause_time = 0xFFFF; in e1000e_reset()
H A Dich8lan.c5040 ew32(FCTTV, hw->fc.pause_time); in e1000_setup_link_ich8lan()
5048 hw->fc.pause_time); in e1000_setup_link_ich8lan()

12