/linux-5.19.10/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | dev.c | 180 rtl818x_iowrite8(priv, &priv->map->PHY[3], (data >> 24) & 0xFF); in rtl8187_write_phy() 181 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF); in rtl8187_write_phy() 182 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF); in rtl8187_write_phy() 183 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF); in rtl8187_write_phy() 595 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_set_anaparam() 599 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg); in rtl8187_set_anaparam() 603 rtl818x_iowrite8(priv, &priv->map->ANAPARAM3A, anaparam3); in rtl8187_set_anaparam() 605 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg); in rtl8187_set_anaparam() 606 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8187_set_anaparam() 619 rtl818x_iowrite8(priv, &priv->map->CMD, reg); in rtl8187_cmd_reset() [all …]
|
D | leds.c | 42 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0x01); in led_turn_on() 43 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0x00); in led_turn_on() 47 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_on() 51 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_on() 80 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0x01); in led_turn_off() 81 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0x01); in led_turn_off() 85 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_off() 89 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_off()
|
D | rtl8225.c | 388 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225_rf_set_tx_power() 402 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_set_tx_power() 404 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225_rf_set_tx_power() 408 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225_rf_set_tx_power() 410 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8225_rf_set_tx_power() 416 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225_rf_set_tx_power() 550 rtl818x_iowrite8(priv, &priv->map->TESTR, 0x0D); in rtl8225_rf_init() 558 rtl818x_iowrite8(priv, &priv->map->TX_ANTENNA, 0x03); /* B: 0x00 */ in rtl8225_rf_init() 648 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225z2_rf_set_tx_power() 653 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225z2_rf_set_tx_power() [all …]
|
D | rfkill.c | 25 rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~priv->rfkill_mask); in rtl8187_is_radio_enabled()
|
D | rtl8187.h | 187 static inline void rtl818x_iowrite8(struct rtl8187_priv *priv, u8 *addr, u8 val) in rtl818x_iowrite8() function
|
/linux-5.19.10/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
D | dev.c | 586 rtl818x_iowrite8(priv, &priv->map->TX_DMA_POLLING, in rtl8180_tx() 590 rtl818x_iowrite8(priv, &priv->map->TX_DMA_POLLING, in rtl8180_tx() 600 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8180_set_anaparam3() 604 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam3() 609 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam3() 612 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8180_set_anaparam3() 620 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8180_set_anaparam2() 624 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam2() 629 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam2() 632 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, in rtl8180_set_anaparam2() [all …]
|
D | rtl8225.c | 269 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225_rf_set_tx_power() 284 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_set_tx_power() 286 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg | RTL818X_CONFIG3_ANAPARAM_WRITE); in rtl8225_rf_set_tx_power() 288 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg & ~RTL818X_CONFIG3_ANAPARAM_WRITE); in rtl8225_rf_set_tx_power() 289 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8225_rf_set_tx_power() 291 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225_rf_set_tx_power() 313 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0); in rtl8225_rf_init() 316 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0xFF & ~(1 << 6)); in rtl8225_rf_init() 324 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_init() 325 rtl818x_iowrite8(priv, &priv->map->CONFIG3, 0x44); in rtl8225_rf_init() [all …]
|
D | rtl8225se.c | 94 rtl818x_iowrite8(priv, &priv->map->rf_sw_config, tmp); in rtl8187se_three_wire_io() 97 rtl818x_iowrite8(priv, REG_ADDR1(0x84), tmp); in rtl8187se_three_wire_io() 117 rtl818x_iowrite8(priv, SW_3W_CMD1, tmp); in rtl8187se_three_wire_io() 124 rtl818x_iowrite8(priv, SW_3W_CMD1, 0); in rtl8187se_three_wire_io() 175 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225sez2_rf_set_tx_power() 183 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225sez2_rf_set_tx_power() 353 rtl818x_iowrite8(priv, REG_ADDR1(0x024E), in rtl8225se_rf_init() 363 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, 0x10); in rtl8225se_rf_init() 364 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, 0x1B); in rtl8225se_rf_init() 366 rtl818x_iowrite8(priv, &priv->map->TX_ANTENNA, 0x03); in rtl8225se_rf_init()
|
D | rtl8180.h | 168 static inline void rtl818x_iowrite8(struct rtl8180_priv *priv, in rtl818x_iowrite8() function
|