Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_maven.c830 int hdec; in maven_compute_timming() local
839 hdec = 94208 / (mt->HTotal); in maven_compute_timming()
841 hdec = 0x81; in maven_compute_timming()
842 if (hdec > 0x81) in maven_compute_timming()
843 hdec = 0x81; in maven_compute_timming()
844 if (hdec < 0x41) in maven_compute_timming()
845 hdec = 0x41; in maven_compute_timming()
846 hdec--; in maven_compute_timming()
847 hlen = 98304 - 128 - ((lmargin + mt->HDisplay - 8) * hdec); in maven_compute_timming()
870 ib = ((0x3C0000 * i - 0x8000)/ hdec + 0x05E7) >> 8; in maven_compute_timming()
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c153 target_ulong hdec, now = cpu_ppc_load_tbl(env); in h_enter_nested() local
248 hdec = hv_state.hdec_expiry - now; in h_enter_nested()
250 cpu_ppc_store_hdecr(env, hdec); in h_enter_nested()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_entry.c538 s64 hdec, dec; in kvmhv_vcpu_entry_p9() local
554 hdec = time_limit - *tb; in kvmhv_vcpu_entry_p9()
555 if (hdec < 0) in kvmhv_vcpu_entry_p9()
709 mtspr(SPRN_HDEC, hdec); in kvmhv_vcpu_entry_p9()