Lines Matching refs:tbd

2809 	struct ipw2100_bd *tbd;  in __ipw2100_tx_process()  local
2822 tbd = &txq->drv[packet->index]; in __ipw2100_tx_process()
2834 descriptors_used = tbd->num_fragments; in __ipw2100_tx_process()
2835 frag_num = tbd->num_fragments - 1; in __ipw2100_tx_process()
2919 tbd = &txq->drv[(packet->index + 1 + i) % txq->entries]; in __ipw2100_tx_process()
2923 tbd->host_addr, tbd->buf_length); in __ipw2100_tx_process()
2925 dma_unmap_single(&priv->pci_dev->dev, tbd->host_addr, in __ipw2100_tx_process()
2926 tbd->buf_length, DMA_TO_DEVICE); in __ipw2100_tx_process()
3000 struct ipw2100_bd *tbd; in ipw2100_tx_send_commands() local
3028 tbd = &txq->drv[txq->next]; in ipw2100_tx_send_commands()
3031 tbd->host_addr = packet->info.c_struct.cmd_phys; in ipw2100_tx_send_commands()
3032 tbd->buf_length = sizeof(struct ipw2100_cmd_header); in ipw2100_tx_send_commands()
3035 tbd->num_fragments = 1; in ipw2100_tx_send_commands()
3036 tbd->status.info.field = in ipw2100_tx_send_commands()
3069 struct ipw2100_bd *tbd; in ipw2100_tx_send_data() local
3102 tbd = &txq->drv[txq->next]; in ipw2100_tx_send_data()
3135 tbd->host_addr = packet->info.d_struct.data_phys; in ipw2100_tx_send_data()
3136 tbd->buf_length = sizeof(struct ipw2100_data_header); in ipw2100_tx_send_data()
3137 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3138 tbd->status.info.field = in ipw2100_tx_send_data()
3145 packet->index, tbd->host_addr, tbd->buf_length); in ipw2100_tx_send_data()
3153 tbd = &txq->drv[txq->next]; in ipw2100_tx_send_data()
3155 tbd->status.info.field = in ipw2100_tx_send_data()
3159 tbd->status.info.field = in ipw2100_tx_send_data()
3163 tbd->buf_length = packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3166 tbd->host_addr = dma_map_single(&priv->pci_dev->dev, in ipw2100_tx_send_data()
3170 tbd->buf_length, in ipw2100_tx_send_data()
3172 if (dma_mapping_error(&priv->pci_dev->dev, tbd->host_addr)) { in ipw2100_tx_send_data()
3178 txq->next, tbd->host_addr, in ipw2100_tx_send_data()
3179 tbd->buf_length); in ipw2100_tx_send_data()
3182 tbd->host_addr, in ipw2100_tx_send_data()
3183 tbd->buf_length, in ipw2100_tx_send_data()