示例#1
0
static ssize_t show_vcom(FB_DSHOW_PARAMS)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(buf, NULL, 0, 0, 0, 0, read_vcom) );
}
示例#2
0
static ssize_t store_vcom(FB_DSTOR_PARAMS)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK((char *)buf, NULL, 0, count, 0, 0, write_vcom) );
}
示例#3
0
static ssize_t show_panel_id(FB_DSHOW_PARAMS)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(buf, NULL, 0, 0, 0, 0, read_panel_id) );
}
示例#4
0
static int eink_reg_write(struct file *file, const char __user *buf, unsigned long count, void *data)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK((char *)buf, NULL, count, 0, NULL, 0, write_eink_reg) );
}
示例#5
0
static int temperature_read(char *page, char **start, off_t off, int count, int *eof, void *data)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(page, NULL, off, 0, eof, 0, read_temperature) );
}
示例#6
0
static int recent_commands_read(char *page, char **start, off_t off, int count, int *eof, void *data)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(page, NULL, off, 0, eof, 0, read_recent_commands) );
}
示例#7
0
static int waveform_version_read(char *page, char **start, off_t off, int count, int *eof, void *data)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(page, NULL, off, 0, eof, 0, read_waveform_version) );
}