Lines Matching refs:strbuf
228 struct bcmstrbuf *strbuf = &b; in dhd_dump() local
230 bcm_binit(strbuf, buf, buflen); in dhd_dump()
233 bcm_bprintf(strbuf, "%s\n", dhd_version); in dhd_dump()
234 bcm_bprintf(strbuf, "\n"); in dhd_dump()
235 bcm_bprintf(strbuf, "pub.up %d pub.txoff %d pub.busstate %d\n", in dhd_dump()
237 bcm_bprintf(strbuf, "pub.hdrlen %u pub.maxctl %u pub.rxsz %u\n", in dhd_dump()
239 bcm_bprintf(strbuf, "pub.iswl %d pub.drv_version %ld pub.mac %s\n", in dhd_dump()
241 bcm_bprintf(strbuf, "pub.bcmerror %d tickcnt %u\n", dhdp->bcmerror, dhdp->tickcnt); in dhd_dump()
243 bcm_bprintf(strbuf, "dongle stats:\n"); in dhd_dump()
244 bcm_bprintf(strbuf, "tx_packets %lu tx_bytes %lu tx_errors %lu tx_dropped %lu\n", in dhd_dump()
247 bcm_bprintf(strbuf, "rx_packets %lu rx_bytes %lu rx_errors %lu rx_dropped %lu\n", in dhd_dump()
250 bcm_bprintf(strbuf, "multicast %lu\n", dhdp->dstats.multicast); in dhd_dump()
252 bcm_bprintf(strbuf, "bus stats:\n"); in dhd_dump()
253 bcm_bprintf(strbuf, "tx_packets %lu tx_multicast %lu tx_errors %lu\n", in dhd_dump()
255 bcm_bprintf(strbuf, "tx_ctlpkts %lu tx_ctlerrs %lu\n", in dhd_dump()
257 bcm_bprintf(strbuf, "rx_packets %lu rx_multicast %lu rx_errors %lu \n", in dhd_dump()
259 bcm_bprintf(strbuf, "rx_ctlpkts %lu rx_ctlerrs %lu rx_dropped %lu\n", in dhd_dump()
261 bcm_bprintf(strbuf, "rx_readahead_cnt %lu tx_realloc %lu\n", in dhd_dump()
263 bcm_bprintf(strbuf, "\n"); in dhd_dump()
266 dhd_prot_dump(dhdp, strbuf); in dhd_dump()
267 bcm_bprintf(strbuf, "\n"); in dhd_dump()
270 dhd_bus_dump(dhdp, strbuf); in dhd_dump()
272 return (!strbuf->size ? BCME_BUFTOOSHORT : 0); in dhd_dump()