Lines Matching full:pad
129 * @function: Internal signal pad/function to route to IO pin
675 * struct v4l2_subdev_pad_config - Used for storing subdev pad information.
692 * @pad: pad number
703 u32 pad; member
749 * This structure only needs to be passed to the pad op if the 'which' field
764 * struct v4l2_subdev_pad_ops - v4l2-subdev pad level operations
824 * operation shall fail if the pad index it has been called on
832 * source pad. Subdevs that implement this operation must use the active
842 * source pad. Subdevs that implement this operation must use the active
881 int (*s_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
883 int (*g_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
885 int (*query_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
896 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
898 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
900 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
907 struct v4l2_subdev_state *state, u32 pad,
910 struct v4l2_subdev_state *state, u32 pad,
924 * @pad: pointer to &struct v4l2_subdev_pad_ops. Can be %NULL
934 const struct v4l2_subdev_pad_ops *pad; member
994 * - Legacy pad config is _not_ supported (state->pads is NULL)
996 * - Multiple streams per pad are supported
1220 * v4l2_subdev_get_fwnode_pad_1_to_1 - Get pad number from a subdev fwnode
1221 * endpoint, assuming 1:1 port:pad
1227 * subdevices that map port numbers and pad indexes 1:1. If the endpoint
1275 * @pad0: pad number for the first pad
1276 * @pad1: pad number for the second pad
1368 * @pad: pad id
1371 * This returns a pointer to &struct v4l2_mbus_framefmt for the given pad +
1374 * For stream-unaware drivers the format for the corresponding pad is returned.
1375 * If the pad does not exist, NULL is returned.
1390 #define v4l2_subdev_state_get_format(state, pad, ...) \ argument
1393 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1394 #define __v4l2_subdev_state_get_format_pad(state, pad) \ argument
1395 __v4l2_subdev_state_get_format(state, pad, 0)
1398 unsigned int pad, u32 stream);
1403 * @pad: pad id
1406 * This returns a pointer to crop rectangle for the given pad + stream in the
1409 * For stream-unaware drivers the crop rectangle for the corresponding pad is
1410 * returned. If the pad does not exist, NULL is returned.
1412 #define v4l2_subdev_state_get_crop(state, pad, ...) \ argument
1415 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1416 #define __v4l2_subdev_state_get_crop_pad(state, pad) \ argument
1417 __v4l2_subdev_state_get_crop(state, pad, 0)
1419 __v4l2_subdev_state_get_crop(struct v4l2_subdev_state *state, unsigned int pad,
1425 * @pad: pad id
1428 * This returns a pointer to compose rectangle for the given pad + stream in the
1431 * For stream-unaware drivers the compose rectangle for the corresponding pad is
1432 * returned. If the pad does not exist, NULL is returned.
1434 #define v4l2_subdev_state_get_compose(state, pad, ...) \ argument
1437 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1438 #define __v4l2_subdev_state_get_compose_pad(state, pad) \ argument
1439 __v4l2_subdev_state_get_compose(state, pad, 0)
1442 unsigned int pad, u32 stream);
1447 * @pad: pad id
1450 * This returns a pointer to the frame interval for the given pad + stream in
1453 * For stream-unaware drivers the frame interval for the corresponding pad is
1454 * returned. If the pad does not exist, NULL is returned.
1456 #define v4l2_subdev_state_get_interval(state, pad, ...) \ argument
1459 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1460 #define __v4l2_subdev_state_get_interval_pad(state, pad) \ argument
1461 __v4l2_subdev_state_get_interval(state, pad, 0)
1464 unsigned int pad, u32 stream);
1551 * @pad: pad id
1553 * @other_pad: pointer used to return the opposite pad
1556 * This function uses the routing table to find the pad + stream which is
1557 * opposite the given pad + stream.
1565 u32 pad, u32 stream, u32 *other_pad,
1572 * @pad: pad id
1575 * This returns a pointer to &struct v4l2_mbus_framefmt for the pad + stream
1576 * that is opposite the given pad + stream in the subdev state.
1578 * If the state does not contain the given pad + stream, NULL is returned.
1582 u32 pad, u32 stream);
1585 * v4l2_subdev_state_xlate_streams() - Translate streams from one pad to another
1588 * @pad0: The first pad
1589 * @pad1: The second pad
1590 * @streams: Streams bitmask on the first pad
1617 * all streams from a sink pad must be routed to a single source pad
1619 * all streams on a source pad must originate from a single sink pad
1628 * all streams from a sink pad must be routed to a single source pad, and
1629 * that source pad shall not get routes from any other sink pad
1669 * v4l2_subdev_enable_streams() - Enable streams on a pad
1671 * @pad: The pad
1674 * This function enables streams on a source @pad of a subdevice. The pad is
1676 * @streams_mask bitmask. This allows enabling multiple streams on a pad at
1686 * operation, limited to subdevs that have a single source pad.
1693 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1697 int v4l2_subdev_enable_streams(struct v4l2_subdev *sd, u32 pad,
1701 * v4l2_subdev_disable_streams() - Disable streams on a pad
1703 * @pad: The pad
1706 * This function disables streams on a source @pad of a subdevice. The pad is
1708 * @streams_mask bitmask. This allows disabling multiple streams on a pad at
1718 * operation, limited to subdevs that have a single source pad.
1725 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1729 int v4l2_subdev_disable_streams(struct v4l2_subdev *sd, u32 pad,
1743 * This helper can only be used by subdevs that have a single source pad.