Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h127 static inline uint8_t NVReadVgaCrtc(struct drm_device *dev, in NVReadVgaCrtc() function
161 return NVReadVgaCrtc(dev, head, NV_CIO_CRE_58); in NVReadVgaCrtc5758()
267 return NVReadVgaCrtc(dev, 0, NV_CIO_CRE_44) & 0x4; in nv_heads_tied()
274 uint8_t cr11 = NVReadVgaCrtc(dev, head, NV_CIO_CR_VRE_INDEX); in nv_lock_vga_crtc_base()
303 cr21 = NVReadVgaCrtc(dev, head, NV_CIO_CRE_21) | 0xfa; in nv_lock_vga_crtc_shadow()
315 bool waslocked = !NVReadVgaCrtc(dev, 0, NV_CIO_SR_LOCK_INDEX); in NVLockVgaCrtcs()
364 int cre_heb = NVReadVgaCrtc(dev, head, NV_CIO_CRE_HEB__INDEX); in nv_set_crtc_base()
Ddac.c154 saved_cr_mode = NVReadVgaCrtc(dev, 0, NV_CIO_CR_MODE_INDEX); in nv04_dac_detect()
166 saved_pi = NVReadVgaCrtc(dev, 0, NV_CIO_CRE_PIXEL_INDEX); in nv04_dac_detect()
169 saved_rpc1 = NVReadVgaCrtc(dev, 0, NV_CIO_CRE_RPC1_INDEX); in nv04_dac_detect()
285 if (!(NVReadVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX) & 0xC0)) in nv17_dac_sample_load()
Dtvnv04.c89 crtc1A = NVReadVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX); in nv04_tv_dpms()
Dhw.c96 NVReadVgaCrtc(dev, 0, NV_CIO_SR_LOCK_INDEX); in NVSetOwner()
97 NVReadVgaCrtc(dev, 1, NV_CIO_SR_LOCK_INDEX); in NVSetOwner()
383 crtcstate->CRTC[index] = NVReadVgaCrtc(dev, head, index); in rd_cio_state()
Dcrtc.c195 crtc1A = NVReadVgaCrtc(dev, nv_crtc->index, in nv_crtc_dpms()
228 crtc17 |= (NVReadVgaCrtc(dev, nv_crtc->index, NV_CIO_CR_MODE_INDEX) & ~0x80); in nv_crtc_dpms()
737 uint8_t tmp = NVReadVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RCR); in nv_crtc_commit()
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.c2072 htotal = NVReadVgaCrtc(dev, 0, 0x06); in nouveau_bios_posted()
2073 htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x01) << 8; in nouveau_bios_posted()
2074 htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x20) << 4; in nouveau_bios_posted()
2075 htotal |= (NVReadVgaCrtc(dev, 0, 0x25) & 0x01) << 10; in nouveau_bios_posted()
2076 htotal |= (NVReadVgaCrtc(dev, 0, 0x41) & 0x01) << 11; in nouveau_bios_posted()
2117 bios->is_mobile = NVReadVgaCrtc(dev, 0, NV_CIO_CRE_4B) & 0x40; in nouveau_bios_init()