Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/via/
H A Dvia_utility.c118 void viafb_set_gamma_table(int bpp, unsigned int *gamma_table) in viafb_set_gamma_table() argument
157 outb(gamma_table[i] >> 16, LUT_DATA); in viafb_set_gamma_table()
158 outb(gamma_table[i] >> 8 & 0xFF, LUT_DATA); in viafb_set_gamma_table()
159 outb(gamma_table[i] & 0xFF, LUT_DATA); in viafb_set_gamma_table()
175 outb(gamma_table[i] >> 16, LUT_DATA); in viafb_set_gamma_table()
176 outb(gamma_table[i] >> 8 & 0xFF, LUT_DATA); in viafb_set_gamma_table()
177 outb(gamma_table[i] & 0xFF, LUT_DATA); in viafb_set_gamma_table()
183 void viafb_get_gamma_table(unsigned int *gamma_table) in viafb_get_gamma_table() argument
215 gamma_table[i] = in viafb_get_gamma_table()
H A Dvia_utility.h16 void viafb_set_gamma_table(int bpp, unsigned int *gamma_table);
17 void viafb_get_gamma_table(unsigned int *gamma_table);
/linux/drivers/video/backlight/
H A Dams369fg06.c149 static struct ams369fg06_gamma gamma_table = { variable
243 ret = _ams369fg06_gamma_ctl(lcd, gamma_table.gamma_22_table[gamma]); in ams369fg06_gamma_ctl()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c382 u32 *gamma_table; member
2348 u32 *table = dispc->vp_data[hw_videoport].gamma_table; in dispc_k2g_vp_write_gamma_table()
2370 u32 *table = dispc->vp_data[hw_videoport].gamma_table; in dispc_am65x_vp_write_gamma_table()
2391 u32 *table = dispc->vp_data[hw_videoport].gamma_table; in dispc_j721e_vp_write_gamma_table()
2441 u32 *table = dispc->vp_data[hw_videoport].gamma_table; in dispc_vp_set_gamma()
2906 u32 *gamma_table; in dispc_init() local
2927 gamma_table = devm_kmalloc_array(dev, gamma_size, in dispc_init()
2928 sizeof(*gamma_table), in dispc_init()
2930 if (!gamma_table) in dispc_init()
2932 dispc->vp_data[i].gamma_table = gamma_table; in dispc_init()
/linux/drivers/media/usb/gspca/
H A Dt613.c232 static const u8 gamma_table[GAMMA_MAX+1][17] = { variable
486 gamma_table[val], sizeof gamma_table[0]); in setgamma()
/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_types.h559 struct ia_css_gamma_table *gamma_table; /** Gamma Correction (for YUV) member
H A Datomisp_compat_ioctl32.h158 compat_uptr_t gamma_table; member
H A Datomisp_subdev.h142 struct ia_css_gamma_table gamma_table; member
H A Datomisp_cmd.c1309 memcpy(&asd->params.css_param.gamma_table, config, in atomisp_gamma()
1310 sizeof(asd->params.css_param.gamma_table)); in atomisp_gamma()
1311 asd->params.config.gamma_table = &asd->params.css_param.gamma_table; in atomisp_gamma()
H A Dsh_css_params.c1998 sh_css_set_gamma_table(params, config->gamma_table); in sh_css_init_isp_params_from_config()
2060 sh_css_get_gamma_table(params, config->gamma_table); in ia_css_pipe_get_isp_config()
H A Datomisp_compat_css20.c2910 isp_config.gamma_table = tab; in atomisp_css_get_gamma_table()
/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc.h326 const u32 (*gamma_table)[GAMMA_ENTRIES]; member
H A Datmel-sama5d2-isc.c424 isc->gamma_table = isc_sama5d2_gamma_table; in atmel_isc_probe()
H A Datmel-sama7g5-isc.c413 isc->gamma_table = isc_sama7g5_gamma_table; in microchip_xisc_probe()
H A Datmel-isc-base.c235 gamma = &isc->gamma_table[ctrls->gamma_index][0]; in isc_set_pipeline()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc.h343 const u32 (*gamma_table)[GAMMA_ENTRIES]; member
H A Dmicrochip-sama7g5-isc.c432 isc->gamma_table = isc_sama7g5_gamma_table; in microchip_xisc_probe()
H A Dmicrochip-sama5d2-isc.c443 isc->gamma_table = isc_sama5d2_gamma_table; in microchip_isc_probe()
H A Dmicrochip-isc-base.c225 gamma = &isc->gamma_table[ctrls->gamma_index][0]; in isc_set_pipeline()
/linux/drivers/media/platform/ti/omap3isp/
H A Disppreview.c127 static u32 gamma_table[] = { variable
1330 memcpy(params->gamma.blue, gamma_table, sizeof(params->gamma.blue)); in preview_init_params()
1331 memcpy(params->gamma.green, gamma_table, sizeof(params->gamma.green)); in preview_init_params()
1332 memcpy(params->gamma.red, gamma_table, sizeof(params->gamma.red)); in preview_init_params()
/linux/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h444 struct atomisp_gamma_table *gamma_table; member
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c182 u32 *gamma_table[DISPC_MAX_CHANNEL_GAMMA]; member
3811 u32 *table = dispc->gamma_table[channel]; in dispc_mgr_write_gamma_table()
3857 u32 *table = dispc->gamma_table[channel]; in dispc_mgr_set_gamma()
3906 for (channel = 0; channel < ARRAY_SIZE(dispc->gamma_table); channel++) { in dispc_init_gamma_tables()
3923 dispc->gamma_table[channel] = gt; in dispc_init_gamma_tables()