Searched refs:pulse (Results 1 - 25 of 50) sorted by relevance

12

/drivers/media/rc/
H A Dir-jvc-decoder.c40 * 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 Dir-nec-decoder.c42 * 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 Dir-sanyo-decoder.c49 * 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 Dir-sharp-decoder.c40 * ir_sharp_decode() - Decode one Sharp 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
61 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
66 if (!ev.pulse)
79 if (!ev.pulse)
91 if (ev.pulse)
112 if (!ev.pulse)
130 if (ev.pulse)
142 if (ev.pulse)
[all...]
H A Dir-rc5-decoder.c43 * 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
70 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
78 if (!ev.pulse)
87 if (!ev.pulse && geq_margin(ev.duration, RC5_TRAILER, RC5_UNIT / 2)) {
96 if (!ev.pulse)
115 if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) {
124 if (ev.pulse)
182 data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse));
[all...]
H A Dir-sony-decoder.c36 * 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
63 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
68 if (!ev.pulse)
79 if (ev.pulse)
89 if (!ev.pulse)
103 if (ev.pulse)
120 if (ev.pulse)
171 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
[all...]
H A Dir-rc6-decoder.c80 * 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
109 data->state, TO_US(ev.duration), TO_STR(ev.pulse));
117 if (!ev.pulse)
120 /* Note: larger margin on first pulse since each RC6_UNIT
131 if (ev.pulse)
146 if (ev.pulse)
168 data->toggle = ev.pulse;
205 if (ev.pulse)
[all...]
H A Dir-xmp-decoder.c36 * ir_xmp_decode() - Decode one XMP pulse or space
38 * @duration: the struct ir_raw_event descriptor of the pulse/space
40 * This function returns -EINVAL if the pulse violates the state machine
56 data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse));
61 if (!ev.pulse)
72 if (!ev.pulse)
81 if (ev.pulse)
159 IR_dprintk(2, "received half frame pulse at index %d. Probably a final frame key-up event: %u\n",
170 IR_dprintk(2, "received half frame pulse at index %d: %u\n",
196 data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
[all...]
H A Drc-ir-raw.c1 /* rc-ir-raw.c - handle IR pulse/space events
23 /* Define the max number of pulse/space transitions to buffer */
71 * ir_raw_event_store() - pass a pulse/space duration to the raw ir decoders
73 * @ev: the struct ir_raw_event descriptor of the pulse/space
76 * pulse/space duration for the raw ir decoding state machines. Pulses are
86 TO_US(ev->duration), TO_STR(ev->pulse));
96 * ir_raw_event_store_edge() - notify raw ir decoders of the start of a pulse/space
101 * store the beginning of an ir pulse or space (or the start/end of ir
133 ev.pulse = false;
136 ev.pulse
[all...]
H A Dir-mce_kbd-decoder.c207 * 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 Dttusbir.c134 rawir.pulse = false;
140 rawir.pulse = true;
149 rawir.pulse = true;
152 rawir.pulse = false;
159 rawir.pulse = !rawir.pulse;
H A Drc-core-priv.h38 struct kfifo_rec_ptr_1 kfifo; /* fifo for the pulse/space durations */
133 return x->pulse != y->pulse;
144 /* Returns true if event is normal pulse/space event */
151 #define TO_STR(is_pulse) ((is_pulse) ? "pulse" : "space")
H A Dstreamzap.c129 (rawir.pulse ? "pulse" : "space"), rawir.duration);
145 rawir.pulse = false;
163 rawir.pulse = true;
183 rawir.pulse = false;
257 rawir.pulse = false;
H A Dene_ir.c349 dbg("RX: hardware carrier pulse period = %02x", hperiod);
565 dbg("TX: pulse distance = %d * 500 ns", dev->tx_period);
566 dbg("TX: pulse width = %d * 500 ns", tx_puls_width);
627 bool pulse = dev->tx_sample_pulse; local
663 pulse ? "pulse" : "space");
664 if (pulse)
737 bool pulse; local
792 pulse = hw_value & ENE_FW_SMPL_BUF_FAN_PLS;
799 pulse
[all...]
/drivers/media/rc/img-ir/
H A Dimg-ir-jvc.c65 .pulse = { 16 /* 8.44 ms */ },
70 .pulse = { 1 /* 527.5 us +-60 us */ },
75 .pulse = { 1 /* 527.5 us +-60 us */ },
H A Dimg-ir-sanyo.c93 .pulse = { 16 /* 9ms */ },
98 .pulse = { 1 /* 562.5 us */ },
103 .pulse = { 1 /* 562.5 us */ },
H A Dimg-ir-sharp.c88 .pulse = { 320 /* 320 us */ },
93 .pulse = { 320 /* 320 us */ },
H A Dimg-ir-nec.c122 .pulse = { 16 /* 9ms */ },
127 .pulse = { 1 /* 562.5 us */ },
132 .pulse = { 1 /* 562.5 us */ },
H A Dimg-ir-sony.c131 .pulse = { 4 /* 2.4 ms */ },
136 .pulse = { 1 /* 600 us */ },
141 .pulse = { 2 /* 1.2 ms */ },
/drivers/ata/
H A Dpata_at91.c94 * @pulse: SMC_PULSE register value
105 * SMC_PULSE = 256*pulse[6] + pulse[5:0]
109 int *setup, int *pulse, int *cycle, int *cs_pulse)
134 ret_val = adjust_smc_value(pulse, range_pulse, ARRAY_SIZE(range_pulse));
166 * @pulse: PULSE value of SMC Pulse Register
170 static void to_smc_format(int *setup, int *pulse, int *cycle, int *cs_pulse) argument
173 *pulse = (*pulse & 0x3f) | ((*pulse
108 calc_smc_vals(struct device *dev, int *setup, int *pulse, int *cycle, int *cs_pulse) argument
213 unsigned int pulse; /* CFIOR and CFIOW pulse width in MCK ticks */ local
[all...]
/drivers/media/usb/au0828/
H A Dau0828-input.c166 * Fix an au8522 bug: the first pulse event
178 rawir.pulse = true;
184 rawir.pulse ? "pulse" : "space",
190 rawir.pulse ? "pulse" : "space",
197 rawir.pulse = prv_bit ? false : true;
200 rawir.pulse ? "pulse" : "space",
210 rawir.pulse
[all...]
/drivers/media/usb/tm6000/
H A Dtm6000-input.c95 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/hid/
H A Dhid-picolcd_cir.c59 * with value negated for pulse. Intervals are in microseconds.
62 * for space - is it a matter of IR chip? (pulse for my TSOP2236)
72 rawir.pulse = !!(w & 0x8000);
73 rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w);
/drivers/pps/
H A DKconfig10 PPS (Pulse Per Second) is a special pulse provided by some GPS
/drivers/media/common/siano/
H A Dsmsir.c46 ev.pulse = (samples[i] > 0) ? false : true;

Completed in 294 milliseconds

12