Lines Matching refs:d_struct
2929 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process()
2930 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process()
3085 if (unlikely(1 + packet->info.d_struct.txb->nr_frags > in ipw2100_tx_send_data()
3094 if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) { in ipw2100_tx_send_data()
3106 ipw_hdr = packet->info.d_struct.data; in ipw2100_tx_send_data()
3107 hdr = (struct libipw_hdr_3addr *)packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3127 ipw_hdr->encrypted = packet->info.d_struct.txb->encrypted; in ipw2100_tx_send_data()
3128 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3130 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
3135 tbd->host_addr = packet->info.d_struct.data_phys; in ipw2100_tx_send_data()
3137 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3147 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3149 packet->info.d_struct.txb->nr_frags); in ipw2100_tx_send_data()
3152 for (i = 0; i < packet->info.d_struct.txb->nr_frags; i++) { in ipw2100_tx_send_data()
3154 if (i == packet->info.d_struct.txb->nr_frags - 1) in ipw2100_tx_send_data()
3163 tbd->buf_length = packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3167 packet->info.d_struct. in ipw2100_tx_send_data()
3190 txq->available -= 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3401 packet->info.d_struct.txb = txb; in ipw2100_tx()
4450 priv->tx_buffers[i].info.d_struct.data = in ipw2100_tx_allocate()
4452 priv->tx_buffers[i].info.d_struct.data_phys = p; in ipw2100_tx_allocate()
4453 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_allocate()
4462 priv->tx_buffers[j].info.d_struct.data, in ipw2100_tx_allocate()
4463 priv->tx_buffers[j].info.d_struct.data_phys); in ipw2100_tx_allocate()
4495 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_initialize()
4496 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_initialize()
4498 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_initialize()
4534 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_free()
4535 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_free()
4537 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_free()
4539 if (priv->tx_buffers[i].info.d_struct.data) in ipw2100_tx_free()
4542 priv->tx_buffers[i].info.d_struct.data, in ipw2100_tx_free()
4543 priv->tx_buffers[i].info.d_struct.data_phys); in ipw2100_tx_free()
5818 libipw_txb_free(packet->info.d_struct.txb); in ipw2100_close()
5819 packet->info.d_struct.txb = NULL; in ipw2100_close()