Searched refs:p_rx_desc (Results 1 – 3 of 3) sorted by relevance
401 struct rx_desc *p_rx_desc; in armdfec_init_rx_desc_ring() local405 p_rx_desc = darmdfec->p_rxdesc; in armdfec_init_rx_desc_ring()407 p_rx_desc->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in armdfec_init_rx_desc_ring()408 p_rx_desc->buf_size = PKTSIZE_ALIGN; in armdfec_init_rx_desc_ring()409 p_rx_desc->byte_cnt = 0; in armdfec_init_rx_desc_ring()410 p_rx_desc->buf_ptr = darmdfec->p_rxbuf + i * PKTSIZE_ALIGN; in armdfec_init_rx_desc_ring()412 p_rx_desc->nxtdesc_p = darmdfec->p_rxdesc; in armdfec_init_rx_desc_ring()414 p_rx_desc->nxtdesc_p = (struct rx_desc *) in armdfec_init_rx_desc_ring()415 ((u32)p_rx_desc + ARMDFEC_RXQ_DESC_ALIGNED_SIZE); in armdfec_init_rx_desc_ring()416 p_rx_desc = p_rx_desc->nxtdesc_p; in armdfec_init_rx_desc_ring()
405 struct mvgbe_rxdesc *p_rx_desc; in mvgbe_init_rx_desc_ring() local409 p_rx_desc = dmvgbe->p_rxdesc; in mvgbe_init_rx_desc_ring()411 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring()413 p_rx_desc->buf_size = PKTSIZE_ALIGN; in mvgbe_init_rx_desc_ring()414 p_rx_desc->byte_cnt = 0; in mvgbe_init_rx_desc_ring()415 p_rx_desc->buf_ptr = dmvgbe->p_rxbuf + i * PKTSIZE_ALIGN; in mvgbe_init_rx_desc_ring()417 p_rx_desc->nxtdesc_p = dmvgbe->p_rxdesc; in mvgbe_init_rx_desc_ring()419 p_rx_desc->nxtdesc_p = (struct mvgbe_rxdesc *) in mvgbe_init_rx_desc_ring()420 ((u32) p_rx_desc + MV_RXQ_DESC_ALIGNED_SIZE); in mvgbe_init_rx_desc_ring()421 p_rx_desc = p_rx_desc->nxtdesc_p; in mvgbe_init_rx_desc_ring()
1022 struct rx_desc *p_rx_desc; in rxq_init() local1042 p_rx_desc = pep->p_rx_desc_area; in rxq_init()1044 p_rx_desc[i].next_desc_ptr = pep->rx_desc_dma + in rxq_init()