| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | linkmode.c | 5 * linkmode_resolve_pause - resolve the allowable pause modes 8 * @tx_pause: pointer to bool to indicate whether transmit pause should be 10 * @rx_pause: pointer to bool to indicate whether receive pause should be 16 * Pause AsymDir Pause AsymDir Result 47 * linkmode_set_pause - set the pause mode advertisement 52 * Configure the advertised Pause and Asym_Pause bits according to the 56 * tx rx Pause AsymDir 68 * Pause AsymDir Pause AsymDir Result 73 * pause frames: 76 * Pause AsymDir Pause AsymDir Result [all …]
|
| H A D | phylink.c | 139 phylink_set(tmp, Pause); in phylink_is_empty_linkmode() 183 /* We treat the "pause" and "asym-pause" terminology as in phylink_parse_fixedlink() 185 if (fwnode_property_read_bool(fixed_node, "pause")) in phylink_parse_fixedlink() 188 if (fwnode_property_read_bool(fixed_node, "asym-pause")) in phylink_parse_fixedlink() 243 phylink_set(pl->supported, Pause); in phylink_parse_fixedlink() 286 phylink_set(pl->supported, Pause); in phylink_parse_mode() 385 /* If autoneg is disabled, pause AN is also disabled */ in phylink_apply_manual_flow() 387 state->pause &= ~MLO_PAUSE_AN; in phylink_apply_manual_flow() 389 /* Manual configuration of pause modes */ in phylink_apply_manual_flow() 390 if (!(pl->link_config.pause & MLO_PAUSE_AN)) in phylink_apply_manual_flow() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/netdevsim/ |
| H A D | ethtool.c | 23 nsim_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_get_pauseparam() argument 27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ in nsim_get_pauseparam() 28 pause->rx_pause = ns->ethtool.rx; in nsim_get_pauseparam() 29 pause->tx_pause = ns->ethtool.tx; in nsim_get_pauseparam() 33 nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_set_pauseparam() argument 37 if (pause->autoneg) in nsim_set_pauseparam() 40 ns->ethtool.rx = pause->rx_pause; in nsim_set_pauseparam() 41 ns->ethtool.tx = pause->tx_pause; in nsim_set_pauseparam() 59 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_hw.h | 31 * Bit 4 : tx_flowctl => 1:enable pause frame generation, 0:disable 32 * Bit 5 : rx_flowctl => 1:act on recv'd pause frames, 0:ignore 106 * NIU XG Pause Ctl Register 108 * Bit 0 : xg0_mask => 1:disable tx pause frames 109 * Bit 1 : xg0_request => 1:request single pause frame 110 * Bit 2 : xg0_on_off => 1:request is pause on, 0:off 111 * Bit 3 : xg1_mask => 1:disable tx pause frames 112 * Bit 4 : xg1_request => 1:request single pause frame 113 * Bit 5 : xg1_on_off => 1:request is pause on, 0:off 132 * NIU XG Pause Ctl Register [all …]
|
| H A D | netxen_nic_ethtool.c | 473 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() argument 479 pause->autoneg = 0; in netxen_nic_get_pauseparam() 486 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam() 490 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam() 493 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam() 496 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam() 500 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam() 506 pause->rx_pause = 1; in netxen_nic_get_pauseparam() 509 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam() 511 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_api.c | 54 * This function is used to pause/unpause multiple macid 56 * @macid_arr: macid array to be pause/unpause 57 * 1 means to be set (pause/unpause) 60 * @pause: all macid of this array to be paused/unpaused 64 rtw_hal_set_macid_grp_pause(void *hal, u32 *macid_arr, u8 arr_size, bool pause) in rtw_hal_set_macid_grp_pause() argument 69 return rtw_hal_mac_set_macid_grp_pause(hal_com, macid_arr, arr_size, pause); in rtw_hal_set_macid_grp_pause() 73 * This function is used to pause/unpause single macid 75 * @macid: macid be pause/unpause 76 * @pause: all macid of this array to be paused/unpaused 80 rtw_hal_set_macid_pause(void *hal, u16 macid, bool pause) in rtw_hal_set_macid_pause() argument [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_api.c | 54 * This function is used to pause/unpause multiple macid 56 * @macid_arr: macid array to be pause/unpause 57 * 1 means to be set (pause/unpause) 60 * @pause: all macid of this array to be paused/unpaused 64 rtw_hal_set_macid_grp_pause(void *hal, u32 *macid_arr, u8 arr_size, bool pause) in rtw_hal_set_macid_grp_pause() argument 69 return rtw_hal_mac_set_macid_grp_pause(hal_com, macid_arr, arr_size, pause); in rtw_hal_set_macid_grp_pause() 73 * This function is used to pause/unpause single macid 75 * @macid: macid be pause/unpause 76 * @pause: all macid of this array to be paused/unpaused 80 rtw_hal_set_macid_pause(void *hal, u16 macid, bool pause) in rtw_hal_set_macid_pause() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_ethtool.c | 366 * pch_gbe_get_pauseparam - Report pause parameters 368 * @pause: Pause parameters structure 371 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument 376 pause->autoneg = in pch_gbe_get_pauseparam() 380 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 382 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 384 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 385 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 390 * pch_gbe_set_pauseparam - Set pause parameters 392 * @pause: Pause parameters structure [all …]
|
| /OK3568_Linux_fs/kernel/drivers/slimbus/ |
| H A D | sched.c | 11 * 'clock pause' 13 * @wakeup: Wakeup this controller from clock pause. 14 * @restart: Restart time value per spec used for clock pause. This value 20 * To exit clock-pause, controller typically wakes up active framer device. 21 * This API executes clock pause reconfiguration sequence if wakeup is false. 23 * For entering clock-pause, -EBUSY is returned if a message txn in pending. 53 pr_err("Previous clock pause did not finish"); in slim_ctrl_clk_pause() 61 * out of clock pause in slim_ctrl_clk_pause() 91 /* clock pause sequence */ in slim_ctrl_clk_pause()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | phylink.h | 38 * @pause: link pause state, described by MLO_PAUSE_* constants. 49 int pause; member 149 * current speed in @state->speed, duplex mode in @state->duplex, pause 150 * mode in @state->pause using the %MLO_PAUSE_RX and %MLO_PAUSE_TX bits, 197 * In all negotiation modes, as defined by @mode, @state->pause indicates the 198 * pause settings which should be applied as follows. If %MLO_PAUSE_AN is not 200 * pause frames and/or act on received pause frames respectively. Otherwise, 202 * to control the MAC pause mode settings. 214 * @state->duplex and @state->pause to configure the MAC, but this is 220 * Deprecated state members: speed, duplex, pause. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_defs_cna.h | 84 u64 rx_pause; /*!< Rx pause */ 85 u64 rx_zero_pause; /*!< Rx zero pause */ 86 u64 tx_pause; /*!< Tx pause */ 87 u64 tx_zero_pause; /*!< Tx zero pause */ 88 u64 rx_fcoe_pause; /*!< Rx FCoE pause */ 89 u64 rx_fcoe_zero_pause; /*!< Rx FCoE zero pause */ 90 u64 tx_fcoe_pause; /*!< Tx FCoE pause */ 91 u64 tx_fcoe_zero_pause; /*!< Tx FCoE zero pause */ 92 u64 rx_iscsi_pause; /*!< Rx iSCSI pause */ 93 u64 rx_iscsi_zero_pause; /*!< Rx iSCSI zero pause */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/ |
| H A D | igc_mac.c | 89 * ability to transmit pause frames is not enabled, then these in igc_set_fc_watermarks() 130 * to the both 'rx' and 'tx' pause frames. in igc_setup_link() 148 /* Initialize the flow control address, type, and PAUSE timer in igc_setup_link() 193 * 1: Rx flow control is enabled (we can receive pause in igc_force_mac_fc() 194 * frames but not send pause frames). in igc_force_mac_fc() 195 * 2: Tx flow control is enabled (we can send pause frames in igc_force_mac_fc() 196 * frames but we do not receive pause frames). in igc_force_mac_fc() 514 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up() 519 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igc_config_fc_after_link_up() 530 * Are both PAUSE bits set to 1? If so, this implies in igc_config_fc_after_link_up() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_mac.c | 679 /* Initialize the flow control address, type, and PAUSE timer in igb_setup_link() 734 * ability to transmit pause frames is not enabled, then these in igb_set_fc_watermarks() 766 * that determine the hardware's default PAUSE (flow control) mode, in igb_set_default_fc() 823 * 1: Rx flow control is enabled (we can receive pause in igb_force_mac_fc() 824 * frames but not send pause frames). in igb_force_mac_fc() 825 * 2: Tx flow control is enabled (we can send pause frames in igb_force_mac_fc() 826 * frames but we do not receive pause frames). in igb_force_mac_fc() 938 * 1999, describes these PAUSE resolution bits and how flow in igb_config_fc_after_link_up() 943 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igb_config_fc_after_link_up() 954 * Are both PAUSE bits set to 1? If so, this implies in igb_config_fc_after_link_up() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 634 * that determine the hardware's default PAUSE (flow control) mode, in e1000_set_default_fc_generic() 699 /* Initialize the flow control address, type, and PAUSE timer in e1000e_setup_link_generic() 728 * software will have to set the "PAUSE" bits to the correct value in in e1000_commit_fc_settings_generic() 736 * 1: Rx flow control is enabled (we can receive pause frames, in e1000_commit_fc_settings_generic() 737 * but not send pause frames). in e1000_commit_fc_settings_generic() 738 * 2: Tx flow control is enabled (we can send pause frames but we in e1000_commit_fc_settings_generic() 739 * do not support receiving pause frames). in e1000_commit_fc_settings_generic() 750 * advertise that we are capable of Rx Pause ONLY, we will in e1000_commit_fc_settings_generic() 752 * PAUSE. Later, we will disable the adapter's ability to send in e1000_commit_fc_settings_generic() 753 * PAUSE frames. in e1000_commit_fc_settings_generic() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-ethtool.c | 98 strcpy(data, "single-pause-mode"); in emac_get_strings() 170 struct ethtool_pauseparam *pause) in emac_get_pauseparam() argument 174 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam() 175 pause->rx_pause = adpt->rx_flow_control ? 1 : 0; in emac_get_pauseparam() 176 pause->tx_pause = adpt->tx_flow_control ? 1 : 0; in emac_get_pauseparam() 180 struct ethtool_pauseparam *pause) in emac_set_pauseparam() argument 184 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam() 185 adpt->rx_flow_control = pause->rx_pause != 0; in emac_set_pauseparam() 186 adpt->tx_flow_control = pause->tx_pause != 0; in emac_set_pauseparam()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | ethernet-controller.yaml | 185 Pause configuration. 0 for no pause, 1 for pause 189 Asymmetric pause configuration. 0 for no asymmetric 190 pause, 1 for asymmetric pause 209 pause: 212 Indicates that pause should be enabled. 214 asym-pause:
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpmac.h | 99 * Enable pause frames 103 * Enable a-symmetric pause frames 170 * @DPMAC_CNT_ING_VALID_PAUSE_FRAME: counts valid pause frames (regular and PFC) 171 * @DPMAC_CNT_EGR_VALID_PAUSE_FRAME: counts valid pause frames transmitted 174 * frames and valid pause frames. 182 * frames and valid pause frames transmitted. 188 * pause frames. 190 * pause frames.
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | cpuhp.h | 93 TP_PROTO(struct cpumask *cpus, u64 start_time, unsigned char pause), 95 TP_ARGS(cpus, start_time, pause), 101 __field( unsigned char, pause ) 108 __entry->pause = pause; 112 __entry->cpus, __entry->active_cpus, __entry->time, __entry->pause)
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | dbcc.c | 343 enum mac_ax_band band, u8 pause) in mac_dbcc_trx_ctrl() argument 360 if (pause) { in mac_dbcc_trx_ctrl() 371 if (!pause && band == MAC_AX_BAND_1 && in mac_dbcc_trx_ctrl() 381 if (pause) in mac_dbcc_trx_ctrl() 389 PLTFM_MSG_ERR("B%d pause%d sch txen cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() 395 if (pause) in mac_dbcc_trx_ctrl() 401 phyrpt_cfg.en = pause ? 0 : ppdu_rpt_bkp->en; in mac_dbcc_trx_ctrl() 406 PLTFM_MSG_ERR("B%d pause%d ppdu status cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() 411 phyrpt_cfg.en = pause ? 0 : chinfo_cfg_kbp->en; in mac_dbcc_trx_ctrl() 416 PLTFM_MSG_ERR("B%d pause%d ch info cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | dbcc.c | 343 enum mac_ax_band band, u8 pause) in mac_dbcc_trx_ctrl() argument 360 if (pause) { in mac_dbcc_trx_ctrl() 371 if (!pause && band == MAC_AX_BAND_1 && in mac_dbcc_trx_ctrl() 381 if (pause) in mac_dbcc_trx_ctrl() 389 PLTFM_MSG_ERR("B%d pause%d sch txen cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() 395 if (pause) in mac_dbcc_trx_ctrl() 401 phyrpt_cfg.en = pause ? 0 : ppdu_rpt_bkp->en; in mac_dbcc_trx_ctrl() 406 PLTFM_MSG_ERR("B%d pause%d ppdu status cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() 411 phyrpt_cfg.en = pause ? 0 : chinfo_cfg_kbp->en; in mac_dbcc_trx_ctrl() 416 PLTFM_MSG_ERR("B%d pause%d ch info cfg %d\n", band, pause, ret); in mac_dbcc_trx_ctrl() [all …]
|
| /OK3568_Linux_fs/buildroot/package/oracle-mysql/ |
| H A D | 0000-ac_cache_check.patch | 118 # Check for x86 PAUSE instruction 119 - AC_MSG_CHECKING(for x86 PAUSE instruction) 120 + AC_CACHE_CHECK([for x86 PAUSE instruction], 123 # in Solaris on x86_64, where it wrongly reports that PAUSE is not 132 __asm__ __volatile__ ("pause"); 137 - AC_DEFINE([HAVE_IB_PAUSE_INSTRUCTION], [1], [Does x86 PAUSE instruction exist]) 152 + AC_DEFINE([HAVE_IB_PAUSE_INSTRUCTION], [1], [Does x86 PAUSE instruction exist])
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | fixed.c | 40 priv->pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "pause"); in fixedphy_probe() 41 priv->asym_pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "asym-pause"); in fixedphy_probe() 54 phydev->pause = priv->pause; in fixedphy_startup()
|
| /OK3568_Linux_fs/tools/linux/Linux_Pack_Firmware/rockdev/ |
| H A D | unpack.sh | 2 pause() function 14 pause 16 ./rkImageMaker -unpack update.img output || pause 17 ./afptool -unpack output/firmware.img output || pause
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | backoff.h | 28 * For SPARC-T4 and later we have a special "pause" instruction 32 * implements pause with a granularity of 8 cycles. Each strand has 33 * an internal pause counter which decrements every 8 cycles. So the 35 * into the pause counter. If a value smaller than 8 is written, the 41 * whole amount we want to block into the pause register, rather than
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | vsc8211.c | 134 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status() local 187 pause = PAUSE_RX | PAUSE_TX; in vsc8211_get_link_status() 191 pause = PAUSE_TX; in vsc8211_get_link_status() 194 pause = PAUSE_RX; in vsc8211_get_link_status() 202 *fc = pause; in vsc8211_get_link_status() 210 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status_fiber() local 256 pause = PAUSE_RX | PAUSE_TX; in vsc8211_get_link_status_fiber() 259 pause = PAUSE_TX; in vsc8211_get_link_status_fiber() 262 pause = PAUSE_RX; in vsc8211_get_link_status_fiber() 270 *fc = pause; in vsc8211_get_link_status_fiber()
|