Lines Matching defs:bd
3762 q->bd =
3763 pci_alloc_consistent(dev, sizeof(q->bd[0]) * count, &q->q.dma_addr);
3764 if (!q->bd) {
3766 sizeof(q->bd[0]) * count);
3786 struct tfd_frame *bd = &txq->bd[txq->q.last_used];
3790 /* classify bd */
3791 if (bd->control_flags.message_type == TX_HOST_COMMAND_TYPE)
3796 if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) {
3798 le32_to_cpu(bd->u.data.num_chunks));
3804 for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) {
3805 pci_unmap_single(dev, le32_to_cpu(bd->u.data.chunk_ptr[i]),
3806 le16_to_cpu(bd->u.data.chunk_len[i]),
3839 pci_free_consistent(dev, sizeof(txq->bd[0]) * q->n_bd, txq->bd,
5061 tfd = &txq->bd[q->first_empty];
10246 tfd = &txq->bd[q->first_empty];