Home
last modified time | relevance | path

Searched refs:tx_config (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c122 u32 tx_config; in sxgbe_enable_tx() local
124 tx_config = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_enable_tx()
125 tx_config &= ~SXGBE_TX_ENABLE; in sxgbe_enable_tx()
128 tx_config |= SXGBE_TX_ENABLE; in sxgbe_enable_tx()
129 writel(tx_config, ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_enable_tx()
Dsxgbe_dma.c101 u32 tx_config; in sxgbe_enable_dma_transmission() local
103 tx_config = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); in sxgbe_enable_dma_transmission()
104 tx_config |= SXGBE_TX_START_DMA; in sxgbe_enable_dma_transmission()
105 writel(tx_config, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); in sxgbe_enable_dma_transmission()
/Linux-v4.19/drivers/net/ethernet/silan/
Dsc92031.c292 u32 tx_config; member
391 priv->tx_config &= ~TxEnb; in _sc92031_disable_tx_rx()
393 iowrite32(priv->tx_config, port_base + TxConfig); in _sc92031_disable_tx_rx()
402 priv->tx_config |= TxEnb; in _sc92031_enable_tx_rx()
404 iowrite32(priv->tx_config, port_base + TxConfig); in _sc92031_enable_tx_rx()
506 priv->tx_config = 0x48800000; in _sc92031_check_media()
511 priv->tx_config |= 0x80000; in _sc92031_check_media()
518 priv->tx_config |= TxFullDx; in _sc92031_check_media()
522 priv->tx_config &= ~TxFullDx; in _sc92031_check_media()
628 priv->tx_config = 0; in _sc92031_reset()
/Linux-v4.19/drivers/net/ethernet/natsemi/
Dnatsemi.c577 u32 tx_config, rx_config; member
1701 np->tx_config |= TxCarrierIgn | TxHeartIgn; in check_link()
1704 np->tx_config &= ~(TxCarrierIgn | TxHeartIgn); in check_link()
1706 writel(np->tx_config, ioaddr + TxConfig); in check_link()
1739 np->tx_config = TxAutoPad | TxCollRetry | TxMxdma_256 | in init_registers()
1741 writel(np->tx_config, ioaddr + TxConfig); in init_registers()
2422 if ((np->tx_config & TxDrthMask) < TX_DRTH_VAL_LIMIT) { in netdev_error()
2423 np->tx_config += TX_DRTH_VAL_INC; in netdev_error()
2427 dev->name, np->tx_config); in netdev_error()
2432 dev->name, np->tx_config); in netdev_error()
[all …]
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_utils.c758 u32 tx_config; in nes_mh_fix() local
820 tx_config = nes_read_indexed(nesdev, NES_IDX_MAC_TX_CONFIG); in nes_mh_fix()
865 nes_write_indexed(nesdev, NES_IDX_MAC_TX_CONFIG, tx_config); in nes_mh_fix()
Dnes_hw.c1503 u32 tx_config = 0; in nes_init_phy() local
1509 tx_config = nes_read_indexed(nesdev, NES_IDX_MAC_TX_CONFIG); in nes_init_phy()
1512 tx_config &= 0xFFFFFFE3; in nes_init_phy()
1513 tx_config |= 0x04; in nes_init_phy()
1516 tx_config &= 0xFFFFFFE3; in nes_init_phy()
1517 tx_config |= 0x1D; in nes_init_phy()
1519 nes_write_indexed(nesdev, NES_IDX_MAC_TX_CONFIG, tx_config); in nes_init_phy()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad.h315 struct bna_tx_config tx_config[BNAD_MAX_TX] ____cacheline_aligned; member
Dbnad.c1957 struct bna_tx_config *tx_config = &bnad->tx_config[tx_id]; in bnad_setup_tx() local
1972 tx_config->num_txq = bnad->num_txq_per_tx; in bnad_setup_tx()
1973 tx_config->txq_depth = bnad->txq_depth; in bnad_setup_tx()
1974 tx_config->tx_type = BNA_TX_T_REGULAR; in bnad_setup_tx()
1975 tx_config->coalescing_timeo = bnad->tx_coalescing_timeo; in bnad_setup_tx()
1995 tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, in bnad_setup_tx()