Lines Matching refs:uncore
97 struct intel_uncore *uncore = &i915->uncore; in vlv_sideband_rw() local
106 if (intel_wait_for_register(uncore, in vlv_sideband_rw()
116 intel_uncore_write_fw(uncore, VLV_IOSF_ADDR, addr); in vlv_sideband_rw()
117 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
118 intel_uncore_write_fw(uncore, VLV_IOSF_DOORBELL_REQ, in vlv_sideband_rw()
126 if (__intel_wait_for_register_fw(uncore, in vlv_sideband_rw()
130 *val = intel_uncore_read_fw(uncore, VLV_IOSF_DATA); in vlv_sideband_rw()
292 struct intel_uncore *uncore = &i915->uncore; in intel_sbi_rw() local
297 if (intel_wait_for_register_fw(uncore, in intel_sbi_rw()
305 intel_uncore_write_fw(uncore, SBI_ADDR, (u32)reg << 16); in intel_sbi_rw()
306 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
314 intel_uncore_write_fw(uncore, SBI_CTL_STAT, cmd | SBI_BUSY); in intel_sbi_rw()
316 if (__intel_wait_for_register_fw(uncore, in intel_sbi_rw()
330 *val = intel_uncore_read_fw(uncore, SBI_DATA); in intel_sbi_rw()
402 struct intel_uncore *uncore = &i915->uncore; in __sandybridge_pcode_rw() local
412 if (intel_uncore_read_fw(uncore, GEN6_PCODE_MAILBOX) & GEN6_PCODE_READY) in __sandybridge_pcode_rw()
415 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA, *val); in __sandybridge_pcode_rw()
416 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __sandybridge_pcode_rw()
417 intel_uncore_write_fw(uncore, in __sandybridge_pcode_rw()
420 if (__intel_wait_for_register_fw(uncore, in __sandybridge_pcode_rw()
429 *val = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA); in __sandybridge_pcode_rw()
431 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); in __sandybridge_pcode_rw()