Lines Matching full:pad

129  * @function: Internal signal pad/function to route to IO pin
679 * struct v4l2_subdev_pad_config - Used for storing subdev pad information.
696 * @pad: pad number
707 u32 pad; member
751 * This structure only needs to be passed to the pad op if the 'which' field
766 * struct v4l2_subdev_pad_ops - v4l2-subdev pad level operations
818 * operation shall fail if the pad index it has been called on
826 * source pad. Subdevs that implement this operation must use the active
832 * source pad. Subdevs that implement this operation must use the active
876 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
878 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
880 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
887 struct v4l2_subdev_state *state, u32 pad,
890 struct v4l2_subdev_state *state, u32 pad,
904 * @pad: pointer to &struct v4l2_subdev_pad_ops. Can be %NULL
914 const struct v4l2_subdev_pad_ops *pad; member
974 * - Legacy pad config is _not_ supported (state->pads is NULL)
976 * - Multiple streams per pad are supported
1198 * v4l2_subdev_get_fwnode_pad_1_to_1 - Get pad number from a subdev fwnode
1199 * endpoint, assuming 1:1 port:pad
1205 * subdevices that map port numbers and pad indexes 1:1. If the endpoint
1247 * @pad0: pad number for the first pad
1248 * @pad1: pad number for the second pad
1330 * @pad: pad id
1333 * This returns a pointer to &struct v4l2_mbus_framefmt for the given pad +
1336 * For stream-unaware drivers the format for the corresponding pad is returned.
1337 * If the pad does not exist, NULL is returned.
1348 #define v4l2_subdev_state_get_format(state, pad, ...) \ argument
1350 (state, pad, ##__VA_ARGS__)
1351 #define __v4l2_subdev_state_get_format_pad(state, pad) \ argument
1352 __v4l2_subdev_state_get_format(state, pad, 0)
1355 unsigned int pad, u32 stream);
1360 * @pad: pad id
1363 * This returns a pointer to crop rectangle for the given pad + stream in the
1366 * For stream-unaware drivers the crop rectangle for the corresponding pad is
1367 * returned. If the pad does not exist, NULL is returned.
1369 #define v4l2_subdev_state_get_crop(state, pad, ...) \ argument
1371 (state, pad, ##__VA_ARGS__)
1372 #define __v4l2_subdev_state_get_crop_pad(state, pad) \ argument
1373 __v4l2_subdev_state_get_crop(state, pad, 0)
1375 __v4l2_subdev_state_get_crop(struct v4l2_subdev_state *state, unsigned int pad,
1381 * @pad: pad id
1384 * This returns a pointer to compose rectangle for the given pad + stream in the
1387 * For stream-unaware drivers the compose rectangle for the corresponding pad is
1388 * returned. If the pad does not exist, NULL is returned.
1390 #define v4l2_subdev_state_get_compose(state, pad, ...) \ argument
1392 (state, pad, ##__VA_ARGS__)
1393 #define __v4l2_subdev_state_get_compose_pad(state, pad) \ argument
1394 __v4l2_subdev_state_get_compose(state, pad, 0)
1397 unsigned int pad, u32 stream);
1402 * @pad: pad id
1405 * This returns a pointer to the frame interval for the given pad + stream in
1408 * For stream-unaware drivers the frame interval for the corresponding pad is
1409 * returned. If the pad does not exist, NULL is returned.
1411 #define v4l2_subdev_state_get_interval(state, pad, ...) \ argument
1413 (state, pad, ##__VA_ARGS__)
1414 #define __v4l2_subdev_state_get_interval_pad(state, pad) \ argument
1415 __v4l2_subdev_state_get_interval(state, pad, 0)
1418 unsigned int pad, u32 stream);
1505 * @pad: pad id
1507 * @other_pad: pointer used to return the opposite pad
1510 * This function uses the routing table to find the pad + stream which is
1511 * opposite the given pad + stream.
1519 u32 pad, u32 stream, u32 *other_pad,
1526 * @pad: pad id
1529 * This returns a pointer to &struct v4l2_mbus_framefmt for the pad + stream
1530 * that is opposite the given pad + stream in the subdev state.
1532 * If the state does not contain the given pad + stream, NULL is returned.
1536 u32 pad, u32 stream);
1539 * v4l2_subdev_state_xlate_streams() - Translate streams from one pad to another
1542 * @pad0: The first pad
1543 * @pad1: The second pad
1544 * @streams: Streams bitmask on the first pad
1571 * all streams from a sink pad must be routed to a single source pad
1573 * all streams on a source pad must originate from a single sink pad
1582 * all streams from a sink pad must be routed to a single source pad, and
1583 * that source pad shall not get routes from any other sink pad
1623 * v4l2_subdev_enable_streams() - Enable streams on a pad
1625 * @pad: The pad
1628 * This function enables streams on a source @pad of a subdevice. The pad is
1630 * @streams_mask bitmask. This allows enabling multiple streams on a pad at
1640 * operation, limited to subdevs that have a single source pad.
1645 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1649 int v4l2_subdev_enable_streams(struct v4l2_subdev *sd, u32 pad,
1653 * v4l2_subdev_disable_streams() - Disable streams on a pad
1655 * @pad: The pad
1658 * This function disables streams on a source @pad of a subdevice. The pad is
1660 * @streams_mask bitmask. This allows disabling multiple streams on a pad at
1670 * operation, limited to subdevs that have a single source pad.
1675 * * -EINVAL: The pad index is invalid, or doesn't correspond to a source pad
1679 int v4l2_subdev_disable_streams(struct v4l2_subdev *sd, u32 pad,
1693 * This helper can only be used by subdevs that have a single source pad.