#undef TRACE_SYSTEM #define TRACE_SYSTEM gpio #ifndef CONFIG_TRACING_EVENTS_GPIO #define NOTRACE #endif #if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_GPIO_H #include TRACE_EVENT(gpio_direction, TP_PROTO(unsigned gpio, int in, int err), TP_ARGS(gpio, in, err), TP_STRUCT__entry( __field(unsigned, gpio) __field(int, in) __field(int, err) ), TP_fast_assign( __entry->gpio = gpio; __entry->in = in; __entry->err = err; ), TP_printk("%u %3s (%d)", __entry->gpio, __entry->in ? "in" : "out", __entry->err) ); TRACE_EVENT(gpio_value, TP_PROTO(unsigned gpio, int get, int value), TP_ARGS(gpio, get, value), TP_STRUCT__entry( __field(unsigned, gpio) __field(int, get) __field(int, value) ), TP_fast_assign( __entry->gpio = gpio; __entry->get = get; __entry->value = value; ), TP_printk("%u %3s %d", __entry->gpio, __entry->get ? "get" : "set", __entry->value) ); #endif /* if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */ /* This part must be outside protection */ #include lue='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-30 09:29:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-30 09:29:50 -0800
commitf3de082c12e5e9ff43c58a7561f6ec3272d03a48 (patch)
tree8aa8afa56af93cb9f72997a57ee4db6330431f14 /include/crypto/ablk_helper.h
parent98473f9f3f9bd404873cd1178c8be7d6d619f0d1 (diff)
parent02608e02fbec04fccf2eb0cc8d8082f65c0a4286 (diff)
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu: "This fixes a boot failure on some platforms when crypto self test is enabled along with the new acomp interface" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: testmgr - Use heap buffer for acomp test input
Diffstat (limited to 'include/crypto/ablk_helper.h')