Lines Matching refs:h2c
3049 u8 *h2c; in rtw89_debug_priv_send_h2c_set() local
3053 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_debug_priv_send_h2c_set()
3054 if (IS_ERR(h2c)) in rtw89_debug_priv_send_h2c_set()
3057 ret = rtw89_fw_h2c_raw(rtwdev, h2c, h2c_len); in rtw89_debug_priv_send_h2c_set()
3059 kfree(h2c); in rtw89_debug_priv_send_h2c_set()
3074 seq_printf(m, "%d: %*ph\n", ++seq, early_h2c->h2c_len, early_h2c->h2c); in rtw89_debug_priv_early_h2c_get()
3088 u8 *h2c; in rtw89_debug_priv_early_h2c_set() local
3091 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); in rtw89_debug_priv_early_h2c_set()
3092 if (IS_ERR(h2c)) in rtw89_debug_priv_early_h2c_set()
3095 if (h2c_len >= 2 && h2c[0] == 0x00 && h2c[1] == 0x00) { in rtw89_debug_priv_early_h2c_set()
3096 kfree(h2c); in rtw89_debug_priv_early_h2c_set()
3103 kfree(h2c); in rtw89_debug_priv_early_h2c_set()
3107 early_h2c->h2c = h2c; in rtw89_debug_priv_early_h2c_set()