Lines Matching refs:events
197 * ir_rc5_encode() - Encode a scancode as a stream of raw events
201 * @events: array of raw ir events to write into
202 * @max: maximum size of @events
204 * Returns: The number of events written.
206 * encoding. In this case all @max events will have been written.
210 struct ir_raw_event *events, unsigned int max)
213 struct ir_raw_event *e = events;
247 ret = ir_raw_gen_manchester(&e, max - (e - events),
265 return e - events;