Contributors: 4
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Jan Glauber |
84 |
88.42% |
1 |
25.00% |
Niklas Schnelle |
7 |
7.37% |
1 |
25.00% |
Sebastian Ott |
3 |
3.16% |
1 |
25.00% |
Greg Kroah-Hartman |
1 |
1.05% |
1 |
25.00% |
Total |
95 |
|
4 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _S390_ASM_PCI_DEBUG_H
#define _S390_ASM_PCI_DEBUG_H
#include <asm/debug.h>
extern debug_info_t *pci_debug_msg_id;
extern debug_info_t *pci_debug_err_id;
#define zpci_dbg(imp, fmt, args...) \
debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args)
#define zpci_err(text...) \
do { \
char debug_buffer[16]; \
snprintf(debug_buffer, 16, text); \
debug_text_event(pci_debug_err_id, 0, debug_buffer); \
} while (0)
static inline void zpci_err_hex_level(int level, void *addr, int len)
{
debug_event(pci_debug_err_id, level, addr, len);
}
static inline void zpci_err_hex(void *addr, int len)
{
zpci_err_hex_level(0, addr, len);
}
#endif