Searched refs:rtd (Results 1 – 6 of 6) sorted by relevance
/drivers/rtc/ |
D | rtc-test.c | 26 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/iio/temperature/ |
D | ltc2983.c | 523 struct ltc2983_rtd *rtd = to_rtd(sensor); in ltc2983_rtd_assign_chan() local 526 chan_val = LTC2983_CHAN_ASSIGN(rtd->r_sense_chan); in ltc2983_rtd_assign_chan() 527 chan_val |= LTC2983_RTD_CFG(rtd->sensor_config); in ltc2983_rtd_assign_chan() 528 chan_val |= LTC2983_RTD_EXC_CURRENT(rtd->excitation_current); in ltc2983_rtd_assign_chan() 529 chan_val |= LTC2983_RTD_CURVE(rtd->rtd_curve); in ltc2983_rtd_assign_chan() 531 if (rtd->custom) { in ltc2983_rtd_assign_chan() 534 ret = __ltc2983_chan_custom_sensor_assign(st, rtd->custom, in ltc2983_rtd_assign_chan() 696 struct ltc2983_rtd *rtd; in ltc2983_rtd_new() local 702 rtd = devm_kzalloc(dev, sizeof(*rtd), GFP_KERNEL); in ltc2983_rtd_new() 703 if (!rtd) in ltc2983_rtd_new() [all …]
|
/drivers/soundwire/ |
D | stream.c | 1857 struct snd_soc_pcm_runtime *rtd = substream->private_data; in set_stream() local 1863 for_each_rtd_dais(rtd, i, dai) { in set_stream() 1866 dev_err(rtd->dev, "failed to set stream pointer on dai %s", dai->name); in set_stream() 1884 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sdw_startup_stream() local 1899 dev_err(rtd->dev, "alloc stream failed for substream DAI %s", substream->name); in sdw_startup_stream() 1928 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sdw_shutdown_stream() local 1933 dai = asoc_rtd_to_cpu(rtd, 0); in sdw_shutdown_stream() 1938 dev_err(rtd->dev, "no stream found for DAI %s", dai->name); in sdw_shutdown_stream()
|
D | qcom.c | 640 struct snd_soc_pcm_runtime *rtd = substream->private_data; in qcom_swrm_startup() local 651 for_each_rtd_codec_dais(rtd, i, codec_dai) { in qcom_swrm_startup()
|
/drivers/net/wireless/intersil/p54/ |
D | fwio.c | 562 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/ |
D | tda1997x.c | 2454 struct snd_pcm_runtime *rtd = substream->runtime; in tda1997x_pcm_startup() local 2458 err = snd_pcm_hw_constraint_minmax(rtd, SNDRV_PCM_HW_PARAM_RATE, in tda1997x_pcm_startup()
|