Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c372 unsigned int pause_time = FCReqTimeout[bd]; in ixgb_check_options() local
373 ixgb_validate_option(&pause_time, &opt); in ixgb_check_options()
374 adapter->hw.fc.pause_time = pause_time; in ixgb_check_options()
376 adapter->hw.fc.pause_time = opt.def; in ixgb_check_options()
Dixgb_hw.c650 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
657 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
Dixgb_hw.h616 u16 pause_time; /* Flow Control Pause timer */ member
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
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()
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()
Ddwmac4_core.c740 unsigned int fc, unsigned int pause_time, in dwmac4_flow_ctrl() argument
760 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac4_flow_ctrl()
767 (pause_time << GMAC_TX_FLOW_CTRL_PT_SHIFT); in dwmac4_flow_ctrl()
Ddwxgmac2_core.c299 unsigned int fc, unsigned int pause_time, in dwxgmac2_flow_ctrl() argument
312 value |= pause_time << XGMAC_PT_SHIFT; in dwxgmac2_flow_ctrl()
Ddwmac-sun8i.c714 unsigned int pause_time, u32 tx_cnt) in sun8i_dwmac_flow_ctrl() argument
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
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()
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()
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()
Dixgbe_common.c2148 if (!hw->fc.pause_time) in ixgbe_fc_enable_generic()
2246 reg = hw->fc.pause_time * 0x00010001U; in ixgbe_fc_enable_generic()
2250 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_fc_enable_generic()
/Linux-v6.1/drivers/net/ethernet/freescale/fman/
Dmac.h52 u16 pause_time, u16 thresh_time);
Dmac.c122 u16 pause_time = (tx ? FSL_FM_PAUSE_TIME_ENABLE : in fman_set_mac_active_pause() local
125 err = mac_dev->set_tx_pause(fman_mac, 0, pause_time, 0); in fman_set_mac_active_pause()
Dfman_dtsec.c891 u16 pause_time, in dtsec_set_tx_pause_frames() argument
902 if (pause_time) { in dtsec_set_tx_pause_frames()
904 if (dtsec->fm_rev_info.major == 2 && pause_time <= 320) { in dtsec_set_tx_pause_frames()
906 pause_time); in dtsec_set_tx_pause_frames()
912 ptv |= pause_time & PTV_PT_MASK; in dtsec_set_tx_pause_frames()
Dfman_tgec.c442 u8 __maybe_unused priority, u16 pause_time, in tgec_set_tx_pause_frames() argument
450 iowrite32be((u32)pause_time, &regs->pause_quant); in tgec_set_tx_pause_frames()
Dfman_memac.c795 u16 pause_time, u16 thresh_time) in memac_set_tx_pause_frames() argument
818 tmp |= ((u32)pause_time << (16 * (priority % 2))); in memac_set_tx_pause_frames()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_hw.h167 u16 pause_time; /* Flow control pause timer */ member
Digc_mac.c158 wr32(IGC_FCTTV, hw->fc.pause_time); in igc_setup_link()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns/
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()
Dhns_dsaf_mac.h368 void (*set_tx_auto_pause_frames)(void *mac_drv, u16 pause_time);
/Linux-v6.1/drivers/net/ethernet/intel/igb/
De1000_hw.h467 u16 pause_time; /* Flow control pause timer */ member
De1000_mac.c720 wr32(E1000_FCTTV, hw->fc.pause_time); in igb_setup_link()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dhw.h662 u16 pause_time; /* Flow control pause timer */ member
Dmac.c709 ew32(FCTTV, hw->fc.pause_time); in e1000e_setup_link_generic()

12