Home
last modified time | relevance | path

Searched refs:h2c_info (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c2629 struct rtw89_mac_h2c_info h2c_info = {0}; in rtw89_mac_read_phycap() local
2632 h2c_info.id = RTW89_FWCMD_H2CREG_FUNC_GET_FEATURE; in rtw89_mac_read_phycap()
2633 h2c_info.content_len = 0; in rtw89_mac_read_phycap()
2635 ret = rtw89_fw_msg_reg(rtwdev, &h2c_info, c2h_info); in rtw89_mac_read_phycap()
2707 struct rtw89_mac_h2c_info h2c_info = {0}; in rtw89_hw_sch_tx_en_h2c() local
2708 struct rtw89_h2creg_sch_tx_en *sch_tx_en = &h2c_info.u.sch_tx_en; in rtw89_hw_sch_tx_en_h2c()
2710 h2c_info.id = RTW89_FWCMD_H2CREG_FUNC_SCH_TX_EN; in rtw89_hw_sch_tx_en_h2c()
2711 h2c_info.content_len = sizeof(*sch_tx_en) - RTW89_H2CREG_HDR_LEN; in rtw89_hw_sch_tx_en_h2c()
2717 ret = rtw89_fw_msg_reg(rtwdev, &h2c_info, &c2h_info); in rtw89_hw_sch_tx_en_h2c()
H A Dfw.c3463 struct rtw89_mac_h2c_info *h2c_info, in rtw89_fw_msg_reg() argument
3468 if (h2c_info && h2c_info->id != RTW89_FWCMD_H2CREG_FUNC_GET_FEATURE) in rtw89_fw_msg_reg()
3471 if (!h2c_info && !c2h_info) in rtw89_fw_msg_reg()
3474 if (!h2c_info) in rtw89_fw_msg_reg()
3477 ret = rtw89_fw_write_h2c_reg(rtwdev, h2c_info); in rtw89_fw_msg_reg()
H A Dfw.h3713 struct rtw89_mac_h2c_info *h2c_info,