Lines Matching refs:lif
26 static inline void vsp1_lif_write(struct vsp1_lif *lif, in vsp1_lif_write() argument
29 vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, in vsp1_lif_write()
92 struct vsp1_lif *lif = to_lif(&entity->subdev); in lif_configure_stream() local
97 format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.config, in lif_configure_stream()
123 vsp1_lif_write(lif, dlb, VI6_LIF_CSBTH, in lif_configure_stream()
127 vsp1_lif_write(lif, dlb, VI6_LIF_CTRL, in lif_configure_stream()
140 vsp1_lif_write(lif, dlb, VI6_LIF_LBA, in lif_configure_stream()
155 struct vsp1_lif *lif; in vsp1_lif_create() local
158 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); in vsp1_lif_create()
159 if (lif == NULL) in vsp1_lif_create()
162 lif->entity.ops = &lif_entity_ops; in vsp1_lif_create()
163 lif->entity.type = VSP1_ENTITY_LIF; in vsp1_lif_create()
164 lif->entity.index = index; in vsp1_lif_create()
171 ret = vsp1_entity_init(vsp1, &lif->entity, "lif", 2, &lif_ops, in vsp1_lif_create()
176 return lif; in vsp1_lif_create()