/linux-4.19.296/drivers/media/rc/ |
D | ir-imon-decoder.c | 117 TO_STR(ev.pulse)); in ir_imon_decode() 130 if (!ev.pulse && ev.duration > MS_TO_NS(10)) in ir_imon_decode() 143 if (ev.pulse) { in ir_imon_decode() 151 data->last_chk = ev.pulse; in ir_imon_decode() 152 else if (ev.pulse) in ir_imon_decode() 158 if (!ev.pulse) in ir_imon_decode() 172 if (ev.pulse) in ir_imon_decode() 184 TO_STR(ev.pulse)); in ir_imon_decode() 207 int i, pulse; in ir_imon_encode() local 215 pulse = !(scancode & (BIT(i) | BIT(i + 1))); in ir_imon_encode() [all …]
|
D | ir-jvc-decoder.c | 60 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_jvc_decode() 66 if (!ev.pulse) in ir_jvc_decode() 79 if (ev.pulse) in ir_jvc_decode() 89 if (!ev.pulse) in ir_jvc_decode() 99 if (ev.pulse) in ir_jvc_decode() 119 if (!ev.pulse) in ir_jvc_decode() 129 if (ev.pulse) in ir_jvc_decode() 156 if (!ev.pulse) in ir_jvc_decode() 168 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_jvc_decode()
|
D | ir-sanyo-decoder.c | 62 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sanyo_decode() 67 if (!ev.pulse) in ir_sanyo_decode() 79 if (ev.pulse) in ir_sanyo_decode() 90 if (!ev.pulse) in ir_sanyo_decode() 100 if (ev.pulse) in ir_sanyo_decode() 125 if (!ev.pulse) in ir_sanyo_decode() 135 if (ev.pulse) in ir_sanyo_decode() 161 data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sanyo_decode()
|
D | ir-sharp-decoder.c | 58 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sharp_decode() 63 if (!ev.pulse) in ir_sharp_decode() 76 if (!ev.pulse) in ir_sharp_decode() 88 if (ev.pulse) in ir_sharp_decode() 109 if (!ev.pulse) in ir_sharp_decode() 129 if (ev.pulse) in ir_sharp_decode() 141 if (ev.pulse) in ir_sharp_decode() 170 data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sharp_decode()
|
D | rc-ir-raw.c | 37 TO_STR(ev.pulse)); in ir_raw_event_thread() 38 if (raw->prev_ev.reset && ev.pulse == 0) in ir_raw_event_thread() 80 TO_US(ev->duration), TO_STR(ev->pulse)); in ir_raw_event_store() 102 int ir_raw_event_store_edge(struct rc_dev *dev, bool pulse) in ir_raw_event_store_edge() argument 112 ev.pulse = !pulse; in ir_raw_event_store_edge() 175 if (dev->idle && !ev->pulse) in ir_raw_event_store_with_filter() 182 else if (ev->pulse == dev->raw->this_ev.pulse) in ir_raw_event_store_with_filter() 190 if (!ev->pulse && dev->timeout && in ir_raw_event_store_with_filter() 348 if (need_pulse == !!(*ev)->pulse) { in ir_raw_gen_manchester() 365 if (!(*ev)->pulse) in ir_raw_gen_manchester() [all …]
|
D | ir-nec-decoder.c | 53 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_nec_decode() 58 if (!ev.pulse) in ir_nec_decode() 74 if (ev.pulse) in ir_nec_decode() 88 if (!ev.pulse) in ir_nec_decode() 98 if (ev.pulse) in ir_nec_decode() 125 if (!ev.pulse) in ir_nec_decode() 135 if (ev.pulse) in ir_nec_decode() 166 data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_nec_decode()
|
D | ir-sony-decoder.c | 59 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sony_decode() 64 if (!ev.pulse) in ir_sony_decode() 75 if (ev.pulse) in ir_sony_decode() 85 if (!ev.pulse) in ir_sony_decode() 99 if (ev.pulse) in ir_sony_decode() 116 if (ev.pulse) in ir_sony_decode() 165 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_sony_decode()
|
D | serial_ir.c | 230 unsigned int pulse, space; in send_pulse_homebrew_softcarrier() local 233 pulse = DIV_ROUND_CLOSEST(serial_ir.duty_cycle * (NSEC_PER_SEC / 100), in send_pulse_homebrew_softcarrier() 243 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier() 275 static unsigned int ptr, pulse, space; in frbwrite() local 279 pulse += l; in frbwrite() 280 if (pulse > 250000) { in frbwrite() 282 ev.pulse = false; in frbwrite() 284 ev.duration = pulse; in frbwrite() 285 ev.pulse = true; in frbwrite() 288 pulse = 0; in frbwrite() [all …]
|
D | ir-rc6-decoder.c | 105 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_rc6_decode() 113 if (!ev.pulse) in ir_rc6_decode() 127 if (ev.pulse) in ir_rc6_decode() 142 if (ev.pulse) in ir_rc6_decode() 161 data->toggle = ev.pulse; in ir_rc6_decode() 194 if (ev.pulse) in ir_rc6_decode() 199 } else if (RC6_MODE_6A == rc6_mode(data) && !ev.pulse && in ir_rc6_decode() 216 if (ev.pulse) in ir_rc6_decode() 279 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_rc6_decode()
|
D | ir-rc5-decoder.c | 58 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_rc5_decode() 66 if (!ev.pulse) in ir_rc5_decode() 75 if (!ev.pulse && geq_margin(ev.duration, RC5_TRAILER, RC5_UNIT / 2)) { in ir_rc5_decode() 84 if (!ev.pulse) in ir_rc5_decode() 100 if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) { in ir_rc5_decode() 109 if (ev.pulse) in ir_rc5_decode() 167 data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_rc5_decode()
|
D | ir-spi.c | 26 u16 pulse; member 59 val = (i % 2) ? idata->space : idata->pulse; in ir_spi_tx() 100 idata->pulse = GENMASK(bits, 0); in ir_spi_set_duty_cycle() 103 idata->pulse = ~idata->pulse; in ir_spi_set_duty_cycle()
|
D | ir-xmp-decoder.c | 53 data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_xmp_decode() 58 if (!ev.pulse) in ir_xmp_decode() 69 if (!ev.pulse) in ir_xmp_decode() 78 if (ev.pulse) in ir_xmp_decode() 194 data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); in ir_xmp_decode()
|
D | rc-core-priv.h | 157 return x->pulse != y->pulse; in is_transition() 181 unsigned int pulse, in init_ir_raw_event_duration() argument 186 ev->pulse = pulse; in init_ir_raw_event_duration()
|
D | gpio-ir-tx.c | 73 unsigned int pulse, space; in gpio_ir_tx() local 76 pulse = DIV_ROUND_CLOSEST(gpio_ir->duty_cycle * (NSEC_PER_SEC / 100), in gpio_ir_tx() 98 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx()
|
D | ttusbir.c | 130 rawir.pulse = false; in ttusbir_process_ir_data() 136 rawir.pulse = true; in ttusbir_process_ir_data() 145 rawir.pulse = true; in ttusbir_process_ir_data() 148 rawir.pulse = false; in ttusbir_process_ir_data() 155 rawir.pulse = !rawir.pulse; in ttusbir_process_ir_data()
|
D | mtk-cir.c | 235 rawir.pulse = false; in mtk_ir_irq() 244 rawir.pulse = !rawir.pulse; in mtk_ir_irq() 259 if (!MTK_IR_END(wid, rawir.pulse)) { in mtk_ir_irq() 260 rawir.pulse = false; in mtk_ir_irq()
|
D | streamzap.c | 126 (rawir.pulse ? "pulse" : "space"), rawir.duration); in sz_push() 142 rawir.pulse = false; in sz_push_full_pulse() 159 rawir.pulse = true; in sz_push_full_pulse() 180 rawir.pulse = false; in sz_push_full_space() 254 rawir.pulse = false; in streamzap_callback()
|
/linux-4.19.296/drivers/iio/health/ |
D | Kconfig | 18 heart rate monitor and low-cost pulse oximeter. 24 tristate "TI AFE4404 heart rate and pulse oximeter sensor" 31 heart rate monitor and low-cost pulse oximeter. 37 tristate "MAX30100 heart rate and pulse oximeter sensor" 44 MAX30100 heart rate, and pulse oximeter sensor. 50 tristate "MAX30102 heart rate and pulse oximeter sensor" 57 MAX30102 heart rate, and pulse oximeter sensor.
|
/linux-4.19.296/drivers/media/rc/img-ir/ |
D | img-ir-rc6.c | 93 .pulse = { 650 }, 98 .pulse = { 370 }, 103 .pulse = { 370 },
|
D | img-ir-jvc.c | 65 .pulse = { 16 /* 8.44 ms */ }, 70 .pulse = { 1 /* 527.5 us +-60 us */ }, 75 .pulse = { 1 /* 527.5 us +-60 us */ },
|
D | img-ir-sanyo.c | 93 .pulse = { 16 /* 9ms */ }, 98 .pulse = { 1 /* 562.5 us */ }, 103 .pulse = { 1 /* 562.5 us */ },
|
D | img-ir-sony.c | 142 .pulse = { 4 /* 2.4 ms */ }, 147 .pulse = { 1 /* 600 us */ }, 152 .pulse = { 2 /* 1.2 ms */ },
|
D | img-ir-rc5.c | 67 .pulse = { 1 }, 73 .pulse = { 1 },
|
D | img-ir-nec.c | 141 .pulse = { 16 /* 9ms */ }, 146 .pulse = { 1 /* 562.5 us */ }, 151 .pulse = { 1 /* 562.5 us */ },
|
D | img-ir-sharp.c | 88 .pulse = { 320 /* 320 us */ }, 93 .pulse = { 320 /* 320 us */ },
|