Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/fbdev/via/
Dviafbdev.c392 u32 *viafb_gamma_table; in viafb_ioctl() local
577 viafb_gamma_table = memdup_user(argp, 256 * sizeof(u32)); in viafb_ioctl()
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()
[all …]