Searched refs:LCD_CHARS_MAX (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/
H A Dcobalt_lcdfb.c42 #define LCD_CHARS_MAX 32 macro
182 char src[LCD_CHARS_MAX]; cobalt_lcdfb_read()
187 if (pos >= LCD_CHARS_MAX || count == 0) cobalt_lcdfb_read()
190 if (count > LCD_CHARS_MAX) cobalt_lcdfb_read()
191 count = LCD_CHARS_MAX; cobalt_lcdfb_read()
193 if (pos + count > LCD_CHARS_MAX) cobalt_lcdfb_read()
194 count = LCD_CHARS_MAX - pos; cobalt_lcdfb_read()
228 char dst[LCD_CHARS_MAX]; cobalt_lcdfb_write()
233 if (pos >= LCD_CHARS_MAX || count == 0) cobalt_lcdfb_write()
236 if (count > LCD_CHARS_MAX) cobalt_lcdfb_write()
237 count = LCD_CHARS_MAX; cobalt_lcdfb_write()
239 if (pos + count > LCD_CHARS_MAX) cobalt_lcdfb_write()
240 count = LCD_CHARS_MAX - pos; cobalt_lcdfb_write()

Completed in 60 milliseconds