/drivers/media/rc/ |
H A D | ir-jvc-decoder.c | 40 * ir_jvc_decode() - Decode one JVC pulse or space 42 * @duration: the struct ir_raw_event descriptor of the pulse/space 44 * This function returns -EINVAL if the pulse violates the state machine 63 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 69 if (!ev.pulse) 82 if (ev.pulse) 92 if (!ev.pulse) 102 if (ev.pulse) 122 if (!ev.pulse) 132 if (ev.pulse) [all...] |
H A D | ir-nec-decoder.c | 42 * ir_nec_decode() - Decode one NEC pulse or space 44 * @duration: the struct ir_raw_event descriptor of the pulse/space 46 * This function returns -EINVAL if the pulse violates the state machine 65 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 70 if (!ev.pulse) 86 if (ev.pulse) 106 if (!ev.pulse) 116 if (ev.pulse) 145 if (!ev.pulse) 155 if (ev.pulse) [all...] |
H A D | ir-sanyo-decoder.c | 49 * ir_sanyo_decode() - Decode one SANYO pulse or space 51 * @duration: the struct ir_raw_event descriptor of the pulse/space 53 * This function returns -EINVAL if the pulse violates the state machine 73 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 78 if (!ev.pulse) 90 if (ev.pulse) 101 if (!ev.pulse) 111 if (ev.pulse) 140 if (!ev.pulse) 150 if (ev.pulse) [all...] |
H A D | ir-rc5-sz-decoder.c | 39 * ir_rc5_sz_decode() - Decode one RC-5 Streamzap pulse or space 41 * @ev: the struct ir_raw_event descriptor of the pulse/space 43 * This function returns -EINVAL if the pulse violates the state machine 65 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 73 if (!ev.pulse) 87 if (!ev.pulse) 106 if (ev.pulse) 125 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
|
H A D | ir-sony-decoder.c | 36 * ir_sony_decode() - Decode one Sony pulse or space 38 * @ev: the struct ir_raw_event descriptor of the pulse/space 40 * This function returns -EINVAL if the pulse violates the state machine 61 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 66 if (!ev.pulse) 77 if (ev.pulse) 87 if (!ev.pulse) 101 if (ev.pulse) 118 if (ev.pulse) 154 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); [all...] |
H A D | ir-rc5-decoder.c | 43 * ir_rc5_decode() - Decode one RC-5 pulse or space 45 * @ev: the struct ir_raw_event descriptor of the pulse/space 47 * This function returns -EINVAL if the pulse violates the state machine 69 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 77 if (!ev.pulse) 92 if (!ev.pulse) 113 if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) { 125 if (ev.pulse) 161 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
|
H A D | ir-rc6-decoder.c | 80 * ir_rc6_decode() - Decode one RC6 pulse or space 82 * @ev: the struct ir_raw_event descriptor of the pulse/space 84 * This function returns -EINVAL if the pulse violates the state machine 106 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 114 if (!ev.pulse) 117 /* Note: larger margin on first pulse since each RC6_UNIT 128 if (ev.pulse) 143 if (ev.pulse) 165 data->toggle = ev.pulse; 202 if (ev.pulse) [all...] |
H A D | ir-raw.c | 1 /* ir-raw.c - handle IR pulse/space events 23 /* Define the max number of pulse/space transitions to buffer */ 78 * ir_raw_event_store() - pass a pulse/space duration to the raw ir decoders 80 * @ev: the struct ir_raw_event descriptor of the pulse/space 83 * pulse/space duration for the raw ir decoding state machines. Pulses are 93 TO_US(ev->duration), TO_STR(ev->pulse)); 103 * ir_raw_event_store_edge() - notify raw ir decoders of the start of a pulse/space 108 * store the beginning of an ir pulse or space (or the start/end of ir 140 ev.pulse = false; 143 ev.pulse [all...] |
H A D | ir-mce_kbd-decoder.c | 207 * ir_mce_kbd_decode() - Decode one mce_kbd pulse or space 209 * @ev: the struct ir_raw_event descriptor of the pulse/space 211 * This function returns -EINVAL if the pulse violates the state machine 233 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 241 if (!ev.pulse) 244 /* Note: larger margin on first pulse since each MCIR2_UNIT 260 if (ev.pulse) 299 if (ev.pulse) 318 if (ev.pulse) 351 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); [all...] |
H A D | rc-core-priv.h | 38 struct kfifo_rec_ptr_1 kfifo; /* fifo for the pulse/space durations */ 129 return x->pulse != y->pulse; 140 /* Returns true if event is normal pulse/space event */ 147 #define TO_STR(is_pulse) ((is_pulse) ? "pulse" : "space")
|
H A D | streamzap.c | 142 (rawir.pulse ? "pulse" : "space"), rawir.duration); 158 rawir.pulse = false; 176 rawir.pulse = true; 196 rawir.pulse = false; 270 rawir.pulse = false;
|
H A D | ene_ir.c | 349 dbg("RX: hardware carrier pulse period = %02x", hperiod); 554 dbg("TX: pulse distance = %d * 500 ns", dev->tx_period); 555 dbg("TX: pulse width = %d * 500 ns", tx_puls_width); 616 bool pulse = dev->tx_sample_pulse; local 652 pulse ? "pulse" : "space"); 653 if (pulse) 726 bool pulse; local 781 pulse = hw_value & ENE_FW_SMPL_BUF_FAN_PLS; 788 pulse [all...] |
H A D | rc-loopback.c | 137 rawir.pulse = i % 2 ? false : true; 144 rawir.pulse = false;
|
H A D | ir-lirc-codec.c | 29 * @duration: the struct ir_raw_event descriptor of the pulse/space 89 sample = ev.pulse ? LIRC_PULSE(ev.duration / 1000) : 92 TO_US(ev.duration), TO_STR(ev.pulse));
|
H A D | redrat3.c | 309 pr_cont("Initial signal pulse not long enough " 488 /* we should always get pulse/space/pulse/space samples */ 490 rawir.pulse = false; 492 rawir.pulse = true; 495 /* Save initial pulse length to fudge trailer */ 502 rawir.pulse ? "pulse" : "space", rawir.duration, i); 508 rawir.pulse = false;
|
H A D | fintek-cir.c | 324 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); 329 rawir.pulse ? "pulse" : "space",
|
H A D | ite-cir.c | 128 /* get the bits required to program the pulse with in TXMPW */ 193 ev.pulse = true; 201 ev.pulse = false; 210 ev.pulse = true; 368 /* set the tx duty cycle by controlling the pulse width */ 383 * pulse/space/pulse/space lengths that we should write out completely through 431 ((is_pulse) ? "pulse" : "space"), 435 /* repeat while the pulse is non-zero length */ 455 /* take into account pulse/spac [all...] |
H A D | nuvoton-cir.c | 610 * We get IR data samples one byte at a time. If the msb is set, its a pulse, 612 * (default 50us) intervals for that pulse/space. A discrete signal is 640 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); 645 rawir.pulse ? "pulse" : "space", rawir.duration);
|
/drivers/ata/ |
H A D | pata_at91.c | 95 * @pulse: SMC_PULSE register value 106 * SMC_PULSE = 256*pulse[6] + pulse[5:0] 110 int *setup, int *pulse, int *cycle, int *cs_pulse) 135 ret_val = adjust_smc_value(pulse, range_pulse, ARRAY_SIZE(range_pulse)); 167 * @pulse: PULSE value of SMC Pulse Register 171 static void to_smc_format(int *setup, int *pulse, int *cycle, int *cs_pulse) argument 174 *pulse = (*pulse & 0x3f) | ((*pulse 109 calc_smc_vals(struct device *dev, int *setup, int *pulse, int *cycle, int *cs_pulse) argument 214 unsigned int pulse; /* CFIOR and CFIOW pulse width in MCK ticks */ local [all...] |
/drivers/media/video/tm6000/ |
H A D | tm6000-input.c | 95 u32 pulse = 0, leader = 0; local 114 pulse = 700; /* ms - the actual value would be 562 */ 119 pulse = 1780; /* ms - The actual value would be 1776 */ 123 pulse = ir_clock_mhz * pulse; 128 dprintk(2, "%s: %s, %d MHz, leader = 0x%04x, pulse = 0x%06x \n", 131 ir_clock_mhz, leader, pulse); 147 tm6000_set_reg(dev, TM6010_REQ07_RDE_IR_PULSE_CNT1, pulse >> 8); 148 tm6000_set_reg(dev, TM6010_REQ07_RDF_IR_PULSE_CNT0, pulse);
|
/drivers/pps/ |
H A D | Kconfig | 11 PPS (Pulse Per Second) is a special pulse provided by some GPS
|
/drivers/media/dvb/siano/ |
H A D | smsir.c | 46 ev.pulse = (samples[i] > 0) ? false : true;
|
/drivers/staging/media/lirc/ |
H A D | lirc_serial.c | 4 * lirc_serial - Device driver that records pulse- and pause-lengths 36 * - For other system, non-integer-microsecond pulse/space lengths, 42 * tuning the pulse lengths down - the send_pulse routine ignored 43 * this overhead as it timed the overall pulse length - so the 44 * pulse frequency was right but overall pulse length was too 45 * long. Fixed by accounting for latency on each pulse/space 225 * A long pulse code from a remote might take up to 300 bytes. The 363 * pulse and space widths as clock cycles. As this is CPU speed 394 /* Derive pulse an 605 static int pulse, space; local [all...] |
/drivers/media/dvb/dvb-usb/ |
H A D | technisat-usb2.c | 639 ev.pulse = 0; 641 ev.pulse = !ev.pulse; 647 ev.pulse = 0;
|
/drivers/media/video/cx88/ |
H A D | cx88-input.c | 524 * represents a pulse. 533 ev.pulse = samples & 0x80000000 ? false : true; 534 bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples));
|