Lines Matching refs:BDBlock
380 tp->tx_bdb_head[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
381 sizeof(BDBlock) * tp->num_tx_bdbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
383 tp->tx_bdb_head[NON_MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
384 sizeof(BDBlock) * tp->num_tx_bdbs[NON_MAC_QUEUE]); in smctr_alloc_shared_memory()
386 tp->tx_bdb_head[BUG_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
387 sizeof(BDBlock) * tp->num_tx_bdbs[BUG_QUEUE]); in smctr_alloc_shared_memory()
397 tp->rx_bdb_head[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
398 sizeof(BDBlock) * tp->num_rx_bdbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
400 tp->rx_bdb_end[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, 0); in smctr_alloc_shared_memory()
402 tp->rx_bdb_head[NON_MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
403 sizeof(BDBlock) * tp->num_rx_bdbs[NON_MAC_QUEUE]); in smctr_alloc_shared_memory()
405 tp->rx_bdb_end[NON_MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, 0); in smctr_alloc_shared_memory()
1317 mem_used += sizeof(BDBlock) * tp->num_tx_bdbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1318 mem_used += sizeof(BDBlock) * tp->num_tx_bdbs[NON_MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1319 mem_used += sizeof(BDBlock) * tp->num_tx_bdbs[BUG_QUEUE]; in smctr_get_num_rx_bdbs()
1326 mem_used += sizeof(BDBlock) * tp->num_rx_bdbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1364 return((0xffff - mem_used) / (RX_DATA_BUFFER_SIZE + sizeof(BDBlock))); in smctr_get_num_rx_bdbs()
1377 BDBlock *bdb; in smctr_get_rx_pointer()
1379 bdb = (BDBlock *)((__u32)tp->ram_access in smctr_get_rx_pointer()
1410 BDBlock *pbdb; in smctr_get_tx_fcb()
1745 BDBlock *bdb; in smctr_init_rx_bdbs()
1757 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock)); in smctr_init_rx_bdbs()
1773 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock)); in smctr_init_rx_bdbs()
1905 BDBlock *bdb; in smctr_init_tx_bdbs()
1911 bdb->next_ptr = (BDBlock *)(((char *)bdb) + sizeof(BDBlock)); in smctr_init_tx_bdbs()
1920 …= (BDBlock *)(((char *)bdb) + sizeof( BDBlock)); bdb->trc_next_ptr = TRC_PO… in smctr_init_tx_bdbs()
3012 BDBlock *bdb; in smctr_link_tx_fcbs_to_bdbs()
3024 bdb = (BDBlock *)((char *)bdb + sizeof(BDBlock)); in smctr_link_tx_fcbs_to_bdbs()
5584 BDBlock *bdb; in smctr_update_rx_chain()
5599 size += sizeof(BDBlock); in smctr_update_rx_chain()
5603 bdb = (BDBlock *)((__u32)(tp->rx_bdb_curr[queue]) + (__u32)(size)); in smctr_update_rx_chain()
5606 bdb = (BDBlock *)((__u32)(tp->rx_bdb_head[queue]) in smctr_update_rx_chain()