Lines Matching defs:tbd
2809 struct ipw2100_bd *tbd;
2822 tbd = &txq->drv[packet->index];
2834 descriptors_used = tbd->num_fragments;
2835 frag_num = tbd->num_fragments - 1;
2919 tbd = &txq->drv[(packet->index + 1 + i) % txq->entries];
2923 tbd->host_addr, tbd->buf_length);
2925 dma_unmap_single(&priv->pci_dev->dev, tbd->host_addr,
2926 tbd->buf_length, DMA_TO_DEVICE);
3000 struct ipw2100_bd *tbd;
3028 tbd = &txq->drv[txq->next];
3031 tbd->host_addr = packet->info.c_struct.cmd_phys;
3032 tbd->buf_length = sizeof(struct ipw2100_cmd_header);
3035 tbd->num_fragments = 1;
3036 tbd->status.info.field =
3069 struct ipw2100_bd *tbd;
3102 tbd = &txq->drv[txq->next];
3135 tbd->host_addr = packet->info.d_struct.data_phys;
3136 tbd->buf_length = sizeof(struct ipw2100_data_header);
3137 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags;
3138 tbd->status.info.field =
3144 IPW_DEBUG_TX("data header tbd TX%d P=%08x L=%d\n",
3145 packet->index, tbd->host_addr, tbd->buf_length);
3153 tbd = &txq->drv[txq->next];
3155 tbd->status.info.field =
3159 tbd->status.info.field =
3163 tbd->buf_length = packet->info.d_struct.txb->
3166 tbd->host_addr = dma_map_single(&priv->pci_dev->dev,
3170 tbd->buf_length,
3172 if (dma_mapping_error(&priv->pci_dev->dev, tbd->host_addr)) {
3177 IPW_DEBUG_TX("data frag tbd TX%d P=%08x L=%d\n",
3178 txq->next, tbd->host_addr,
3179 tbd->buf_length);
3182 tbd->host_addr,
3183 tbd->buf_length,