Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/bcmdhd/
Ddhd_common.c228 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()
[all …]
Ddhd_wlfc.c66 dhd_wlfc_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf) in dhd_wlfc_dump() argument
78 bcm_bprintf(strbuf, "wlfc not initialized yet\n"); in dhd_wlfc_dump()
83 bcm_bprintf(strbuf, "wlfc-hanger not initialized yet\n"); in dhd_wlfc_dump()
88 bcm_bprintf(strbuf, "---- wlfc stats ----\n"); in dhd_wlfc_dump()
90 bcm_bprintf(strbuf, "wlfc hanger (pushed,popped,f_push," in dhd_wlfc_dump()
100 bcm_bprintf(strbuf, "wlfc fail(tlv,credit_rqst,mac_update,psmode_update), " in dhd_wlfc_dump()
109 bcm_bprintf(strbuf, "PKTS (credit,sent) " in dhd_wlfc_dump()
117 bcm_bprintf(strbuf, "\n"); in dhd_wlfc_dump()
128 bcm_bprintf(strbuf, "INTERFACE[%d].ea = " in dhd_wlfc_dump()
136 bcm_bprintf(strbuf, "INTERFACE[%d].DELAYQ(len,state,credit)" in dhd_wlfc_dump()
[all …]
Ddhd_sdio.c2820 dhd_dump_pct(struct bcmstrbuf *strbuf, char *desc, uint num, uint div) in dhd_dump_pct() argument
2825 bcm_bprintf(strbuf, "%s N/A", desc); in dhd_dump_pct()
2829 bcm_bprintf(strbuf, "%s %d.%02d", desc, q1, q2); in dhd_dump_pct()
2834 dhd_bus_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf) in dhd_bus_dump() argument
2838 bcm_bprintf(strbuf, "Bus SDIO structure:\n"); in dhd_bus_dump()
2839 bcm_bprintf(strbuf, "hostintmask 0x%08x intstatus 0x%08x sdpcm_ver %d\n", in dhd_bus_dump()
2841 bcm_bprintf(strbuf, "fcstate %d qlen %u tx_seq %d, max %d, rxskip %d rxlen %u rx_seq %d\n", in dhd_bus_dump()
2844 bcm_bprintf(strbuf, "intr %d intrcount %u lastintrs %u spurious %u\n", in dhd_bus_dump()
2846 bcm_bprintf(strbuf, "pollrate %u pollcnt %u regfails %u\n", in dhd_bus_dump()
2849 bcm_bprintf(strbuf, "\nAdditional counters:\n"); in dhd_bus_dump()
[all …]
Ddhd_proto.h77 extern void dhd_prot_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
Ddhd_bus.h85 extern void dhd_bus_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
Ddhd_cdc.c342 dhd_prot_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf) in dhd_prot_dump() argument
344 bcm_bprintf(strbuf, "Protocol CDC: reqid %d\n", dhdp->prot->reqid); in dhd_prot_dump()
347 dhd_wlfc_dump(dhdp, strbuf); in dhd_prot_dump()
Ddhd_wlfc.h288 void dhd_wlfc_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
/drivers/acpi/
Dproc.c346 char strbuf[5]; in acpi_system_write_wakeup_device() local
355 if (copy_from_user(strbuf, buffer, len)) in acpi_system_write_wakeup_device()
357 strbuf[len] = '\0'; in acpi_system_write_wakeup_device()
358 sscanf(strbuf, "%s", str); in acpi_system_write_wakeup_device()
/drivers/staging/tidspbridge/dynload/
Dcload.c594 char *strbuf; in dload_strings() local
608 strbuf = (char *)dlthis->mysym->dload_allocate(dlthis->mysym, ssiz + in dload_strings()
612 strbuf = (char *)dlthis->mysym->dload_allocate(dlthis->mysym, ssiz); in dload_strings()
614 if (strbuf == NULL) { in dload_strings()
618 dlthis->str_head = strbuf; in dload_strings()
620 dlthis->str_temp = strbuf + ssiz; in dload_strings()
623 if ((unsigned)(dlthis->strm->read_buffer(dlthis->strm, strbuf, in dload_strings()
630 dload_reorder(strbuf, ssiz, dlthis->reorder_map); in dload_strings()
632 if ((!sec_names_only) && (~dload_checksum(strbuf, ssiz) != in dload_strings()
640 dload_reorder(strbuf, ssiz, in dload_strings()
[all …]
/drivers/net/wimax/i2400m/
Dcontrol.c283 char *strbuf, size_t strbuf_size) in i2400m_msg_check_status() argument
298 if (strbuf) in i2400m_msg_check_status()
299 snprintf(strbuf, strbuf_size, "%s (%d)", str, status); in i2400m_msg_check_status()
/drivers/video/sis/
Dsis_main.c154 char strbuf[16], strbuf1[20]; in sisfb_search_mode() local
186 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode()
187 nameptr = strbuf; in sisfb_search_mode()
190 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode()
191 nameptr = strbuf; in sisfb_search_mode()
195 sprintf(strbuf, "%ux%ux8", xres, yres); in sisfb_search_mode()
196 nameptr = strbuf; in sisfb_search_mode()
/drivers/video/aty/
Datyfb_base.c3196 char strbuf[16]; in aty_init_lcd() local
3298 sprintf(strbuf, "%d", in aty_init_lcd()
3302 sprintf(strbuf, ",%d", in aty_init_lcd()
3305 strcat(refresh_rates_buf, strbuf); in aty_init_lcd()
/drivers/staging/android/
Dbinder.c3006 char strbuf[11]; in binder_open() local
3007 snprintf(strbuf, sizeof(strbuf), "%u", proc->pid); in binder_open()
3008 proc->debugfs_entry = debugfs_create_file(strbuf, S_IRUGO, in binder_open()
/drivers/scsi/
Dgdth.c201 static char strbuf[MAX_SERBUF+1]; variable
251 i = vsprintf(strbuf,fmt,args); in ser_printk()
252 ser_puts(strbuf); in ser_printk()