Lines Matching refs:rx_buffers
184 struct ks8695_skbuff rx_buffers[MAX_RX_DESC]; member
279 if (!ksp->rx_buffers[buff_n].skb) { in ks8695_refill_rxbuffers()
284 ksp->rx_buffers[buff_n].skb = skb; in ks8695_refill_rxbuffers()
298 ksp->rx_buffers[buff_n].skb = NULL; in ks8695_refill_rxbuffers()
301 ksp->rx_buffers[buff_n].dma_ptr = mapping; in ks8695_refill_rxbuffers()
302 ksp->rx_buffers[buff_n].length = MAX_RXBUF_SIZE; in ks8695_refill_rxbuffers()
469 && ksp->rx_buffers[buff_n].skb in ks8695_rx()
507 skb = ksp->rx_buffers[buff_n].skb; in ks8695_rx()
510 ksp->rx_buffers[buff_n].skb = NULL; in ks8695_rx()
515 ksp->rx_buffers[buff_n].dma_ptr, in ks8695_rx()
516 ksp->rx_buffers[buff_n].length, in ks8695_rx()
703 if (ksp->rx_buffers[buff_n].skb) { in ks8695_shutdown()
710 ksp->rx_buffers[buff_n].dma_ptr, in ks8695_shutdown()
711 ksp->rx_buffers[buff_n].length, in ks8695_shutdown()
713 dev_kfree_skb_irq(ksp->rx_buffers[buff_n].skb); in ks8695_shutdown()
714 ksp->rx_buffers[buff_n].skb = NULL; in ks8695_shutdown()