Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/cpufreq/
Dpowernv-cpufreq.c489 struct powernv_smp_call_data *freq_data = arg; in powernv_read_cpu_freq() local
492 freq_data->pstate_id = extract_local_pstate(pmspr_val); in powernv_read_cpu_freq()
493 freq_data->freq = pstate_id_to_freq(freq_data->pstate_id); in powernv_read_cpu_freq()
496 raw_smp_processor_id(), pmspr_val, freq_data->pstate_id, in powernv_read_cpu_freq()
497 freq_data->freq); in powernv_read_cpu_freq()
507 struct powernv_smp_call_data freq_data; in powernv_cpufreq_get() local
510 &freq_data, 1); in powernv_cpufreq_get()
512 return freq_data.freq; in powernv_cpufreq_get()
527 struct powernv_smp_call_data *freq_data = data; in set_pstate() local
528 unsigned long pstate_ul = freq_data->pstate_id; in set_pstate()
[all …]
/Linux-v4.19/drivers/staging/iio/frequency/
Dad9832.c113 __be16 freq_data[4]____cacheline_aligned; member
137 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
140 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
143 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
146 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
353 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9832_probe()
356 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9832_probe()
359 st->freq_xfer[2].tx_buf = &st->freq_data[2]; in ad9832_probe()
362 st->freq_xfer[3].tx_buf = &st->freq_data[3]; in ad9832_probe()
Dad9834.c88 __be16 freq_data[2]; member
120 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency()
122 st->freq_data[1] = cpu_to_be16(addr | ((regval >> in ad9834_write_frequency()
446 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9834_probe()
449 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9834_probe()