Lines Matching refs:rtl818x_iowrite8

184 	rtl818x_iowrite8(priv, &priv->map->PHY[3], (data >> 24) & 0xFF);  in rtl8187_write_phy()
185 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF); in rtl8187_write_phy()
186 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF); in rtl8187_write_phy()
187 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF); in rtl8187_write_phy()
586 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_set_anaparam()
590 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg); in rtl8187_set_anaparam()
594 rtl818x_iowrite8(priv, &priv->map->ANAPARAM3, anaparam3); in rtl8187_set_anaparam()
596 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg); in rtl8187_set_anaparam()
597 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_set_anaparam()
610 rtl818x_iowrite8(priv, &priv->map->CMD, reg); in rtl8187_cmd_reset()
626 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_LOAD); in rtl8187_cmd_reset()
656 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x10); in rtl8187_init_hw()
657 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x11); in rtl8187_init_hw()
658 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x00); in rtl8187_init_hw()
669 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0); in rtl8187_init_hw()
672 rtl818x_iowrite8(priv, &priv->map->GPIO0, 1); in rtl8187_init_hw()
673 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0); in rtl8187_init_hw()
675 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8187_init_hw()
681 rtl818x_iowrite8(priv, &priv->map->CONFIG1, reg); in rtl8187_init_hw()
683 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8187_init_hw()
686 rtl818x_iowrite8(priv, &priv->map->WPA_CONF, 0); in rtl8187_init_hw()
687 rtl818x_iowrite8(priv, &priv->map->RATE_FALLBACK, 0); in rtl8187_init_hw()
690 rtl818x_iowrite8(priv, &priv->map->RESP_RATE, (8 << 4) | 0); in rtl8187_init_hw()
695 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0); in rtl8187_init_hw()
697 rtl818x_iowrite8(priv, (u8 *)0xFE53, reg | (1 << 7)); in rtl8187_init_hw()
699 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0x20); in rtl8187_init_hw()
700 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0); in rtl8187_init_hw()
709 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_init_hw()
711 rtl818x_iowrite8(priv, &priv->map->CONFIG3, 0x44); in rtl8187_init_hw()
712 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_init_hw()
721 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg | 1); in rtl8187_init_hw()
723 rtl818x_iowrite8(priv, &priv->map->TALLY_SEL, 0x80); in rtl8187_init_hw()
724 rtl818x_iowrite8(priv, (u8 *)0xFFFF, 0x60); in rtl8187_init_hw()
725 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in rtl8187_init_hw()
770 rtl818x_iowrite8(priv, (u8 *)0xFF61, 0x10); in rtl8187b_init_hw()
772 rtl818x_iowrite8(priv, (u8 *)0xFF62, reg & ~(1 << 5)); in rtl8187b_init_hw()
773 rtl818x_iowrite8(priv, (u8 *)0xFF62, reg | (1 << 5)); in rtl8187b_init_hw()
788 rtl818x_iowrite8(priv, &priv->map->CW_CONF, reg); in rtl8187b_init_hw()
796 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187b_init_hw()
799 rtl818x_iowrite8(priv, &priv->map->CONFIG1, (reg & 0x3F) | 0x80); in rtl8187b_init_hw()
800 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187b_init_hw()
803 rtl818x_iowrite8(priv, &priv->map->WPA_CONF, 0); in rtl8187b_init_hw()
832 rtl818x_iowrite8(priv, &priv->map->CMD, reg); in rtl8187b_init_hw()
835 rtl818x_iowrite8(priv, (u8 *)0xFE41, 0xF4); in rtl8187b_init_hw()
836 rtl818x_iowrite8(priv, (u8 *)0xFE40, 0x00); in rtl8187b_init_hw()
837 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x00); in rtl8187b_init_hw()
838 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x01); in rtl8187b_init_hw()
839 rtl818x_iowrite8(priv, (u8 *)0xFE40, 0x0F); in rtl8187b_init_hw()
840 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x00); in rtl8187b_init_hw()
841 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x01); in rtl8187b_init_hw()
844 rtl818x_iowrite8(priv, (u8 *)0xFFDB, reg | (1 << 2)); in rtl8187b_init_hw()
851 rtl818x_iowrite8(priv, (u8 *)0xFF61, 0); in rtl8187b_init_hw()
854 rtl818x_iowrite8(priv, (u8 *)0xFFDA, 0x10); in rtl8187b_init_hw()
866 rtl818x_iowrite8(priv, &priv->map->ACM_CONTROL, 0); in rtl8187b_init_hw()
869 rtl818x_iowrite8(priv, &priv->map->MSR, RTL818X_MSR_ENEDCA); in rtl8187b_init_hw()
948 rtl818x_iowrite8(priv, &priv->map->TX_AGC_CTL, reg); in rtl8187_start()
984 rtl818x_iowrite8(priv, &priv->map->CW_CONF, reg); in rtl8187_start()
990 rtl818x_iowrite8(priv, &priv->map->TX_AGC_CTL, reg); in rtl8187_start()
1000 rtl818x_iowrite8(priv, &priv->map->CMD, reg); in rtl8187_start()
1020 rtl818x_iowrite8(priv, &priv->map->CMD, reg); in rtl8187_stop()
1025 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8187_stop()
1027 rtl818x_iowrite8(priv, &priv->map->CONFIG4, reg | RTL818X_CONFIG4_VCOOFF); in rtl8187_stop()
1028 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8187_stop()
1120 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8187_add_interface()
1122 rtl818x_iowrite8(priv, &priv->map->MAC[i], in rtl8187_add_interface()
1124 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8187_add_interface()
1196 rtl818x_iowrite8(priv, &priv->map->SIFS, 0x22); in rtl8187_conf_erp()
1197 rtl818x_iowrite8(priv, &priv->map->SLOT, priv->slot_time); in rtl8187_conf_erp()
1198 rtl818x_iowrite8(priv, &priv->map->DIFS, difs); in rtl8187_conf_erp()
1204 rtl818x_iowrite8(priv, (u8 *)&priv->map->BRSR + 1, eifs); in rtl8187_conf_erp()
1216 rtl818x_iowrite8(priv, &priv->map->CARRIER_SENSE_COUNTER, in rtl8187_conf_erp()
1220 rtl818x_iowrite8(priv, (u8 *) rtl8187b_ac_addr[queue], in rtl8187_conf_erp()
1224 rtl818x_iowrite8(priv, &priv->map->SIFS, 0x22); in rtl8187_conf_erp()
1226 rtl818x_iowrite8(priv, &priv->map->SLOT, 0x9); in rtl8187_conf_erp()
1227 rtl818x_iowrite8(priv, &priv->map->DIFS, 0x14); in rtl8187_conf_erp()
1228 rtl818x_iowrite8(priv, &priv->map->EIFS, 91 - 0x14); in rtl8187_conf_erp()
1230 rtl818x_iowrite8(priv, &priv->map->SLOT, 0x14); in rtl8187_conf_erp()
1231 rtl818x_iowrite8(priv, &priv->map->DIFS, 0x24); in rtl8187_conf_erp()
1232 rtl818x_iowrite8(priv, &priv->map->EIFS, 91 - 0x24); in rtl8187_conf_erp()
1252 rtl818x_iowrite8(priv, &priv->map->BSSID[i], in rtl8187_bss_info_changed()
1269 rtl818x_iowrite8(priv, &priv->map->MSR, reg); in rtl8187_bss_info_changed()
1358 rtl818x_iowrite8(priv, &priv->map->CW_VAL, in rtl8187_conf_tx()
1407 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, reg); in rtl8187_eeprom_register_write()
1480 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8187_probe()
1510 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg | 1); in rtl8187_probe()
1515 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in rtl8187_probe()
1516 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8187_probe()