Lines Matching refs:word
73 u32 word; in rt2800mmio_write_tx_desc() local
87 word = 0; in rt2800mmio_write_tx_desc()
88 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); in rt2800mmio_write_tx_desc()
89 rt2x00_desc_write(txd, 0, word); in rt2800mmio_write_tx_desc()
91 word = 0; in rt2800mmio_write_tx_desc()
92 rt2x00_set_field32(&word, TXD_W1_SD_LEN1, entry->skb->len); in rt2800mmio_write_tx_desc()
93 rt2x00_set_field32(&word, TXD_W1_LAST_SEC1, in rt2800mmio_write_tx_desc()
95 rt2x00_set_field32(&word, TXD_W1_BURST, in rt2800mmio_write_tx_desc()
97 rt2x00_set_field32(&word, TXD_W1_SD_LEN0, txwi_size); in rt2800mmio_write_tx_desc()
98 rt2x00_set_field32(&word, TXD_W1_LAST_SEC0, 0); in rt2800mmio_write_tx_desc()
99 rt2x00_set_field32(&word, TXD_W1_DMA_DONE, 0); in rt2800mmio_write_tx_desc()
100 rt2x00_desc_write(txd, 1, word); in rt2800mmio_write_tx_desc()
102 word = 0; in rt2800mmio_write_tx_desc()
103 rt2x00_set_field32(&word, TXD_W2_SD_PTR1, in rt2800mmio_write_tx_desc()
105 rt2x00_desc_write(txd, 2, word); in rt2800mmio_write_tx_desc()
107 word = 0; in rt2800mmio_write_tx_desc()
108 rt2x00_set_field32(&word, TXD_W3_WIV, in rt2800mmio_write_tx_desc()
110 rt2x00_set_field32(&word, TXD_W3_QSEL, 2); in rt2800mmio_write_tx_desc()
111 rt2x00_desc_write(txd, 3, word); in rt2800mmio_write_tx_desc()
129 u32 word; in rt2800mmio_fill_rxdone() local
131 word = rt2x00_desc_read(rxd, 3); in rt2800mmio_fill_rxdone()
133 if (rt2x00_get_field32(word, RXD_W3_CRC_ERROR)) in rt2800mmio_fill_rxdone()
141 rxdesc->cipher_status = rt2x00_get_field32(word, RXD_W3_CIPHER_ERROR); in rt2800mmio_fill_rxdone()
143 if (rt2x00_get_field32(word, RXD_W3_DECRYPTED)) { in rt2800mmio_fill_rxdone()
173 if (rt2x00_get_field32(word, RXD_W3_MY_BSS)) in rt2800mmio_fill_rxdone()
176 if (rt2x00_get_field32(word, RXD_W3_L2PAD)) in rt2800mmio_fill_rxdone()
613 u32 word; in rt2800mmio_get_entry_state() local
616 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
618 return (!rt2x00_get_field32(word, RXD_W1_DMA_DONE)); in rt2800mmio_get_entry_state()
620 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
622 return (!rt2x00_get_field32(word, TXD_W1_DMA_DONE)); in rt2800mmio_get_entry_state()
632 u32 word; in rt2800mmio_clear_entry() local
635 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2800mmio_clear_entry()
636 rt2x00_set_field32(&word, RXD_W0_SDP0, skbdesc->skb_dma); in rt2800mmio_clear_entry()
637 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2800mmio_clear_entry()
639 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_clear_entry()
640 rt2x00_set_field32(&word, RXD_W1_DMA_DONE, 0); in rt2800mmio_clear_entry()
641 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2800mmio_clear_entry()
650 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_clear_entry()
651 rt2x00_set_field32(&word, TXD_W1_DMA_DONE, 1); in rt2800mmio_clear_entry()
652 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2800mmio_clear_entry()