Home
last modified time | relevance | path

Searched refs:rtd (Results 1 – 3 of 3) sorted by relevance

/drivers/rtc/
Drtc-test.c26 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_read_alarm() local
29 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm()
30 alarm += ktime_get_real_seconds() + rtd->offset; in test_rtc_read_alarm()
33 alrm->enabled = rtd->alarm_en; in test_rtc_read_alarm()
40 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_set_alarm() local
45 timeout -= rtd->offset; in test_rtc_set_alarm()
47 del_timer(&rtd->alarm); in test_rtc_set_alarm()
54 rtd->alarm.expires = expires; in test_rtc_set_alarm()
57 add_timer(&rtd->alarm); in test_rtc_set_alarm()
59 rtd->alarm_en = alrm->enabled; in test_rtc_set_alarm()
[all …]
/drivers/net/wireless/intersil/p54/
Dfwio.c562 u8 rtd; in p54_set_edcf() local
583 rtd = 3 * priv->coverage_class; in p54_set_edcf()
584 edcf->slottime += rtd; in p54_set_edcf()
585 edcf->round_trip_delay = cpu_to_le16(rtd); in p54_set_edcf()
/drivers/media/i2c/
Dtda1997x.c2452 struct snd_pcm_runtime *rtd = substream->runtime; in tda1997x_pcm_startup() local
2456 err = snd_pcm_hw_constraint_minmax(rtd, SNDRV_PCM_HW_PARAM_RATE, in tda1997x_pcm_startup()