Lines Matching refs:h2c
87 u8 *h2c) in rtw_fw_send_h2c_command() argument
97 h2c[3], h2c[2], h2c[1], h2c[0], in rtw_fw_send_h2c_command()
98 h2c[7], h2c[6], h2c[5], h2c[4]); in rtw_fw_send_h2c_command()
100 spin_lock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_command()
102 box = rtwdev->h2c.last_box_num; in rtw_fw_send_h2c_command()
136 rtw_write8(rtwdev, box_reg + idx, h2c[idx]); in rtw_fw_send_h2c_command()
138 rtw_write8(rtwdev, box_ex_reg + idx, h2c[idx + 4]); in rtw_fw_send_h2c_command()
140 if (++rtwdev->h2c.last_box_num >= 4) in rtw_fw_send_h2c_command()
141 rtwdev->h2c.last_box_num = 0; in rtw_fw_send_h2c_command()
144 spin_unlock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_command()
151 spin_lock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_packet()
153 FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, rtwdev->h2c.seq); in rtw_fw_send_h2c_packet()
157 rtwdev->h2c.seq++; in rtw_fw_send_h2c_packet()
159 spin_unlock(&rtwdev->h2c.lock); in rtw_fw_send_h2c_packet()