Lines Matching refs:uncore

96 	struct intel_uncore *uncore = &i915->uncore;  in vlv_sideband_rw()  local
105 if (intel_wait_for_register(uncore, in vlv_sideband_rw()
115 intel_uncore_write_fw(uncore, VLV_IOSF_ADDR, addr); in vlv_sideband_rw()
116 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
117 intel_uncore_write_fw(uncore, VLV_IOSF_DOORBELL_REQ, in vlv_sideband_rw()
125 if (__intel_wait_for_register_fw(uncore, in vlv_sideband_rw()
129 *val = intel_uncore_read_fw(uncore, VLV_IOSF_DATA); in vlv_sideband_rw()
278 struct intel_uncore *uncore = &i915->uncore; in intel_sbi_rw() local
283 if (intel_wait_for_register_fw(uncore, in intel_sbi_rw()
290 intel_uncore_write_fw(uncore, SBI_ADDR, (u32)reg << 16); in intel_sbi_rw()
291 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
299 intel_uncore_write_fw(uncore, SBI_CTL_STAT, cmd | SBI_BUSY); in intel_sbi_rw()
301 if (__intel_wait_for_register_fw(uncore, in intel_sbi_rw()
314 *val = intel_uncore_read_fw(uncore, SBI_DATA); in intel_sbi_rw()
380 struct intel_uncore *uncore = &i915->uncore; in __sandybridge_pcode_rw() local
390 if (intel_uncore_read_fw(uncore, GEN6_PCODE_MAILBOX) & GEN6_PCODE_READY) in __sandybridge_pcode_rw()
393 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA, *val); in __sandybridge_pcode_rw()
394 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __sandybridge_pcode_rw()
395 intel_uncore_write_fw(uncore, in __sandybridge_pcode_rw()
398 if (__intel_wait_for_register_fw(uncore, in __sandybridge_pcode_rw()
407 *val = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA); in __sandybridge_pcode_rw()
409 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); in __sandybridge_pcode_rw()