Searched refs:h2c (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8723b.c | 309 struct h2c_cmd h2c; in rtl8723bu_write_btreg() local 312 memset(&h2c, 0, sizeof(struct h2c_cmd)); in rtl8723bu_write_btreg() 313 h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; in rtl8723bu_write_btreg() 314 h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); in rtl8723bu_write_btreg() 315 h2c.bt_mp_oper.opcode = BT_MP_OP_WRITE_REG_VALUE; in rtl8723bu_write_btreg() 316 h2c.bt_mp_oper.data = data; in rtl8723bu_write_btreg() 317 rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_mp_oper)); in rtl8723bu_write_btreg() 320 memset(&h2c, 0, sizeof(struct h2c_cmd)); in rtl8723bu_write_btreg() 321 h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; in rtl8723bu_write_btreg() 322 h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); in rtl8723bu_write_btreg() [all …]
|
D | rtl8xxxu_core.c | 890 rtl8xxxu_gen1_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) in rtl8xxxu_gen1_h2c_cmd() argument 923 rtl8xxxu_write16(priv, mbox_ext_reg, le16_to_cpu(h2c->raw.ext)); in rtl8xxxu_gen1_h2c_cmd() 926 le16_to_cpu(h2c->raw.ext)); in rtl8xxxu_gen1_h2c_cmd() 928 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen1_h2c_cmd() 930 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen1_h2c_cmd() 940 rtl8xxxu_gen2_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) in rtl8xxxu_gen2_h2c_cmd() argument 974 le32_to_cpu(h2c->raw_wide.ext)); in rtl8xxxu_gen2_h2c_cmd() 977 le32_to_cpu(h2c->raw_wide.ext)); in rtl8xxxu_gen2_h2c_cmd() 979 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen2_h2c_cmd() 981 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen2_h2c_cmd() [all …]
|
D | rtl8xxxu.h | 1503 struct h2c_cmd *h2c, int len);
|
/drivers/net/wireless/realtek/rtw88/ |
D | fw.c | 206 u8 *h2c) in rtw_fw_send_h2c_command() argument 216 h2c[3], h2c[2], h2c[1], h2c[0], in rtw_fw_send_h2c_command() 217 h2c[7], h2c[6], h2c[5], h2c[4]); in rtw_fw_send_h2c_command() 219 spin_lock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_command() 221 box = rtwdev->h2c.last_box_num; in rtw_fw_send_h2c_command() 254 rtw_write8(rtwdev, box_reg + idx, h2c[idx]); in rtw_fw_send_h2c_command() 256 rtw_write8(rtwdev, box_ex_reg + idx, h2c[idx + 4]); in rtw_fw_send_h2c_command() 258 if (++rtwdev->h2c.last_box_num >= 4) in rtw_fw_send_h2c_command() 259 rtwdev->h2c.last_box_num = 0; in rtw_fw_send_h2c_command() 262 spin_unlock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_command() [all …]
|
D | mac.c | 740 rtwdev->h2c.last_box_num = 0; in __rtw_download_firmware() 741 rtwdev->h2c.seq = 0; in __rtw_download_firmware() 883 rtwdev->h2c.last_box_num = 0; in __rtw_download_firmware_legacy() 884 rtwdev->h2c.seq = 0; in __rtw_download_firmware_legacy()
|
D | fw.h | 580 void rtw_fw_h2c_cmd_dbg(struct rtw_dev *rtwdev, u8 *h2c);
|
D | debug.c | 933 rtw_debugfs_add_w(h2c); in rtw_debugfs_init()
|
D | main.h | 1739 } h2c; member
|
D | main.c | 1633 spin_lock_init(&rtwdev->h2c.lock); in rtw_core_init()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 374 u8 h2c[4] = { 0 }; in rtl92ee_dm_check_rssi_monitor() local 391 h2c[3] = 0; in rtl92ee_dm_check_rssi_monitor() 392 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor() 393 h2c[1] = 0x20; in rtl92ee_dm_check_rssi_monitor() 394 h2c[0] = ++i; in rtl92ee_dm_check_rssi_monitor() 395 rtl92ee_fill_h2c_cmd(hw, H2C_92E_RSSI_REPORT, 4, h2c); in rtl92ee_dm_check_rssi_monitor() 419 h2c[3] = 0; in rtl92ee_dm_check_rssi_monitor() 420 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor() 421 h2c[1] = 0x20; in rtl92ee_dm_check_rssi_monitor() 422 h2c[0] = 0; in rtl92ee_dm_check_rssi_monitor() [all …]
|