Lines Matching refs:hwdev
193 ms->format = malidp_hw_get_format_id(&mp->hwdev->hw->map, in malidp_de_plane_check()
201 u8 alignment = malidp_hw_get_pitch_align(mp->hwdev, rotated); in malidp_de_plane_check()
209 if ((state->crtc_w > mp->hwdev->max_line_size) || in malidp_de_plane_check()
210 (state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check()
211 (state->crtc_w < mp->hwdev->min_line_size) || in malidp_de_plane_check()
212 (state->crtc_h < mp->hwdev->min_line_size)) in malidp_de_plane_check()
221 !(mp->hwdev->hw->features & MALIDP_DEVICE_LV_HAS_3_STRIDES) && in malidp_de_plane_check()
239 val = mp->hwdev->hw->rotmem_required(mp->hwdev, state->crtc_w, in malidp_de_plane_check()
261 num_strides = (mp->hwdev->hw->features & in malidp_de_set_plane_pitches()
265 malidp_hw_write(mp->hwdev, pitches[i], in malidp_de_set_plane_pitches()
318 malidp_hw_write(plane->hwdev, malidp_yuv2rgb_coeffs[enc][range][i], in malidp_de_set_color_encoding()
341 val = malidp_hw_read(mp->hwdev, mp->layer->base); in malidp_de_plane_update()
343 malidp_hw_write(mp->hwdev, val, mp->layer->base); in malidp_de_plane_update()
351 malidp_hw_write(mp->hwdev, lower_32_bits(fb_addr), ptr); in malidp_de_plane_update()
352 malidp_hw_write(mp->hwdev, upper_32_bits(fb_addr), ptr + 4); in malidp_de_plane_update()
362 malidp_hw_write(mp->hwdev, LAYER_H_VAL(src_w) | LAYER_V_VAL(src_h), in malidp_de_plane_update()
365 malidp_hw_write(mp->hwdev, LAYER_H_VAL(dest_w) | LAYER_V_VAL(dest_h), in malidp_de_plane_update()
368 malidp_hw_write(mp->hwdev, LAYER_H_VAL(plane->state->crtc_x) | in malidp_de_plane_update()
373 malidp_hw_write(mp->hwdev, in malidp_de_plane_update()
378 val = malidp_hw_read(mp->hwdev, mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_update()
423 malidp_hw_write(mp->hwdev, val, in malidp_de_plane_update()
432 malidp_hw_clearbits(mp->hwdev, in malidp_de_plane_disable()
486 plane->hwdev = malidp->dev; in malidp_de_planes_init()