Home
last modified time | relevance | path

Searched refs:pause_time (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c374 unsigned int pause_time = FCReqTimeout[bd]; in ixgb_check_options() local
375 ixgb_validate_option(&pause_time, &opt); in ixgb_check_options()
376 adapter->hw.fc.pause_time = pause_time; in ixgb_check_options()
378 adapter->hw.fc.pause_time = opt.def; in ixgb_check_options()
H A Dixgb_hw.c650 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
657 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c128 unsigned int fc, unsigned int pause_time, in dwmac100_flow_ctrl()
135 flow |= (pause_time << MAC_FLOW_CTRL_PT_SHIFT); in dwmac100_flow_ctrl()
127 dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, unsigned int fc, unsigned int pause_time, u32 tx_cnt) dwmac100_flow_ctrl() argument
H A Ddwmac1000_core.c220 unsigned int fc, unsigned int pause_time, in dwmac1000_flow_ctrl()
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()
219 dwmac1000_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, unsigned int fc, unsigned int pause_time, u32 tx_cnt) dwmac1000_flow_ctrl() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.h48 u16 pause_time, u16 thresh_time);
H A Dfman_memac.h55 u16 pause_time, u16 thresh_time);
H A Dfman_dtsec.h52 u16 pause_time, u16 thresh_time);
H A Dmac.h76 u16 pause_time, u16 thresh_time);
H A Dfman_dtsec.c956 u16 pause_time, u16 __maybe_unused thresh_time) in dtsec_set_tx_pause_frames()
972 if (pause_time) { in dtsec_set_tx_pause_frames()
974 if (dtsec->fm_rev_info.major == 2 && pause_time <= 320) { in dtsec_set_tx_pause_frames()
976 pause_time); in dtsec_set_tx_pause_frames()
982 ptv |= pause_time & PTV_PT_MASK; in dtsec_set_tx_pause_frames()
954 dtsec_set_tx_pause_frames(struct fman_mac *dtsec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) dtsec_set_tx_pause_frames() argument
H A Dfman_tgec.c487 u16 pause_time, u16 __maybe_unused thresh_time) in tgec_set_tx_pause_frames()
494 iowrite32be((u32)pause_time, &regs->pause_quant); in tgec_set_tx_pause_frames()
486 tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) tgec_set_tx_pause_frames() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
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_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_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()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c136 unsigned int fc, unsigned int pause_time, in dwmac100_flow_ctrl()
143 flow |= (pause_time << MAC_FLOW_CTRL_PT_SHIFT); in dwmac100_flow_ctrl()
135 dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, unsigned int fc, unsigned int pause_time, u32 tx_cnt) dwmac100_flow_ctrl() argument
H A Ddwmac1000_core.c229 unsigned int fc, unsigned int pause_time, in dwmac1000_flow_ctrl()
249 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac1000_flow_ctrl()
250 flow |= (pause_time << GMAC_FLOW_CTRL_PT_SHIFT); in dwmac1000_flow_ctrl()
228 dwmac1000_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, unsigned int fc, unsigned int pause_time, u32 tx_cnt) dwmac1000_flow_ctrl() argument
H A Ddwmac4_core.c657 unsigned int fc, unsigned int pause_time, in dwmac4_flow_ctrl()
677 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac4_flow_ctrl()
684 (pause_time << GMAC_TX_FLOW_CTRL_PT_SHIFT); in dwmac4_flow_ctrl()
656 dwmac4_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, unsigned int fc, unsigned int pause_time, u32 tx_cnt) dwmac4_flow_ctrl() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
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_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_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()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.c839 u16 pause_time, in dtsec_set_tx_pause_frames()
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()
837 dtsec_set_tx_pause_frames(struct fman_mac *dtsec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) dtsec_set_tx_pause_frames() argument
H A Dfman_tgec.c409 u8 __maybe_unused priority, u16 pause_time, in tgec_set_tx_pause_frames()
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()
408 tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) tgec_set_tx_pause_frames() argument
H A Dfman_memac.c571 u16 pause_time, u16 thresh_time) in memac_set_tx_pause_frames()
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()
570 memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, u16 pause_time, u16 thresh_time) memac_set_tx_pause_frames() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_hw.h179 u16 pause_time; /* Flow control pause timer */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_hw.h167 u16 pause_time; /* Flow control pause timer */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_xgmac.c441 u32 pause_time, pause_ctrl, port_mode, ctrl_val; in hns_xgmac_get_info() local
447 pause_time = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_TIME_REG); in hns_xgmac_get_info()
448 mac_info->tx_pause_time = pause_time; in hns_xgmac_get_info()

Completed in 25 milliseconds

123