Lines Matching refs:Rpl
420 …tp->Rpl[i].NextRPLAddr = htonl(((char *)(&tp->Rpl[(i+1) % RPL_NUM]) - (char *)tp) + tp->dmabuffer)… in tms380tr_init_net_local()
421 tp->Rpl[i].Status = (RX_VALID | RX_START_FRAME | RX_END_FRAME | RX_FRAME_IRQ); in tms380tr_init_net_local()
422 tp->Rpl[i].FrameSize = 0; in tms380tr_init_net_local()
423 tp->Rpl[i].FragList[0].DataCount = cpu_to_be16((unsigned short)tp->MaxPacketSize); in tms380tr_init_net_local()
426 tp->Rpl[i].Skb = dev_alloc_skb(tp->MaxPacketSize); in tms380tr_init_net_local()
427 tp->Rpl[i].DMABuff = 0; in tms380tr_init_net_local()
430 if(tp->Rpl[i].Skb == NULL) in tms380tr_init_net_local()
432 tp->Rpl[i].SkbStat = SKB_UNAVAILABLE; in tms380tr_init_net_local()
433 …tp->Rpl[i].FragList[0].DataAddr = htonl(((char *)tp->LocalRxBuffers[i] - (char *)tp) + tp->dmabuff… in tms380tr_init_net_local()
434 tp->Rpl[i].MData = tp->LocalRxBuffers[i]; in tms380tr_init_net_local()
438 tp->Rpl[i].Skb->dev = dev; in tms380tr_init_net_local()
439 skb_put(tp->Rpl[i].Skb, tp->MaxPacketSize); in tms380tr_init_net_local()
442 dmabuf = pci_map_single(tp->pdev, tp->Rpl[i].Skb->data, tp->MaxPacketSize, PCI_DMA_FROMDEVICE); in tms380tr_init_net_local()
445 tp->Rpl[i].SkbStat = SKB_DATA_COPY; in tms380tr_init_net_local()
446 …tp->Rpl[i].FragList[0].DataAddr = htonl(((char *)tp->LocalRxBuffers[i] - (char *)tp) + tp->dmabuff… in tms380tr_init_net_local()
447 tp->Rpl[i].MData = tp->LocalRxBuffers[i]; in tms380tr_init_net_local()
451 tp->Rpl[i].SkbStat = SKB_DMA_DIRECT; in tms380tr_init_net_local()
452 tp->Rpl[i].FragList[0].DataAddr = htonl(dmabuf); in tms380tr_init_net_local()
453 tp->Rpl[i].MData = tp->Rpl[i].Skb->data; in tms380tr_init_net_local()
454 tp->Rpl[i].DMABuff = dmabuf; in tms380tr_init_net_local()
458 tp->Rpl[i].NextRPLPtr = &tp->Rpl[(i+1) % RPL_NUM]; in tms380tr_init_net_local()
459 tp->Rpl[i].RPLIndex = i; in tms380tr_init_net_local()
462 tp->RplHead = &tp->Rpl[0]; in tms380tr_init_net_local()
463 tp->RplTail = &tp->Rpl[RPL_NUM-1]; in tms380tr_init_net_local()