Home
last modified time | relevance | path

Searched refs:early_h2c (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Ddebug.c3056 struct rtw89_early_h2c *early_h2c; in rtw89_debug_priv_early_h2c_get() local
3060 list_for_each_entry(early_h2c, &rtwdev->early_h2c_list, list) in rtw89_debug_priv_early_h2c_get()
3061 seq_printf(m, "%d: %*ph\n", ++seq, early_h2c->h2c_len, early_h2c->h2c); in rtw89_debug_priv_early_h2c_get()
3074 struct rtw89_early_h2c *early_h2c; in rtw89_debug_priv_early_h2c_set() local
3088 early_h2c = kmalloc(sizeof(*early_h2c), GFP_KERNEL); in rtw89_debug_priv_early_h2c_set()
3089 if (!early_h2c) { in rtw89_debug_priv_early_h2c_set()
3094 early_h2c->h2c = h2c; in rtw89_debug_priv_early_h2c_set()
3095 early_h2c->h2c_len = h2c_len; in rtw89_debug_priv_early_h2c_set()
3098 list_add_tail(&early_h2c->list, &rtwdev->early_h2c_list); in rtw89_debug_priv_early_h2c_set()
3641 rtw89_debugfs_add_rw(early_h2c); in rtw89_debugfs_init()
H A Dfw.c3279 struct rtw89_early_h2c *early_h2c; in rtw89_fw_send_all_early_h2c() local
3283 list_for_each_entry(early_h2c, &rtwdev->early_h2c_list, list) { in rtw89_fw_send_all_early_h2c()
3284 rtw89_fw_h2c_raw(rtwdev, early_h2c->h2c, early_h2c->h2c_len); in rtw89_fw_send_all_early_h2c()
3290 struct rtw89_early_h2c *early_h2c, *tmp; in rtw89_fw_free_all_early_h2c() local
3293 list_for_each_entry_safe(early_h2c, tmp, &rtwdev->early_h2c_list, list) { in rtw89_fw_free_all_early_h2c()
3294 list_del(&early_h2c->list); in rtw89_fw_free_all_early_h2c()
3295 kfree(early_h2c->h2c); in rtw89_fw_free_all_early_h2c()
3296 kfree(early_h2c); in rtw89_fw_free_all_early_h2c()