Lines Matching refs:rpd

391 	fore200e_dma_chunk_free(fore200e, &fore200e->host_rxq.rpd);  in fore200e_shutdown()
960 fore200e_push_rpd(struct fore200e* fore200e, struct atm_vcc* vcc, struct rpd* rpd) in fore200e_push_rpd() argument
978 cell_header = (rpd->atm_header.gfc << ATM_HDR_GFC_SHIFT) | in fore200e_push_rpd()
979 (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | in fore200e_push_rpd()
980 (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) | in fore200e_push_rpd()
981 (rpd->atm_header.plt << ATM_HDR_PTI_SHIFT) | in fore200e_push_rpd()
982 rpd->atm_header.clp; in fore200e_push_rpd()
988 for (i = 0; i < rpd->nseg; i++) in fore200e_push_rpd()
989 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
1008 for (i = 0; i < rpd->nseg; i++) { in fore200e_push_rpd()
1011 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_push_rpd()
1015 rpd->rsd[i].length, DMA_FROM_DEVICE); in fore200e_push_rpd()
1017 skb_put_data(skb, buffer->data.align_addr, rpd->rsd[i].length); in fore200e_push_rpd()
1021 rpd->rsd[i].length, DMA_FROM_DEVICE); in fore200e_push_rpd()
1052 fore200e_collect_rpd(struct fore200e* fore200e, struct rpd* rpd) in fore200e_collect_rpd() argument
1058 for (i = 0; i < rpd->nseg; i++) { in fore200e_collect_rpd()
1061 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_collect_rpd()
1100 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1107 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1115 fore200e_push_rpd(fore200e, vcc, entry->rpd); in fore200e_rx_irq()
1120 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1127 fore200e_collect_rpd(fore200e, entry->rpd); in fore200e_rx_irq()
2128 &rxq->rpd, in fore200e_init_rx_queue()
2129 sizeof(struct rpd), in fore200e_init_rx_queue()
2145 rxq->host_entry[ i ].rpd = in fore200e_init_rx_queue()
2146 FORE200E_INDEX(rxq->rpd.align_addr, struct rpd, i); in fore200e_init_rx_queue()
2148 FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i); in fore200e_init_rx_queue()
2156 fore200e->bus->write(FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i), in fore200e_init_rx_queue()