/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_lut.c | 30 static inline u32 vsp1_lut_read(struct vsp1_lut *lut, u32 reg) in vsp1_lut_read() argument 32 return vsp1_read(lut->entity.vsp1, reg); in vsp1_lut_read() 35 static inline void vsp1_lut_write(struct vsp1_lut *lut, u32 reg, u32 data) in vsp1_lut_write() argument 37 vsp1_write(lut->entity.vsp1, reg, data); in vsp1_lut_write() 44 static void lut_configure(struct vsp1_lut *lut, struct vsp1_lut_config *config) in lut_configure() argument 46 memcpy_toio(lut->entity.vsp1->mmio + VI6_LUT_TABLE, config->lut, in lut_configure() 47 sizeof(config->lut)); in lut_configure() 52 struct vsp1_lut *lut = to_lut(subdev); in lut_ioctl() local 56 lut_configure(lut, arg); in lut_ioctl() 70 struct vsp1_lut *lut = to_lut(subdev); in lut_s_stream() local [all …]
|
D | vsp1_lut.h | 28 u32 lut[256]; member
|
D | vsp1_drv.c | 195 vsp1->lut = vsp1_lut_create(vsp1); in vsp1_create_entities() 196 if (IS_ERR(vsp1->lut)) { in vsp1_create_entities() 197 ret = PTR_ERR(vsp1->lut); in vsp1_create_entities() 201 list_add_tail(&vsp1->lut->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
|
D | vsp1.h | 67 struct vsp1_lut *lut; member
|
/linux-4.1.27/drivers/video/fbdev/ |
D | macfb.c | 61 unsigned char lut; member 67 unsigned char lut; member 76 unsigned char lut; member 82 unsigned char lut; /* OFFSET: 0x10 */ member 104 unsigned char lut; member 109 unsigned char lut; /* TFBClutWDataReg, offset 0x90018 */ member 117 unsigned char lut; member 174 &dafb_cmap_regs->lut); in dafb_setpalette() 177 &dafb_cmap_regs->lut); in dafb_setpalette() 180 &dafb_cmap_regs->lut); in dafb_setpalette() [all …]
|
D | valkyriefb.h | 55 unsigned char lut; member
|
D | controlfb.h | 30 unsigned char lut; /* cmap data */ member
|
D | platinumfb.h | 32 unsigned char lut; member
|
D | valkyriefb.c | 246 out_8(&cmap_regs->lut, red); in valkyriefb_setcolreg() 247 out_8(&cmap_regs->lut, green); in valkyriefb_setcolreg() 248 out_8(&cmap_regs->lut, blue); in valkyriefb_setcolreg()
|
D | platinumfb.c | 202 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()
|
D | controlfb.c | 360 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg() 361 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg() 362 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-adp5520.c | 21 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() 116 dev->lut[gpios++] = 1 << i; in adp5520_gpio_probe()
|
/linux-4.1.27/drivers/power/ |
D | s3c_adc_battery.c | 148 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()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | coex.c | 1013 u8 lut; in iwl_mvm_rx_ant_coupling_notif() local 1030 for (lut = 0; lut < ARRAY_SIZE(antenna_coupling_ranges) - 1; lut++) in iwl_mvm_rx_ant_coupling_notif() 1031 if (ant_isolation < antenna_coupling_ranges[lut + 1].range) in iwl_mvm_rx_ant_coupling_notif() 1034 lower_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif() 1036 if (lut < ARRAY_SIZE(antenna_coupling_ranges) - 1) in iwl_mvm_rx_ant_coupling_notif() 1037 upper_bound = antenna_coupling_ranges[lut + 1].range; in iwl_mvm_rx_ant_coupling_notif() 1039 upper_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif() 1042 ant_isolation, lower_bound, upper_bound, lut); in iwl_mvm_rx_ant_coupling_notif() 1046 if (mvm->last_corun_lut == lut) in iwl_mvm_rx_ant_coupling_notif() 1049 mvm->last_corun_lut = lut; in iwl_mvm_rx_ant_coupling_notif() [all …]
|
D | coex_legacy.c | 1261 u8 lut; in iwl_mvm_rx_ant_coupling_notif_old() local 1282 for (lut = 0; lut < ARRAY_SIZE(antenna_coupling_ranges) - 1; lut++) in iwl_mvm_rx_ant_coupling_notif_old() 1283 if (ant_isolation < antenna_coupling_ranges[lut + 1].range) in iwl_mvm_rx_ant_coupling_notif_old() 1286 lower_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif_old() 1288 if (lut < ARRAY_SIZE(antenna_coupling_ranges) - 1) in iwl_mvm_rx_ant_coupling_notif_old() 1289 upper_bound = antenna_coupling_ranges[lut + 1].range; in iwl_mvm_rx_ant_coupling_notif_old() 1291 upper_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif_old() 1294 ant_isolation, lower_bound, upper_bound, lut); in iwl_mvm_rx_ant_coupling_notif_old() 1298 if (mvm->last_corun_lut == lut) in iwl_mvm_rx_ant_coupling_notif_old() 1301 mvm->last_corun_lut = lut; in iwl_mvm_rx_ant_coupling_notif_old() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 1055 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1062 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1070 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1247 void __iomem *lut = nvbo_kmap_obj_iovirtual(nv_crtc->lut.nvbo); in nv50_crtc_lut_load() local 1251 u16 r = nv_crtc->lut.r[i] >> 2; in nv50_crtc_lut_load() 1252 u16 g = nv_crtc->lut.g[i] >> 2; in nv50_crtc_lut_load() 1253 u16 b = nv_crtc->lut.b[i] >> 2; in nv50_crtc_lut_load() 1256 writew(r + 0x0000, lut + (i * 0x08) + 0); in nv50_crtc_lut_load() 1257 writew(g + 0x0000, lut + (i * 0x08) + 2); in nv50_crtc_lut_load() 1258 writew(b + 0x0000, lut + (i * 0x08) + 4); in nv50_crtc_lut_load() [all …]
|
D | nouveau_fbcon.c | 298 nv_crtc->lut.r[regno] = red; in nouveau_fbcon_gamma_set() 299 nv_crtc->lut.g[regno] = green; in nouveau_fbcon_gamma_set() 300 nv_crtc->lut.b[regno] = blue; in nouveau_fbcon_gamma_set() 308 *red = nv_crtc->lut.r[regno]; in nouveau_fbcon_gamma_get() 309 *green = nv_crtc->lut.g[regno]; in nouveau_fbcon_gamma_get() 310 *blue = nv_crtc->lut.b[regno]; in nouveau_fbcon_gamma_get()
|
D | nouveau_crtc.h | 71 } lut; member
|
D | nouveau_display.c | 620 nv_crtc->lut.depth = 0; in nouveau_display_resume()
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipe.c | 722 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 …]
|
D | dm365_ipipe.h | 91 struct vpfe_ipipe_3d_lut lut; member
|
D | davinci_vpfe_user.h | 1182 struct vpfe_ipipe_3d_lut __user *lut; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | crtc.c | 776 rgbs[i].r = nv_crtc->lut.r[i] >> 8; in nv_crtc_gamma_load() 777 rgbs[i].g = nv_crtc->lut.g[i] >> 8; in nv_crtc_gamma_load() 778 rgbs[i].b = nv_crtc->lut.b[i] >> 8; in nv_crtc_gamma_load() 802 nv_crtc->lut.r[i] = r[i]; in nv_crtc_gamma_set() 803 nv_crtc->lut.g[i] = g[i]; in nv_crtc_gamma_set() 804 nv_crtc->lut.b[i] = b[i]; in nv_crtc_gamma_set() 813 nv_crtc->lut.depth = 0; in nv_crtc_gamma_set() 854 if (nv_crtc->lut.depth != drm_fb->depth) { in nv04_crtc_do_mode_set_base() 855 nv_crtc->lut.depth = drm_fb->depth; in nv04_crtc_do_mode_set_base() 1117 nv_crtc->lut.r[i] = i << 8; in nv04_crtc_create() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | renesas,vsp1.txt | 24 - renesas,has-lut: Boolean, indicates that the Look Up Table (LUT) module is 38 renesas,has-lut;
|
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 49 struct hdmi_msm_audio_acr lut[MSM_HDMI_SAMPLE_RATE_MAX]; member 136 n = arcs->lut[audio->rate].n; in hdmi_audio_update() 137 cts = arcs->lut[audio->rate].cts; in hdmi_audio_update()
|
/linux-4.1.27/include/uapi/linux/ |
D | vsp1.h | 31 u32 lut[256]; member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 3574 VOLTAGE_LUT_ENTRY *lut = (VOLTAGE_LUT_ENTRY *) in radeon_atom_get_max_voltage() local 3578 le16_to_cpu(lut->usVoltageValue); in radeon_atom_get_max_voltage() 3738 VOLTAGE_LUT_ENTRY *lut; in radeon_atom_get_voltage_table() local 3741 lut = &formula->asVIDAdjustEntries[0]; in radeon_atom_get_voltage_table() 3744 le16_to_cpu(lut->usVoltageValue); in radeon_atom_get_voltage_table() 3752 lut = (VOLTAGE_LUT_ENTRY *) in radeon_atom_get_voltage_table() 3753 ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY)); in radeon_atom_get_voltage_table() 3773 VOLTAGE_LUT_ENTRY_V2 *lut; in radeon_atom_get_voltage_table() local 3776 lut = &gpio->asVolGpioLut[0]; in radeon_atom_get_voltage_table() 3779 le16_to_cpu(lut->usVoltageValue); in radeon_atom_get_voltage_table() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 1443 u32 lut = 0; in i40evf_configure_rss() local 1461 lut = 0; in i40evf_configure_rss() 1465 lut |= ((cqueue) << (8 * j)); in i40evf_configure_rss() 1468 wr32(hw, I40E_VFQF_HLUT(i), lut); in i40evf_configure_rss()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_execbuffer.c | 48 struct i915_vma *lut[0]; member 159 eb->lut[i] = vma; in eb_lookup_vmas() 193 return eb->lut[handle]; in eb_get_vma()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | r8a7790.dtsi | 725 renesas,has-lut; 739 renesas,has-lut; 752 renesas,has-lut;
|
D | r8a7791.dtsi | 755 renesas,has-lut; 769 renesas,has-lut; 782 renesas,has-lut;
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7412 u32 lut = 0; in i40e_config_rss() local 7451 lut = (lut << 8) | (j & in i40e_config_rss() 7455 wr32(hw, I40E_PFQF_HLUT(i >> 2), lut); in i40e_config_rss()
|