Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/via/
H A Dviafbdev.c392 u32 *viafb_gamma_table; in viafb_ioctl() local
578 if (IS_ERR(viafb_gamma_table)) in viafb_ioctl()
579 return PTR_ERR(viafb_gamma_table); in viafb_ioctl()
580 viafb_set_gamma_table(viafb_bpp, viafb_gamma_table); in viafb_ioctl()
581 kfree(viafb_gamma_table); in viafb_ioctl()
585 viafb_gamma_table = kmalloc_array(256, sizeof(u32), in viafb_ioctl()
587 if (!viafb_gamma_table) in viafb_ioctl()
589 viafb_get_gamma_table(viafb_gamma_table); in viafb_ioctl()
590 if (copy_to_user(argp, viafb_gamma_table, in viafb_ioctl()
592 kfree(viafb_gamma_table); in viafb_ioctl()
[all …]