Lines Matching refs:tbd
2798 struct ipw2100_bd *tbd;
2811 tbd = &txq->drv[packet->index];
2823 descriptors_used = tbd->num_fragments;
2824 frag_num = tbd->num_fragments - 1;
2908 tbd = &txq->drv[(packet->index + 1 + i) % txq->entries];
2912 tbd->host_addr, tbd->buf_length);
2914 dma_unmap_single(&priv->pci_dev->dev, tbd->host_addr,
2915 tbd->buf_length, DMA_TO_DEVICE);
2989 struct ipw2100_bd *tbd;
3017 tbd = &txq->drv[txq->next];
3020 tbd->host_addr = packet->info.c_struct.cmd_phys;
3021 tbd->buf_length = sizeof(struct ipw2100_cmd_header);
3024 tbd->num_fragments = 1;
3025 tbd->status.info.field =
3058 struct ipw2100_bd *tbd;
3091 tbd = &txq->drv[txq->next];
3124 tbd->host_addr = packet->info.d_struct.data_phys;
3125 tbd->buf_length = sizeof(struct ipw2100_data_header);
3126 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags;
3127 tbd->status.info.field =
3133 IPW_DEBUG_TX("data header tbd TX%d P=%08x L=%d\n",
3134 packet->index, tbd->host_addr, tbd->buf_length);
3142 tbd = &txq->drv[txq->next];
3144 tbd->status.info.field =
3148 tbd->status.info.field =
3152 tbd->buf_length = packet->info.d_struct.txb->
3155 tbd->host_addr = dma_map_single(&priv->pci_dev->dev,
3159 tbd->buf_length,
3161 if (dma_mapping_error(&priv->pci_dev->dev, tbd->host_addr)) {
3166 IPW_DEBUG_TX("data frag tbd TX%d P=%08x L=%d\n",
3167 txq->next, tbd->host_addr,
3168 tbd->buf_length);
3171 tbd->host_addr,
3172 tbd->buf_length,