Lines Matching refs:hwdev
522 ms->format = malidp_hw_get_format_id(&mp->hwdev->hw->map, in malidp_de_plane_check()
530 u8 alignment = malidp_hw_get_pitch_align(mp->hwdev, rotated); in malidp_de_plane_check()
551 if ((new_plane_state->crtc_w > mp->hwdev->max_line_size) || in malidp_de_plane_check()
552 (new_plane_state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check()
553 (new_plane_state->crtc_w < mp->hwdev->min_line_size) || in malidp_de_plane_check()
554 (new_plane_state->crtc_h < mp->hwdev->min_line_size)) in malidp_de_plane_check()
563 !(mp->hwdev->hw->features & MALIDP_DEVICE_LV_HAS_3_STRIDES) && in malidp_de_plane_check()
596 val = mp->hwdev->hw->rotmem_required(mp->hwdev, new_plane_state->crtc_w, in malidp_de_plane_check()
627 num_strides = (mp->hwdev->hw->features & in malidp_de_set_plane_pitches()
638 malidp_hw_write(mp->hwdev, pitches[i] * block_h, in malidp_de_set_plane_pitches()
692 malidp_hw_write(plane->hwdev, malidp_yuv2rgb_coeffs[enc][range][i], in malidp_de_set_color_encoding()
712 malidp_hw_write(mp->hwdev, mmu_ctrl, in malidp_de_set_mmu_control()
747 malidp_hw_write(mp->hwdev, lower_32_bits(paddr), ptr); in malidp_set_plane_base_addr()
748 malidp_hw_write(mp->hwdev, upper_32_bits(paddr), ptr + 4); in malidp_set_plane_base_addr()
764 malidp_hw_write(mp->hwdev, 0, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
776 malidp_hw_write(mp->hwdev, val, in malidp_de_set_plane_afbc()
781 malidp_hw_write(mp->hwdev, val, in malidp_de_set_plane_afbc()
790 malidp_hw_write(mp->hwdev, val, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
826 val = malidp_hw_read(mp->hwdev, mp->layer->base); in malidp_de_plane_update()
828 malidp_hw_write(mp->hwdev, val, mp->layer->base); in malidp_de_plane_update()
843 malidp_hw_write(mp->hwdev, LAYER_H_VAL(src_w) | LAYER_V_VAL(src_h), in malidp_de_plane_update()
846 malidp_hw_write(mp->hwdev, LAYER_H_VAL(dest_w) | LAYER_V_VAL(dest_h), in malidp_de_plane_update()
849 malidp_hw_write(mp->hwdev, LAYER_H_VAL(new_state->crtc_x) | in malidp_de_plane_update()
858 malidp_hw_write(mp->hwdev, 1, in malidp_de_plane_update()
860 malidp_hw_write(mp->hwdev, in malidp_de_plane_update()
868 val = malidp_hw_read(mp->hwdev, mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_update()
910 malidp_hw_write(mp->hwdev, val, in malidp_de_plane_update()
919 malidp_hw_clearbits(mp->hwdev, in malidp_de_plane_disable()
1006 plane->hwdev = malidp->dev; in malidp_de_planes_init()