Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dpowernv-cpufreq.c494 freq_data->freq = pstate_id_to_freq(freq_data->pstate_id); in powernv_read_cpu_freq()
498 freq_data->freq); in powernv_read_cpu_freq()
508 struct powernv_smp_call_data freq_data; in powernv_cpufreq_get() local
511 &freq_data, 1); in powernv_cpufreq_get()
513 return freq_data.freq; in powernv_cpufreq_get()
679 struct powernv_smp_call_data freq_data; in gpstate_timer_handler() local
702 if (freq_data.gpstate_id == freq_data.pstate_id) { in gpstate_timer_handler()
732 set_pstate(&freq_data); in gpstate_timer_handler()
744 struct powernv_smp_call_data freq_data; in powernv_cpufreq_target_index() local
764 freq_data.gpstate_id = freq_data.pstate_id; in powernv_cpufreq_target_index()
[all …]
/openbmc/linux/drivers/staging/iio/frequency/
H A Dad9832.c115 __be16 freq_data[4]; member
142 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
145 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
148 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
151 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
383 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9832_probe()
386 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9832_probe()
389 st->freq_xfer[2].tx_buf = &st->freq_data[2]; in ad9832_probe()
392 st->freq_xfer[3].tx_buf = &st->freq_data[3]; in ad9832_probe()
H A Dad9834.c87 __be16 freq_data[2]; member
122 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency()
124 st->freq_data[1] = cpu_to_be16(addr | ((regval >> in ad9834_write_frequency()
470 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9834_probe()
473 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9834_probe()