Home
last modified time | relevance | path

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

12

/linux-6.12.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.c714 unsigned int fc, unsigned int pause_time, in dwmac4_flow_ctrl() argument
734 pr_debug("\tduplex mode: PAUSE %d\n", pause_time); in dwmac4_flow_ctrl()
741 (pause_time << GMAC_TX_FLOW_CTRL_PT_SHIFT); in dwmac4_flow_ctrl()
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()
Ddwmac-sun8i.c732 unsigned int pause_time, u32 tx_cnt) in sun8i_dwmac_flow_ctrl() argument
Dhwif.h354 unsigned int fc, unsigned int pause_time, u32 tx_cnt);
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_82598.c201 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_config_pfc_82598()
206 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.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()
Dixgbe_type.h3305 u16 pause_time; /* Flow Control Pause timer */ member
/linux-6.12.1/drivers/net/ethernet/freescale/fman/
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()
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()
Dfman_memac.c570 u16 pause_time, u16 thresh_time) in memac_set_tx_pause_frames() argument
590 tmp |= ((u32)pause_time << (16 * (priority % 2))); in memac_set_tx_pause_frames()
719 u16 pause_time = tx_pause ? FSL_FM_PAUSE_TIME_ENABLE : in memac_link_up() local
722 memac_set_tx_pause_frames(memac, 0, pause_time, 0); in memac_link_up()
/linux-6.12.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-6.12.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-6.12.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-6.12.1/drivers/net/ethernet/intel/e1000e/
Dhw.h676 u16 pause_time; /* Flow control pause timer */ member
Dmac.c707 ew32(FCTTV, hw->fc.pause_time); in e1000e_setup_link_generic()
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()
Dich8lan.c5086 ew32(FCTTV, hw->fc.pause_time); in e1000_setup_link_ich8lan()
5094 hw->fc.pause_time); in e1000_setup_link_ich8lan()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c2225 u16 pause_time = WX_DEFAULT_FCPAUSE; in wx_fc_enable() local
2273 reg = pause_time * 0x00010001; in wx_fc_enable()
2277 wr32(wx, WX_RDB_RFCRT, pause_time / 2); in wx_fc_enable()

12