#include <drm/drm_managed.h>
#include "lsdc_drv.h"
#include "lsdc_output.h"
static void __lsdc_gpio_i2c_set(struct lsdc_i2c * const li2c, int mask, int state)
{ … }
static int __lsdc_gpio_i2c_get(struct lsdc_i2c * const li2c, int mask)
{ … }
static void lsdc_gpio_i2c_set_sda(void *i2c, int state)
{ … }
static void lsdc_gpio_i2c_set_scl(void *i2c, int state)
{ … }
static int lsdc_gpio_i2c_get_sda(void *i2c)
{ … }
static int lsdc_gpio_i2c_get_scl(void *i2c)
{ … }
static void lsdc_destroy_i2c(struct drm_device *ddev, void *data)
{ … }
int lsdc_create_i2c_chan(struct drm_device *ddev,
struct lsdc_display_pipe *dispipe,
unsigned int index)
{ … }