Home
last modified time | relevance | path

Searched refs:cmd_buffer_end (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/udl/
H A Dudl_transfer.c78 const uint8_t *const cmd_buffer_end, int log_bpp) in udl_compress_hline16() argument
86 (cmd_buffer_end - MIN_RLX_CMD_BYTES > cmd)) { in udl_compress_hline16()
107 (unsigned long)(cmd_buffer_end - 1 - cmd) / 2) << log_bpp); in udl_compress_hline16()
153 if (cmd_buffer_end <= MIN_RLX_CMD_BYTES + cmd) { in udl_compress_hline16()
155 if (cmd_buffer_end > cmd) in udl_compress_hline16()
156 memset(cmd, UDL_MSG_BULK, cmd_buffer_end - cmd); in udl_compress_hline16()
157 cmd = (uint8_t *) cmd_buffer_end; in udl_compress_hline16()
/linux/drivers/video/fbdev/
H A Dudlfb.c434 const uint8_t *const cmd_buffer_end, in dlfb_compress_hline() argument
443 (cmd_buffer_end - MIN_RLX_CMD_BYTES > cmd)) { in dlfb_compress_hline()
471 (unsigned long)(cmd_buffer_end - 1 - cmd) / BPP); in dlfb_compress_hline()
524 if (cmd_buffer_end - MIN_RLX_CMD_BYTES <= cmd) { in dlfb_compress_hline()
526 if (cmd_buffer_end > cmd) in dlfb_compress_hline()
527 memset(cmd, 0xAF, cmd_buffer_end - cmd); in dlfb_compress_hline()
528 cmd = (uint8_t *) cmd_buffer_end; in dlfb_compress_hline()