Lines Matching defs:log
538 /* It still works if log format file isn't existing. */
1027 kfree(fw->log.fmts);
1033 struct rtw89_fw_log *fw_log = &rtwdev->fw.log;
1048 struct rtw89_fw_log *log = &rtwdev->fw.log;
1050 struct rtw89_fw_suit *suit = &log->suit;
1057 log->fmt_ids = suit_hdr->ids;
1060 log->fmts = kcalloc(fmt_count, sizeof(char *), GFP_KERNEL);
1061 if (!log->fmts)
1069 (*log->fmts)[i] = fmts_ptr;
1070 log->last_fmt_id = le32_to_cpu(log->fmt_ids[i]);
1071 log->fmt_count++;
1080 struct rtw89_fw_log *log = &rtwdev->fw.log;
1081 struct rtw89_fw_suit *suit = &log->suit;
1084 rtw89_debug(rtwdev, RTW89_DBG_FW, "no log format file\n");
1087 if (log->fmts)
1097 const char *(*fmts)[] = rtwdev->fw.log.fmts;
1103 rtw89_warn(rtwdev, "C2H log: Arg count is unexpected %d\n",
1129 rtw89_info(rtwdev, "C2H log: %s", str_buf);
1139 rtw89_err(rtwdev, "c2h log length is wrong!\n");
1153 if (!rtwdev->fw.log.fmts)
1160 rtw89_info(rtwdev, "C2H log: %s%s",
1161 (*rtwdev->fw.log.fmts)[fmt_idx], log_fmt->u.raw);
1169 rtw89_info(rtwdev, "C2H log: %.*s", len, buf);
1379 rtw89_err(rtwdev, "failed to alloc skb for fw log cfg\n");