Lines Matching refs:pad
196 if (code->pad == BRU_PAD_SINK(0)) { in bru_enum_mbus_code()
234 unsigned int pad, u32 which) in bru_get_compose() argument
238 return v4l2_subdev_get_try_crop(&bru->entity.subdev, cfg, pad); in bru_get_compose()
240 return &bru->inputs[pad].compose; in bru_get_compose()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format()
258 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in bru_try_format() argument
263 switch (pad) { in bru_try_format()
291 bru_try_format(bru, cfg, fmt->pad, &fmt->format, fmt->which); in bru_set_format()
293 format = vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_set_format()
298 if (fmt->pad != BRU_PAD_SOURCE) { in bru_set_format()
301 compose = bru_get_compose(bru, cfg, fmt->pad, fmt->which); in bru_set_format()
309 if (fmt->pad == BRU_PAD_SINK(0)) { in bru_set_format()
328 if (sel->pad == BRU_PAD_SOURCE) in bru_get_selection()
340 sel->r = *bru_get_compose(bru, cfg, sel->pad, sel->which); in bru_get_selection()
356 if (sel->pad == BRU_PAD_SOURCE) in bru_set_selection()
373 format = vsp1_entity_get_pad_format(&bru->entity, cfg, sel->pad, in bru_set_selection()
378 compose = bru_get_compose(bru, cfg, sel->pad, sel->which); in bru_set_selection()
403 .pad = &bru_pad_ops,