Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dpcc-cpufreq.c94 static struct pcc_header __iomem *pcch_hdr; variable
129 if (ioread16(&pcch_hdr->status) & CMD_COMPLETE) in pcc_cmd()
158 iowrite16(CMD_GET_FREQ, &pcch_hdr->command); in pcc_get_freq()
168 status = ioread16(&pcch_hdr->status); in pcc_get_freq()
174 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
175 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq()
193 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
222 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target()
225 iowrite16(CMD_SET_FREQ, &pcch_hdr->command); in pcc_cpufreq_target()
232 status = ioread16(&pcch_hdr->status); in pcc_cpufreq_target()
[all …]