File write.c

FPGA write functions.

Defines

_GNU_SOURCE
MEASURE_TIME
VAAMAN_CARD_NAME
VAAMAN_eDP_OBJECT_ID

Functions

static int modeset_open(int *out, const char *node)
static int modeset_find_crtc(int fd, drmModeRes *res, drmModeConnector *conn, struct modeset_dev *dev)
static int modeset_create_fb(int fd, struct modeset_dev *dev)
static int modeset_setup_dev(int fd, drmModeRes *res, drmModeConnector *conn, struct modeset_dev *dev)
static int modeset_prepare(int fd)
void *write_to_buf(void *ss)
void *write_to_buf1(void *ss)
void *write_to_buf2(void *ss)
void *write_to_buf3(void *ss)
void *write_to_buf4(void *ss)
void *write_to_buf5(void *ss)
static void modeset_draw(int dlen, uint8_t *data)
static void modeset_cleanup(int fd)
int fpga_write(uint8_t *argv, uint32_t dlen)

Write data to FPGA.

FPGA write function

Author

Firstname Lastname

Parameters:
  • argv – argument list

  • dlen – length of data

Variables

static struct modeset_dev *modeset_list = NULL
struct modeset_dev