/drivers/net/wireless/cw1200/ |
D | cw1200_spi.c | 65 u16 regaddr; in cw1200_spi_memcpy_fromio() local 69 .tx_buf = ®addr, in cw1200_spi_memcpy_fromio() 70 .len = sizeof(regaddr), in cw1200_spi_memcpy_fromio() 77 regaddr = (SDIO_TO_SPI_ADDR(addr))<<12; in cw1200_spi_memcpy_fromio() 78 regaddr |= SET_READ; in cw1200_spi_memcpy_fromio() 79 regaddr |= (count>>1); in cw1200_spi_memcpy_fromio() 82 pr_info("READ : %04d from 0x%02x (%04x)\n", count, addr, regaddr); in cw1200_spi_memcpy_fromio() 86 regaddr = cpu_to_le16(regaddr); in cw1200_spi_memcpy_fromio() 94 regaddr = swab16(regaddr); in cw1200_spi_memcpy_fromio() 131 u16 regaddr; in cw1200_spi_memcpy_toio() local [all …]
|
/drivers/staging/rtl8188eu/hal/ |
D | bb_cfg.c | 511 static void store_pwrindex_offset(struct adapter *Adapter, u32 regaddr, u32 bitmask, u32 data) in store_pwrindex_offset() argument 515 if (regaddr == rTxAGC_A_Rate18_06) in store_pwrindex_offset() 517 if (regaddr == rTxAGC_A_Rate54_24) in store_pwrindex_offset() 519 if (regaddr == rTxAGC_A_CCK1_Mcs32) in store_pwrindex_offset() 521 if (regaddr == rTxAGC_B_CCK11_A_CCK2_11 && bitmask == 0xffffff00) in store_pwrindex_offset() 523 if (regaddr == rTxAGC_A_Mcs03_Mcs00) in store_pwrindex_offset() 525 if (regaddr == rTxAGC_A_Mcs07_Mcs04) in store_pwrindex_offset() 527 if (regaddr == rTxAGC_A_Mcs11_Mcs08) in store_pwrindex_offset() 529 if (regaddr == rTxAGC_A_Mcs15_Mcs12) { in store_pwrindex_offset() 534 if (regaddr == rTxAGC_B_Rate18_06) in store_pwrindex_offset() [all …]
|
D | hal_intf.c | 260 u32 regaddr, u32 bitmask) in rtw_hal_read_rfreg() argument 265 data = adapt->HalFunc.read_rfreg(adapt, rfpath, regaddr, in rtw_hal_read_rfreg() 271 u32 regaddr, u32 bitmask, u32 data) in rtw_hal_write_rfreg() argument 274 adapt->HalFunc.write_rfreg(adapt, rfpath, regaddr, in rtw_hal_write_rfreg()
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | phy.c | 48 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92c_phy_query_rf_reg() argument 56 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg() 62 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 65 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 75 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg() 122 u32 regaddr, u32 bitmask, u32 data) in rtl92ce_phy_set_rf_reg() argument 130 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg() 138 regaddr); in rtl92ce_phy_set_rf_reg() 145 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92ce_phy_set_rf_reg() 150 regaddr); in rtl92ce_phy_set_rf_reg() [all …]
|
D | phy.h | 82 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 83 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 86 u32 regaddr, u32 bitmask); 88 u32 regaddr, u32 bitmask, u32 data); 130 u32 regaddr, u32 bitmask, u32 data);
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | phy.h | 77 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 78 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 82 u32 regaddr, u32 bitmask); 84 u32 regaddr, u32 bitmask, u32 data);
|
D | phy.c | 55 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92s_phy_query_bb_reg() argument 61 regaddr, bitmask); in rtl92s_phy_query_bb_reg() 63 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92s_phy_query_bb_reg() 68 bitmask, regaddr, originalvalue); in rtl92s_phy_query_bb_reg() 74 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, in rtl92s_phy_set_bb_reg() argument 82 regaddr, bitmask, data); in rtl92s_phy_set_bb_reg() 85 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92s_phy_set_bb_reg() 90 rtl_write_dword(rtlpriv, regaddr, data); in rtl92s_phy_set_bb_reg() 94 regaddr, bitmask, data); in rtl92s_phy_set_bb_reg() 181 u32 regaddr, u32 bitmask) in rtl92s_phy_query_rf_reg() argument [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | phy.c | 45 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument 53 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg() 56 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 59 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 65 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg() 71 u32 regaddr, u32 bitmask, u32 data) in rtl92cu_phy_set_rf_reg() argument 79 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg() 84 regaddr); in rtl92cu_phy_set_rf_reg() 90 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92cu_phy_set_rf_reg() 95 regaddr); in rtl92cu_phy_set_rf_reg() [all …]
|
D | sw.h | 46 u32 regaddr, u32 bitmask, u32 data); 50 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
D | phy.h | 38 enum radio_path rfpath, u32 regaddr, u32 bitmask); 41 u32 regaddr, u32 bitmask, u32 data);
|
/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | phy.h | 120 u32 regaddr, u32 bitmask); 122 u32 regaddr, u32 bitmask, u32 data); 124 enum radio_path rfpath, u32 regaddr, 127 enum radio_path rfpath, u32 regaddr,
|
D | phy.c | 63 u32 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_bb_reg() argument 69 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl92ee_phy_query_bb_reg() 70 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_query_bb_reg() 76 bitmask, regaddr, originalvalue); in rtl92ee_phy_query_bb_reg() 81 void rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl92ee_phy_set_bb_reg() argument 89 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg() 92 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_set_bb_reg() 97 rtl_write_dword(rtlpriv, regaddr, data); in rtl92ee_phy_set_bb_reg() 101 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg() 105 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument [all …]
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | phy.c | 57 u32 regaddr, u32 bitmask) in rtl8723e_phy_query_rf_reg() argument 66 regaddr, rfpath, bitmask); in rtl8723e_phy_query_rf_reg() 72 rfpath, regaddr); in rtl8723e_phy_query_rf_reg() 82 regaddr, rfpath, bitmask, original_value); in rtl8723e_phy_query_rf_reg() 89 u32 regaddr, u32 bitmask, u32 data) in rtl8723e_phy_set_rf_reg() argument 98 regaddr, bitmask, data, rfpath); in rtl8723e_phy_set_rf_reg() 106 regaddr); in rtl8723e_phy_set_rf_reg() 113 rtl8723_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg() 121 _rtl8723e_phy_fw_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg() 128 regaddr, bitmask, data, rfpath); in rtl8723e_phy_set_rf_reg() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | phy.c | 63 u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl88e_phy_query_bb_reg() argument 69 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl88e_phy_query_bb_reg() 70 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl88e_phy_query_bb_reg() 76 regaddr, originalvalue); in rtl88e_phy_query_bb_reg() 83 u32 regaddr, u32 bitmask, u32 data) in rtl88e_phy_set_bb_reg() argument 90 regaddr, bitmask, data); in rtl88e_phy_set_bb_reg() 93 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl88e_phy_set_bb_reg() 98 rtl_write_dword(rtlpriv, regaddr, data); in rtl88e_phy_set_bb_reg() 102 regaddr, bitmask, data); in rtl88e_phy_set_bb_reg() 106 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl88e_phy_query_rf_reg() argument [all …]
|
D | phy.h | 201 u32 regaddr, u32 bitmask); 203 u32 regaddr, u32 bitmask, u32 data); 205 enum radio_path rfpath, u32 regaddr, 208 enum radio_path rfpath, u32 regaddr,
|
/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | phy_common.c | 38 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92c_phy_query_bb_reg() argument 44 regaddr, bitmask); in rtl92c_phy_query_bb_reg() 45 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_query_bb_reg() 51 bitmask, regaddr, originalvalue); in rtl92c_phy_query_bb_reg() 58 u32 regaddr, u32 bitmask, u32 data) in rtl92c_phy_set_bb_reg() argument 65 regaddr, bitmask, data); in rtl92c_phy_set_bb_reg() 68 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_set_bb_reg() 73 rtl_write_dword(rtlpriv, regaddr, data); in rtl92c_phy_set_bb_reg() 77 regaddr, bitmask, data); in rtl92c_phy_set_bb_reg() 247 u32 regaddr, u32 bitmask, in _rtl92c_store_pwrIndex_diffrate_offset() argument [all …]
|
D | phy_common.h | 189 u32 regaddr, u32 bitmask); 191 u32 regaddr, u32 bitmask, u32 data); 193 enum radio_path rfpath, u32 regaddr, 250 u32 regaddr, u32 bitmask,
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | phy.h | 129 u32 regaddr, u32 bitmask); 131 u32 regaddr, u32 bitmask, u32 data); 133 enum radio_path rfpath, u32 regaddr, 136 enum radio_path rfpath, u32 regaddr,
|
D | phy.c | 201 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92d_phy_query_bb_reg() argument 208 regaddr, bitmask); in rtl92d_phy_query_bb_reg() 218 originalvalue = rtl92de_read_dword_dbi(hw, (u16)regaddr, in rtl92d_phy_query_bb_reg() 221 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92d_phy_query_bb_reg() 227 bitmask, regaddr, originalvalue); in rtl92d_phy_query_bb_reg() 232 u32 regaddr, u32 bitmask, u32 data) in rtl92d_phy_set_bb_reg() argument 241 regaddr, bitmask, data); in rtl92d_phy_set_bb_reg() 251 (u16) regaddr, in rtl92d_phy_set_bb_reg() 254 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92d_phy_set_bb_reg() 259 rtl92de_write_dword_dbi(hw, (u16) regaddr, data, dbi_direct); in rtl92d_phy_set_bb_reg() [all …]
|
/drivers/hwmon/ |
D | tmp401.c | 208 u8 regaddr; in tmp401_update_device_reg16() local 213 regaddr = data->kind == tmp432 ? in tmp401_update_device_reg16() 216 val = i2c_smbus_read_byte_data(client, regaddr); in tmp401_update_device_reg16() 222 regaddr = data->kind == tmp432 ? TMP432_TEMP_LSB[j][i] in tmp401_update_device_reg16() 224 val = i2c_smbus_read_byte_data(client, regaddr); in tmp401_update_device_reg16() 358 u8 regaddr; in store_temp() local 367 regaddr = data->kind == tmp432 ? TMP432_TEMP_MSB_WRITE[nr][index] in store_temp() 369 i2c_smbus_write_byte_data(client, regaddr, reg >> 8); in store_temp() 371 regaddr = data->kind == tmp432 ? TMP432_TEMP_LSB[nr][index] in store_temp() 373 i2c_smbus_write_byte_data(client, regaddr, reg & 0xFF); in store_temp()
|
/drivers/net/wireless/rtlwifi/rtl8723com/ |
D | phy_common.c | 34 u32 regaddr, u32 bitmask) in rtl8723_phy_query_bb_reg() argument 40 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl8723_phy_query_bb_reg() 41 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl8723_phy_query_bb_reg() 47 regaddr, originalvalue); in rtl8723_phy_query_bb_reg() 52 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl8723_phy_set_bb_reg() argument 59 "regaddr(%#x), bitmask(%#x), data(%#x)\n", regaddr, bitmask, in rtl8723_phy_set_bb_reg() 63 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl8723_phy_set_bb_reg() 68 rtl_write_dword(rtlpriv, regaddr, data); in rtl8723_phy_set_bb_reg() 72 regaddr, bitmask, data); in rtl8723_phy_set_bb_reg()
|
D | phy_common.h | 49 u32 regaddr, u32 bitmask); 50 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr,
|
/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | phy.h | 209 u32 regaddr, u32 bitmask); 211 u32 regaddr, u32 bitmask, u32 data); 213 enum radio_path rfpath, u32 regaddr, 216 enum radio_path rfpath, u32 regaddr,
|
/drivers/staging/rtl8188eu/include/ |
D | phy.h | 12 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/rtlwifi/rtl8723be/ |
D | phy.c | 53 u32 regaddr, u32 bitmask) in rtl8723be_phy_query_rf_reg() argument 61 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg() 65 original_value = rtl8723_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723be_phy_query_rf_reg() 73 regaddr, rfpath, bitmask, original_value); in rtl8723be_phy_query_rf_reg() 79 u32 regaddr, u32 bitmask, u32 data) in rtl8723be_phy_set_rf_reg() argument 87 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 93 regaddr); in rtl8723be_phy_set_rf_reg() 99 rtl8723_phy_rf_serial_write(hw, path, regaddr, data); in rtl8723be_phy_set_rf_reg() 105 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 186 u32 regaddr) in _rtl8723be_config_rf_reg() argument [all …]
|