Lines Matching defs:mode

121 /* By default the driver will use the ring mode to manage tx and rx descriptors,
126 MODULE_PARM_DESC(chain_mode, "To use chain instead of ring mode");
404 * stmmac_enable_eee_mode - check and enter in LPI mode
406 * Description: this function is to verify and enter in LPI mode in case of
422 /* Check and enter in LPI mode */
430 * stmmac_disable_eee_mode - disable and exit from LPI mode
966 static void stmmac_mac_config(struct phylink_config *config, unsigned int mode,
989 unsigned int mode, phy_interface_t interface)
1005 unsigned int mode, phy_interface_t interface,
1081 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed, mode);
1218 int mode = priv->plat->phy_interface;
1234 /* Set the platform/firmware specified interface mode. Note, phylink
1235 * deals with the PHY interface mode, not the MAC interface mode.
1237 __set_bit(mode, priv->phylink_config.supported_interfaces);
1249 mode, &stmmac_phylink_mac_ops);
1362 priv->use_riwt, priv->mode,
1367 priv->use_riwt, priv->mode,
1399 stmmac_init_tx_desc(priv, p, priv->mode, last);
1714 if (priv->mode == STMMAC_CHAIN_MODE) {
1788 if (priv->mode == STMMAC_CHAIN_MODE) {
2236 u8 mode;
2239 mode = priv->plat->rx_queues_cfg[queue].mode_to_use;
2240 stmmac_rx_queue_enable(priv, priv->hw, mode, queue);
2352 * stmmac_dma_operation_mode - HW DMA operation mode
2354 * Description: it is used for configuring the DMA operation mode register in
2355 * order to program the tx/rx DMA thresholds or Store-And-Forward mode.
2382 * In case of GMAC, SF mode can be enabled
2556 true, priv->mode, true, true,
2733 stmmac_release_tx_desc(priv, p, priv->mode);
2823 * stmmac_set_dma_operation_mode - Set DMA operation mode by channel
2825 * @txmode: TX operating mode
2826 * @rxmode: RX operating mode
2828 * Description: it is used for configuring of the DMA operation mode in
2830 * mode.
2945 unsigned int mode = MMC_CNTRL_RESET_ON_READ | MMC_CNTRL_COUNTER_RESET |
2951 stmmac_mmc_ctrl(priv, priv->mmcaddr, mode);
3017 if (priv->extend_desc && (priv->mode == STMMAC_RING_MODE))
3453 /* Set the HW DMA mode and the COE */
3948 int mode = priv->plat->phy_interface;
3959 xpcs_get_an_mode(priv->hw->xpcs, mode) != DW_AN_C73)) {
4637 priv->mode, 1, last_segment, skb->len);
4741 csum_insertion, priv->mode, 0, last_segment,
4965 true, priv->mode, true, true,
5801 /* all work done, exit the polling mode */
7193 /* dwmac-sun8i only work in chain mode */
7224 /* TXCOE doesn't work in thresh DMA mode */
7645 * enable enhanced addressing mode.
7885 /* Enable Power down mode by programming the PMT regs */