Lines Matching refs:rpd
372 fore200e->bus->dma_chunk_free(fore200e, &fore200e->host_rxq.rpd); in fore200e_shutdown()
1051 fore200e_push_rpd(struct fore200e* fore200e, struct atm_vcc* vcc, struct rpd* rpd) in fore200e_push_rpd() argument
1069 cell_header = (rpd->atm_header.gfc << ATM_HDR_GFC_SHIFT) | in fore200e_push_rpd()
1070 (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | in fore200e_push_rpd()
1071 (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) | in fore200e_push_rpd()
1072 (rpd->atm_header.plt << ATM_HDR_PTI_SHIFT) | in fore200e_push_rpd()
1073 rpd->atm_header.clp; in fore200e_push_rpd()
1079 for (i = 0; i < rpd->nseg; i++) in fore200e_push_rpd()
1080 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
1099 for (i = 0; i < rpd->nseg; i++) { in fore200e_push_rpd()
1102 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_push_rpd()
1105 …fore200e->bus->dma_sync_for_cpu(fore200e, buffer->data.dma_addr, rpd->rsd[ i ].length, DMA_FROM_DE… in fore200e_push_rpd()
1107 memcpy(skb_put(skb, rpd->rsd[ i ].length), buffer->data.align_addr, rpd->rsd[ i ].length); in fore200e_push_rpd()
1110 …fore200e->bus->dma_sync_for_device(fore200e, buffer->data.dma_addr, rpd->rsd[ i ].length, DMA_FROM… in fore200e_push_rpd()
1145 fore200e_collect_rpd(struct fore200e* fore200e, struct rpd* rpd) in fore200e_collect_rpd() argument
1151 for (i = 0; i < rpd->nseg; i++) { in fore200e_collect_rpd()
1154 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle); in fore200e_collect_rpd()
1193 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1200 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1208 fore200e_push_rpd(fore200e, vcc, entry->rpd); in fore200e_rx_irq()
1213 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1220 fore200e_collect_rpd(fore200e, entry->rpd); in fore200e_rx_irq()
2226 &rxq->rpd, in fore200e_init_rx_queue()
2227 sizeof(struct rpd), in fore200e_init_rx_queue()
2243 rxq->host_entry[ i ].rpd = in fore200e_init_rx_queue()
2244 FORE200E_INDEX(rxq->rpd.align_addr, struct rpd, i); in fore200e_init_rx_queue()
2246 FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i); in fore200e_init_rx_queue()
2254 fore200e->bus->write(FORE200E_DMA_INDEX(rxq->rpd.dma_addr, struct rpd, i), in fore200e_init_rx_queue()