cdns-csi2rx.h 500 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. #ifndef _CDNS_CSI2RX_H
  3. #define _CDNS_CSI2RX_H
  4. #include <media/v4l2-subdev.h>
  5. /**
  6. * cdns_csi2rx_negotiate_ppc - Negotiate pixel-per-clock on output interface
  7. *
  8. * @subdev: point to &struct v4l2_subdev
  9. * @pad: pad number of the source pad
  10. * @ppc: pointer to requested pixel-per-clock value
  11. *
  12. * Returns 0 on success, negative error code otherwise.
  13. */
  14. int cdns_csi2rx_negotiate_ppc(struct v4l2_subdev *subdev, unsigned int pad,
  15. u8 *ppc);
  16. #endif