Lines Matching refs:trigger
25 struct trigger { struct
40 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available()
45 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error()
50 static inline void trigger_on(struct trigger *t) in trigger_on()
56 static inline void trigger_ready(struct trigger *t) in trigger_ready()
63 static inline void trigger_hit(struct trigger *t) in trigger_hit()
71 static inline void trigger_off(struct trigger *t) in trigger_off()
78 static inline void trigger_error(struct trigger *t) in trigger_error()
83 static inline bool trigger_is_ready(struct trigger *t) in trigger_is_ready()
88 static inline bool trigger_is_hit(struct trigger *t) in trigger_is_hit()
94 struct trigger n = {.state = TRIGGER_OFF, .name = #n}