Lines Matching defs:bdb
1362 BDBlock *bdb;
1364 bdb = (BDBlock *)((__u32)tp->ram_access
1367 tp->rx_fcb_curr[queue]->bdb_ptr = bdb;
1369 return ((__u8 *)bdb->data_block_ptr);
1721 BDBlock *bdb;
1729 bdb = tp->rx_bdb_head[i];
1731 bdb->info = (BDB_CHAIN_END | BDB_NO_WARNING);
1732 bdb->buffer_length = RX_DATA_BUFFER_SIZE;
1733 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock));
1734 bdb->data_block_ptr = buf;
1735 bdb->trc_next_ptr = TRC_POINTER(bdb->next_ptr);
1738 bdb->trc_data_block_ptr = RX_BUFF_TRC_POINTER(buf);
1740 bdb->trc_data_block_ptr = TRC_POINTER(buf);
1744 bdb->next_ptr->back_ptr = bdb;
1745 bdb = bdb->next_ptr;
1747 bdb->info = (BDB_NOT_CHAIN_END | BDB_NO_WARNING);
1748 bdb->buffer_length = RX_DATA_BUFFER_SIZE;
1749 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock));
1750 bdb->data_block_ptr = buf;
1751 bdb->trc_next_ptr = TRC_POINTER(bdb->next_ptr);
1754 bdb->trc_data_block_ptr = RX_BUFF_TRC_POINTER(buf);
1756 bdb->trc_data_block_ptr = TRC_POINTER(buf);
1759 bdb->next_ptr = tp->rx_bdb_head[i];
1760 bdb->trc_next_ptr = TRC_POINTER(tp->rx_bdb_head[i]);
1762 tp->rx_bdb_head[i]->back_ptr = bdb;
1881 BDBlock *bdb;
1885 bdb = tp->tx_bdb_head[i];
1886 bdb->info = (BDB_NOT_CHAIN_END | BDB_NO_WARNING);
1887 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock));
1888 bdb->trc_next_ptr = TRC_POINTER(bdb->next_ptr);
1892 bdb->next_ptr->back_ptr = bdb;
1893 bdb = bdb->next_ptr;
1894 bdb->info = (BDB_NOT_CHAIN_END | BDB_NO_WARNING);
1895 bdb->next_ptr
1896 = (BDBlock *)(((char *)bdb) + sizeof( BDBlock)); bdb->trc_next_ptr = TRC_POINTER(bdb->next_ptr);
1899 bdb->next_ptr = tp->tx_bdb_head[i];
1900 bdb->trc_next_ptr = TRC_POINTER(tp->tx_bdb_head[i]);
1901 tp->tx_bdb_head[i]->back_ptr = bdb;
2946 BDBlock *bdb;
2951 bdb = tp->tx_bdb_head[i];
2955 fcb->bdb_ptr = bdb;
2956 fcb->trc_bdb_ptr = TRC_POINTER(bdb);
2958 bdb = (BDBlock *)((char *)bdb + sizeof(BDBlock));
5500 BDBlock *bdb;
5519 bdb = (BDBlock *)((__u32)(tp->rx_bdb_curr[queue]) + (__u32)(size));
5520 if((__u32)bdb >= (__u32)tp->rx_bdb_end[queue])
5522 bdb = (BDBlock *)((__u32)(tp->rx_bdb_head[queue])
5523 + (__u32)(bdb) - (__u32)(tp->rx_bdb_end[queue]));
5526 bdb->back_ptr->info = BDB_CHAIN_END;
5528 tp->rx_bdb_curr[queue] = bdb;