Lines Matching +full:led +full:- +full:7 +full:seg
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
86 #define ASPM_L1_LATENCY 7
108 #define CHANNEL_MAX_NUMBER_5G_80M 7
132 H2C_MACID_PS_MODE = 7,
172 #define GET_TX_REPORT_ST_V2(c2h) (c2h[7] & 0xC0)
190 #define MAX_BASE_NUM_IN_PHY_REG_PG_5G 5 /* MAX_RATE_SECTION -1 */
192 #define BUFDESC_SEG_NUM 1 /* 0:2 seg, 1: 4 seg, 2: 8 seg */
233 #define WOL_REASON_PATTERN_PKT BIT(7)
349 #define RTL_HW_TYPE(rtlpriv) (rtl_hal((struct rtl_priv *)rtlpriv)->hw_type)
536 RT_CID_819X_RUNTOP = 7,
594 RF_3T4R = 7,
728 RTL_IMR_BCNDOK7, /*Beacon Queue DMA OK Interrup 7 */
800 FW_PS_IBSS_MODE = 7,
813 /*LED related.*/
821 LED_CTL_POWER_OFF = 7,
903 RATR_INX_WIRELESS_MC = 7,
917 RATEID_IDX_G = 7,
938 ACT_CAT_HT = 7,
1041 sizeof(info->status.status_driver_data)); in rtl_tx_skb_cb_info()
1043 return (struct rtlwifi_tx_info *)(info->status.status_driver_data); in rtl_tx_skb_cb_info()
1642 /* dual MAC 0--Mac0 1--Mac1 */
1688 * pairwise key 1-4 is for agoup key.
1706 u32 ant_sum[7];
1707 u32 ant_cnt[7];
1708 u32 ant_ave[7];
1890 /*--------------------------------------------------------*
2034 u8 signalquality; /*in 0-100 index. */
2040 u8 signalstrength; /*in 0-100 index. */
2062 u16 cfo_short[4]; /* per-path's Cfo_short */
2066 u8 rx_pwr[4]; /* per-path's pwdb */
2067 u8 rx_snr[4]; /* per-path's SNR */
2333 /* data - rx */
2337 /* op - rx */
2766 #define rtl_priv(hw) (((struct rtl_priv *)(hw)->priv))
2767 #define rtl_mac(rtlpriv) (&((rtlpriv)->mac80211))
2768 #define rtl_hal(rtlpriv) (&((rtlpriv)->rtlhal))
2769 #define rtl_efuse(rtlpriv) (&((rtlpriv)->efuse))
2770 #define rtl_psc(rtlpriv) (&((rtlpriv)->psc))
2772 /* Bluetooth Co-existence Related */
2792 BT_RTL8821A = 7,
2811 BT_BUSY = 7,
2830 (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))
2843 #define rtl_dm(rtlpriv) (&((rtlpriv)->dm))
2848 /*NIC halt, re-initialize hw parameters*/
2850 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /*FW free, re-download the FW */
2855 #define RT_PS_LEVEL_ASPM BIT(7)
2860 ((ppsc->cur_ps_level & _ps_flg) ? true : false)
2862 (ppsc->cur_ps_level &= (~(_ps_flg)))
2864 (ppsc->cur_ps_level |= _ps_flg)
2901 return rtlpriv->io.read8(rtlpriv, addr); in rtl_read_byte()
2906 return rtlpriv->io.read16(rtlpriv, addr); in rtl_read_word()
2911 return rtlpriv->io.read32(rtlpriv, addr); in rtl_read_dword()
2916 rtlpriv->io.write8(rtlpriv, addr, val8); in rtl_write_byte()
2918 if (rtlpriv->cfg->write_readback) in rtl_write_byte()
2919 rtlpriv->io.read8(rtlpriv, addr); in rtl_write_byte()
2932 rtlpriv->io.write16(rtlpriv, addr, val16); in rtl_write_word()
2934 if (rtlpriv->cfg->write_readback) in rtl_write_word()
2935 rtlpriv->io.read16(rtlpriv, addr); in rtl_write_word()
2941 rtlpriv->io.write32(rtlpriv, addr, val32); in rtl_write_dword()
2943 if (rtlpriv->cfg->write_readback) in rtl_write_dword()
2944 rtlpriv->io.read32(rtlpriv, addr); in rtl_write_dword()
2950 rtlpriv->io.write_chunk(rtlpriv, addr, length, data); in rtl_write_chunk()
2956 struct rtl_priv *rtlpriv = hw->priv; in rtl_get_bbreg()
2958 return rtlpriv->cfg->ops->get_bbreg(hw, regaddr, bitmask); in rtl_get_bbreg()
2964 struct rtl_priv *rtlpriv = hw->priv; in rtl_set_bbreg()
2966 rtlpriv->cfg->ops->set_bbreg(hw, regaddr, bitmask, data); in rtl_set_bbreg()
2979 struct rtl_priv *rtlpriv = hw->priv; in rtl_get_rfreg()
2981 return rtlpriv->cfg->ops->get_rfreg(hw, rfpath, regaddr, bitmask); in rtl_get_rfreg()
2988 struct rtl_priv *rtlpriv = hw->priv; in rtl_set_rfreg()
2990 rtlpriv->cfg->ops->set_rfreg(hw, rfpath, regaddr, bitmask, data); in rtl_set_rfreg()
2995 return (_HAL_STATE_STOP == rtlhal->state); in is_hal_stop()
3000 rtlhal->state = _HAL_STATE_START; in set_hal_start()
3005 rtlhal->state = _HAL_STATE_STOP; in set_hal_stop()
3010 return rtlphy->rf_type; in get_rf_type()
3015 return (struct ieee80211_hdr *)(skb->data); in rtl_get_hdr()
3020 return rtl_get_hdr(skb)->frame_control; in rtl_get_fc()
3040 return ieee80211_find_sta(mac->vif, mac_addr); in rtl_find_sta()