Lines Matching refs:trigger
26 struct trigger { struct
41 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available()
46 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error()
51 static inline void trigger_on(struct trigger *t) in trigger_on()
57 static inline void trigger_ready(struct trigger *t) in trigger_ready()
64 static inline void trigger_hit(struct trigger *t) in trigger_hit()
72 static inline void trigger_off(struct trigger *t) in trigger_off()
79 static inline void trigger_error(struct trigger *t) in trigger_error()
84 static inline bool trigger_is_ready(struct trigger *t) in trigger_is_ready()
89 static inline bool trigger_is_hit(struct trigger *t) in trigger_is_hit()
95 struct trigger n = {.state = TRIGGER_OFF, .name = #n}