Lines Matching refs:hwdev

519 	ms->format = malidp_hw_get_format_id(&mp->hwdev->hw->map,  in malidp_de_plane_check()
527 u8 alignment = malidp_hw_get_pitch_align(mp->hwdev, rotated); in malidp_de_plane_check()
548 if ((new_plane_state->crtc_w > mp->hwdev->max_line_size) || in malidp_de_plane_check()
549 (new_plane_state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check()
550 (new_plane_state->crtc_w < mp->hwdev->min_line_size) || in malidp_de_plane_check()
551 (new_plane_state->crtc_h < mp->hwdev->min_line_size)) in malidp_de_plane_check()
560 !(mp->hwdev->hw->features & MALIDP_DEVICE_LV_HAS_3_STRIDES) && in malidp_de_plane_check()
593 val = mp->hwdev->hw->rotmem_required(mp->hwdev, new_plane_state->crtc_w, in malidp_de_plane_check()
624 num_strides = (mp->hwdev->hw->features & in malidp_de_set_plane_pitches()
635 malidp_hw_write(mp->hwdev, pitches[i] * block_h, in malidp_de_set_plane_pitches()
689 malidp_hw_write(plane->hwdev, malidp_yuv2rgb_coeffs[enc][range][i], in malidp_de_set_color_encoding()
709 malidp_hw_write(mp->hwdev, mmu_ctrl, in malidp_de_set_mmu_control()
744 malidp_hw_write(mp->hwdev, lower_32_bits(dma_addr), ptr); in malidp_set_plane_base_addr()
745 malidp_hw_write(mp->hwdev, upper_32_bits(dma_addr), ptr + 4); in malidp_set_plane_base_addr()
761 malidp_hw_write(mp->hwdev, 0, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
773 malidp_hw_write(mp->hwdev, val, in malidp_de_set_plane_afbc()
778 malidp_hw_write(mp->hwdev, val, in malidp_de_set_plane_afbc()
787 malidp_hw_write(mp->hwdev, val, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
823 val = malidp_hw_read(mp->hwdev, mp->layer->base); in malidp_de_plane_update()
825 malidp_hw_write(mp->hwdev, val, mp->layer->base); in malidp_de_plane_update()
840 malidp_hw_write(mp->hwdev, LAYER_H_VAL(src_w) | LAYER_V_VAL(src_h), in malidp_de_plane_update()
843 malidp_hw_write(mp->hwdev, LAYER_H_VAL(dest_w) | LAYER_V_VAL(dest_h), in malidp_de_plane_update()
846 malidp_hw_write(mp->hwdev, LAYER_H_VAL(new_state->crtc_x) | in malidp_de_plane_update()
855 malidp_hw_write(mp->hwdev, 1, in malidp_de_plane_update()
857 malidp_hw_write(mp->hwdev, in malidp_de_plane_update()
865 val = malidp_hw_read(mp->hwdev, mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_update()
907 malidp_hw_write(mp->hwdev, val, in malidp_de_plane_update()
916 malidp_hw_clearbits(mp->hwdev, in malidp_de_plane_disable()
1003 plane->hwdev = malidp->dev; in malidp_de_planes_init()