Lines Matching refs:strbuf

255 	struct bcmstrbuf strbuf;  in dhd_read_proc_ts_tx_dump()  local
274 bcm_binit(&strbuf, buf, count); in dhd_read_proc_ts_tx_dump()
275 bcm_bprintf(&strbuf, "Tx Log dump\n"); in dhd_read_proc_ts_tx_dump()
276 dhd_timesync_ts_log_dump_item(&ts->tx_timestamps, &strbuf); in dhd_read_proc_ts_tx_dump()
277 ret = simple_read_from_buffer(user_buf, count, loff, buf, (count - strbuf.size)); in dhd_read_proc_ts_tx_dump()
293 struct bcmstrbuf strbuf; in dhd_read_proc_ts_rx_dump() local
312 bcm_binit(&strbuf, buf, count); in dhd_read_proc_ts_rx_dump()
313 bcm_bprintf(&strbuf, "Rx Log dump\n"); in dhd_read_proc_ts_rx_dump()
314 dhd_timesync_ts_log_dump_item(&ts->rx_timestamps, &strbuf); in dhd_read_proc_ts_rx_dump()
315 ret = simple_read_from_buffer(user_buf, count, loff, buf, (count - strbuf.size)); in dhd_read_proc_ts_rx_dump()
437 struct bcmstrbuf *strbuf = &b; in dhd_timesync_ts_log_dump() local
439 bcm_binit(strbuf, buf, buflen); in dhd_timesync_ts_log_dump()
442 bcm_bprintf(strbuf, "Tx Log dump\t"); in dhd_timesync_ts_log_dump()
443 dhd_timesync_ts_log_dump_item(&ts->tx_timestamps, strbuf); in dhd_timesync_ts_log_dump()
446 bcm_bprintf(strbuf, "Rx Log dump\n"); in dhd_timesync_ts_log_dump()
447 dhd_timesync_ts_log_dump_item(&ts->rx_timestamps, strbuf); in dhd_timesync_ts_log_dump()
504 struct bcmstrbuf *strbuf = &b; in dhd_timesync_dump() local
506 bcm_binit(strbuf, buf, buflen); in dhd_timesync_dump()
508 bcm_bprintf(strbuf, "ts info dump: active_ipc_version %d\n", ts->active_ipc_version); in dhd_timesync_dump()
509 bcm_bprintf(strbuf, "timesync disabled %d\n", ts->timesync_disabled); in dhd_timesync_dump()
510 bcm_bprintf(strbuf, "Host TS dump cnt %d, fw TS dump cnt %d, descrepency %d\n", in dhd_timesync_dump()
512 bcm_bprintf(strbuf, "ts_watchdog calls %d reset cnt %d\n", in dhd_timesync_dump()
514 bcm_bprintf(strbuf, "xt_ids tag/ID %d/%d, %d/%d, %d/%d, %d/%d\n", in dhd_timesync_dump()
519 bcm_bprintf(strbuf, "pending requests %d suspend req %d resume req %d\n", in dhd_timesync_dump()
801 struct bcmstrbuf *strbuf = &b; in dhd_ts_fw_clksrc_dump() local
808 bcm_binit(strbuf, buf, buflen); in dhd_ts_fw_clksrc_dump()
813 bcm_bprintf(strbuf, "clkID %d: not in use\n", i); in dhd_ts_fw_clksrc_dump()
816 bcm_bprintf(strbuf, "clkID %d: name %s Max idx %d, cur_idx %d\n", in dhd_ts_fw_clksrc_dump()
820 bcm_bprintf(strbuf, "%03d: %03d: 0x%08x-0x%08x\n", j, in dhd_ts_fw_clksrc_dump()