Lines Matching full:primary

71 	struct lsdc_primary *primary = to_lsdc_primary(plane);  in lsdc_primary_atomic_update()  local
72 const struct lsdc_primary_plane_ops *ops = primary->ops; in lsdc_primary_atomic_update()
81 ops->update_fb_addr(primary, fb_addr); in lsdc_primary_atomic_update()
82 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update()
85 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update()
93 * Writing the format as LSDC_PF_NONE can disable the primary, in lsdc_primary_atomic_disable()
459 /* Primary plane 0 hardware related ops */
461 static void lsdc_primary0_update_fb_addr(struct lsdc_primary *primary, u64 addr) in lsdc_primary0_update_fb_addr() argument
463 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_addr()
481 static void lsdc_primary0_update_fb_stride(struct lsdc_primary *primary, u32 stride) in lsdc_primary0_update_fb_stride() argument
483 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_stride()
488 static void lsdc_primary0_update_fb_format(struct lsdc_primary *primary, in lsdc_primary0_update_fb_format() argument
491 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_format()
505 /* Primary plane 1 hardware related ops */
507 static void lsdc_primary1_update_fb_addr(struct lsdc_primary *primary, u64 addr) in lsdc_primary1_update_fb_addr() argument
509 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_addr()
527 static void lsdc_primary1_update_fb_stride(struct lsdc_primary *primary, u32 stride) in lsdc_primary1_update_fb_stride() argument
529 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_stride()
534 static void lsdc_primary1_update_fb_format(struct lsdc_primary *primary, in lsdc_primary1_update_fb_format() argument
537 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_format()
567 * cursor 1 is attach to CRTC-1. Compositing the primary plane and cursor
569 * the primary plane. In other word, z-order is fixed in hardware and cannot
723 struct lsdc_primary *primary = to_lsdc_primary(plane); in lsdc_primary_plane_init() local
732 "ls-primary-plane-%u", index); in lsdc_primary_plane_init()
738 primary->ldev = to_lsdc(ddev); in lsdc_primary_plane_init()
739 primary->ops = &lsdc_primary_plane_hw_ops[index]; in lsdc_primary_plane_init()