Searched refs:rtd (Results 1 – 3 of 3) sorted by relevance
26 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_read_alarm() local29 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() local45 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 …]
562 u8 rtd; in p54_set_edcf() local583 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()
2452 struct snd_pcm_runtime *rtd = substream->runtime; in tda1997x_pcm_startup() local2456 err = snd_pcm_hw_constraint_minmax(rtd, SNDRV_PCM_HW_PARAM_RATE, in tda1997x_pcm_startup()