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