Searched refs:rc5_parser (Results 1 – 1 of 1) sorted by relevance
55 rc5_parser_t *rc5_parser = __containerof(parser, rc5_parser_t, parent); in rc5_parser_input() local56 rc5_parser->buffer = raw_data; in rc5_parser_input()57 rc5_parser->buffer_len = length; in rc5_parser_input()64 static inline bool rc5_duration_one_unit(rc5_parser_t *rc5_parser, uint32_t duration) in rc5_duration_one_unit() argument66 return (duration < (rc5_parser->pulse_duration_ticks + rc5_parser->margin_ticks)) && in rc5_duration_one_unit()67 (duration > (rc5_parser->pulse_duration_ticks - rc5_parser->margin_ticks)); in rc5_duration_one_unit()70 static inline bool rc5_duration_two_unit(rc5_parser_t *rc5_parser, uint32_t duration) in rc5_duration_two_unit() argument72 return (duration < (rc5_parser->pulse_duration_ticks * 2 + rc5_parser->margin_ticks)) && in rc5_duration_two_unit()73 (duration > (rc5_parser->pulse_duration_ticks * 2 - rc5_parser->margin_ticks)); in rc5_duration_two_unit()86 rc5_parser_t *rc5_parser = __containerof(parser, rc5_parser_t, parent); in rc5_parser_get_scan_code() local[all …]