Example #1
0
static ssize_t show_vcom(FB_DSHOW_PARAMS)
{
    return ( EINKFB_PROC_SYSFS_RW_LOCK(buf, NULL, 0, 0, 0, 0, read_vcom) );
}
Example #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) );
}
Example #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) );
}
Example #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) );
}
Example #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) );
}
Example #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) );
}
Example #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) );
}