Lines Matching refs:tx_cfg
1206 u32 tx_cfg; member
3132 u32 tx_cfg; in set_flow_ctrl() local
3135 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
3141 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3143 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3147 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
3148 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in set_flow_ctrl()
3187 u32 cfg = hw->tx_cfg; in port_cfg_change()
3191 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
3192 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
3193 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in port_cfg_change()
3699 hw->tx_cfg = (DMA_TX_PAD_ENABLE | DMA_TX_CRC_ENABLE | in hw_setup()
3847 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in hw_start_tx()
3858 writel((hw->tx_cfg & ~DMA_TX_ENABLE), hw->io + KS_DMA_TX_CTRL); in hw_stop_tx()
6255 (hw->tx_cfg & DMA_TX_FLOW_ENABLE) ? 1 : 0; in netdev_get_pauseparam()