Lines Matching refs:tx_cfg
1206 u32 tx_cfg; member
2838 u32 tx_cfg; in set_flow_ctrl() local
2841 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
2847 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2849 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2853 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
2854 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in set_flow_ctrl()
2893 u32 cfg = hw->tx_cfg; in port_cfg_change()
2897 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
2898 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
2899 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in port_cfg_change()
3401 hw->tx_cfg = (DMA_TX_PAD_ENABLE | DMA_TX_CRC_ENABLE | in hw_setup()
3549 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in hw_start_tx()
3560 writel((hw->tx_cfg & ~DMA_TX_ENABLE), hw->io + KS_DMA_TX_CTRL); in hw_stop_tx()
5957 (hw->tx_cfg & DMA_TX_FLOW_ENABLE) ? 1 : 0; in netdev_get_pauseparam()