h2c 1402 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h struct h2c_cmd *h2c, int len); h2c 309 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c struct h2c_cmd h2c; h2c 312 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 313 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; h2c 314 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); h2c 315 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.opcode = BT_MP_OP_WRITE_REG_VALUE; h2c 316 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.data = data; h2c 317 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_mp_oper)); h2c 320 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 321 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; h2c 322 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); h2c 323 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.opcode = BT_MP_OP_WRITE_REG_VALUE; h2c 324 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_mp_oper.addr = reg; h2c 325 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_mp_oper)); h2c 1489 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c struct h2c_cmd h2c; h2c 1520 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 1521 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_grant.cmd = H2C_8723B_BT_GRANT; h2c 1522 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_grant.data = 0; h2c 1523 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_grant)); h2c 1564 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 1565 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.ant_sel_rsv.cmd = H2C_8723B_ANT_SEL_RSV; h2c 1566 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.ant_sel_rsv.ant_inverse = 1; h2c 1567 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.ant_sel_rsv.int_switch_type = 0; h2c 1568 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.ant_sel_rsv)); h2c 1592 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 1593 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_info.cmd = H2C_8723B_BT_INFO; h2c 1594 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.bt_info.data = BIT(0); h2c 1595 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_info)); h2c 1597 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 1598 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.ignore_wlan.cmd = H2C_8723B_BT_IGNORE_WLANACT; h2c 1599 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c h2c.ignore_wlan.data = 0; h2c 1600 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.ignore_wlan)); h2c 890 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen1_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) h2c 923 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write16(priv, mbox_ext_reg, le16_to_cpu(h2c->raw.ext)); h2c 926 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c le16_to_cpu(h2c->raw.ext)); h2c 928 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); h2c 930 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); h2c 940 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen2_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) h2c 974 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c le32_to_cpu(h2c->raw_wide.ext)); h2c 977 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c le32_to_cpu(h2c->raw_wide.ext)); h2c 979 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); h2c 981 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); h2c 3318 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 3320 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 3321 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.bt_wlan_calibration.cmd = H2C_8723B_BT_WLAN_CALIBRATION; h2c 3322 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.bt_wlan_calibration.data = start; h2c 3324 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_wlan_calibration)); h2c 3827 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 3829 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 3830 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.cmd = H2C_8723B_B_TYPE_TDMA; h2c 3831 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.data1 = arg1; h2c 3832 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.data2 = arg2; h2c 3833 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.data3 = arg3; h2c 3834 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.data4 = arg4; h2c 3835 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_type_dma.data5 = arg5; h2c 3836 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.b_type_dma)); h2c 4312 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 4314 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 4316 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.cmd = H2C_SET_RATE_MASK; h2c 4317 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.mask_lo = cpu_to_le16(ramask & 0xffff); h2c 4318 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.mask_hi = cpu_to_le16(ramask >> 16); h2c 4320 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.arg = 0x80; h2c 4322 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.arg |= 0x20; h2c 4325 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __func__, ramask, h2c.ramask.arg, sizeof(h2c.ramask)); h2c 4326 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen1_h2c_cmd(priv, &h2c, sizeof(h2c.ramask)); h2c 4332 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 4335 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 4337 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.cmd = H2C_8723B_MACID_CFG_RAID; h2c 4338 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.ramask0 = ramask & 0xff; h2c 4339 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.ramask1 = (ramask >> 8) & 0xff; h2c 4340 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.ramask2 = (ramask >> 16) & 0xff; h2c 4341 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.ramask3 = (ramask >> 24) & 0xff; h2c 4343 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.ramask.arg = 0x80; h2c 4344 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.data1 = 0; h2c 4346 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.data1 |= BIT(7); h2c 4348 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.b_macid_cfg.data2 = bw; h2c 4351 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __func__, ramask, h2c.ramask.arg, sizeof(h2c.b_macid_cfg)); h2c 4352 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.b_macid_cfg)); h2c 4358 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 4360 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 4362 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.joinbss.cmd = H2C_JOIN_BSS_REPORT; h2c 4365 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.joinbss.data = H2C_JOIN_BSS_CONNECT; h2c 4367 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.joinbss.data = H2C_JOIN_BSS_DISCONNECT; h2c 4369 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen1_h2c_cmd(priv, &h2c, sizeof(h2c.joinbss)); h2c 4382 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct h2c_cmd h2c; h2c 4384 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&h2c, 0, sizeof(struct h2c_cmd)); h2c 4386 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.media_status_rpt.cmd = H2C_8723B_MEDIA_STATUS_RPT; h2c 4388 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.media_status_rpt.parm |= BIT(0); h2c 4390 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c h2c.media_status_rpt.parm &= ~BIT(0); h2c 4392 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.media_status_rpt)); h2c 492 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c u8 h2c[4] = { 0 }; h2c 509 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[3] = 0; h2c 510 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); h2c 511 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[1] = 0x20; h2c 512 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[0] = ++i; h2c 513 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c rtl92ee_fill_h2c_cmd(hw, H2C_92E_RSSI_REPORT, 4, h2c); h2c 537 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[3] = 0; h2c 538 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); h2c 539 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[1] = 0x20; h2c 540 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c h2c[0] = 0; h2c 541 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c rtl92ee_fill_h2c_cmd(hw, H2C_92E_RSSI_REPORT, 4, h2c); h2c 87 drivers/net/wireless/realtek/rtw88/fw.c u8 *h2c) h2c 97 drivers/net/wireless/realtek/rtw88/fw.c h2c[3], h2c[2], h2c[1], h2c[0], h2c 98 drivers/net/wireless/realtek/rtw88/fw.c h2c[7], h2c[6], h2c[5], h2c[4]); h2c 100 drivers/net/wireless/realtek/rtw88/fw.c spin_lock(&rtwdev->h2c.lock); h2c 102 drivers/net/wireless/realtek/rtw88/fw.c box = rtwdev->h2c.last_box_num; h2c 136 drivers/net/wireless/realtek/rtw88/fw.c rtw_write8(rtwdev, box_reg + idx, h2c[idx]); h2c 138 drivers/net/wireless/realtek/rtw88/fw.c rtw_write8(rtwdev, box_ex_reg + idx, h2c[idx + 4]); h2c 140 drivers/net/wireless/realtek/rtw88/fw.c if (++rtwdev->h2c.last_box_num >= 4) h2c 141 drivers/net/wireless/realtek/rtw88/fw.c rtwdev->h2c.last_box_num = 0; h2c 144 drivers/net/wireless/realtek/rtw88/fw.c spin_unlock(&rtwdev->h2c.lock); h2c 151 drivers/net/wireless/realtek/rtw88/fw.c spin_lock(&rtwdev->h2c.lock); h2c 153 drivers/net/wireless/realtek/rtw88/fw.c FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, rtwdev->h2c.seq); h2c 157 drivers/net/wireless/realtek/rtw88/fw.c rtwdev->h2c.seq++; h2c 159 drivers/net/wireless/realtek/rtw88/fw.c spin_unlock(&rtwdev->h2c.lock); h2c 707 drivers/net/wireless/realtek/rtw88/mac.c rtwdev->h2c.last_box_num = 0; h2c 708 drivers/net/wireless/realtek/rtw88/mac.c rtwdev->h2c.seq = 0; h2c 1166 drivers/net/wireless/realtek/rtw88/main.c spin_lock_init(&rtwdev->h2c.lock); h2c 1360 drivers/net/wireless/realtek/rtw88/main.h } h2c;