Lines Matching refs:d_struct
2918 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process()
2919 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process()
3074 if (unlikely(1 + packet->info.d_struct.txb->nr_frags > in ipw2100_tx_send_data()
3083 if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) { in ipw2100_tx_send_data()
3095 ipw_hdr = packet->info.d_struct.data; in ipw2100_tx_send_data()
3096 hdr = (struct libipw_hdr_3addr *)packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3116 ipw_hdr->encrypted = packet->info.d_struct.txb->encrypted; in ipw2100_tx_send_data()
3117 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3119 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
3124 tbd->host_addr = packet->info.d_struct.data_phys; in ipw2100_tx_send_data()
3126 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3136 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3138 packet->info.d_struct.txb->nr_frags); in ipw2100_tx_send_data()
3141 for (i = 0; i < packet->info.d_struct.txb->nr_frags; i++) { in ipw2100_tx_send_data()
3143 if (i == packet->info.d_struct.txb->nr_frags - 1) in ipw2100_tx_send_data()
3152 tbd->buf_length = packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3156 packet->info.d_struct. in ipw2100_tx_send_data()
3179 txq->available -= 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3390 packet->info.d_struct.txb = txb; in ipw2100_tx()
4439 priv->tx_buffers[i].info.d_struct.data = in ipw2100_tx_allocate()
4441 priv->tx_buffers[i].info.d_struct.data_phys = p; in ipw2100_tx_allocate()
4442 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_allocate()
4451 priv->tx_buffers[j].info.d_struct.data, in ipw2100_tx_allocate()
4452 priv->tx_buffers[j].info.d_struct.data_phys); in ipw2100_tx_allocate()
4484 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_initialize()
4485 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_initialize()
4487 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_initialize()
4523 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_free()
4524 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_free()
4526 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_free()
4528 if (priv->tx_buffers[i].info.d_struct.data) in ipw2100_tx_free()
4531 priv->tx_buffers[i].info.d_struct.data, in ipw2100_tx_free()
4532 priv->tx_buffers[i].info.d_struct.data_phys); in ipw2100_tx_free()
5807 libipw_txb_free(packet->info.d_struct.txb); in ipw2100_close()
5808 packet->info.d_struct.txb = NULL; in ipw2100_close()