• Home
  • Raw
  • Download

Lines Matching refs:timings

319 			  const struct ir_raw_timings_manchester *timings,  in ir_raw_gen_manchester()  argument
328 if (timings->leader_pulse) { in ir_raw_gen_manchester()
331 init_ir_raw_event_duration((*ev), 1, timings->leader_pulse); in ir_raw_gen_manchester()
332 if (timings->leader_space) { in ir_raw_gen_manchester()
336 timings->leader_space); in ir_raw_gen_manchester()
346 if (timings->invert) in ir_raw_gen_manchester()
349 (*ev)->duration += timings->clock; in ir_raw_gen_manchester()
354 timings->clock); in ir_raw_gen_manchester()
360 timings->clock); in ir_raw_gen_manchester()
364 if (timings->trailer_space) { in ir_raw_gen_manchester()
366 (*ev)->duration += timings->trailer_space; in ir_raw_gen_manchester()
371 timings->trailer_space); in ir_raw_gen_manchester()
401 const struct ir_raw_timings_pd *timings, in ir_raw_gen_pd() argument
408 if (timings->header_pulse) { in ir_raw_gen_pd()
409 ret = ir_raw_gen_pulse_space(ev, &max, timings->header_pulse, in ir_raw_gen_pd()
410 timings->header_space); in ir_raw_gen_pd()
415 if (timings->msb_first) { in ir_raw_gen_pd()
417 space = timings->bit_space[(data >> i) & 1]; in ir_raw_gen_pd()
419 timings->bit_pulse, in ir_raw_gen_pd()
426 space = timings->bit_space[data & 1]; in ir_raw_gen_pd()
428 timings->bit_pulse, in ir_raw_gen_pd()
435 ret = ir_raw_gen_pulse_space(ev, &max, timings->trailer_pulse, in ir_raw_gen_pd()
436 timings->trailer_space); in ir_raw_gen_pd()
460 const struct ir_raw_timings_pl *timings, in ir_raw_gen_pl() argument
470 init_ir_raw_event_duration((*ev)++, 1, timings->header_pulse); in ir_raw_gen_pl()
472 if (timings->msb_first) { in ir_raw_gen_pl()
477 timings->bit_space); in ir_raw_gen_pl()
480 pulse = timings->bit_pulse[(data >> i) & 1]; in ir_raw_gen_pl()
488 timings->bit_space); in ir_raw_gen_pl()
491 pulse = timings->bit_pulse[data & 1]; in ir_raw_gen_pl()
499 init_ir_raw_event_duration((*ev)++, 0, timings->trailer_space); in ir_raw_gen_pl()