Lines Matching refs:events
297 * ir_rc6_encode() - Encode a scancode as a stream of raw events
301 * @events: array of raw ir events to write into
302 * @max: maximum size of @events
304 * Returns: The number of events written.
306 * encoding. In this case all @max events will have been written.
310 struct ir_raw_event *events, unsigned int max)
313 struct ir_raw_event *e = events;
317 ret = ir_raw_gen_manchester(&e, max - (e - events),
324 ret = ir_raw_gen_manchester(&e, max - (e - events),
330 ret = ir_raw_gen_manchester(&e, max - (e - events),
355 ret = ir_raw_gen_manchester(&e, max - (e - events),
362 ret = ir_raw_gen_manchester(&e, max - (e - events),
368 ret = ir_raw_gen_manchester(&e, max - (e - events),
376 return e - events;