Lines Matching refs:pDB

601 	struct db_dest *pDB;  in au1000_GetFreeDB()  local
602 pDB = aup->pDBfree; in au1000_GetFreeDB()
604 if (pDB) in au1000_GetFreeDB()
605 aup->pDBfree = pDB->pnext; in au1000_GetFreeDB()
607 return pDB; in au1000_GetFreeDB()
610 void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) in au1000_ReleaseDB() argument
614 pDBfree->pnext = pDB; in au1000_ReleaseDB()
615 aup->pDBfree = pDB; in au1000_ReleaseDB()
835 struct db_dest *pDB; in au1000_rx() local
844 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
858 (unsigned char *)pDB->vaddr, frmlen); in au1000_rx()
886 prxd->buff_stat = (u32)(pDB->dma_addr | RX_DMA_ENABLE); in au1000_rx()
1029 struct db_dest *pDB; in au1000_tx() local
1053 pDB = aup->tx_db_inuse[aup->tx_head]; in au1000_tx()
1054 skb_copy_from_linear_data(skb, (void *)pDB->vaddr, skb->len); in au1000_tx()
1057 ((char *)pDB->vaddr)[i] = 0; in au1000_tx()
1066 ptxd->buff_stat = pDB->dma_addr | TX_DMA_ENABLE; in au1000_tx()
1146 struct db_dest *pDB, *pDBfree; in au1000_probe() local
1322 pDB = aup->db; in au1000_probe()
1324 pDB->pnext = pDBfree; in au1000_probe()
1325 pDBfree = pDB; in au1000_probe()
1326 pDB->vaddr = (u32 *)((unsigned)aup->vaddr + MAX_BUF_SIZE*i); in au1000_probe()
1327 pDB->dma_addr = (dma_addr_t)virt_to_bus(pDB->vaddr); in au1000_probe()
1328 pDB++; in au1000_probe()
1334 pDB = au1000_GetFreeDB(aup); in au1000_probe()
1335 if (!pDB) in au1000_probe()
1338 aup->rx_dma_ring[i]->buff_stat = (unsigned)pDB->dma_addr; in au1000_probe()
1339 aup->rx_db_inuse[i] = pDB; in au1000_probe()
1344 pDB = au1000_GetFreeDB(aup); in au1000_probe()
1345 if (!pDB) in au1000_probe()
1348 aup->tx_dma_ring[i]->buff_stat = (unsigned)pDB->dma_addr; in au1000_probe()
1350 aup->tx_db_inuse[i] = pDB; in au1000_probe()