Lines Matching refs:tx_desc_tail
461 u16 tx_desc_free, tx_desc_head, tx_desc_tail, tx_desc_previous; member
739 atmel_wmem16(priv, atmel_tx(priv, TX_DESC_POS_OFFSET, priv->tx_desc_tail), buff); in tx_update_descriptor()
740 atmel_wmem16(priv, atmel_tx(priv, TX_DESC_SIZE_OFFSET, priv->tx_desc_tail), len); in tx_update_descriptor()
742 atmel_wmem16(priv, atmel_tx(priv, TX_DESC_HOST_LENGTH_OFFSET, priv->tx_desc_tail), len); in tx_update_descriptor()
743 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_PACKET_TYPE_OFFSET, priv->tx_desc_tail), type); in tx_update_descriptor()
744 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_RATE_OFFSET, priv->tx_desc_tail), priv->tx_rate); in tx_update_descriptor()
745 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_RETRY_OFFSET, priv->tx_desc_tail), 0); in tx_update_descriptor()
780 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_CIPHER_TYPE_OFFSET, priv->tx_desc_tail), in tx_update_descriptor()
782 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_CIPHER_LENGTH_OFFSET, priv->tx_desc_tail), in tx_update_descriptor()
785 atmel_wmem32(priv, atmel_tx(priv, TX_DESC_NEXT_OFFSET, priv->tx_desc_tail), 0x80000000L); in tx_update_descriptor()
786 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_FLAGS_OFFSET, priv->tx_desc_tail), TX_FIRM_OWN); in tx_update_descriptor()
787 if (priv->tx_desc_previous != priv->tx_desc_tail) in tx_update_descriptor()
789 priv->tx_desc_previous = priv->tx_desc_tail; in tx_update_descriptor()
790 if (priv->tx_desc_tail < (priv->host_info.tx_desc_count - 1)) in tx_update_descriptor()
791 priv->tx_desc_tail++; in tx_update_descriptor()
793 priv->tx_desc_tail = 0; in tx_update_descriptor()
3975 priv->tx_desc_tail = 0; in reset_atmel_card()