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()
834 struct db_dest *pDB; in au1000_rx() local
843 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
857 (unsigned char *)pDB->vaddr, frmlen); in au1000_rx()
885 prxd->buff_stat = (u32)(pDB->dma_addr | RX_DMA_ENABLE); in au1000_rx()
1028 struct db_dest *pDB; in au1000_tx() local
1052 pDB = aup->tx_db_inuse[aup->tx_head]; in au1000_tx()
1053 skb_copy_from_linear_data(skb, (void *)pDB->vaddr, skb->len); in au1000_tx()
1056 ((char *)pDB->vaddr)[i] = 0; in au1000_tx()
1065 ptxd->buff_stat = pDB->dma_addr | TX_DMA_ENABLE; in au1000_tx()
1145 struct db_dest *pDB, *pDBfree; in au1000_probe() local
1321 pDB = aup->db; in au1000_probe()
1323 pDB->pnext = pDBfree; in au1000_probe()
1324 pDBfree = pDB; in au1000_probe()
1325 pDB->vaddr = (u32 *)((unsigned)aup->vaddr + MAX_BUF_SIZE*i); in au1000_probe()
1326 pDB->dma_addr = (dma_addr_t)virt_to_bus(pDB->vaddr); in au1000_probe()
1327 pDB++; in au1000_probe()
1333 pDB = au1000_GetFreeDB(aup); in au1000_probe()
1334 if (!pDB) in au1000_probe()
1337 aup->rx_dma_ring[i]->buff_stat = (unsigned)pDB->dma_addr; in au1000_probe()
1338 aup->rx_db_inuse[i] = pDB; in au1000_probe()
1343 pDB = au1000_GetFreeDB(aup); in au1000_probe()
1344 if (!pDB) in au1000_probe()
1347 aup->tx_dma_ring[i]->buff_stat = (unsigned)pDB->dma_addr; in au1000_probe()
1349 aup->tx_db_inuse[i] = pDB; in au1000_probe()