Home
last modified time | relevance | path

Searched refs:last_value (Results 1 – 7 of 7) sorted by relevance

/drivers/media/rc/
Dsir_ir.c41 static int last_value; variable
133 if (last_value) { in sir_timeout()
141 last_value, pulse_end); in sir_timeout()
142 add_read_queue(last_value, pulse_end); in sir_timeout()
143 last_value = 0; in sir_timeout()
195 if (last_value) { in sir_interrupt()
198 add_read_queue(last_value, in sir_interrupt()
201 last_value = 0; in sir_interrupt()
207 if (data ^ last_value) { in sir_interrupt()
212 add_read_queue(last_value, in sir_interrupt()
[all …]
/drivers/iio/adc/
Dnau7802.c52 s32 last_value; member
139 st->last_value = data << 16; in nau7802_read_conversion()
144 st->last_value |= data << 8; in nau7802_read_conversion()
149 st->last_value |= data; in nau7802_read_conversion()
151 st->last_value = sign_extend32(st->last_value, 23); in nau7802_read_conversion()
232 *val = st->last_value; in nau7802_read_irq()
284 *val = st->last_value; in nau7802_read_poll()
Dat91_adc.c200 u16 last_value; member
282 st->last_value = at91_adc_readl(st, AT91_ADC_CHAN(st, st->chnb)); in handle_adc_eoc_trigger()
716 *val = st->last_value; in at91_adc_read_raw()
717 st->last_value = 0; in at91_adc_read_raw()
/drivers/macintosh/
Dmediabay.c58 int last_value; member
361 if (id != bay->last_value) { in poll_media_bay()
362 bay->last_value = id; in poll_media_bay()
483 if (bay->ops->setup_bus(bay, bay->last_value) < 0) { in media_bay_step()
600 bay->last_value = bay->ops->content(bay); in media_bay_attach()
652 bay->last_value = bay->content_id; in media_bay_resume()
/drivers/soc/qcom/
Dsmsm.c112 u32 last_value; member
207 changed = val ^ entry->last_value; in smsm_intr()
208 entry->last_value = val; in smsm_intr()
Dsmp2p.c96 u32 last_value; member
220 status = val ^ entry->last_value; in qcom_smp2p_intr()
221 entry->last_value = val; in qcom_smp2p_intr()
/drivers/char/
Drandom.c1257 static unsigned char last_value; in add_input_randomness() local
1260 if (value == last_value) in add_input_randomness()
1263 last_value = value; in add_input_randomness()