Lines Matching refs:h2c
2125 u8 *h2c; in rtw89_debug_priv_send_h2c_set() local
2128 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_debug_priv_send_h2c_set()
2129 if (IS_ERR(h2c)) in rtw89_debug_priv_send_h2c_set()
2132 rtw89_fw_h2c_raw(rtwdev, h2c, h2c_len); in rtw89_debug_priv_send_h2c_set()
2134 kfree(h2c); in rtw89_debug_priv_send_h2c_set()
2149 seq_printf(m, "%d: %*ph\n", ++seq, early_h2c->h2c_len, early_h2c->h2c); in rtw89_debug_priv_early_h2c_get()
2163 u8 *h2c; in rtw89_debug_priv_early_h2c_set() local
2166 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_debug_priv_early_h2c_set()
2167 if (IS_ERR(h2c)) in rtw89_debug_priv_early_h2c_set()
2170 if (h2c_len >= 2 && h2c[0] == 0x00 && h2c[1] == 0x00) { in rtw89_debug_priv_early_h2c_set()
2171 kfree(h2c); in rtw89_debug_priv_early_h2c_set()
2178 kfree(h2c); in rtw89_debug_priv_early_h2c_set()
2182 early_h2c->h2c = h2c; in rtw89_debug_priv_early_h2c_set()