Lines Matching refs:rpd
394 fore200e_dma_chunk_free(fore200e, &fore200e->host_rxq.rpd); in fore200e_shutdown()
962 fore200e_push_rpd(struct fore200e* fore200e, struct atm_vcc* vcc, struct rpd* rpd) in fore200e_push_rpd() argument
980 cell_header = (rpd->atm_header.gfc << ATM_HDR_GFC_SHIFT) | in fore200e_push_rpd()
981 (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | in fore200e_push_rpd()
982 (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) | in fore200e_push_rpd()
983 (rpd->atm_header.plt << ATM_HDR_PTI_SHIFT) | in fore200e_push_rpd()
984 rpd->atm_header.clp; in fore200e_push_rpd()
990 for (i = 0; i < rpd->nseg; i++) in fore200e_push_rpd()
991 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
1010 for (i = 0; i < rpd->nseg; i++) { in fore200e_push_rpd()
1013 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_push_rpd()
1017 rpd->rsd[i].length, DMA_FROM_DEVICE); in fore200e_push_rpd()
1019 skb_put_data(skb, buffer->data.align_addr, rpd->rsd[i].length); in fore200e_push_rpd()
1023 rpd->rsd[i].length, DMA_FROM_DEVICE); in fore200e_push_rpd()
1054 fore200e_collect_rpd(struct fore200e* fore200e, struct rpd* rpd) in fore200e_collect_rpd() argument
1060 for (i = 0; i < rpd->nseg; i++) { in fore200e_collect_rpd()
1063 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_collect_rpd()
1102 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1109 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1117 fore200e_push_rpd(fore200e, vcc, entry->rpd); in fore200e_rx_irq()
1122 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1129 fore200e_collect_rpd(fore200e, entry->rpd); in fore200e_rx_irq()
2130 &rxq->rpd, in fore200e_init_rx_queue()
2131 sizeof(struct rpd), in fore200e_init_rx_queue()
2147 rxq->host_entry[ i ].rpd = in fore200e_init_rx_queue()
2148 FORE200E_INDEX(rxq->rpd.align_addr, struct rpd, i); in fore200e_init_rx_queue()
2150 FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i); in fore200e_init_rx_queue()
2158 fore200e->bus->write(FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i), in fore200e_init_rx_queue()