• Home
  • Raw
  • Download

Lines Matching refs:word

53 			      const unsigned int word, const u8 value)  in rt73usb_bbp_write()  argument
66 rt2x00_set_field32(&reg, PHY_CSR3_REGNUM, word); in rt73usb_bbp_write()
77 const unsigned int word) in rt73usb_bbp_read() argument
94 rt2x00_set_field32(&reg, PHY_CSR3_REGNUM, word); in rt73usb_bbp_read()
111 const unsigned int word, const u32 value) in rt73usb_rf_write() argument
135 rt2x00_rf_write(rt2x00dev, word, value); in rt73usb_rf_write()
654 u8 word; member
708 rt73usb_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); in rt73usb_config_ant()
1449 u32 word; in rt73usb_write_tx_desc() local
1454 word = rt2x00_desc_read(txd, 0); in rt73usb_write_tx_desc()
1455 rt2x00_set_field32(&word, TXD_W0_BURST, in rt73usb_write_tx_desc()
1457 rt2x00_set_field32(&word, TXD_W0_VALID, 1); in rt73usb_write_tx_desc()
1458 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, in rt73usb_write_tx_desc()
1460 rt2x00_set_field32(&word, TXD_W0_ACK, in rt73usb_write_tx_desc()
1462 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, in rt73usb_write_tx_desc()
1464 rt2x00_set_field32(&word, TXD_W0_OFDM, in rt73usb_write_tx_desc()
1466 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt73usb_write_tx_desc()
1467 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, in rt73usb_write_tx_desc()
1469 rt2x00_set_field32(&word, TXD_W0_TKIP_MIC, in rt73usb_write_tx_desc()
1471 rt2x00_set_field32(&word, TXD_W0_KEY_TABLE, in rt73usb_write_tx_desc()
1473 rt2x00_set_field32(&word, TXD_W0_KEY_INDEX, txdesc->key_idx); in rt73usb_write_tx_desc()
1474 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); in rt73usb_write_tx_desc()
1475 rt2x00_set_field32(&word, TXD_W0_BURST2, in rt73usb_write_tx_desc()
1477 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, txdesc->cipher); in rt73usb_write_tx_desc()
1478 rt2x00_desc_write(txd, 0, word); in rt73usb_write_tx_desc()
1480 word = rt2x00_desc_read(txd, 1); in rt73usb_write_tx_desc()
1481 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid); in rt73usb_write_tx_desc()
1482 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs); in rt73usb_write_tx_desc()
1483 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); in rt73usb_write_tx_desc()
1484 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); in rt73usb_write_tx_desc()
1485 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt73usb_write_tx_desc()
1486 rt2x00_set_field32(&word, TXD_W1_HW_SEQUENCE, in rt73usb_write_tx_desc()
1488 rt2x00_desc_write(txd, 1, word); in rt73usb_write_tx_desc()
1490 word = rt2x00_desc_read(txd, 2); in rt73usb_write_tx_desc()
1491 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt73usb_write_tx_desc()
1492 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt73usb_write_tx_desc()
1493 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_LOW, in rt73usb_write_tx_desc()
1495 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_HIGH, in rt73usb_write_tx_desc()
1497 rt2x00_desc_write(txd, 2, word); in rt73usb_write_tx_desc()
1504 word = rt2x00_desc_read(txd, 5); in rt73usb_write_tx_desc()
1505 rt2x00_set_field32(&word, TXD_W5_TX_POWER, in rt73usb_write_tx_desc()
1507 rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); in rt73usb_write_tx_desc()
1508 rt2x00_desc_write(txd, 5, word); in rt73usb_write_tx_desc()
1751 u16 word; in rt73usb_validate_eeprom() local
1763 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA); in rt73usb_validate_eeprom()
1764 if (word == 0xffff) { in rt73usb_validate_eeprom()
1765 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); in rt73usb_validate_eeprom()
1766 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, in rt73usb_validate_eeprom()
1768 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, in rt73usb_validate_eeprom()
1770 rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); in rt73usb_validate_eeprom()
1771 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); in rt73usb_validate_eeprom()
1772 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); in rt73usb_validate_eeprom()
1773 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF5226); in rt73usb_validate_eeprom()
1774 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); in rt73usb_validate_eeprom()
1775 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); in rt73usb_validate_eeprom()
1778 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC); in rt73usb_validate_eeprom()
1779 if (word == 0xffff) { in rt73usb_validate_eeprom()
1780 rt2x00_set_field16(&word, EEPROM_NIC_EXTERNAL_LNA, 0); in rt73usb_validate_eeprom()
1781 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); in rt73usb_validate_eeprom()
1782 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); in rt73usb_validate_eeprom()
1785 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_LED); in rt73usb_validate_eeprom()
1786 if (word == 0xffff) { in rt73usb_validate_eeprom()
1787 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_RDY_G, 0); in rt73usb_validate_eeprom()
1788 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_RDY_A, 0); in rt73usb_validate_eeprom()
1789 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_ACT, 0); in rt73usb_validate_eeprom()
1790 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_0, 0); in rt73usb_validate_eeprom()
1791 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_1, 0); in rt73usb_validate_eeprom()
1792 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_2, 0); in rt73usb_validate_eeprom()
1793 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_3, 0); in rt73usb_validate_eeprom()
1794 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_4, 0); in rt73usb_validate_eeprom()
1795 rt2x00_set_field16(&word, EEPROM_LED_LED_MODE, in rt73usb_validate_eeprom()
1797 rt2x00_eeprom_write(rt2x00dev, EEPROM_LED, word); in rt73usb_validate_eeprom()
1798 rt2x00_eeprom_dbg(rt2x00dev, "Led: 0x%04x\n", word); in rt73usb_validate_eeprom()
1801 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_FREQ); in rt73usb_validate_eeprom()
1802 if (word == 0xffff) { in rt73usb_validate_eeprom()
1803 rt2x00_set_field16(&word, EEPROM_FREQ_OFFSET, 0); in rt73usb_validate_eeprom()
1804 rt2x00_set_field16(&word, EEPROM_FREQ_SEQ, 0); in rt73usb_validate_eeprom()
1805 rt2x00_eeprom_write(rt2x00dev, EEPROM_FREQ, word); in rt73usb_validate_eeprom()
1806 rt2x00_eeprom_dbg(rt2x00dev, "Freq: 0x%04x\n", word); in rt73usb_validate_eeprom()
1809 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_BG); in rt73usb_validate_eeprom()
1810 if (word == 0xffff) { in rt73usb_validate_eeprom()
1811 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); in rt73usb_validate_eeprom()
1812 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); in rt73usb_validate_eeprom()
1813 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); in rt73usb_validate_eeprom()
1814 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET BG: 0x%04x\n", word); in rt73usb_validate_eeprom()
1816 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_validate_eeprom()
1818 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); in rt73usb_validate_eeprom()
1819 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); in rt73usb_validate_eeprom()
1821 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); in rt73usb_validate_eeprom()
1822 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); in rt73usb_validate_eeprom()
1825 word = rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_A); in rt73usb_validate_eeprom()
1826 if (word == 0xffff) { in rt73usb_validate_eeprom()
1827 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); in rt73usb_validate_eeprom()
1828 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); in rt73usb_validate_eeprom()
1829 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); in rt73usb_validate_eeprom()
1830 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET A: 0x%04x\n", word); in rt73usb_validate_eeprom()
1832 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); in rt73usb_validate_eeprom()
1834 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); in rt73usb_validate_eeprom()
1835 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); in rt73usb_validate_eeprom()
1837 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); in rt73usb_validate_eeprom()
1838 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); in rt73usb_validate_eeprom()