Home
last modified time | relevance | path

Searched refs:regaddr (Results 1 – 25 of 41) sorted by relevance

12

/drivers/net/wireless/st/cw1200/
Dcw1200_spi.c62 u16 regaddr; in cw1200_spi_memcpy_fromio() local
66 .tx_buf = &regaddr, in cw1200_spi_memcpy_fromio()
67 .len = sizeof(regaddr), in cw1200_spi_memcpy_fromio()
74 regaddr = (SDIO_TO_SPI_ADDR(addr))<<12; in cw1200_spi_memcpy_fromio()
75 regaddr |= SET_READ; in cw1200_spi_memcpy_fromio()
76 regaddr |= (count>>1); in cw1200_spi_memcpy_fromio()
79 pr_info("READ : %04d from 0x%02x (%04x)\n", count, addr, regaddr); in cw1200_spi_memcpy_fromio()
83 regaddr = cpu_to_le16(regaddr); in cw1200_spi_memcpy_fromio()
91 regaddr = swab16(regaddr); in cw1200_spi_memcpy_fromio()
128 u16 regaddr; in cw1200_spi_memcpy_toio() local
[all …]
/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c491 u32 regaddr, u32 bitmask, u32 data) in store_pwrindex_offset() argument
497 if (regaddr == rTxAGC_A_Rate18_06) in store_pwrindex_offset()
499 if (regaddr == rTxAGC_A_Rate54_24) in store_pwrindex_offset()
501 if (regaddr == rTxAGC_A_CCK1_Mcs32) in store_pwrindex_offset()
503 if (regaddr == rTxAGC_B_CCK11_A_CCK2_11 && bitmask == 0xffffff00) in store_pwrindex_offset()
505 if (regaddr == rTxAGC_A_Mcs03_Mcs00) in store_pwrindex_offset()
507 if (regaddr == rTxAGC_A_Mcs07_Mcs04) in store_pwrindex_offset()
509 if (regaddr == rTxAGC_A_Mcs11_Mcs08) in store_pwrindex_offset()
511 if (regaddr == rTxAGC_A_Mcs15_Mcs12) { in store_pwrindex_offset()
515 if (regaddr == rTxAGC_B_Rate18_06) in store_pwrindex_offset()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dphy.c22 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92c_phy_query_rf_reg() argument
30 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg()
36 rfpath, regaddr); in rtl92c_phy_query_rf_reg()
39 rfpath, regaddr); in rtl92c_phy_query_rf_reg()
49 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg()
96 u32 regaddr, u32 bitmask, u32 data) in rtl92ce_phy_set_rf_reg() argument
104 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg()
112 regaddr); in rtl92ce_phy_set_rf_reg()
119 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92ce_phy_set_rf_reg()
124 regaddr); in rtl92ce_phy_set_rf_reg()
[all …]
Dphy.h56 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask);
57 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask,
60 u32 regaddr, u32 bitmask);
62 u32 regaddr, u32 bitmask, u32 data);
104 u32 regaddr, u32 bitmask, u32 data);
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dphy.c19 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument
27 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg()
30 rfpath, regaddr); in rtl92cu_phy_query_rf_reg()
33 rfpath, regaddr); in rtl92cu_phy_query_rf_reg()
39 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg()
45 u32 regaddr, u32 bitmask, u32 data) in rtl92cu_phy_set_rf_reg() argument
53 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg()
58 regaddr); in rtl92cu_phy_set_rf_reg()
64 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92cu_phy_set_rf_reg()
69 regaddr); in rtl92cu_phy_set_rf_reg()
[all …]
Dsw.h20 u32 regaddr, u32 bitmask, u32 data);
24 enum radio_path rfpath, u32 regaddr, u32 bitmask);
Dphy.h12 enum radio_path rfpath, u32 regaddr, u32 bitmask);
15 u32 regaddr, u32 bitmask, u32 data);
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dphy.h52 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask);
53 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask,
57 u32 regaddr, u32 bitmask);
59 u32 regaddr, u32 bitmask, u32 data);
Dphy.c29 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92s_phy_query_bb_reg() argument
35 regaddr, bitmask); in rtl92s_phy_query_bb_reg()
37 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92s_phy_query_bb_reg()
42 bitmask, regaddr, originalvalue); in rtl92s_phy_query_bb_reg()
48 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, in rtl92s_phy_set_bb_reg() argument
56 regaddr, bitmask, data); in rtl92s_phy_set_bb_reg()
59 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92s_phy_set_bb_reg()
64 rtl_write_dword(rtlpriv, regaddr, data); in rtl92s_phy_set_bb_reg()
68 regaddr, bitmask, data); in rtl92s_phy_set_bb_reg()
155 u32 regaddr, u32 bitmask) in rtl92s_phy_query_rf_reg() argument
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.h98 u32 regaddr, u32 bitmask);
100 u32 regaddr, u32 bitmask, u32 data);
102 enum radio_path rfpath, u32 regaddr,
105 enum radio_path rfpath, u32 regaddr,
Dphy.c41 u32 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_bb_reg() argument
47 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl92ee_phy_query_bb_reg()
48 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_query_bb_reg()
54 bitmask, regaddr, originalvalue); in rtl92ee_phy_query_bb_reg()
59 void rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl92ee_phy_set_bb_reg() argument
67 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
70 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_set_bb_reg()
75 rtl_write_dword(rtlpriv, regaddr, data); in rtl92ee_phy_set_bb_reg()
79 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
83 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dphy.c35 u32 regaddr, u32 bitmask) in rtl8723e_phy_query_rf_reg() argument
44 regaddr, rfpath, bitmask); in rtl8723e_phy_query_rf_reg()
50 rfpath, regaddr); in rtl8723e_phy_query_rf_reg()
60 regaddr, rfpath, bitmask, original_value); in rtl8723e_phy_query_rf_reg()
67 u32 regaddr, u32 bitmask, u32 data) in rtl8723e_phy_set_rf_reg() argument
76 regaddr, bitmask, data, rfpath); in rtl8723e_phy_set_rf_reg()
84 regaddr); in rtl8723e_phy_set_rf_reg()
91 rtl8723_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg()
99 _rtl8723e_phy_fw_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg()
106 regaddr, bitmask, data, rfpath); in rtl8723e_phy_set_rf_reg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c41 u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl88e_phy_query_bb_reg() argument
47 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl88e_phy_query_bb_reg()
48 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl88e_phy_query_bb_reg()
54 regaddr, originalvalue); in rtl88e_phy_query_bb_reg()
61 u32 regaddr, u32 bitmask, u32 data) in rtl88e_phy_set_bb_reg() argument
68 regaddr, bitmask, data); in rtl88e_phy_set_bb_reg()
71 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl88e_phy_set_bb_reg()
76 rtl_write_dword(rtlpriv, regaddr, data); in rtl88e_phy_set_bb_reg()
80 regaddr, bitmask, data); in rtl88e_phy_set_bb_reg()
84 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl88e_phy_query_rf_reg() argument
[all …]
Dphy.h179 u32 regaddr, u32 bitmask);
181 u32 regaddr, u32 bitmask, u32 data);
183 enum radio_path rfpath, u32 regaddr,
186 enum radio_path rfpath, u32 regaddr,
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c12 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92c_phy_query_bb_reg() argument
18 regaddr, bitmask); in rtl92c_phy_query_bb_reg()
19 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_query_bb_reg()
25 bitmask, regaddr, originalvalue); in rtl92c_phy_query_bb_reg()
32 u32 regaddr, u32 bitmask, u32 data) in rtl92c_phy_set_bb_reg() argument
39 regaddr, bitmask, data); in rtl92c_phy_set_bb_reg()
42 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_set_bb_reg()
47 rtl_write_dword(rtlpriv, regaddr, data); in rtl92c_phy_set_bb_reg()
51 regaddr, bitmask, data); in rtl92c_phy_set_bb_reg()
221 u32 regaddr, u32 bitmask, in _rtl92c_store_pwrindex_diffrate_offset() argument
[all …]
Dphy_common.h163 u32 regaddr, u32 bitmask);
165 u32 regaddr, u32 bitmask, u32 data);
167 enum radio_path rfpath, u32 regaddr,
224 u32 regaddr, u32 bitmask,
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.h103 u32 regaddr, u32 bitmask);
105 u32 regaddr, u32 bitmask, u32 data);
107 enum radio_path rfpath, u32 regaddr,
110 enum radio_path rfpath, u32 regaddr,
Dphy.c175 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92d_phy_query_bb_reg() argument
182 regaddr, bitmask); in rtl92d_phy_query_bb_reg()
192 originalvalue = rtl92de_read_dword_dbi(hw, (u16)regaddr, in rtl92d_phy_query_bb_reg()
195 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92d_phy_query_bb_reg()
201 bitmask, regaddr, originalvalue); in rtl92d_phy_query_bb_reg()
206 u32 regaddr, u32 bitmask, u32 data) in rtl92d_phy_set_bb_reg() argument
215 regaddr, bitmask, data); in rtl92d_phy_set_bb_reg()
225 (u16) regaddr, in rtl92d_phy_set_bb_reg()
228 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92d_phy_set_bb_reg()
233 rtl92de_write_dword_dbi(hw, (u16) regaddr, data, dbi_direct); in rtl92d_phy_set_bb_reg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dphy_common.c12 u32 regaddr, u32 bitmask) in rtl8723_phy_query_bb_reg() argument
18 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl8723_phy_query_bb_reg()
19 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl8723_phy_query_bb_reg()
25 regaddr, originalvalue); in rtl8723_phy_query_bb_reg()
30 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl8723_phy_set_bb_reg() argument
37 "regaddr(%#x), bitmask(%#x), data(%#x)\n", regaddr, bitmask, in rtl8723_phy_set_bb_reg()
41 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl8723_phy_set_bb_reg()
46 rtl_write_dword(rtlpriv, regaddr, data); in rtl8723_phy_set_bb_reg()
50 regaddr, bitmask, data); in rtl8723_phy_set_bb_reg()
Dphy_common.h27 u32 regaddr, u32 bitmask);
28 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr,
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.h187 u32 regaddr, u32 bitmask);
189 u32 regaddr, u32 bitmask, u32 data);
191 enum radio_path rfpath, u32 regaddr,
194 enum radio_path rfpath, u32 regaddr,
/drivers/hwmon/
Dtmp401.c186 u8 regaddr; in tmp401_update_device_reg16() local
188 regaddr = data->kind == tmp432 ? in tmp401_update_device_reg16()
192 val = i2c_smbus_read_byte_data(client, regaddr); in tmp401_update_device_reg16()
195 regaddr); in tmp401_update_device_reg16()
333 u8 regaddr; in temp_store() local
342 regaddr = data->kind == tmp432 ? TMP432_TEMP_MSB_WRITE[nr][index] in temp_store()
345 i2c_smbus_write_byte_data(client, regaddr, reg >> 8); in temp_store()
348 i2c_smbus_write_word_swapped(client, regaddr, reg); in temp_store()
/drivers/staging/rtl8188eu/include/
Dphy.h12 u32 phy_query_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask);
13 void phy_set_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask, u32 data);
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c32 u32 regaddr, u32 bitmask) in rtl8723be_phy_query_rf_reg() argument
40 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg()
44 original_value = rtl8723_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723be_phy_query_rf_reg()
52 regaddr, rfpath, bitmask, original_value); in rtl8723be_phy_query_rf_reg()
58 u32 regaddr, u32 bitmask, u32 data) in rtl8723be_phy_set_rf_reg() argument
66 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg()
72 regaddr); in rtl8723be_phy_set_rf_reg()
78 rtl8723_phy_rf_serial_write(hw, path, regaddr, data); in rtl8723be_phy_set_rf_reg()
84 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg()
218 u32 regaddr) in _rtl8723be_config_rf_reg() argument
[all …]
Dphy.h87 u32 regaddr, u32 bitmask);
90 u32 regaddr, u32 bitmask, u32 data);

12