Home
last modified time | relevance | path

Searched refs:debug_buffer (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/s390/cio/
H A Dqdio_debug.h30 char debug_buffer[QDIO_DBF_LEN]; \
31 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
32 debug_text_event(qdio_dbf_setup, DBF_ERR, debug_buffer); \
42 char debug_buffer[QDIO_DBF_LEN]; \
43 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
44 debug_text_event(qdio_dbf_error, DBF_ERR, debug_buffer); \
54 char debug_buffer[QDIO_DBF_LEN]; \
56 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
57 debug_text_event(device->debug_area, level, debug_buffer); \
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c35 char *debug_buffer; member
55 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwtrc()
63 fw_debug->debug_buffer, in bnad_debugfs_open_fwtrc()
67 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwtrc()
68 fw_debug->debug_buffer = NULL; in bnad_debugfs_open_fwtrc()
95 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwsave()
103 fw_debug->debug_buffer, in bnad_debugfs_open_fwsave()
107 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwsave()
108 fw_debug->debug_buffer = NULL; in bnad_debugfs_open_fwsave()
195 if (!drv_info->debug_buffer) { in bnad_debugfs_open_drvinfo()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfad_debugfs.c37 char *debug_buffer; member
77 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwtrc()
86 fw_debug->debug_buffer, in bfad_debugfs_open_fwtrc()
90 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwtrc()
91 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwtrc()
119 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwsave()
128 fw_debug->debug_buffer, in bfad_debugfs_open_fwsave()
132 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwsave()
133 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwsave()
176 if (!debug || !debug->debug_buffer) in bfad_debugfs_read()
[all …]
/openbmc/u-boot/drivers/misc/
H A Di2c_eeprom_emul.c16 #define debug_buffer print_buffer macro
18 #define debug_buffer(x, ...) macro
54 debug_buffer(0, priv->data, 1, 16, 0); in sandbox_i2c_eeprom_xfer()
78 debug_buffer(0, msg->buf, 1, msg->len, 0); in sandbox_i2c_eeprom_xfer()
86 debug_buffer(0, msg->buf, 1, msg->len, 0); in sandbox_i2c_eeprom_xfer()
101 debug_buffer(0, priv->data, 1, 16, 0); in sandbox_i2c_eeprom_xfer()
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_trace.c209 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
214 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
232 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
236 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
269 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
273 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
278 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
307 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
312 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
326 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
[all …]
H A Dfnic_debugfs.c587 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
588 if (!debug->debug_buffer) { in fnic_stats_debugfs_open()
594 memset((void *)debug->debug_buffer, 0, buf_size); in fnic_stats_debugfs_open()
626 debug->debug_buffer, in fnic_stats_debugfs_read()
648 vfree(debug->debug_buffer); in fnic_stats_debugfs_release()
H A Dfnic_stats.h120 char *debug_buffer; member
/openbmc/linux/arch/s390/include/asm/
H A Dpci_debug.h15 char debug_buffer[16]; \
16 snprintf(debug_buffer, 16, text); \
17 debug_text_event(pci_debug_err_id, 0, debug_buffer); \
/openbmc/linux/drivers/usb/host/
H A Dohci-dbg.c391 struct debug_buffer { struct
392 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument
465 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
486 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
581 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer()
666 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument
668 struct debug_buffer *buf; in alloc_buffer()
670 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer()
681 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
707 struct debug_buffer *buf = file->private_data; in debug_output()
[all …]
H A Dehci-dbg.c333 struct debug_buffer { struct
470 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
510 static ssize_t fill_bandwidth_buffer(struct debug_buffer *buf) in fill_bandwidth_buffer()
621 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
915 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, in alloc_buffer()
916 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument
918 struct debug_buffer *buf; in alloc_buffer()
932 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
958 struct debug_buffer *buf = file->private_data; in debug_output()
980 struct debug_buffer *buf = file->private_data; in debug_close()
[all …]
/openbmc/u-boot/drivers/rtc/
H A Di2c_rtc_emul.c25 #define debug_buffer print_buffer macro
27 #define debug_buffer(x, ...) macro
189 debug_buffer(0, msg->buf, 1, msg->len, 0); in sandbox_i2c_rtc_xfer()
195 debug_buffer(0, msg->buf, 1, msg->len, 0); in sandbox_i2c_rtc_xfer()
/openbmc/linux/drivers/s390/net/
H A Dlcs.h24 scnprintf(debug_buffer, sizeof(debug_buffer), text); \
25 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
H A Dlcs.c63 static char debug_buffer[255]; variable
/openbmc/linux/drivers/net/wan/
H A Dhdlc_ppp.c45 static char debug_buffer[64 + 3 * DEBUG_CP]; variable
239 ptr = debug_buffer; in ppp_tx_cp()
246 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp()
476 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code], in ppp_rx()
479 sprintf(debug_buffer, "[code %u id 0x%X]", cp->code, cp->id); in ppp_rx()
480 ptr = debug_buffer + strlen(debug_buffer); in ppp_rx()
486 debug_buffer); in ppp_rx()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c313 struct debug_buffer { struct
314 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument
444 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
511 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
740 static struct debug_buffer
743 struct debug_buffer *buf; in alloc_buffer()
745 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer()
757 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
783 struct debug_buffer *buf = file->private_data; in debug_output()
806 struct debug_buffer *buf = file->private_data; in debug_close()
[all …]
/openbmc/linux/drivers/firmware/
H A Dti_sci.c107 char *debug_buffer; member
137 memcpy_fromio(info->debug_buffer, info->debug_region, in ti_sci_debug_show()
145 seq_puts(s, info->debug_buffer); in ti_sci_debug_show()
174 info->debug_buffer = devm_kcalloc(dev, info->debug_region_size + 1, in ti_sci_debugfs_create()
176 if (!info->debug_buffer) in ti_sci_debugfs_create()
179 info->debug_buffer[info->debug_region_size] = 0; in ti_sci_debugfs_create()