Initialize a port
Synopsis:
#include <wfdqnx/wfdcfg.h>
typedef int( wfdcfg_ext_fn_port_init1_t)(struct wfdcfg_port *);
Library:
libwfdcfg
Description:
A function prototype for WFD drivers that choose to implement an extension when there's a request to create and initialize a port.
This function type must take the following argument:
- wfdcfg_port: A handle to the display port which is to be initialized
It must return a code from
errno.h. Possible codes include:
- EINVAL when an invalid port is passed
- EOK on success