Lines Matching refs:num_pads
162 if (sd->entity.num_pads) { in check_pad()
163 if (pad >= sd->entity.num_pads) in check_pad()
869 if (route->sink_pad >= sd->entity.num_pads) in subdev_do_ioctl()
876 if (route->source_pad >= sd->entity.num_pads) in subdev_do_ioctl()
1312 if (!(sd->flags & V4L2_SUBDEV_FL_STREAMS) && sd->entity.num_pads) { in __v4l2_subdev_state_alloc()
1313 state->pads = kvcalloc(sd->entity.num_pads, in __v4l2_subdev_state_alloc()
1439 else if (format->pad < sd->entity.num_pads && format->stream == 0) in v4l2_subdev_get_fmt()
1680 remote_pads = kcalloc(sd->entity.num_pads, sizeof(*remote_pads), in v4l2_subdev_routing_validate()
1685 for (i = 0; i < sd->entity.num_pads; ++i) in v4l2_subdev_routing_validate()
1693 if (route->sink_pad >= sd->entity.num_pads || in v4l2_subdev_routing_validate()
1700 if (route->source_pad >= sd->entity.num_pads || in v4l2_subdev_routing_validate()
1789 for (i = 0; i < sd->entity.num_pads; ++i) { in v4l2_subdev_enable_streams_fallback()
1822 if (pad >= sd->entity.num_pads) in v4l2_subdev_enable_streams()
1901 for (i = 0; i < sd->entity.num_pads; ++i) { in v4l2_subdev_disable_streams_fallback()
1934 if (pad >= sd->entity.num_pads) in v4l2_subdev_disable_streams()