Lines Matching refs:d_struct
2930 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process()
2931 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process()
3086 if (unlikely(1 + packet->info.d_struct.txb->nr_frags > in ipw2100_tx_send_data()
3095 if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) { in ipw2100_tx_send_data()
3107 ipw_hdr = packet->info.d_struct.data; in ipw2100_tx_send_data()
3108 hdr = (struct libipw_hdr_3addr *)packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3128 ipw_hdr->encrypted = packet->info.d_struct.txb->encrypted; in ipw2100_tx_send_data()
3129 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3131 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
3136 tbd->host_addr = packet->info.d_struct.data_phys; in ipw2100_tx_send_data()
3138 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3148 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3150 packet->info.d_struct.txb->nr_frags); in ipw2100_tx_send_data()
3153 for (i = 0; i < packet->info.d_struct.txb->nr_frags; i++) { in ipw2100_tx_send_data()
3155 if (i == packet->info.d_struct.txb->nr_frags - 1) in ipw2100_tx_send_data()
3164 tbd->buf_length = packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3168 packet->info.d_struct. in ipw2100_tx_send_data()
3193 txq->available -= 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3403 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. in ipw2100_tx_allocate()
4496 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_initialize()
4497 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_initialize()
4499 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_initialize()
4535 if (priv->tx_buffers[i].info.d_struct.txb) { in ipw2100_tx_free()
4536 libipw_txb_free(priv->tx_buffers[i].info.d_struct. in ipw2100_tx_free()
4538 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_free()
4540 if (priv->tx_buffers[i].info.d_struct.data) in ipw2100_tx_free()
4543 priv->tx_buffers[i].info.d_struct. in ipw2100_tx_free()
4545 priv->tx_buffers[i].info.d_struct. in ipw2100_tx_free()
5821 libipw_txb_free(packet->info.d_struct.txb); in ipw2100_close()
5822 packet->info.d_struct.txb = NULL; in ipw2100_close()