Home
last modified time | relevance | path

Searched refs:h2c (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8723b.c317 struct h2c_cmd h2c; in rtl8723bu_write_btreg() local
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()
323 h2c.bt_mp_oper.opcode = BT_MP_OP_WRITE_REG_VALUE; in rtl8723bu_write_btreg()
324 h2c.bt_mp_oper.data = data; in rtl8723bu_write_btreg()
325 rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_mp_oper)); in rtl8723bu_write_btreg()
328 memset(&h2c, 0, sizeof(struct h2c_cmd)); in rtl8723bu_write_btreg()
329 h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; in rtl8723bu_write_btreg()
330 h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); in rtl8723bu_write_btreg()
[all …]
Drtl8xxxu_core.c898 rtl8xxxu_gen1_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) in rtl8xxxu_gen1_h2c_cmd() argument
931 rtl8xxxu_write16(priv, mbox_ext_reg, le16_to_cpu(h2c->raw.ext)); in rtl8xxxu_gen1_h2c_cmd()
934 le16_to_cpu(h2c->raw.ext)); in rtl8xxxu_gen1_h2c_cmd()
936 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen1_h2c_cmd()
938 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen1_h2c_cmd()
948 rtl8xxxu_gen2_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) in rtl8xxxu_gen2_h2c_cmd() argument
982 le32_to_cpu(h2c->raw_wide.ext)); in rtl8xxxu_gen2_h2c_cmd()
985 le32_to_cpu(h2c->raw_wide.ext)); in rtl8xxxu_gen2_h2c_cmd()
987 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen2_h2c_cmd()
989 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); in rtl8xxxu_gen2_h2c_cmd()
[all …]
Drtl8xxxu.h1409 struct h2c_cmd *h2c, int len);
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c514 u8 h2c[4] = { 0 }; in rtl92ee_dm_check_rssi_monitor() local
531 h2c[3] = 0; in rtl92ee_dm_check_rssi_monitor()
532 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor()
533 h2c[1] = 0x20; in rtl92ee_dm_check_rssi_monitor()
534 h2c[0] = ++i; in rtl92ee_dm_check_rssi_monitor()
535 rtl92ee_fill_h2c_cmd(hw, H2C_92E_RSSI_REPORT, 4, h2c); in rtl92ee_dm_check_rssi_monitor()
559 h2c[3] = 0; in rtl92ee_dm_check_rssi_monitor()
560 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor()
561 h2c[1] = 0x20; in rtl92ee_dm_check_rssi_monitor()
562 h2c[0] = 0; in rtl92ee_dm_check_rssi_monitor()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/halmac/
Drtl_halmac.h40 int rtl_halmac_send_h2c(struct rtl_priv *rtlpriv, u8 *h2c);
Drtl_halmac.c879 int rtl_halmac_send_h2c(struct rtl_priv *rtlpriv, u8 *h2c) in rtl_halmac_send_h2c() argument
890 if (!h2c) { in rtl_halmac_send_h2c()
909 memcpy((u8 *)(&h2c_cmd_ex), h2c + 4, EX_MESSAGE_BOX_SIZE); in rtl_halmac_send_h2c()
914 memcpy((u8 *)(&h2c_cmd), h2c, 4); in rtl_halmac_send_h2c()