#include <linux/delay.h>
#include <linux/pci.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_probe_helper.h>
#include "hibmc_drm_drv.h"
#define GPIO_DATA …
#define GPIO_DATA_DIRECTION …
#define I2C_SCL_MASK …
#define I2C_SDA_MASK …
static void hibmc_set_i2c_signal(void *data, u32 mask, int value)
{ … }
static int hibmc_get_i2c_signal(void *data, u32 mask)
{ … }
static void hibmc_ddc_setsda(void *data, int state)
{ … }
static void hibmc_ddc_setscl(void *data, int state)
{ … }
static int hibmc_ddc_getsda(void *data)
{ … }
static int hibmc_ddc_getscl(void *data)
{ … }
int hibmc_ddc_create(struct drm_device *drm_dev,
struct hibmc_connector *connector)
{ … }