• Home
  • Raw
  • Download

Lines Matching refs:word

46 				const unsigned int word, const u8 value)  in rt2500pci_bbp_write()  argument
59 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2500pci_bbp_write()
70 const unsigned int word) in rt2500pci_bbp_read() argument
87 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2500pci_bbp_read()
104 const unsigned int word, const u32 value) in rt2500pci_rf_write() argument
122 rt2x00_rf_write(rt2x00dev, word, value); in rt2500pci_rf_write()
806 u32 word; in rt2500pci_get_entry_state() local
809 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
811 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2500pci_get_entry_state()
813 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
815 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2500pci_get_entry_state()
816 rt2x00_get_field32(word, TXD_W0_VALID)); in rt2500pci_get_entry_state()
824 u32 word; in rt2500pci_clear_entry() local
827 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2500pci_clear_entry()
828 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_clear_entry()
829 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2500pci_clear_entry()
831 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
832 rt2x00_set_field32(&word, RXD_W0_OWNER_NIC, 1); in rt2500pci_clear_entry()
833 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
835 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
836 rt2x00_set_field32(&word, TXD_W0_VALID, 0); in rt2500pci_clear_entry()
837 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 0); in rt2500pci_clear_entry()
838 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
1253 u32 word; in rt2500pci_write_tx_desc() local
1258 word = rt2x00_desc_read(txd, 1); in rt2500pci_write_tx_desc()
1259 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_write_tx_desc()
1260 rt2x00_desc_write(txd, 1, word); in rt2500pci_write_tx_desc()
1262 word = rt2x00_desc_read(txd, 2); in rt2500pci_write_tx_desc()
1263 rt2x00_set_field32(&word, TXD_W2_IV_OFFSET, IEEE80211_HEADER); in rt2500pci_write_tx_desc()
1264 rt2x00_set_field32(&word, TXD_W2_AIFS, entry->queue->aifs); in rt2500pci_write_tx_desc()
1265 rt2x00_set_field32(&word, TXD_W2_CWMIN, entry->queue->cw_min); in rt2500pci_write_tx_desc()
1266 rt2x00_set_field32(&word, TXD_W2_CWMAX, entry->queue->cw_max); in rt2500pci_write_tx_desc()
1267 rt2x00_desc_write(txd, 2, word); in rt2500pci_write_tx_desc()
1269 word = rt2x00_desc_read(txd, 3); in rt2500pci_write_tx_desc()
1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc()
1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc()
1272 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_LOW, in rt2500pci_write_tx_desc()
1274 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH, in rt2500pci_write_tx_desc()
1276 rt2x00_desc_write(txd, 3, word); in rt2500pci_write_tx_desc()
1278 word = rt2x00_desc_read(txd, 10); in rt2500pci_write_tx_desc()
1279 rt2x00_set_field32(&word, TXD_W10_RTS, in rt2500pci_write_tx_desc()
1281 rt2x00_desc_write(txd, 10, word); in rt2500pci_write_tx_desc()
1288 word = rt2x00_desc_read(txd, 0); in rt2500pci_write_tx_desc()
1289 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); in rt2500pci_write_tx_desc()
1290 rt2x00_set_field32(&word, TXD_W0_VALID, 1); in rt2500pci_write_tx_desc()
1291 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, in rt2500pci_write_tx_desc()
1293 rt2x00_set_field32(&word, TXD_W0_ACK, in rt2500pci_write_tx_desc()
1295 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, in rt2500pci_write_tx_desc()
1297 rt2x00_set_field32(&word, TXD_W0_OFDM, in rt2500pci_write_tx_desc()
1299 rt2x00_set_field32(&word, TXD_W0_CIPHER_OWNER, 1); in rt2500pci_write_tx_desc()
1300 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500pci_write_tx_desc()
1301 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, in rt2500pci_write_tx_desc()
1303 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); in rt2500pci_write_tx_desc()
1304 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, CIPHER_NONE); in rt2500pci_write_tx_desc()
1305 rt2x00_desc_write(txd, 0, word); in rt2500pci_write_tx_desc()
1400 u32 word; in rt2500pci_txdone() local
1405 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_txdone()
1407 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2500pci_txdone()
1408 !rt2x00_get_field32(word, TXD_W0_VALID)) in rt2500pci_txdone()
1415 switch (rt2x00_get_field32(word, TXD_W0_RESULT)) { in rt2500pci_txdone()
1426 txdesc.retry = rt2x00_get_field32(word, TXD_W0_RETRY_COUNT); in rt2500pci_txdone()
1560 u16 word; in rt2500pci_validate_eeprom() local
1584 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA); in rt2500pci_validate_eeprom()
1585 if (word == 0xffff) { in rt2500pci_validate_eeprom()
1586 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); in rt2500pci_validate_eeprom()
1587 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, in rt2500pci_validate_eeprom()
1589 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, in rt2500pci_validate_eeprom()
1591 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE, in rt2500pci_validate_eeprom()
1593 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); in rt2500pci_validate_eeprom()
1594 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); in rt2500pci_validate_eeprom()
1595 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522); in rt2500pci_validate_eeprom()
1596 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); in rt2500pci_validate_eeprom()
1597 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); in rt2500pci_validate_eeprom()
1600 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC); in rt2500pci_validate_eeprom()
1601 if (word == 0xffff) { in rt2500pci_validate_eeprom()
1602 rt2x00_set_field16(&word, EEPROM_NIC_CARDBUS_ACCEL, 0); in rt2500pci_validate_eeprom()
1603 rt2x00_set_field16(&word, EEPROM_NIC_DYN_BBP_TUNE, 0); in rt2500pci_validate_eeprom()
1604 rt2x00_set_field16(&word, EEPROM_NIC_CCK_TX_POWER, 0); in rt2500pci_validate_eeprom()
1605 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); in rt2500pci_validate_eeprom()
1606 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); in rt2500pci_validate_eeprom()
1609 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_CALIBRATE_OFFSET); in rt2500pci_validate_eeprom()
1610 if (word == 0xffff) { in rt2500pci_validate_eeprom()
1611 rt2x00_set_field16(&word, EEPROM_CALIBRATE_OFFSET_RSSI, in rt2500pci_validate_eeprom()
1613 rt2x00_eeprom_write(rt2x00dev, EEPROM_CALIBRATE_OFFSET, word); in rt2500pci_validate_eeprom()
1615 word); in rt2500pci_validate_eeprom()