/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | coex.c | 953 u8 lut; in iwl_mvm_rx_ant_coupling_notif() local 973 for (lut = 0; lut < ARRAY_SIZE(antenna_coupling_ranges) - 1; lut++) in iwl_mvm_rx_ant_coupling_notif() 974 if (ant_isolation < antenna_coupling_ranges[lut + 1].range) in iwl_mvm_rx_ant_coupling_notif() 977 lower_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif() 979 if (lut < ARRAY_SIZE(antenna_coupling_ranges) - 1) in iwl_mvm_rx_ant_coupling_notif() 980 upper_bound = antenna_coupling_ranges[lut + 1].range; in iwl_mvm_rx_ant_coupling_notif() 982 upper_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif() 985 ant_isolation, lower_bound, upper_bound, lut); in iwl_mvm_rx_ant_coupling_notif() 989 if (mvm->last_corun_lut == lut) in iwl_mvm_rx_ant_coupling_notif() 992 mvm->last_corun_lut = lut; in iwl_mvm_rx_ant_coupling_notif() [all …]
|
D | coex_legacy.c | 1252 u8 lut; in iwl_mvm_rx_ant_coupling_notif_old() local 1273 for (lut = 0; lut < ARRAY_SIZE(antenna_coupling_ranges) - 1; lut++) in iwl_mvm_rx_ant_coupling_notif_old() 1274 if (ant_isolation < antenna_coupling_ranges[lut + 1].range) in iwl_mvm_rx_ant_coupling_notif_old() 1277 lower_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif_old() 1279 if (lut < ARRAY_SIZE(antenna_coupling_ranges) - 1) in iwl_mvm_rx_ant_coupling_notif_old() 1280 upper_bound = antenna_coupling_ranges[lut + 1].range; in iwl_mvm_rx_ant_coupling_notif_old() 1282 upper_bound = antenna_coupling_ranges[lut].range; in iwl_mvm_rx_ant_coupling_notif_old() 1285 ant_isolation, lower_bound, upper_bound, lut); in iwl_mvm_rx_ant_coupling_notif_old() 1289 if (mvm->last_corun_lut == lut) in iwl_mvm_rx_ant_coupling_notif_old() 1292 mvm->last_corun_lut = lut; in iwl_mvm_rx_ant_coupling_notif_old() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 1074 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1081 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1089 evo_data(push, nv_crtc->lut.nvbo->bo.offset >> 8); in nv50_crtc_commit() 1266 void __iomem *lut = nvbo_kmap_obj_iovirtual(nv_crtc->lut.nvbo); in nv50_crtc_lut_load() local 1270 u16 r = nv_crtc->lut.r[i] >> 2; in nv50_crtc_lut_load() 1271 u16 g = nv_crtc->lut.g[i] >> 2; in nv50_crtc_lut_load() 1272 u16 b = nv_crtc->lut.b[i] >> 2; in nv50_crtc_lut_load() 1275 writew(r + 0x0000, lut + (i * 0x08) + 0); in nv50_crtc_lut_load() 1276 writew(g + 0x0000, lut + (i * 0x08) + 2); in nv50_crtc_lut_load() 1277 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 | 634 nv_crtc->lut.depth = 0; in nouveau_display_resume()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/pci/host/ |
D | pci-layerscape.c | 49 void __iomem *lut; member 133 state = (ioread32(pcie->lut + PCIE_LUT_DBG) >> in ls_pcie_link_up() 252 pcie->lut = pcie->dbi + pcie->drvdata->lut_offset; in ls_pcie_probe()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_prototype.h | 67 bool pf_lut, u8 *lut, u16 lut_size); 69 bool pf_lut, u8 *lut, u16 lut_size);
|
D | i40e_common.c | 396 u8 *lut, u16 lut_size, in i40e_aq_get_set_rss_lut() argument 432 status = i40evf_asq_send_command(hw, &desc, lut, lut_size, NULL); in i40e_aq_get_set_rss_lut() 448 bool pf_lut, u8 *lut, u16 lut_size) in i40evf_aq_get_rss_lut() argument 450 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in i40evf_aq_get_rss_lut() 465 bool pf_lut, u8 *lut, u16 lut_size) in i40evf_aq_set_rss_lut() argument 467 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in i40evf_aq_set_rss_lut()
|
D | i40evf_main.c | 1277 u32 lut = 0; in i40evf_configure_rss_reg() local 1286 lut = 0; in i40evf_configure_rss_reg() 1290 lut |= ((cqueue) << (8 * j)); in i40evf_configure_rss_reg() 1293 wr32(hw, I40E_VFQF_HLUT(i), lut); in i40evf_configure_rss_reg()
|
/linux-4.4.14/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.4.14/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.4.14/include/uapi/linux/ |
D | vsp1.h | 31 __u32 lut[256]; member
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.c | 1381 VOLTAGE_LUT_ENTRY_V2 *lut; in amdgpu_atombios_get_voltage_table() local 1384 lut = &gpio->asVolGpioLut[0]; in amdgpu_atombios_get_voltage_table() 1387 le16_to_cpu(lut->usVoltageValue); in amdgpu_atombios_get_voltage_table() 1389 le32_to_cpu(lut->ulVoltageId); in amdgpu_atombios_get_voltage_table() 1390 lut = (VOLTAGE_LUT_ENTRY_V2 *) in amdgpu_atombios_get_voltage_table() 1391 ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY_V2)); in amdgpu_atombios_get_voltage_table()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 65 bool pf_lut, u8 *lut, u16 lut_size); 67 bool pf_lut, u8 *lut, u16 lut_size);
|
D | i40e_common.c | 396 u8 *lut, u16 lut_size, in i40e_aq_get_set_rss_lut() argument 432 status = i40e_asq_send_command(hw, &desc, lut, lut_size, NULL); in i40e_aq_get_set_rss_lut() 448 bool pf_lut, u8 *lut, u16 lut_size) in i40e_aq_get_rss_lut() argument 450 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in i40e_aq_get_rss_lut() 465 bool pf_lut, u8 *lut, u16 lut_size) in i40e_aq_set_rss_lut() argument 467 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in i40e_aq_set_rss_lut()
|
D | i40e_main.c | 7857 u32 lut = 0; in i40e_config_rss_reg() local 7865 lut = 0; in i40e_config_rss_reg() 7869 lut |= ((current_queue) << (8 * j)); in i40e_config_rss_reg() 7872 wr32(&pf->hw, I40E_PFQF_HLUT(i), lut); in i40e_config_rss_reg()
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-dfll.c | 1441 int lut; in dfll_build_i2c_lut() local 1454 lut = find_vdd_map_entry_exact(td, v); in dfll_build_i2c_lut() 1455 if (lut < 0) in dfll_build_i2c_lut() 1457 td->i2c_lut[0] = lut; in dfll_build_i2c_lut()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/mtd/nand/ |
D | sunxi_nand.c | 849 static int _sunxi_nand_lookup_timing(const s32 *lut, int lut_size, u32 duration, in _sunxi_nand_lookup_timing() argument 856 if (clk_cycles <= lut[i]) in _sunxi_nand_lookup_timing()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | r8a7791.dtsi | 876 renesas,has-lut; 891 renesas,has-lut; 905 renesas,has-lut;
|
D | r8a7790.dtsi | 835 renesas,has-lut; 850 renesas,has-lut; 864 renesas,has-lut;
|