VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include <vsf.h>
#include "shell/sys/linux/include/unistd.h"
#include "shell/sys/linux/include/errno.h"
#include "shell/sys/linux/include/poll.h"
#include "shell/sys/linux/include/termios.h"
#include "shell/sys/linux/include/sys/ioctl.h"
#include "shell/sys/linux/include/sys/stat.h"
#include "shell/sys/linux/include/sys/mman.h"
#include "shell/sys/linux/include/linux/serial.h"
#include "shell/sys/linux/include/linux/input.h"
#include "shell/sys/linux/include/linux/kd.h"
#include "shell/sys/linux/include/linux/fb.h"
#include "shell/sys/linux/include/linux/fs.h"
#include "shell/sys/linux/include/linux/hdreg.h"
#include "shell/sys/linux/include/linux/i2c.h"
#include "shell/sys/linux/include/linux/i2c-dev.h"
#include "shell/sys/linux/include/linux/spi/spidev.h"
#include "shell/sys/linux/include/linux/keyboard.h"
#include "shell/sys/linux/include/simple_libc/stdio.h"
#include "service/pool/impl_vsf_pool.inc"
Data Structures | |
struct | vsf_linux_uart_priv_t |
struct | vsf_linux_i2c_priv_t |
struct | vsf_linux_spi_priv_t |
struct | vsf_linux_mal_priv_t |
struct | vsf_linux_input_event_t |
struct | vsf_linux_fb_priv_t |
struct | vsf_linux_gpio_priv_t |
Macros | |
#define | __VSF_LINUX_CLASS_INHERIT__ |
#define | __VSF_LINUX_FS_CLASS_INHERIT__ |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | __VSF_FS_CLASS_INHERIT__ |
#define | __VSF_DISP_CLASS_INHERIT__ |
#define | VSF_LINUX_I2C_CFG_ARCH_PRIO vsf_arch_prio_0 |
#define | VSF_LINUX_DEVFS_UART_CFG_RX_BUFSIZE 64 |
#define | VSF_LINUX_DEVFS_UART_CFG_PRIO vsf_arch_prio_0 |
#define | __enum_baudrates(__b) [VSF_MCONNECT2(B, __b)] = __b, |
#define | VSF_LINUX_DEVFS_INPUT_CFG_EVENT_POLL_SIZE 64 |
#define | __name vsf_linux_input_event_pool |
#define | __type vsf_linux_input_event_t |
Typedefs | |
typedef struct vsf_linux_uart_priv_t | vsf_linux_uart_priv_t |
typedef struct vsf_linux_i2c_priv_t | vsf_linux_i2c_priv_t |
typedef struct vsf_linux_spi_priv_t | vsf_linux_spi_priv_t |
typedef struct vsf_linux_mal_priv_t | vsf_linux_mal_priv_t |
typedef struct vsf_linux_input_event_t | vsf_linux_input_event_t |
typedef struct vsf_linux_fb_priv_t | vsf_linux_fb_priv_t |
typedef struct vsf_linux_gpio_priv_t | vsf_linux_gpio_priv_t |
Variables | |
vsf_linux_input_priv_t | |
#define __VSF_LINUX_CLASS_INHERIT__ |
#define __VSF_LINUX_FS_CLASS_INHERIT__ |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __VSF_FS_CLASS_INHERIT__ |
#define __VSF_DISP_CLASS_INHERIT__ |
#define VSF_LINUX_I2C_CFG_ARCH_PRIO vsf_arch_prio_0 |
#define VSF_LINUX_DEVFS_UART_CFG_RX_BUFSIZE 64 |
#define VSF_LINUX_DEVFS_UART_CFG_PRIO vsf_arch_prio_0 |
#define __enum_baudrates | ( | __b | ) | [VSF_MCONNECT2(B, __b)] = __b, |
#define VSF_LINUX_DEVFS_INPUT_CFG_EVENT_POLL_SIZE 64 |
#define __name vsf_linux_input_event_pool |
#define __type vsf_linux_input_event_t |
typedef struct vsf_linux_uart_priv_t vsf_linux_uart_priv_t |
typedef struct vsf_linux_i2c_priv_t vsf_linux_i2c_priv_t |
typedef struct vsf_linux_spi_priv_t vsf_linux_spi_priv_t |
typedef struct vsf_linux_mal_priv_t vsf_linux_mal_priv_t |
typedef struct vsf_linux_input_event_t vsf_linux_input_event_t |
typedef struct vsf_linux_fb_priv_t vsf_linux_fb_priv_t |
typedef struct vsf_linux_gpio_priv_t vsf_linux_gpio_priv_t |
|
extern |
|
extern |
|
extern |
__vsf_component_peda_ifs_entry | ( | __vk_devfs_rand_read | , |
vk_file_read | |||
) |
int vsf_linux_fs_bind_rand | ( | char * | path | ) |
int vsf_linux_fs_bind_uart | ( | char * | path, |
vsf_usart_t * | uart | ||
) |
int vsf_linux_fs_bind_i2c | ( | char * | path, |
vsf_i2c_t * | i2c | ||
) |
int vsf_linux_fs_bind_spi | ( | char * | path, |
vsf_spi_t * | spi | ||
) |
int vsf_linux_fs_bind_mal | ( | char * | path, |
vk_mal_t * | mal | ||
) |
dcl_vsf_pool | ( | def_vsf_pool( | vsf_linux_input_event_pool | ) |
int vsf_linux_fs_bind_input | ( | char * | path, |
vk_input_notifier_t * | notifier | ||
) |
int vsf_linux_fs_bind_mouse | ( | char * | path, |
vsf_linux_mouse_t * | mouse | ||
) |
int vsf_linux_fs_bind_terminal_keyboard | ( | char * | path, |
vsf_linux_terminal_keyboard_t * | keyboard | ||
) |
int vsf_linux_fs_bind_disp | ( | char * | path, |
vk_disp_t * | disp | ||
) |
int vsf_linux_fs_bind_gpio | ( | char * | path, |
vsf_linux_gpio_chip_t * | gpio_chip | ||
) |
int vsf_linux_devfs_init | ( | void | ) |
vsf_linux_input_priv_t |