Searched refs:last_value (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/media/rc/ |
D | sir_ir.c | 41 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 …]
|
/Linux-v5.10/arch/x86/kernel/ |
D | pvclock.c | 47 static atomic64_t last_value = ATOMIC64_INIT(0); variable 51 atomic64_set(&last_value, 0); in pvclock_resume() 103 last = atomic64_read(&last_value); in pvclock_clocksource_read() 107 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
|
/Linux-v5.10/drivers/iio/adc/ |
D | nau7802.c | 52 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()
|
D | at91_adc.c | 200 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()
|
/Linux-v5.10/drivers/macintosh/ |
D | mediabay.c | 58 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()
|
/Linux-v5.10/drivers/soc/qcom/ |
D | smp2p.c | 96 u32 last_value; member 220 status = val ^ entry->last_value; in qcom_smp2p_intr() 221 entry->last_value = val; in qcom_smp2p_intr()
|
D | smsm.c | 112 u32 last_value; member 207 changed = val ^ entry->last_value; in smsm_intr() 208 entry->last_value = val; in smsm_intr()
|
/Linux-v5.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 363 self.last_value = None 438 self.last_value = value 457 if value != self.last_value: 689 def FindValue(self, value, pattern, query, last_value, last_pattern): argument 690 if last_value == value and pattern == last_pattern: 710 if c.direction == 0 or c.value != c.last_value or c.pattern != c.last_pattern: 711 ids = self.FindValue(c.value, c.pattern, c.query, c.last_value, c.last_pattern) 721 self.value, self.direction, self.pattern, self.query, self.last_value, self.last_pattern = x 723 …self.value, self.direction, self.pattern, self.last_value, self.last_pattern = x + (self.value, se… 2468 self.value, self.direction, self.pattern, self.last_value, self.last_pattern = (None,) * 5 [all …]
|
/Linux-v5.10/drivers/char/ |
D | random.c | 1204 static unsigned char last_value; in add_input_randomness() local 1207 if (value == last_value) in add_input_randomness() 1210 last_value = value; in add_input_randomness()
|