Lines Matching refs:channel_number
163 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
166 if (int_sts & INT_BIT_DMA_TX_(tx->channel_number)) { in lan743x_tx_isr()
167 u32 ioc_bit = DMAC_INT_BIT_TX_IOC_(tx->channel_number); in lan743x_tx_isr()
192 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
203 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
206 if (int_sts & INT_BIT_DMA_RX_(rx->channel_number)) { in lan743x_rx_isr()
207 u32 rx_frame_bit = DMAC_INT_BIT_RXFRM_(rx->channel_number); in lan743x_rx_isr()
232 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
1552 lan743x_csr_write(adapter, TX_TAIL(tx->channel_number), in lan743x_tx_frame_end()
1652 ioc_bit = DMAC_INT_BIT_TX_IOC_(tx->channel_number); in lan743x_tx_napi_poll()
1683 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_napi_poll()
1776 DMAC_CMD_STOP_T_(tx->channel_number)); in lan743x_tx_close()
1777 lan743x_dmac_tx_wait_till_stopped(adapter, tx->channel_number); in lan743x_tx_close()
1781 DMAC_INT_BIT_TX_IOC_(tx->channel_number)); in lan743x_tx_close()
1783 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_close()
1788 FCT_TX_CTL_DIS_(tx->channel_number)); in lan743x_tx_close()
1790 FCT_TX_CTL_EN_(tx->channel_number), in lan743x_tx_close()
1816 FCT_TX_CTL_RESET_(tx->channel_number)); in lan743x_tx_open()
1818 FCT_TX_CTL_RESET_(tx->channel_number), in lan743x_tx_open()
1823 FCT_TX_CTL_EN_(tx->channel_number)); in lan743x_tx_open()
1827 DMAC_CMD_TX_SWR_(tx->channel_number)); in lan743x_tx_open()
1829 DMAC_CMD_TX_SWR_(tx->channel_number), in lan743x_tx_open()
1834 TX_BASE_ADDRH(tx->channel_number), in lan743x_tx_open()
1837 TX_BASE_ADDRL(tx->channel_number), in lan743x_tx_open()
1841 data = lan743x_csr_read(adapter, TX_CFG_B(tx->channel_number)); in lan743x_tx_open()
1846 lan743x_csr_write(adapter, TX_CFG_B(tx->channel_number), data); in lan743x_tx_open()
1856 lan743x_csr_write(adapter, TX_CFG_A(tx->channel_number), data); in lan743x_tx_open()
1860 TX_HEAD_WRITEBACK_ADDRH(tx->channel_number), in lan743x_tx_open()
1863 TX_HEAD_WRITEBACK_ADDRL(tx->channel_number), in lan743x_tx_open()
1867 tx->last_head = lan743x_csr_read(adapter, TX_HEAD(tx->channel_number)); in lan743x_tx_open()
1871 lan743x_csr_write(adapter, TX_TAIL(tx->channel_number), in lan743x_tx_open()
1875 (tx->channel_number)); in lan743x_tx_open()
1890 lan743x_csr_write(adapter, TX_CFG_C(tx->channel_number), data); in lan743x_tx_open()
1894 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_open()
1896 DMAC_INT_BIT_TX_IOC_(tx->channel_number)); in lan743x_tx_open()
1900 DMAC_CMD_START_T_(tx->channel_number)); in lan743x_tx_open()
2167 DMAC_INT_BIT_RXFRM_(rx->channel_number)); in lan743x_rx_napi_poll()
2197 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_napi_poll()
2201 lan743x_csr_write(adapter, RX_TAIL(rx->channel_number), in lan743x_rx_napi_poll()
2313 FCT_RX_CTL_DIS_(rx->channel_number)); in lan743x_rx_close()
2315 FCT_RX_CTL_EN_(rx->channel_number), in lan743x_rx_close()
2319 DMAC_CMD_STOP_R_(rx->channel_number)); in lan743x_rx_close()
2320 lan743x_dmac_rx_wait_till_stopped(adapter, rx->channel_number); in lan743x_rx_close()
2323 DMAC_INT_BIT_RXFRM_(rx->channel_number)); in lan743x_rx_close()
2325 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_close()
2349 DMAC_CMD_RX_SWR_(rx->channel_number)); in lan743x_rx_open()
2351 DMAC_CMD_RX_SWR_(rx->channel_number), in lan743x_rx_open()
2356 RX_BASE_ADDRH(rx->channel_number), in lan743x_rx_open()
2359 RX_BASE_ADDRL(rx->channel_number), in lan743x_rx_open()
2364 RX_HEAD_WRITEBACK_ADDRH(rx->channel_number), in lan743x_rx_open()
2367 RX_HEAD_WRITEBACK_ADDRL(rx->channel_number), in lan743x_rx_open()
2379 RX_CFG_A(rx->channel_number), data); in lan743x_rx_open()
2382 data = lan743x_csr_read(adapter, RX_CFG_B(rx->channel_number)); in lan743x_rx_open()
2394 lan743x_csr_write(adapter, RX_CFG_B(rx->channel_number), data); in lan743x_rx_open()
2397 (rx->channel_number)); in lan743x_rx_open()
2409 lan743x_csr_write(adapter, RX_CFG_C(rx->channel_number), data); in lan743x_rx_open()
2412 lan743x_csr_write(adapter, RX_TAIL(rx->channel_number), in lan743x_rx_open()
2414 rx->last_head = lan743x_csr_read(adapter, RX_HEAD(rx->channel_number)); in lan743x_rx_open()
2423 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_open()
2425 DMAC_INT_BIT_RXFRM_(rx->channel_number)); in lan743x_rx_open()
2427 DMAC_INT_BIT_RXFRM_(rx->channel_number)); in lan743x_rx_open()
2429 DMAC_CMD_START_R_(rx->channel_number)); in lan743x_rx_open()
2433 FCT_RX_CTL_RESET_(rx->channel_number)); in lan743x_rx_open()
2435 FCT_RX_CTL_RESET_(rx->channel_number), in lan743x_rx_open()
2437 lan743x_csr_write(adapter, FCT_FLOW(rx->channel_number), in lan743x_rx_open()
2444 FCT_RX_CTL_EN_(rx->channel_number)); in lan743x_rx_open()
2698 adapter->rx[index].channel_number = index; in lan743x_hardware_init()
2703 tx->channel_number = 0; in lan743x_hardware_init()