Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c665 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x10); in rtl8187_init_hw()
666 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x11); in rtl8187_init_hw()
667 rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x00); in rtl8187_init_hw()
733 rtl818x_iowrite8(priv, (u8 *)0xFFFF, 0x60); in rtl8187_init_hw()
779 rtl818x_iowrite8(priv, (u8 *)0xFF61, 0x10); in rtl8187b_init_hw()
844 rtl818x_iowrite8(priv, (u8 *)0xFE41, 0xF4); in rtl8187b_init_hw()
845 rtl818x_iowrite8(priv, (u8 *)0xFE40, 0x00); in rtl8187b_init_hw()
846 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x00); in rtl8187b_init_hw()
847 rtl818x_iowrite8(priv, (u8 *)0xFE42, 0x01); in rtl8187b_init_hw()
848 rtl818x_iowrite8(priv, (u8 *)0xFE40, 0x0F); in rtl8187b_init_hw()
[all …]
H A Dleds.c42 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()
H A Drtl8225.c388 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, 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()
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()
648 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225z2_rf_set_tx_power()
655 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225z2_rf_set_tx_power()
659 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8225z2_rf_set_tx_power()
669 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, in rtl8225z2_rf_set_tx_power()
721 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, in rtl8225z2_b_rf_set_tx_power()
[all …]
H A Drfkill.c25 rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~priv->rfkill_mask); in rtl8187_is_radio_enabled()
H A Drtl8187.h187 static inline void rtl818x_iowrite8(struct rtl8187_priv *priv, u8 *addr, u8 val) in rtl818x_iowrite8() function
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Ddev.c604 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam3()
609 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam3()
624 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam2()
629 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam2()
642 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam()
645 rtl818x_iowrite8(priv, &priv->map->CONFIG3, in rtl8180_set_anaparam()
659 rtl818x_iowrite8(priv, REG_ADDR1(0x1F8), 0); in rtl8187se_mac_config()
822 rtl818x_iowrite8(priv, &priv->map->CMD, 0); in rtl8180_init_hw()
854 rtl818x_iowrite8(priv, &priv->map->MSR, 0); in rtl8180_init_hw()
954 rtl818x_iowrite8(priv, &priv->map->CONFIG5, in rtl8180_init_hw()
[all …]
H A Drtl8225.c269 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, 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()
325 rtl818x_iowrite8(priv, &priv->map->CONFIG3, 0x44); in rtl8225_rf_init()
433 rtl818x_iowrite8(priv, &priv->map->TESTR, 0x0D); msleep(1); in rtl8225_rf_init()
500 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, cck_power); in rtl8225z2_rf_set_tx_power()
505 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, ofdm_power); in rtl8225z2_rf_set_tx_power()
542 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0); in rtl8225z2_rf_init()
545 rtl818x_iowrite8(priv, &priv->map->GP_ENABLE, 0xFF & ~(1 << 6)); in rtl8225z2_rf_init()
[all …]
H A Drtl8225se.c94 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()
H A Drtl8180.h168 static inline void rtl818x_iowrite8(struct rtl8180_priv *priv, in rtl818x_iowrite8() function