Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dpcc-cpufreq.c93 static struct pcc_header __iomem *pcch_hdr; variable
128 if (ioread16(&pcch_hdr->status) & CMD_COMPLETE) in pcc_cmd()
157 iowrite16(CMD_GET_FREQ, &pcch_hdr->command); in pcc_get_freq()
167 status = ioread16(&pcch_hdr->status); in pcc_get_freq()
173 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
174 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq()
192 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
221 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target()
224 iowrite16(CMD_SET_FREQ, &pcch_hdr->command); in pcc_cpufreq_target()
231 status = ioread16(&pcch_hdr->status); in pcc_cpufreq_target()
[all …]