Home
last modified time | relevance | path

Searched refs:rtl818x_iowrite8 (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c184 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()
[all …]
Dleds.c45 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0x01); in led_turn_on()
46 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0x00); in led_turn_on()
50 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_on()
54 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_on()
83 rtl818x_iowrite8(priv, &priv->map->GPIO0, 0x01); in led_turn_off()
84 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0x01); in led_turn_off()
88 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_off()
92 rtl818x_iowrite8(priv, &priv->map->PGSELECT, reg); in led_turn_off()
Drtl8225.c299 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225_rf_set_tx_power()
313 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_set_tx_power()
315 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225_rf_set_tx_power()
319 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225_rf_set_tx_power()
321 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8225_rf_set_tx_power()
327 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225_rf_set_tx_power()
461 rtl818x_iowrite8(priv, &priv->map->TESTR, 0x0D); in rtl8225_rf_init()
469 rtl818x_iowrite8(priv, &priv->map->TX_ANTENNA, 0x03); /* B: 0x00 */ in rtl8225_rf_init()
563 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225z2_rf_set_tx_power()
568 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225z2_rf_set_tx_power()
[all …]
Drfkill.c28 rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~priv->rfkill_mask); in rtl8187_is_radio_enabled()
Drtl8187.h243 static inline void rtl818x_iowrite8(struct rtl8187_priv *priv, u8 *addr, u8 val) in rtl818x_iowrite8() function
/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8180/
Drtl8225.c273 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225_rf_set_tx_power()
287 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_set_tx_power()
289 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg | RTL818X_CONFIG3_ANAPARAM_WRITE); in rtl8225_rf_set_tx_power()
291 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg & ~RTL818X_CONFIG3_ANAPARAM_WRITE); in rtl8225_rf_set_tx_power()
292 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8225_rf_set_tx_power()
294 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225_rf_set_tx_power()
316 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0); in rtl8225_rf_init()
319 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0xFF & ~(1 << 6)); in rtl8225_rf_init()
327 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8225_rf_init()
328 rtl818x_iowrite8(priv, &priv->map->CONFIG3, 0x44); in rtl8225_rf_init()
[all …]
Ddev.c325 rtl818x_iowrite8(priv, &priv->map->TX_DMA_POLLING, (1 << (prio + 4))); in rtl8180_tx()
332 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); in rtl8180_set_anaparam()
334 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam()
337 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam()
339 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); in rtl8180_set_anaparam()
347 rtl818x_iowrite8(priv, &priv->map->CMD, 0); in rtl8180_init_hw()
358 rtl818x_iowrite8(priv, &priv->map->CMD, RTL818X_CMD_RESET); in rtl8180_init_hw()
368 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_LOAD); in rtl8180_init_hw()
376 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg); in rtl8180_init_hw()
382 rtl818x_iowrite8(priv, &priv->map->MSR, 0); in rtl8180_init_hw()
[all …]
Drtl8180.h112 static inline void rtl818x_iowrite8(struct rtl8180_priv *priv, in rtl818x_iowrite8() function