Lines Matching refs:ADM8211_CSR_WRITE
103 ADM8211_CSR_WRITE(SPR, reg); in adm8211_eeprom_register_write()
249 ADM8211_CSR_WRITE(WEPCTL, addr | ADM8211_WEPCTL_TABLE_WR | in adm8211_write_sram()
255 ADM8211_CSR_WRITE(WESK, data); in adm8211_write_sram()
281 ADM8211_CSR_WRITE(WEPCTL, reg); in adm8211_write_sram_bytes()
293 ADM8211_CSR_WRITE(WEPCTL, reg); in adm8211_clear_sram()
466 ADM8211_CSR_WRITE(STSR, stsr); in adm8211_interrupt()
512 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_IF_SELECT_1); \
514 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_IF_SELECT_0); \
518 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_WRITE_SYNDATA_0); \
528 ADM8211_CSR_WRITE(SYNRF, reg); \
531 ADM8211_CSR_WRITE(SYNRF, reg | ADM8211_SYNRF_WRITE_CLOCK_1); \
533 ADM8211_CSR_WRITE(SYNRF, reg | ADM8211_SYNRF_WRITE_CLOCK_0); \
538 ADM8211_CSR_WRITE(SYNRF, reg | ADM8211_SYNRF_IF_SELECT_0); \
542 ADM8211_CSR_WRITE(SYNRF, reg | ADM8211_SYNRF_IF_SELECT_1); \
546 ADM8211_CSR_WRITE(SYNRF, 0); \
594 ADM8211_CSR_WRITE(BBPCTL, reg); in adm8211_write_bbp()
606 ADM8211_CSR_WRITE(BBPCTL, ADM8211_CSR_READ(BBPCTL) & in adm8211_write_bbp()
694 ADM8211_CSR_WRITE(GPIO, reg); in adm8211_rf_set_channel()
713 ADM8211_CSR_WRITE(PLCPHD, reg); in adm8211_rf_set_channel()
716 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_SELRF | in adm8211_rf_set_channel()
731 ADM8211_CSR_WRITE(SYNRF, 0); in adm8211_rf_set_channel()
744 ADM8211_CSR_WRITE(CAP0, reg); in adm8211_rf_set_channel()
843 ADM8211_CSR_WRITE(MMIWA, 0x100E0C0A); in adm8211_hw_init_bbp()
844 ADM8211_CSR_WRITE(MMIRD0, 0x00007C7E); in adm8211_hw_init_bbp()
845 ADM8211_CSR_WRITE(MMIRD1, 0x00100000); in adm8211_hw_init_bbp()
852 ADM8211_CSR_WRITE(MMIWA, 0x00009101); in adm8211_hw_init_bbp()
853 ADM8211_CSR_WRITE(MMIRD0, 0x00000301); in adm8211_hw_init_bbp()
857 ADM8211_CSR_WRITE(MMIWA, 0x00008903); in adm8211_hw_init_bbp()
858 ADM8211_CSR_WRITE(MMIRD0, 0x00001716); in adm8211_hw_init_bbp()
863 ADM8211_CSR_WRITE(BBPCTL, reg); in adm8211_hw_init_bbp()
872 ADM8211_CSR_WRITE(SYNCTL, 0x1 << 22); in adm8211_hw_init_bbp()
875 ADM8211_CSR_WRITE(SYNCTL, 0x3 << 22); in adm8211_hw_init_bbp()
882 ADM8211_CSR_WRITE(MMIRD1, reg); in adm8211_hw_init_bbp()
888 ADM8211_CSR_WRITE(MMIRD1, 0x7e100000); in adm8211_hw_init_bbp()
893 ADM8211_CSR_WRITE(MACTEST, 0x800); in adm8211_hw_init_bbp()
899 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_SELRF | in adm8211_hw_init_bbp()
1037 ADM8211_CSR_WRITE(SYNRF, 0); in adm8211_hw_init_bbp()
1042 ADM8211_CSR_WRITE(SYNCTL, reg); in adm8211_hw_init_bbp()
1075 ADM8211_CSR_WRITE(PLCPHD, reg); in adm8211_set_rate()
1080 ADM8211_CSR_WRITE(TXLMT, (512 << 16) | (110 << 8) | (224 << 0)); in adm8211_set_rate()
1111 ADM8211_CSR_WRITE(PAR, reg); in adm8211_hw_init()
1116 ADM8211_CSR_WRITE(CSR_TEST1, reg); in adm8211_hw_init()
1120 ADM8211_CSR_WRITE(WCSR, reg); in adm8211_hw_init()
1127 ADM8211_CSR_WRITE(CMDR, reg); in adm8211_hw_init()
1141 ADM8211_CSR_WRITE(TOFS2, 0x8815cd18); in adm8211_hw_init()
1143 ADM8211_CSR_WRITE(TOFS2, 0x8535cd16); in adm8211_hw_init()
1147 ADM8211_CSR_WRITE(NAR, priv->nar); in adm8211_hw_init()
1150 ADM8211_CSR_WRITE(SYNRF, ADM8211_SYNRF_RADIO); in adm8211_hw_init()
1153 ADM8211_CSR_WRITE(SYNRF, 0); in adm8211_hw_init()
1161 ADM8211_CSR_WRITE(CFPP, reg); in adm8211_hw_init()
1165 ADM8211_CSR_WRITE(TOFS0, (0x16 << 24) | 0x3ff); in adm8211_hw_init()
1170 ADM8211_CSR_WRITE(IFST, (20 << 23) | (110 << 15) | in adm8211_hw_init()
1173 ADM8211_CSR_WRITE(IFST, (20 << 23) | (24 << 15) | in adm8211_hw_init()
1178 ADM8211_CSR_WRITE(RMD, (1 << 16) | 18769); in adm8211_hw_init()
1181 ADM8211_CSR_WRITE(RSPT, 0xffffff00); in adm8211_hw_init()
1187 ADM8211_CSR_WRITE(IER, 0); in adm8211_hw_init()
1190 ADM8211_CSR_WRITE(STSR, ADM8211_CSR_READ(STSR)); in adm8211_hw_init()
1195 ADM8211_CSR_WRITE(MACTEST, reg); in adm8211_hw_init()
1200 ADM8211_CSR_WRITE(WEPCTL, reg); in adm8211_hw_init()
1214 ADM8211_CSR_WRITE(FRCTL, 0); in adm8211_hw_reset()
1218 ADM8211_CSR_WRITE(PAR, ADM8211_PAR_SWR); in adm8211_hw_reset()
1226 ADM8211_CSR_WRITE(PAR, tmp); in adm8211_hw_reset()
1233 ADM8211_CSR_WRITE(CSR_TEST1, reg); in adm8211_hw_reset()
1237 ADM8211_CSR_WRITE(CSR_TEST1, reg); in adm8211_hw_reset()
1240 ADM8211_CSR_WRITE(FRCTL, 0); in adm8211_hw_reset()
1244 ADM8211_CSR_WRITE(CSR_TEST0, reg); in adm8211_hw_reset()
1274 ADM8211_CSR_WRITE(BPLI, reg); in adm8211_set_interval()
1282 ADM8211_CSR_WRITE(BSSID0, le32_to_cpu(*(__le32 *)bssid)); in adm8211_set_bssid()
1286 ADM8211_CSR_WRITE(ABDA1, reg); in adm8211_set_bssid()
1369 ADM8211_CSR_WRITE(MAR0, mc_filter[0]); in adm8211_configure_filter()
1370 ADM8211_CSR_WRITE(MAR1, mc_filter[1]); in adm8211_configure_filter()
1405 ADM8211_CSR_WRITE(PAR0, le32_to_cpu(*(__le32 *)vif->addr)); in adm8211_add_interface()
1406 ADM8211_CSR_WRITE(PAR1, le16_to_cpu(*(__le16 *)(vif->addr + 4))); in adm8211_add_interface()
1467 ADM8211_CSR_WRITE(RDB, priv->rx_ring_dma); in adm8211_init_rings()
1468 ADM8211_CSR_WRITE(TDBD, priv->tx_ring_dma); in adm8211_init_rings()
1532 ADM8211_CSR_WRITE(IER, ADM8211_IER_NIE | ADM8211_IER_AIE | in adm8211_start()
1537 ADM8211_CSR_WRITE(RDR, 0); in adm8211_start()
1552 ADM8211_CSR_WRITE(NAR, 0); in adm8211_stop()
1553 ADM8211_CSR_WRITE(IER, 0); in adm8211_stop()
1657 ADM8211_CSR_WRITE(TDR, 0); in adm8211_tx_raw()
1878 ADM8211_CSR_WRITE(FRCTL, 0); in adm8211_probe()
1880 ADM8211_CSR_WRITE(FRCTL, 1); in adm8211_probe()