Lines Matching full:pad

129  * @function: Internal signal pad/function to route to IO pin
674 * struct v4l2_subdev_pad_config - Used for storing subdev pad information.
691 * @pad: pad number
702 u32 pad;
748 * This structure only needs to be passed to the pad op if the 'which' field
763 * struct v4l2_subdev_pad_ops - v4l2-subdev pad level operations
823 * operation shall fail if the pad index it has been called on
831 * source pad. Subdevs that implement this operation must use the active
837 * source pad. Subdevs that implement this operation must use the active
872 int (*s_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
874 int (*g_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
876 int (*query_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
887 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
889 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
891 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
898 struct v4l2_subdev_state *state, u32 pad,
901 struct v4l2_subdev_state *state, u32 pad,
915 * @pad: pointer to &struct v4l2_subdev_pad_ops. Can be %NULL
925 const struct v4l2_subdev_pad_ops *pad;
985 * - Legacy pad config is _not_ supported (state->pads is NULL)
987 * - Multiple streams per pad are supported
1211 * v4l2_subdev_get_fwnode_pad_1_to_1 - Get pad number from a subdev fwnode
1212 * endpoint, assuming 1:1 port:pad
1218 * subdevices that map port numbers and pad indexes 1:1. If the endpoint
1266 * @pad0: pad number for the first pad
1267 * @pad1: pad number for the second pad
1359 * @pad: pad id
1362 * This returns a pointer to &struct v4l2_mbus_framefmt for the given pad +
1365 * For stream-unaware drivers the format for the corresponding pad is returned.
1366 * If the pad does not exist, NULL is returned.
1381 #define v4l2_subdev_state_get_format(state, pad, ...) \
1384 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1385 #define __v4l2_subdev_state_get_format_pad(state, pad) \
1386 __v4l2_subdev_state_get_format(state, pad, 0)
1389 unsigned int pad, u32 stream);
1394 * @pad: pad id
1397 * This returns a pointer to crop rectangle for the given pad + stream in the
1400 * For stream-unaware drivers the crop rectangle for the corresponding pad is
1401 * returned. If the pad does not exist, NULL is returned.
1403 #define v4l2_subdev_state_get_crop(state, pad, ...) \
1406 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1407 #define __v4l2_subdev_state_get_crop_pad(state, pad) \
1408 __v4l2_subdev_state_get_crop(state, pad, 0)
1410 __v4l2_subdev_state_get_crop(struct v4l2_subdev_state *state, unsigned int pad,
1416 * @pad: pad id
1419 * This returns a pointer to compose rectangle for the given pad + stream in the
1422 * For stream-unaware drivers the compose rectangle for the corresponding pad is
1423 * returned. If the pad does not exist, NULL is returned.
1425 #define v4l2_subdev_state_get_compose(state, pad, ...) \
1428 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1429 #define __v4l2_subdev_state_get_compose_pad(state, pad) \
1430 __v4l2_subdev_state_get_compose(state, pad, 0)
1433 unsigned int pad, u32 stream);
1438 * @pad: pad id
1441 * This returns a pointer to the frame interval for the given pad + stream in
1444 * For stream-unaware drivers the frame interval for the corresponding pad is
1445 * returned. If the pad does not exist, NULL is returned.
1447 #define v4l2_subdev_state_get_interval(state, pad, ...) \
1450 ((struct v4l2_subdev_state *)state, pad, ##__VA_ARGS__))
1451 #define __v4l2_subdev_state_get_interval_pad(state, pad) \
1452 __v4l2_subdev_state_get_interval(state, pad, 0)
1455 unsigned int pad, u32 stream);
1542 * @pad: pad id
1544 * @other_pad: pointer used to return the opposite pad
1547 * This function uses the routing table to find the pad + stream which is
1548 * opposite the given pad + stream.
1556 u32 pad, u32 stream, u32 *other_pad,
1563 * @pad: pad id
1566 * This returns a pointer to &struct v4l2_mbus_framefmt for the pad + stream
1567 * that is opposite the given pad + stream in the subdev state.
1569 * If the state does not contain the given pad + stream, NULL is returned.
1573 u32 pad, u32 stream);
1576 * v4l2_subdev_state_xlate_streams() - Translate streams from one pad to another
1579 * @pad0: The first pad
1580 * @pad1: The second pad
1581 * @streams: Streams bitmask on the first pad
1608 * all streams from a sink pad must be routed to a single source pad
1610 * all streams on a source pad must originate from a single sink pad
1619 * all streams from a sink pad must be routed to a single source pad, and
1620 * that source pad shall not get routes from any other sink pad
1660 * v4l2_subdev_enable_streams() - Enable streams on a pad
1662 * @pad: The pad
1665 * This function enables streams on a source @pad of a subdevice. The pad is
1667 * @streams_mask bitmask. This allows enabling multiple streams on a pad at
1677 * operation, limited to subdevs that have a single source pad.
1682 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1686 int v4l2_subdev_enable_streams(struct v4l2_subdev *sd, u32 pad,
1690 * v4l2_subdev_disable_streams() - Disable streams on a pad
1692 * @pad: The pad
1695 * This function disables streams on a source @pad of a subdevice. The pad is
1697 * @streams_mask bitmask. This allows disabling multiple streams on a pad at
1707 * operation, limited to subdevs that have a single source pad.
1712 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1716 int v4l2_subdev_disable_streams(struct v4l2_subdev *sd, u32 pad,
1730 * This helper can only be used by subdevs that have a single source pad.