Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/cpufreq/
Dpowernv-cpufreq.c490 struct powernv_smp_call_data *freq_data = arg; in powernv_read_cpu_freq() local
493 freq_data->pstate_id = extract_local_pstate(pmspr_val); in powernv_read_cpu_freq()
494 freq_data->freq = pstate_id_to_freq(freq_data->pstate_id); in powernv_read_cpu_freq()
497 raw_smp_processor_id(), pmspr_val, 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()
528 struct powernv_smp_call_data *freq_data = data; in set_pstate() local
529 unsigned long pstate_ul = freq_data->pstate_id; in set_pstate()
[all …]
/linux-5.19.10/drivers/staging/iio/frequency/
Dad9832.c115 __be16 freq_data[4]____cacheline_aligned; member
139 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
142 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
145 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
148 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
380 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9832_probe()
383 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9832_probe()
386 st->freq_xfer[2].tx_buf = &st->freq_data[2]; in ad9832_probe()
389 st->freq_xfer[3].tx_buf = &st->freq_data[3]; in ad9832_probe()
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()
472 st->freq_xfer[0].tx_buf = &st->freq_data[0]; in ad9834_probe()
475 st->freq_xfer[1].tx_buf = &st->freq_data[1]; in ad9834_probe()