• Home
  • Raw
  • Download

Lines Matching refs:rawir

127 static void sz_push(struct streamzap_ir *sz, struct ir_raw_event rawir)  in sz_push()  argument
130 (rawir.pulse ? "pulse" : "space"), rawir.duration); in sz_push()
131 ir_raw_event_store_with_filter(sz->rdev, &rawir); in sz_push()
137 DEFINE_IR_RAW_EVENT(rawir); in sz_push_full_pulse()
146 rawir.pulse = false; in sz_push_full_pulse()
149 rawir.duration = IR_MAX_DURATION; in sz_push_full_pulse()
151 rawir.duration = delta; in sz_push_full_pulse()
152 rawir.duration -= sz->sum; in sz_push_full_pulse()
153 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()
154 rawir.duration = (rawir.duration > IR_MAX_DURATION) ? in sz_push_full_pulse()
155 IR_MAX_DURATION : rawir.duration; in sz_push_full_pulse()
157 sz_push(sz, rawir); in sz_push_full_pulse()
163 rawir.pulse = true; in sz_push_full_pulse()
164 rawir.duration = ((int) value) * SZ_RESOLUTION; in sz_push_full_pulse()
165 rawir.duration += SZ_RESOLUTION / 2; in sz_push_full_pulse()
166 sz->sum += rawir.duration; in sz_push_full_pulse()
167 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()
168 rawir.duration = (rawir.duration > IR_MAX_DURATION) ? in sz_push_full_pulse()
169 IR_MAX_DURATION : rawir.duration; in sz_push_full_pulse()
170 sz_push(sz, rawir); in sz_push_full_pulse()
182 DEFINE_IR_RAW_EVENT(rawir); in sz_push_full_space()
184 rawir.pulse = false; in sz_push_full_space()
185 rawir.duration = ((int) value) * SZ_RESOLUTION; in sz_push_full_space()
186 rawir.duration += SZ_RESOLUTION / 2; in sz_push_full_space()
187 sz->sum += rawir.duration; in sz_push_full_space()
188 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_space()
189 sz_push(sz, rawir); in sz_push_full_space()
256 DEFINE_IR_RAW_EVENT(rawir); in streamzap_callback()
258 rawir.pulse = false; in streamzap_callback()
259 rawir.duration = sz->rdev->timeout; in streamzap_callback()
262 sz_push(sz, rawir); in streamzap_callback()