rtw8723d.h (14e77332e74603efab8347c89d3cda447c3b97c9) | rtw8723d.h (87caeef032fc3921bc866ad7becb6ed51aa8b27b) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2/* Copyright(c) 2018-2019 Realtek Corporation 3 */ 4 5#ifndef __RTW8723D_H__ 6#define __RTW8723D_H__ 7 8enum rtw8723d_path { --- 27 unchanged lines hidden (view full) --- 36struct rtw8723de_efuse { 37 u8 mac_addr[ETH_ALEN]; /* 0xd0 */ 38 u8 vender_id[2]; 39 u8 device_id[2]; 40 u8 sub_vender_id[2]; 41 u8 sub_device_id[2]; 42}; 43 | 1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2/* Copyright(c) 2018-2019 Realtek Corporation 3 */ 4 5#ifndef __RTW8723D_H__ 6#define __RTW8723D_H__ 7 8enum rtw8723d_path { --- 27 unchanged lines hidden (view full) --- 36struct rtw8723de_efuse { 37 u8 mac_addr[ETH_ALEN]; /* 0xd0 */ 38 u8 vender_id[2]; 39 u8 device_id[2]; 40 u8 sub_vender_id[2]; 41 u8 sub_device_id[2]; 42}; 43 |
44struct rtw8723du_efuse { 45 u8 res4[48]; /* 0xd0 */ 46 u8 vender_id[2]; /* 0x100 */ 47 u8 product_id[2]; /* 0x102 */ 48 u8 usb_option; /* 0x104 */ 49 u8 mac_addr[ETH_ALEN]; /* 0x107 */ 50}; 51 |
|
44struct rtw8723d_efuse { 45 __le16 rtl_id; 46 u8 rsvd[2]; 47 u8 afe; 48 u8 rsvd1[11]; 49 50 /* power index for four RF paths */ 51 struct rtw_txpwr_idx txpwr_idx_table[4]; --- 12 unchanged lines hidden (view full) --- 64 u8 eeprom_customer_id; 65 u8 tx_bb_swing_setting_2g; 66 u8 res_c7; 67 u8 tx_pwr_calibrate_rate; 68 u8 rf_antenna_option; /* 0xc9 */ 69 u8 rfe_option; 70 u8 country_code[2]; 71 u8 res[3]; | 52struct rtw8723d_efuse { 53 __le16 rtl_id; 54 u8 rsvd[2]; 55 u8 afe; 56 u8 rsvd1[11]; 57 58 /* power index for four RF paths */ 59 struct rtw_txpwr_idx txpwr_idx_table[4]; --- 12 unchanged lines hidden (view full) --- 72 u8 eeprom_customer_id; 73 u8 tx_bb_swing_setting_2g; 74 u8 res_c7; 75 u8 tx_pwr_calibrate_rate; 76 u8 rf_antenna_option; /* 0xc9 */ 77 u8 rfe_option; 78 u8 country_code[2]; 79 u8 res[3]; |
72 struct rtw8723de_efuse e; | 80 union { 81 struct rtw8723de_efuse e; 82 struct rtw8723du_efuse u; 83 }; |
73}; 74 75extern const struct rtw_chip_info rtw8723d_hw_spec; 76 77/* phy status page0 */ 78#define GET_PHY_STAT_P0_PWDB(phy_stat) \ 79 le32_get_bits(*((__le32 *)(phy_stat) + 0x00), GENMASK(15, 8)) 80 --- 208 unchanged lines hidden --- | 84}; 85 86extern const struct rtw_chip_info rtw8723d_hw_spec; 87 88/* phy status page0 */ 89#define GET_PHY_STAT_P0_PWDB(phy_stat) \ 90 le32_get_bits(*((__le32 *)(phy_stat) + 0x00), GENMASK(15, 8)) 91 --- 208 unchanged lines hidden --- |