Lines Matching refs:bd
3802 q->bd = in ipw_queue_tx_init()
3803 pci_alloc_consistent(dev, sizeof(q->bd[0]) * count, &q->q.dma_addr); in ipw_queue_tx_init()
3804 if (!q->bd) { in ipw_queue_tx_init()
3806 sizeof(q->bd[0]) * count); in ipw_queue_tx_init()
3826 struct tfd_frame *bd = &txq->bd[txq->q.last_used]; in ipw_queue_tx_free_tfd() local
3831 if (bd->control_flags.message_type == TX_HOST_COMMAND_TYPE) in ipw_queue_tx_free_tfd()
3836 if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) { in ipw_queue_tx_free_tfd()
3838 le32_to_cpu(bd->u.data.num_chunks)); in ipw_queue_tx_free_tfd()
3844 for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) { in ipw_queue_tx_free_tfd()
3845 pci_unmap_single(dev, le32_to_cpu(bd->u.data.chunk_ptr[i]), in ipw_queue_tx_free_tfd()
3846 le16_to_cpu(bd->u.data.chunk_len[i]), in ipw_queue_tx_free_tfd()
3879 pci_free_consistent(dev, sizeof(txq->bd[0]) * q->n_bd, txq->bd, in ipw_queue_tx_free()
5072 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd()
10160 tfd = &txq->bd[q->first_empty]; in ipw_tx_skb()