Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) #define TRACE_SYSTEM regmap
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) #if !defined(_TRACE_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) #define _TRACE_REGMAP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) #include <linux/ktime.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) #include "internal.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14)  * Log register events
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) DECLARE_EVENT_CLASS(regmap_reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	TP_PROTO(struct regmap *map, unsigned int reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 		 unsigned int val),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	TP_ARGS(map, reg, val),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 		__string(	name,		regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 		__field(	unsigned int,	reg			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 		__field(	unsigned int,	val			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 		__entry->reg = reg;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 		__entry->val = val;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	TP_printk("%s reg=%x val=%x", __get_str(name),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 		  (unsigned int)__entry->reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 		  (unsigned int)__entry->val)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) DEFINE_EVENT(regmap_reg, regmap_reg_write,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	TP_PROTO(struct regmap *map, unsigned int reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 		 unsigned int val),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	TP_ARGS(map, reg, val)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) DEFINE_EVENT(regmap_reg, regmap_reg_read,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	TP_PROTO(struct regmap *map, unsigned int reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 		 unsigned int val),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	TP_ARGS(map, reg, val)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) DEFINE_EVENT(regmap_reg, regmap_reg_read_cache,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	TP_PROTO(struct regmap *map, unsigned int reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 		 unsigned int val),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 	TP_ARGS(map, reg, val)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) DECLARE_EVENT_CLASS(regmap_block,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	TP_ARGS(map, reg, count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 		__string(	name,		regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 		__field(	unsigned int,	reg			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 		__field(	int,		count			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 		__entry->reg = reg;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 		__entry->count = count;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	TP_printk("%s reg=%x count=%d", __get_str(name),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 		  (unsigned int)__entry->reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 		  (int)__entry->count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) DEFINE_EVENT(regmap_block, regmap_hw_read_start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	TP_ARGS(map, reg, count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) DEFINE_EVENT(regmap_block, regmap_hw_read_done,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	TP_ARGS(map, reg, count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) DEFINE_EVENT(regmap_block, regmap_hw_write_start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	TP_ARGS(map, reg, count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) DEFINE_EVENT(regmap_block, regmap_hw_write_done,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	TP_ARGS(map, reg, count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) TRACE_EVENT(regcache_sync,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 	TP_PROTO(struct regmap *map, const char *type,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 		 const char *status),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	TP_ARGS(map, type, status),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 		__string(       name,           regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 		__string(	status,		status			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 		__string(	type,		type			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 		__field(	int,		type			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 		__assign_str(status, status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 		__assign_str(type, type);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 	TP_printk("%s type=%s status=%s", __get_str(name),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 		  __get_str(type), __get_str(status))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) DECLARE_EVENT_CLASS(regmap_bool,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	TP_PROTO(struct regmap *map, bool flag),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	TP_ARGS(map, flag),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 		__string(	name,		regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 		__field(	int,		flag			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 		__entry->flag = flag;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	TP_printk("%s flag=%d", __get_str(name),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 		  (int)__entry->flag)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) DEFINE_EVENT(regmap_bool, regmap_cache_only,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	TP_PROTO(struct regmap *map, bool flag),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	TP_ARGS(map, flag)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) DEFINE_EVENT(regmap_bool, regmap_cache_bypass,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	TP_PROTO(struct regmap *map, bool flag),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	TP_ARGS(map, flag)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) DECLARE_EVENT_CLASS(regmap_async,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	TP_PROTO(struct regmap *map),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	TP_ARGS(map),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 		__string(	name,		regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 	TP_printk("%s", __get_str(name))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) DEFINE_EVENT(regmap_block, regmap_async_write_start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	TP_ARGS(map, reg, count)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) DEFINE_EVENT(regmap_async, regmap_async_io_complete,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	TP_PROTO(struct regmap *map),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 	TP_ARGS(map)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) DEFINE_EVENT(regmap_async, regmap_async_complete_start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	TP_PROTO(struct regmap *map),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 	TP_ARGS(map)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) DEFINE_EVENT(regmap_async, regmap_async_complete_done,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 	TP_PROTO(struct regmap *map),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 	TP_ARGS(map)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) TRACE_EVENT(regcache_drop_region,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	TP_PROTO(struct regmap *map, unsigned int from,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 		 unsigned int to),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	TP_ARGS(map, from, to),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 		__string(       name,           regmap_name(map)	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 		__field(	unsigned int,	from			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 		__field(	unsigned int,	to			)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 		__assign_str(name, regmap_name(map));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 		__entry->from = from;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 		__entry->to = to;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	TP_printk("%s %u-%u", __get_str(name), (unsigned int)__entry->from,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 		  (unsigned int)__entry->to)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) #endif /* _TRACE_REGMAP_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) #undef TRACE_INCLUDE_PATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) #define TRACE_INCLUDE_PATH .
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) #undef TRACE_INCLUDE_FILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) #define TRACE_INCLUDE_FILE trace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) #include <trace/define_trace.h>