Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/loongson/
Dlsdc_plane.c474 lsdc_wreg32(ldev, LSDC_CRTC0_FB1_ADDR_LO_REG, lo); in lsdc_primary0_update_fb_addr()
475 lsdc_wreg32(ldev, LSDC_CRTC0_FB1_ADDR_HI_REG, hi); in lsdc_primary0_update_fb_addr()
477 lsdc_wreg32(ldev, LSDC_CRTC0_FB0_ADDR_LO_REG, lo); in lsdc_primary0_update_fb_addr()
478 lsdc_wreg32(ldev, LSDC_CRTC0_FB0_ADDR_HI_REG, hi); in lsdc_primary0_update_fb_addr()
486 lsdc_wreg32(ldev, LSDC_CRTC0_STRIDE_REG, stride); in lsdc_primary0_update_fb_stride()
503 lsdc_wreg32(ldev, LSDC_CRTC0_CFG_REG, status); in lsdc_primary0_update_fb_format()
520 lsdc_wreg32(ldev, LSDC_CRTC1_FB1_ADDR_LO_REG, lo); in lsdc_primary1_update_fb_addr()
521 lsdc_wreg32(ldev, LSDC_CRTC1_FB1_ADDR_HI_REG, hi); in lsdc_primary1_update_fb_addr()
523 lsdc_wreg32(ldev, LSDC_CRTC1_FB0_ADDR_LO_REG, lo); in lsdc_primary1_update_fb_addr()
524 lsdc_wreg32(ldev, LSDC_CRTC1_FB0_ADDR_HI_REG, hi); in lsdc_primary1_update_fb_addr()
[all …]
Dlsdc_crtc.c35 lsdc_wreg32(ldev, LSDC_CRTC0_CFG_REG, val); in lsdc_crtc0_soft_reset()
41 lsdc_wreg32(ldev, LSDC_CRTC0_CFG_REG, val); in lsdc_crtc0_soft_reset()
61 lsdc_wreg32(ldev, LSDC_CRTC1_CFG_REG, val); in lsdc_crtc1_soft_reset()
67 lsdc_wreg32(ldev, LSDC_CRTC1_CFG_REG, val); in lsdc_crtc1_soft_reset()
90 lsdc_wreg32(ldev, LSDC_CRTC0_CFG_REG, val | CFG_OUTPUT_ENABLE); in lsdc_crtc0_enable()
118 lsdc_wreg32(ldev, LSDC_CRTC1_CFG_REG, val | CFG_OUTPUT_ENABLE); in lsdc_crtc1_enable()
222 lsdc_wreg32(ldev, LSDC_CRTC0_HDISPLAY_REG, in lsdc_crtc0_set_mode()
225 lsdc_wreg32(ldev, LSDC_CRTC0_VDISPLAY_REG, in lsdc_crtc0_set_mode()
228 lsdc_wreg32(ldev, LSDC_CRTC0_HSYNC_REG, in lsdc_crtc0_set_mode()
231 lsdc_wreg32(ldev, LSDC_CRTC0_VSYNC_REG, in lsdc_crtc0_set_mode()
[all …]
Dlsdc_irq.c36 lsdc_wreg32(ldev, LSDC_INT_REG, val); in ls7a2000_dc_irq_handler()
65 lsdc_wreg32(ldev, LSDC_INT_REG, val); in ls7a1000_dc_irq_handler()
Dlsdc_output_7a2000.c235 lsdc_wreg32(ldev, LSDC_CRTC0_DVO_CONF_REG, val); in ls7a2000_hdmi0_encoder_reset()
240 lsdc_wreg32(ldev, LSDC_HDMI0_INTF_CTRL_REG, val); in ls7a2000_hdmi0_encoder_reset()
243 lsdc_wreg32(ldev, LSDC_HDMI0_PHY_CTRL_REG, HDMI_PHY_RESET_N); in ls7a2000_hdmi0_encoder_reset()
257 lsdc_wreg32(ldev, LSDC_CRTC1_DVO_CONF_REG, val); in ls7a2000_hdmi1_encoder_reset()
262 lsdc_wreg32(ldev, LSDC_HDMI1_INTF_CTRL_REG, val); in ls7a2000_hdmi1_encoder_reset()
265 lsdc_wreg32(ldev, LSDC_HDMI1_PHY_CTRL_REG, HDMI_PHY_RESET_N); in ls7a2000_hdmi1_encoder_reset()
Dlsdc_output_7a1000.c112 lsdc_wreg32(ldev, LSDC_CRTC0_DVO_CONF_REG, in ls7a1000_pipe0_encoder_reset()
127 lsdc_wreg32(ldev, LSDC_CRTC1_DVO_CONF_REG, in ls7a1000_pipe1_encoder_reset()
Dlsdc_drv.h351 static inline void lsdc_wreg32(struct lsdc_device *ldev, u32 offset, u32 val) in lsdc_wreg32() function