Searched refs:write_dma_reg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c115 static void write_dma_reg(unsigned int reg, unsigned int val) write_dma_reg() function
338 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), pasemi_mac_setup_csring()
343 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); pasemi_mac_setup_csring()
364 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); pasemi_mac_setup_csring()
447 write_dma_reg(PAS_DMA_RXCHAN_BASEL(chno), pasemi_mac_setup_rx_resources()
450 write_dma_reg(PAS_DMA_RXCHAN_BASEU(chno), pasemi_mac_setup_rx_resources()
459 write_dma_reg(PAS_DMA_RXCHAN_CFG(chno), cfg); pasemi_mac_setup_rx_resources()
461 write_dma_reg(PAS_DMA_RXINT_BASEL(mac->dma_if), pasemi_mac_setup_rx_resources()
464 write_dma_reg(PAS_DMA_RXINT_BASEU(mac->dma_if), pasemi_mac_setup_rx_resources()
475 write_dma_reg(PAS_DMA_RXINT_CFG(mac->dma_if), cfg); pasemi_mac_setup_rx_resources()
523 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), pasemi_mac_setup_tx_resources()
528 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); pasemi_mac_setup_tx_resources()
538 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); pasemi_mac_setup_tx_resources()
667 write_dma_reg(PAS_DMA_RXINT_INCR(mac->dma_if), count); pasemi_mac_replenish_rx_ring()
848 write_dma_reg(PAS_DMA_RXCHAN_INCR(mac->rx->chan.chno), count << 1); pasemi_mac_clean_rx()
1163 write_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if), pasemi_mac_open()
1184 write_dma_reg(PAS_DMA_RXCHAN_INCR(rx_ring(mac)->chan.chno), pasemi_mac_open()
1269 write_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch), pasemi_mac_pause_txchan()
1283 write_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch), 0); pasemi_mac_pause_txchan()
1291 write_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(rxch), pasemi_mac_pause_rxchan()
1303 write_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(rxch), 0); pasemi_mac_pause_rxchan()
1310 write_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if), pasemi_mac_pause_rxint()
1322 write_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if), 0); pasemi_mac_pause_rxint()
1460 write_dma_reg(PAS_DMA_TXCHAN_INCR(csring->chan.chno), (cs_size) >> 1); pasemi_mac_queue_csdesc()
1472 write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), 2); pasemi_mac_queue_csdesc()
1578 write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), (nfrags+2) >> 1); pasemi_mac_start_tx()
1700 write_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if), pasemi_mac_change_mtu()

Completed in 52 milliseconds