txdp
outl(virt_to_bus(&txd), ioaddr + txdp);
inl(ioaddr + txdp));
outl(virt_to_bus(&txd), ioaddr + txdp);
inl(ioaddr + txdp));
boolean_t ath9k_hw_puttxbuf(struct ath_hal *ah, uint32_t q, uint32_t txdp);
ath9k_hw_puttxbuf(struct ath_hal *ah, uint32_t q, uint32_t txdp)
REG_WRITE(ah, AR_QTXDP(q), txdp);
HAL_BOOL (*ah_setTxDP) (struct ath_hal *, uint32_t, uint32_t txdp);
xge_hal_fifo_txd_t *txdp, int txdl_count);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdp->control_1, txdp->control_2, txdp->buffer_pointer,
txdp->host_control);
xge_hal_fifo_txd_t *txdp;
txdp = (xge_hal_fifo_txd_t *)dtrh + txdl_priv->frags;
txdp->control_1 = txdp->control_2 = 0;
txdp->buffer_pointer = (u64)dma_pointer;
txdp->control_1 |= XGE_HAL_TXD_BUFFER0_SIZE(size);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdp->control_1 |= XGE_HAL_TXD_LSO_COF_CTRL(XGE_HAL_TXD_TCP_LSO);
txdp->control_1 |= XGE_HAL_TXD_TCP_LSO_MSS(mss);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdp->control_2 |= cksum_bits;
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdp->control_2 |= XGE_HAL_TXD_VLAN_ENABLE;
txdp->control_2 |= XGE_HAL_TXD_VLAN_TAG(vlan_tag);
xge_hal_fifo_txd_t *txdp;
txdp = (xge_hal_fifo_txd_t *)dtrh;
if (txdp == NULL) {
if ( !(txdp->control_1 & XGE_HAL_TXD_LIST_OWN_XENA) ) {
xge_assert(txdp->host_control!=0);
txdp->control_1, txdp->control_2, txdp->buffer_pointer,
txdp->host_control, txdl_priv->dma_addr);
xge_hal_fifo_txd_t *txdp, int list_size, int frags)
txdp, frags, list_size);
while(txdp){
txdp, frags, list_size);
current_txdl_priv = __hal_fifo_txdl_priv(txdp);
__hal_channel_dtr_free(channelh, txdp);
txdp = next_txdl_priv->first_txdp;
xge_hal_fifo_txd_t *txdp, int txdl_count)
current_txdl_priv = __hal_fifo_txdl_priv(txdp);
txdp = current_txdl_priv->first_txdp;
__hal_channel_dtr_restore(channelh, (xge_hal_dtr_h )txdp, --i);
"dtrh %p restored at offset %d", txdp, i);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
return ((char *)(ulong_t)txdp->host_control) +
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t*)dtrh;
xge_assert(txdp);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)*dtrh;
txdl_priv = __hal_fifo_txdl_priv(txdp);
(ulong_t)txdp->host_control;
txdp->control_1 = txdp->control_2 = 0;
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)*dtrh;
txdl_priv = __hal_fifo_txdl_priv(txdp);
txdp->control_1 = txdp->control_2 = 0;
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdp->control_1 |= XGE_HAL_TXD_LIST_OWN_XENA;
XGE_HAL_SET_TXD_T_CODE(txdp->control_1, XGE_HAL_TXD_T_CODE_UNUSED_5);
xge_hal_fifo_txd_t *txdp;
txdp = (xge_hal_fifo_txd_t *)*dtrh;
if (txdp == NULL) {
txdl_priv = __hal_fifo_txdl_priv(txdp);
if ( !(txdp->control_1 & XGE_HAL_TXD_LIST_OWN_XENA) ) {
xge_assert(txdp->host_control!=0);
*t_code = (u8)XGE_HAL_GET_TXD_T_CODE(txdp->control_1);
xge_hal_fifo_txd_t *txdp;
txdp = (xge_hal_fifo_txd_t *)dtrh + txdl_priv->frags;
txdp->control_1 = txdp->control_2 = 0;
if (txdp->control_1 & XGE_HAL_TXD_LSO_COF_CTRL(XGE_HAL_TXD_TCP_LSO)) {
txdp->buffer_pointer = (u64)txdl_priv->align_dma_addr + prev_boff;
txdp->control_1 |= XGE_HAL_TXD_BUFFER0_SIZE(misaligned_size);
txdp->buffer_pointer,
txdp++;
txdp->buffer_pointer = (u64)dma_pointer +
txdp->control_1 =
txdp->control_2 = 0;
xge_hal_fifo_txd_t *txdp;
txdp = (xge_hal_fifo_txd_t *)dtrh + txdl_priv->frags;
txdp->control_1 = txdp->control_2 = 0;
txdp->buffer_pointer = (u64)txdl_priv->align_dma_addr + prev_boff;
txdp->control_1 |=
txdp->buffer_pointer,
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)item;
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
txdl_priv = __hal_fifo_txdl_priv(txdp);
xge_hal_fifo_txd_t *txdp = (xge_hal_fifo_txd_t *)dtrh;
xge_assert(txdp);
txdl_priv = __hal_fifo_txdl_priv(txdp);
txdp->host_control = (u64)(ulong_t)txdl_priv;
status =__hal_fifo_dtr_align_alloc_map(fifo, txdp);
fifo->channel.dtr_init(fifo, (xge_hal_dtr_h)txdp, index,
vnet_rx_dringdata_desc_t *txdp;
txdp = &ldcp->mtxdp[txi];
if (txdp->dstate == VIO_DESC_READY) {
vnet_rx_dringdata_desc_t *txdp;
txdp = &(ldcp->mtxdp[txi]);
if (txdp->dstate == VIO_DESC_READY)
txdp->dstate = VIO_DESC_DONE;
vnet_rx_dringdata_desc_t *txdp;
txdp = &ldcp->mtxdp[i];
txdp->dstate = VIO_DESC_DONE;
vnet_rx_dringdata_desc_t *txdp;
txdp = &(ldcp->mtxdp[txi]);
if (txdp->dstate != VIO_DESC_DONE) { /* out of descriptors */
txdp->dstate = VIO_DESC_INITIALIZING;
buf_offset = txdp->data_buf_offset;
txdp->nbytes = size;
ASSERT(txdp->dstate == VIO_DESC_INITIALIZING);
txdp->dstate = VIO_DESC_READY;
vnet_public_desc_t *txdp;
vnet_public_desc_t *txdp;
txdp = tbufp->descp;
hdrp = &txdp->hdr;
txdp = tbufp->descp;
hdrp = &txdp->hdr;
vnet_public_desc_t *txdp;
txdp = &(ldcp->txdp[txi]);
hdrp = &txdp->hdr;
vnet_public_desc_t *txdp;
txdp = tbufp->descp;
hdrp = &txdp->hdr;
txdp = tbufp->descp;
hdrp = &txdp->hdr;
ldcp->txdp = (vnet_public_desc_t *)(minfo.vaddr);
txdp = &(ldcp->txdp[i]);
hdrp = &txdp->hdr;
tbufp->descp = txdp;
ldcp->txdp = NULL;
ldcp->peer_hparams.dring_ident = (uint64_t)ldcp->txdp;
msg->dring_ident = (uint64_t)ldcp->txdp;
vnet_public_desc_t *txdp;
txdp = tbufp->descp;
hdrp = &txdp->hdr;
txdp->nbytes = size;
txdp->ncookies = tbufp->ncookies;
bcopy((tbufp->memcookie), (txdp->memcookie),
vnet_rx_dringdata_desc_t *txdp;
txdp = &pub_addr[txi];
if (txdp->dstate == VIO_DESC_READY) {
vnet_rx_dringdata_desc_t *txdp;
txdp = (vnet_rx_dringdata_desc_t *)dp->pub_addr;
txdp[i].dstate = VIO_DESC_DONE;
vnet_rx_dringdata_desc_t *txdp;
txdp = &(pub_addr[txi]);
if (txdp->dstate != VIO_DESC_DONE) { /* out of descriptors */
txdp->dstate = VIO_DESC_INITIALIZING;
buf_offset = txdp->data_buf_offset;
txdp->nbytes = size;
ASSERT(txdp->dstate == VIO_DESC_INITIALIZING);
txdp->dstate = VIO_DESC_READY;
vnet_public_desc_t *txdp; /* exported dring */