Home
last modified time | relevance | path

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

/drivers/video/
Dmacfb.c62 unsigned char lut; member
68 unsigned char lut; member
77 unsigned char lut; member
83 unsigned char lut; /* OFFSET: 0x10 */ member
105 unsigned char lut; member
110 unsigned char lut; /* TFBClutWDataReg, offset 0x90018 */ member
118 unsigned char lut; member
175 &dafb_cmap_regs->lut); in dafb_setpalette()
178 &dafb_cmap_regs->lut); in dafb_setpalette()
181 &dafb_cmap_regs->lut); in dafb_setpalette()
[all …]
Dvalkyriefb.h55 unsigned char lut; member
Dvalkyriefb.c244 out_8(&cmap_regs->lut, red); in valkyriefb_setcolreg()
245 out_8(&cmap_regs->lut, green); in valkyriefb_setcolreg()
246 out_8(&cmap_regs->lut, blue); in valkyriefb_setcolreg()
Dcontrolfb.h30 unsigned char lut; /* cmap data */ member
Dplatinumfb.h32 unsigned char lut; member
Dplatinumfb.c202 out_8(&cmap_regs->lut, red); /* send one color channel at */ in platinumfb_setcolreg()
203 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
204 out_8(&cmap_regs->lut, blue); in platinumfb_setcolreg()
Dcontrolfb.c356 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg()
357 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg()
358 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg()
/drivers/gpio/
Dgpio-adp5520.c21 unsigned char lut[ADP5520_MAXGPIOS]; member
42 return !!(reg_val & dev->lut[off]); in adp5520_gpio_get_value()
52 adp5520_set_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); in adp5520_gpio_set_value()
54 adp5520_clr_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); in adp5520_gpio_set_value()
65 dev->lut[off]); in adp5520_gpio_direction_input()
79 dev->lut[off]); in adp5520_gpio_direction_output()
82 dev->lut[off]); in adp5520_gpio_direction_output()
85 dev->lut[off]); in adp5520_gpio_direction_output()
118 dev->lut[gpios++] = 1 << i; in adp5520_gpio_probe()
/drivers/power/
Ds3c_adc_battery.c148 const struct s3c_adc_bat_thresh *lut; in s3c_adc_bat_get_property() local
156 lut = bat->pdata->lut_noac; in s3c_adc_bat_get_property()
174 lut = bat->pdata->lut_acin; in s3c_adc_bat_get_property()
182 if (full_volt < calc_full_volt(lut->volt, lut->cur, in s3c_adc_bat_get_property()
189 lut_volt1 = calc_full_volt(lut[0].volt, lut[0].cur, in s3c_adc_bat_get_property()
191 lut_volt2 = calc_full_volt(lut[1].volt, lut[1].cur, in s3c_adc_bat_get_property()
194 new_level = (lut[1].level + in s3c_adc_bat_get_property()
195 (lut[0].level - lut[1].level) * in s3c_adc_bat_get_property()
200 new_level = lut[1].level * 1000; in s3c_adc_bat_get_property()
201 lut++; in s3c_adc_bat_get_property()
/drivers/gpu/drm/nouveau/
Dnv50_display.c999 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit()
1006 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit()
1014 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit()
1181 void __iomem *lut = nvbo_kmap_obj_iovirtual(nv_crtc->lut.nvbo); in nv50_crtc_lut_load() local
1185 u16 r = nv_crtc->lut.r[i] >> 2; in nv50_crtc_lut_load()
1186 u16 g = nv_crtc->lut.g[i] >> 2; in nv50_crtc_lut_load()
1187 u16 b = nv_crtc->lut.b[i] >> 2; in nv50_crtc_lut_load()
1190 writew(r + 0x0000, lut + (i * 0x08) + 0); in nv50_crtc_lut_load()
1191 writew(g + 0x0000, lut + (i * 0x08) + 2); in nv50_crtc_lut_load()
1192 writew(b + 0x0000, lut + (i * 0x08) + 4); in nv50_crtc_lut_load()
[all …]
Dnouveau_fbcon.c220 nv_crtc->lut.r[regno] = red; in nouveau_fbcon_gamma_set()
221 nv_crtc->lut.g[regno] = green; in nouveau_fbcon_gamma_set()
222 nv_crtc->lut.b[regno] = blue; in nouveau_fbcon_gamma_set()
230 *red = nv_crtc->lut.r[regno]; in nouveau_fbcon_gamma_get()
231 *green = nv_crtc->lut.g[regno]; in nouveau_fbcon_gamma_get()
232 *blue = nv_crtc->lut.b[regno]; in nouveau_fbcon_gamma_get()
Dnouveau_crtc.h68 } lut; member
Dnouveau_display.c444 nv_crtc->lut.depth = 0; in nouveau_display_resume()
/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe.c722 static int ipipe_validate_3d_lut_params(struct vpfe_ipipe_3d_lut *lut) in ipipe_validate_3d_lut_params() argument
726 if (!lut->en) in ipipe_validate_3d_lut_params()
730 if (lut->table[i].r > D3_LUT_ENTRY_MASK || in ipipe_validate_3d_lut_params()
731 lut->table[i].g > D3_LUT_ENTRY_MASK || in ipipe_validate_3d_lut_params()
732 lut->table[i].b > D3_LUT_ENTRY_MASK) in ipipe_validate_3d_lut_params()
741 struct vpfe_ipipe_3d_lut *lut = &ipipe->config.lut; in ipipe_get_3d_lut_params() local
744 lut_param->en = lut->en; in ipipe_get_3d_lut_params()
750 memcpy(lut_param->table, &lut->table, in ipipe_get_3d_lut_params()
761 struct vpfe_ipipe_3d_lut *lut = &ipipe->config.lut; in ipipe_set_3d_lut_params() local
765 memset(lut, 0, sizeof(struct vpfe_ipipe_3d_lut)); in ipipe_set_3d_lut_params()
[all …]
Ddm365_ipipe.h91 struct vpfe_ipipe_3d_lut lut; member
Ddavinci_vpfe_user.h1182 struct vpfe_ipipe_3d_lut __user *lut; member
/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c748 rgbs[i].r = nv_crtc->lut.r[i] >> 8; in nv_crtc_gamma_load()
749 rgbs[i].g = nv_crtc->lut.g[i] >> 8; in nv_crtc_gamma_load()
750 rgbs[i].b = nv_crtc->lut.b[i] >> 8; in nv_crtc_gamma_load()
764 nv_crtc->lut.r[i] = r[i]; in nv_crtc_gamma_set()
765 nv_crtc->lut.g[i] = g[i]; in nv_crtc_gamma_set()
766 nv_crtc->lut.b[i] = b[i]; in nv_crtc_gamma_set()
775 nv_crtc->lut.depth = 0; in nv_crtc_gamma_set()
830 if (nv_crtc->lut.depth != drm_fb->depth) { in nv04_crtc_do_mode_set_base()
831 nv_crtc->lut.depth = drm_fb->depth; in nv04_crtc_do_mode_set_base()
1043 nv_crtc->lut.r[i] = i << 8; in nv04_crtc_create()
[all …]
/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c40 struct drm_i915_gem_object *lut[0]; member
116 eb->lut[i] = obj; in eb_lookup_objects()
135 return eb->lut[handle]; in eb_get_object()
/drivers/gpu/drm/gma500/
Dpsb_drv.c460 psb_intel_crtc->lut_adj[i] = lut_arg->lut[i]; in psb_gamma_ioctl()