lut 302 drivers/clk/tegra/clk-dfll.c unsigned lut[MAX_DFLL_VOLTAGES]; lut 689 drivers/clk/tegra/clk-dfll.c td->lut[lut_index]); lut 1600 drivers/clk/tegra/clk-dfll.c td->lut[i] = i; lut 1644 drivers/clk/tegra/clk-dfll.c int j, selector, lut; lut 1647 drivers/clk/tegra/clk-dfll.c lut = find_vdd_map_entry_exact(td, v); lut 1648 drivers/clk/tegra/clk-dfll.c if (lut < 0) lut 1650 drivers/clk/tegra/clk-dfll.c td->lut[0] = lut; lut 1674 drivers/clk/tegra/clk-dfll.c if (selector != td->lut[j - 1]) lut 1675 drivers/clk/tegra/clk-dfll.c td->lut[j++] = selector; lut 1682 drivers/clk/tegra/clk-dfll.c if (selector != td->lut[j - 1]) lut 1683 drivers/clk/tegra/clk-dfll.c td->lut[j++] = selector; lut 1698 drivers/clk/tegra/clk-dfll.c td->lut[j]); lut 19 drivers/gpio/gpio-adp5520.c unsigned char lut[ADP5520_MAXGPIOS]; lut 40 drivers/gpio/gpio-adp5520.c return !!(reg_val & dev->lut[off]); lut 50 drivers/gpio/gpio-adp5520.c adp5520_set_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); lut 52 drivers/gpio/gpio-adp5520.c adp5520_clr_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); lut 63 drivers/gpio/gpio-adp5520.c dev->lut[off]); lut 77 drivers/gpio/gpio-adp5520.c dev->lut[off]); lut 80 drivers/gpio/gpio-adp5520.c dev->lut[off]); lut 83 drivers/gpio/gpio-adp5520.c dev->lut[off]); lut 114 drivers/gpio/gpio-adp5520.c dev->lut[gpios++] = 1 << i; lut 1522 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c VOLTAGE_LUT_ENTRY_V2 *lut; lut 1525 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c lut = &gpio->asVolGpioLut[0]; lut 1528 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(lut->usVoltageValue); lut 1530 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le32_to_cpu(lut->ulVoltageId); lut 1531 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c lut = (VOLTAGE_LUT_ENTRY_V2 *) lut 1532 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY_V2)); lut 101 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static bool __is_lut_linear(const struct drm_color_lut *lut, uint32_t size) lut 109 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c if ((lut[i].red != lut[i].green) || (lut[i].green != lut[i].blue)) lut 115 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c delta = lut[i].red - expected; lut 126 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static void __drm_lut_to_dc_gamma(const struct drm_color_lut *lut, lut 134 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c r = drm_color_lut_extract(lut[i].red, 16); lut 135 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c g = drm_color_lut_extract(lut[i].green, 16); lut 136 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b = drm_color_lut_extract(lut[i].blue, 16); lut 147 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c r = drm_color_lut_extract(lut[i].red, 16); lut 148 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c g = drm_color_lut_extract(lut[i].green, 16); lut 149 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b = drm_color_lut_extract(lut[i].blue, 16); lut 194 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c const struct drm_color_lut *lut, uint32_t lut_size, lut 200 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c ASSERT(lut && lut_size == MAX_COLOR_LEGACY_LUT_ENTRIES); lut 208 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c __drm_lut_to_dc_gamma(lut, gamma, true); lut 218 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c const struct drm_color_lut *lut, uint32_t lut_size, lut 224 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c ASSERT(lut && lut_size == MAX_COLOR_LUT_ENTRIES); lut 231 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c __drm_lut_to_dc_gamma(lut, gamma, false); lut 258 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c const struct drm_color_lut *lut, uint32_t lut_size) lut 270 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c __drm_lut_to_dc_gamma(lut, gamma, false); lut 268 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_3dlut *lut = container_of(kref, struct dc_3dlut, refcount); lut 270 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kvfree(lut); lut 275 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_3dlut *lut = kvzalloc(sizeof(*lut), GFP_KERNEL); lut 277 drivers/gpu/drm/amd/display/dc/core/dc_surface.c if (lut == NULL) lut 280 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_init(&lut->refcount); lut 281 drivers/gpu/drm/amd/display/dc/core/dc_surface.c lut->state.raw = 0; lut 283 drivers/gpu/drm/amd/display/dc/core/dc_surface.c return lut; lut 290 drivers/gpu/drm/amd/display/dc/core/dc_surface.c void dc_3dlut_func_release(struct dc_3dlut *lut) lut 292 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_put(&lut->refcount, dc_3dlut_func_free); lut 295 drivers/gpu/drm/amd/display/dc/core/dc_surface.c void dc_3dlut_func_retain(struct dc_3dlut *lut) lut 297 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_get(&lut->refcount); lut 840 drivers/gpu/drm/amd/display/dc/dc.h void dc_3dlut_func_release(struct dc_3dlut *lut); lut 841 drivers/gpu/drm/amd/display/dc/dc.h void dc_3dlut_func_retain(struct dc_3dlut *lut); lut 844 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c const struct dc_rgb *lut, lut 851 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c red = lut[i].red<<4; lut 852 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c green = lut[i].green<<4; lut 853 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c blue = lut[i].blue<<4; lut 854 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c red1 = lut[i+1].red<<4; lut 855 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c green1 = lut[i+1].green<<4; lut 856 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c blue1 = lut[i+1].blue<<4; lut 878 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c const struct dc_rgb *lut, lut 885 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c red = lut[i].red; lut 886 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c green = lut[i].green; lut 887 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c blue = lut[i].blue; lut 127 drivers/gpu/drm/arm/malidp_crtc.c struct drm_color_lut *lut = (struct drm_color_lut *)lut_blob->data; lut 135 drivers/gpu/drm/arm/malidp_crtc.c out_start = drm_color_lut_extract(lut[segments[i].start].green, lut 137 drivers/gpu/drm/arm/malidp_crtc.c out_end = drm_color_lut_extract(lut[segments[i].end].green, 12); lut 152 drivers/gpu/drm/arm/malidp_crtc.c struct drm_color_lut *lut; lut 170 drivers/gpu/drm/arm/malidp_crtc.c lut = (struct drm_color_lut *)state->gamma_lut->data; lut 172 drivers/gpu/drm/arm/malidp_crtc.c if (!((lut[i].red == lut[i].green) && lut 173 drivers/gpu/drm/arm/malidp_crtc.c (lut[i].red == lut[i].blue))) lut 141 drivers/gpu/drm/armada/armada_crtc.c struct drm_color_lut *lut = blob->data; lut 147 drivers/gpu/drm/armada/armada_crtc.c writel_relaxed(drm_color_lut_extract(lut[i].red, 8), lut 152 drivers/gpu/drm/armada/armada_crtc.c writel_relaxed(drm_color_lut_extract(lut[i].green, 8), lut 157 drivers/gpu/drm/armada/armada_crtc.c writel_relaxed(drm_color_lut_extract(lut[i].blue, 8), lut 418 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c struct drm_color_lut *lut; lut 427 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; lut 429 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c for (idx = 0; idx < ATMEL_HLCDC_CLUT_SIZE; idx++, lut++) { lut 430 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c u32 val = ((lut->red << 8) & 0xff0000) | lut 431 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c (lut->green & 0xff00) | lut 432 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c (lut->blue >> 8); lut 481 drivers/gpu/drm/drm_color_mgmt.c int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests) lut 486 drivers/gpu/drm/drm_color_mgmt.c if (!lut || !tests) lut 489 drivers/gpu/drm/drm_color_mgmt.c entry = lut->data; lut 490 drivers/gpu/drm/drm_color_mgmt.c for (i = 0; i < drm_color_lut_size(lut); i++) { lut 993 drivers/gpu/drm/drm_fb_helper.c struct drm_color_lut *lut; lut 1000 drivers/gpu/drm/drm_fb_helper.c gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); lut 1004 drivers/gpu/drm/drm_fb_helper.c lut = gamma_lut->data; lut 1011 drivers/gpu/drm/drm_fb_helper.c lut[i].red = r[i]; lut 1012 drivers/gpu/drm/drm_fb_helper.c lut[i].green = g[i]; lut 1013 drivers/gpu/drm/drm_fb_helper.c lut[i].blue = b[i]; lut 1016 drivers/gpu/drm/drm_fb_helper.c lut[i].red = r[i]; lut 1017 drivers/gpu/drm/drm_fb_helper.c lut[i].green = g[i]; lut 1018 drivers/gpu/drm/drm_fb_helper.c lut[i].blue = b[i]; lut 1023 drivers/gpu/drm/drm_fb_helper.c lut[cmap->start + i].red = cmap->red[i]; lut 1024 drivers/gpu/drm/drm_fb_helper.c lut[cmap->start + i].green = cmap->green[i]; lut 1025 drivers/gpu/drm/drm_fb_helper.c lut[cmap->start + i].blue = cmap->blue[i]; lut 97 drivers/gpu/drm/i915/display/intel_color.c static bool lut_is_legacy(const struct drm_property_blob *lut) lut 99 drivers/gpu/drm/i915/display/intel_color.c return drm_color_lut_size(lut) == LEGACY_LUT_LENGTH; lut 404 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 408 drivers/gpu/drm/i915/display/intel_color.c (drm_color_lut_extract(lut[i].red, 8) << 16) | lut 409 drivers/gpu/drm/i915/display/intel_color.c (drm_color_lut_extract(lut[i].green, 8) << 8) | lut 410 drivers/gpu/drm/i915/display/intel_color.c drm_color_lut_extract(lut[i].blue, 8); lut 493 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 499 drivers/gpu/drm/i915/display/intel_color.c i965_lut_10p6_ldw(&lut[i])); lut 501 drivers/gpu/drm/i915/display/intel_color.c i965_lut_10p6_udw(&lut[i])); lut 504 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 0), lut[i].red); lut 505 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 1), lut[i].green); lut 506 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 2), lut[i].blue); lut 524 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 529 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PALETTE(pipe, i), ilk_lut_10(&lut[i])); lut 562 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 569 drivers/gpu/drm/i915/display/intel_color.c &lut[i * (lut_size - 1) / (hw_lut_size - 1)]; lut 589 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 599 drivers/gpu/drm/i915/display/intel_color.c &lut[i * (lut_size - 1) / (hw_lut_size - 1)]; lut 685 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = crtc_state->base.degamma_lut->data; lut 710 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_DATA(pipe), lut[i].green); lut 805 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 819 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *entry = &lut[i]; lut 834 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 852 drivers/gpu/drm/i915/display/intel_color.c entry = &lut[i * 8]; lut 870 drivers/gpu/drm/i915/display/intel_color.c entry = &lut[i * 8 * 128]; lut 876 drivers/gpu/drm/i915/display/intel_color.c entry = &lut[256 * 8 * 128]; lut 920 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 926 drivers/gpu/drm/i915/display/intel_color.c chv_cgm_degamma_ldw(&lut[i])); lut 928 drivers/gpu/drm/i915/display/intel_color.c chv_cgm_degamma_udw(&lut[i])); lut 947 drivers/gpu/drm/i915/display/intel_color.c const struct drm_color_lut *lut = blob->data; lut 953 drivers/gpu/drm/i915/display/intel_color.c chv_cgm_gamma_ldw(&lut[i])); lut 955 drivers/gpu/drm/i915/display/intel_color.c chv_cgm_gamma_udw(&lut[i])); lut 1107 drivers/gpu/drm/i915/display/intel_color.c static int check_lut_size(const struct drm_property_blob *lut, int expected) lut 1111 drivers/gpu/drm/i915/display/intel_color.c if (!lut) lut 1114 drivers/gpu/drm/i915/display/intel_color.c len = drm_color_lut_size(lut); lut 92 drivers/gpu/drm/i915/gem/i915_gem_context.c void i915_lut_handle_free(struct i915_lut_handle *lut) lut 94 drivers/gpu/drm/i915/gem/i915_gem_context.c return kmem_cache_free(global.slab_luts, lut); lut 108 drivers/gpu/drm/i915/gem/i915_gem_context.c struct i915_lut_handle *lut; lut 115 drivers/gpu/drm/i915/gem/i915_gem_context.c list_for_each_entry(lut, &obj->lut_list, obj_link) { lut 116 drivers/gpu/drm/i915/gem/i915_gem_context.c if (lut->ctx != ctx) lut 119 drivers/gpu/drm/i915/gem/i915_gem_context.c if (lut->handle != iter.index) lut 122 drivers/gpu/drm/i915/gem/i915_gem_context.c list_del(&lut->obj_link); lut 128 drivers/gpu/drm/i915/gem/i915_gem_context.c if (&lut->obj_link != &obj->lut_list) { lut 129 drivers/gpu/drm/i915/gem/i915_gem_context.c i915_lut_handle_free(lut); lut 229 drivers/gpu/drm/i915/gem/i915_gem_context.h void i915_lut_handle_free(struct i915_lut_handle *lut); lut 764 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct i915_lut_handle *lut; lut 783 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c lut = i915_lut_handle_alloc(); lut 784 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(!lut)) { lut 791 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c i915_lut_handle_free(lut); lut 798 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c lut->handle = handle; lut 799 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c lut->ctx = eb->gem_context; lut 802 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c list_add(&lut->obj_link, &obj->lut_list); lut 96 drivers/gpu/drm/i915/gem/i915_gem_object.c struct i915_lut_handle *lut, *ln; lut 100 drivers/gpu/drm/i915/gem/i915_gem_object.c list_for_each_entry_safe(lut, ln, &obj->lut_list, obj_link) { lut 101 drivers/gpu/drm/i915/gem/i915_gem_object.c struct i915_gem_context *ctx = lut->ctx; lut 107 drivers/gpu/drm/i915/gem/i915_gem_object.c list_move(&lut->obj_link, &close); lut 111 drivers/gpu/drm/i915/gem/i915_gem_object.c list_for_each_entry_safe(lut, ln, &close, obj_link) { lut 112 drivers/gpu/drm/i915/gem/i915_gem_object.c struct i915_gem_context *ctx = lut->ctx; lut 121 drivers/gpu/drm/i915/gem/i915_gem_object.c vma = radix_tree_delete(&ctx->handles_vma, lut->handle); lut 131 drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_context_put(lut->ctx); lut 132 drivers/gpu/drm/i915/gem/i915_gem_object.c i915_lut_handle_free(lut); lut 148 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c struct drm_color_lut *lut; lut 157 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c lut = (struct drm_color_lut *)state->gamma_lut->data; lut 159 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c word = (((lut[i].red >> 6) & LUT_10BIT_MASK) << 20) + lut 160 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c (((lut[i].green >> 6) & LUT_10BIT_MASK) << 10) + lut 161 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c ((lut[i].blue >> 6) & LUT_10BIT_MASK); lut 329 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 4, .lut = 0x357}, lut 330 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 5, .lut = 0x3357}, lut 331 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 6, .lut = 0x23357}, lut 332 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 7, .lut = 0x223357}, lut 333 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 8, .lut = 0x2223357}, lut 334 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 9, .lut = 0x22223357}, lut 335 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 10, .lut = 0x222223357}, lut 336 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 11, .lut = 0x2222223357}, lut 337 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 12, .lut = 0x22222223357}, lut 338 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 13, .lut = 0x222222223357}, lut 339 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 14, .lut = 0x1222222223357}, lut 340 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 0, .lut = 0x11222222223357} lut 344 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 10, .lut = 0x344556677}, lut 345 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 11, .lut = 0x3344556677}, lut 346 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 12, .lut = 0x23344556677}, lut 347 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 13, .lut = 0x223344556677}, lut 348 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 14, .lut = 0x1223344556677}, lut 349 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 0, .lut = 0x112233344556677}, lut 353 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c {.fl = 0, .lut = 0x0}, lut 262 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h u64 lut; lut 91 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c u32 *lut[QSEED3_FILTERS] = {NULL, NULL, NULL, NULL, NULL}; lut 103 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut[0] = scaler3_cfg->dir_lut; lut 109 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut[1] = scaler3_cfg->cir_lut + lut 116 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut[2] = scaler3_cfg->cir_lut + lut 123 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut[3] = scaler3_cfg->sep_lut + lut 130 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut[4] = scaler3_cfg->sep_lut + lut 137 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c if (!lut[filter]) lut 147 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c (lut[filter])[lut_offset++]); lut 208 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c return tbl->entries[i].lut; lut 212 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c return tbl->entries[i-1].lut; lut 26 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h u32 lut, u32 lut_usage), lut 27 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(pnum, fmt, rt, fl, lut, lut_usage), lut 33 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field(u64, lut) lut 41 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->lut = lut; lut 47 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->lut, __entry->lut_usage) lut 31 drivers/gpu/drm/msm/hdmi/hdmi_audio.c struct hdmi_msm_audio_acr lut[MSM_HDMI_SAMPLE_RATE_MAX]; lut 118 drivers/gpu/drm/msm/hdmi/hdmi_audio.c n = arcs->lut[audio->rate].n; lut 119 drivers/gpu/drm/msm/hdmi/hdmi_audio.c cts = arcs->lut[audio->rate].cts; lut 807 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->lut.depth = 0; lut 850 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (nv_crtc->lut.depth != drm_fb->format->depth) { lut 851 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->lut.depth = drm_fb->format->depth; lut 1305 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->lut.depth = 0; lut 134 drivers/gpu/drm/nouveau/dispnv04/disp.c nv_crtc->lut.depth = 0; lut 32 drivers/gpu/drm/nouveau/dispnv50/lut.c nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, lut 36 drivers/gpu/drm/nouveau/dispnv50/lut.c void __iomem *mem = lut->mem[buffer].object.map.ptr; lut 37 drivers/gpu/drm/nouveau/dispnv50/lut.c const u32 addr = lut->mem[buffer].addr; lut 59 drivers/gpu/drm/nouveau/dispnv50/lut.c nv50_lut_fini(struct nv50_lut *lut) lut 62 drivers/gpu/drm/nouveau/dispnv50/lut.c for (i = 0; i < ARRAY_SIZE(lut->mem); i++) lut 63 drivers/gpu/drm/nouveau/dispnv50/lut.c nvif_mem_fini(&lut->mem[i]); lut 68 drivers/gpu/drm/nouveau/dispnv50/lut.c struct nv50_lut *lut) lut 72 drivers/gpu/drm/nouveau/dispnv50/lut.c for (i = 0; i < ARRAY_SIZE(lut->mem); i++) { lut 74 drivers/gpu/drm/nouveau/dispnv50/lut.c &lut->mem[i]); lut 66 drivers/gpu/drm/nouveau/nouveau_crtc.h } lut; lut 3845 drivers/gpu/drm/omapdrm/dss/dispc.c const struct drm_color_lut *lut, lut 3858 drivers/gpu/drm/omapdrm/dss/dispc.c if (lut == NULL || length < 2) { lut 3859 drivers/gpu/drm/omapdrm/dss/dispc.c lut = dispc_mgr_gamma_default_lut; lut 3874 drivers/gpu/drm/omapdrm/dss/dispc.c r = (lut[i].red * (w - j) + lut[i+1].red * j) / w; lut 3875 drivers/gpu/drm/omapdrm/dss/dispc.c g = (lut[i].green * (w - j) + lut[i+1].green * j) / w; lut 3876 drivers/gpu/drm/omapdrm/dss/dispc.c b = (lut[i].blue * (w - j) + lut[i+1].blue * j) / w; lut 604 drivers/gpu/drm/omapdrm/dss/omapdss.h const struct drm_color_lut *lut, lut 613 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_color_lut *lut = NULL; lut 617 drivers/gpu/drm/omapdrm/omap_crtc.c lut = (struct drm_color_lut *) lut 620 drivers/gpu/drm/omapdrm/omap_crtc.c sizeof(*lut); lut 623 drivers/gpu/drm/omapdrm/omap_crtc.c lut, length); lut 3587 drivers/gpu/drm/radeon/radeon_atombios.c VOLTAGE_LUT_ENTRY *lut = (VOLTAGE_LUT_ENTRY *) lut 3591 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(lut->usVoltageValue); lut 3751 drivers/gpu/drm/radeon/radeon_atombios.c VOLTAGE_LUT_ENTRY *lut; lut 3754 drivers/gpu/drm/radeon/radeon_atombios.c lut = &formula->asVIDAdjustEntries[0]; lut 3757 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(lut->usVoltageValue); lut 3765 drivers/gpu/drm/radeon/radeon_atombios.c lut = (VOLTAGE_LUT_ENTRY *) lut 3766 drivers/gpu/drm/radeon/radeon_atombios.c ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY)); lut 3786 drivers/gpu/drm/radeon/radeon_atombios.c VOLTAGE_LUT_ENTRY_V2 *lut; lut 3789 drivers/gpu/drm/radeon/radeon_atombios.c lut = &gpio->asVolGpioLut[0]; lut 3792 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(lut->usVoltageValue); lut 3794 drivers/gpu/drm/radeon/radeon_atombios.c le32_to_cpu(lut->ulVoltageId); lut 3795 drivers/gpu/drm/radeon/radeon_atombios.c lut = (VOLTAGE_LUT_ENTRY_V2 *) lut 3796 drivers/gpu/drm/radeon/radeon_atombios.c ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY_V2)); lut 407 drivers/gpu/drm/stm/ltdc.c struct drm_color_lut *lut; lut 414 drivers/gpu/drm/stm/ltdc.c lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; lut 416 drivers/gpu/drm/stm/ltdc.c for (i = 0; i < CLUT_SIZE; i++, lut++) { lut 417 drivers/gpu/drm/stm/ltdc.c val = ((lut->red << 8) & 0xff0000) | (lut->green & 0xff00) | lut 418 drivers/gpu/drm/stm/ltdc.c (lut->blue >> 8) | (i << 24); lut 238 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_color_lut *lut = crtc->state->gamma_lut->data; lut 243 drivers/gpu/drm/vc4/vc4_crtc.c vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); lut 244 drivers/gpu/drm/vc4/vc4_crtc.c vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); lut 245 drivers/gpu/drm/vc4/vc4_crtc.c vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); lut 846 drivers/media/platform/rcar_fdp1.c static void fdp1_write_lut(struct fdp1_dev *fdp1, const u8 *lut, lut 856 drivers/media/platform/rcar_fdp1.c fdp1_write(fdp1, lut[i], base + (i*4)); lut 859 drivers/media/platform/rcar_fdp1.c pad = lut[i-1]; lut 91 drivers/media/platform/vsp1/vsp1.h struct vsp1_lut *lut; lut 357 drivers/media/platform/vsp1/vsp1_drv.c vsp1->lut = vsp1_lut_create(vsp1); lut 358 drivers/media/platform/vsp1/vsp1_drv.c if (IS_ERR(vsp1->lut)) { lut 359 drivers/media/platform/vsp1/vsp1_drv.c ret = PTR_ERR(vsp1->lut); lut 363 drivers/media/platform/vsp1/vsp1_drv.c list_add_tail(&vsp1->lut->entity.list_dev, &vsp1->entities); lut 28 drivers/media/platform/vsp1/vsp1_lut.c static inline void vsp1_lut_write(struct vsp1_lut *lut, lut 40 drivers/media/platform/vsp1/vsp1_lut.c static int lut_set_table(struct vsp1_lut *lut, struct v4l2_ctrl *ctrl) lut 45 drivers/media/platform/vsp1/vsp1_lut.c dlb = vsp1_dl_body_get(lut->pool); lut 53 drivers/media/platform/vsp1/vsp1_lut.c spin_lock_irq(&lut->lock); lut 54 drivers/media/platform/vsp1/vsp1_lut.c swap(lut->lut, dlb); lut 55 drivers/media/platform/vsp1/vsp1_lut.c spin_unlock_irq(&lut->lock); lut 63 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_lut *lut = lut 68 drivers/media/platform/vsp1/vsp1_lut.c lut_set_table(lut, ctrl); lut 153 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_lut *lut = to_lut(&entity->subdev); lut 155 drivers/media/platform/vsp1/vsp1_lut.c vsp1_lut_write(lut, dlb, VI6_LUT_CTRL, VI6_LUT_CTRL_EN); lut 163 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_lut *lut = to_lut(&entity->subdev); lut 167 drivers/media/platform/vsp1/vsp1_lut.c spin_lock_irqsave(&lut->lock, flags); lut 168 drivers/media/platform/vsp1/vsp1_lut.c lut_dlb = lut->lut; lut 169 drivers/media/platform/vsp1/vsp1_lut.c lut->lut = NULL; lut 170 drivers/media/platform/vsp1/vsp1_lut.c spin_unlock_irqrestore(&lut->lock, flags); lut 182 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_lut *lut = to_lut(&entity->subdev); lut 184 drivers/media/platform/vsp1/vsp1_lut.c vsp1_dl_body_pool_destroy(lut->pool); lut 199 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_lut *lut; lut 202 drivers/media/platform/vsp1/vsp1_lut.c lut = devm_kzalloc(vsp1->dev, sizeof(*lut), GFP_KERNEL); lut 203 drivers/media/platform/vsp1/vsp1_lut.c if (lut == NULL) lut 206 drivers/media/platform/vsp1/vsp1_lut.c spin_lock_init(&lut->lock); lut 208 drivers/media/platform/vsp1/vsp1_lut.c lut->entity.ops = &lut_entity_ops; lut 209 drivers/media/platform/vsp1/vsp1_lut.c lut->entity.type = VSP1_ENTITY_LUT; lut 211 drivers/media/platform/vsp1/vsp1_lut.c ret = vsp1_entity_init(vsp1, &lut->entity, "lut", 2, &lut_ops, lut 221 drivers/media/platform/vsp1/vsp1_lut.c lut->pool = vsp1_dl_body_pool_create(vsp1, 3, LUT_SIZE, 0); lut 222 drivers/media/platform/vsp1/vsp1_lut.c if (!lut->pool) lut 226 drivers/media/platform/vsp1/vsp1_lut.c v4l2_ctrl_handler_init(&lut->ctrls, 1); lut 227 drivers/media/platform/vsp1/vsp1_lut.c v4l2_ctrl_new_custom(&lut->ctrls, &lut_table_control, NULL); lut 229 drivers/media/platform/vsp1/vsp1_lut.c lut->entity.subdev.ctrl_handler = &lut->ctrls; lut 231 drivers/media/platform/vsp1/vsp1_lut.c if (lut->ctrls.error) { lut 233 drivers/media/platform/vsp1/vsp1_lut.c ret = lut->ctrls.error; lut 234 drivers/media/platform/vsp1/vsp1_lut.c vsp1_entity_destroy(&lut->entity); lut 238 drivers/media/platform/vsp1/vsp1_lut.c v4l2_ctrl_handler_setup(&lut->ctrls); lut 240 drivers/media/platform/vsp1/vsp1_lut.c return lut; lut 31 drivers/media/platform/vsp1/vsp1_lut.h struct vsp1_dl_body *lut; lut 1361 drivers/mtd/nand/raw/sunxi_nand.c static int _sunxi_nand_lookup_timing(const s32 *lut, int lut_size, u32 duration, lut 1368 drivers/mtd/nand/raw/sunxi_nand.c if (clk_cycles <= lut[i]) lut 998 drivers/net/ethernet/intel/i40e/i40e.h int i40e_config_rss(struct i40e_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); lut 999 drivers/net/ethernet/intel/i40e/i40e.h int i40e_get_rss(struct i40e_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); lut 1000 drivers/net/ethernet/intel/i40e/i40e.h void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut, lut 385 drivers/net/ethernet/intel/i40e/i40e_common.c u8 *lut, u16 lut_size, lut 421 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_asq_send_command(hw, &desc, lut, lut_size, NULL); lut 437 drivers/net/ethernet/intel/i40e/i40e_common.c bool pf_lut, u8 *lut, u16 lut_size) lut 439 drivers/net/ethernet/intel/i40e/i40e_common.c return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, lut 454 drivers/net/ethernet/intel/i40e/i40e_common.c bool pf_lut, u8 *lut, u16 lut_size) lut 456 drivers/net/ethernet/intel/i40e/i40e_common.c return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); lut 4748 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u8 *lut, *seed = NULL; lut 4759 drivers/net/ethernet/intel/i40e/i40e_ethtool.c lut = kzalloc(I40E_HLUT_ARRAY_SIZE, GFP_KERNEL); lut 4760 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (!lut) lut 4762 drivers/net/ethernet/intel/i40e/i40e_ethtool.c ret = i40e_get_rss(vsi, seed, lut, I40E_HLUT_ARRAY_SIZE); lut 4766 drivers/net/ethernet/intel/i40e/i40e_ethtool.c indir[i] = (u32)(lut[i]); lut 4769 drivers/net/ethernet/intel/i40e/i40e_ethtool.c kfree(lut); lut 1595 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut, u16 lut_size) lut 1613 drivers/net/ethernet/intel/i40e/i40e_main.c if (lut) { lut 1616 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_set_rss_lut(hw, vsi->id, pf_lut, lut, lut_size); lut 1636 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut; lut 1646 drivers/net/ethernet/intel/i40e/i40e_main.c lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); lut 1647 drivers/net/ethernet/intel/i40e/i40e_main.c if (!lut) lut 1654 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); lut 1656 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, vsi->rss_size); lut 1661 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_config_rss_aq(vsi, seed, lut, vsi->rss_table_size); lut 1662 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(lut); lut 5743 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut; lut 5753 drivers/net/ethernet/intel/i40e/i40e_main.c lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); lut 5754 drivers/net/ethernet/intel/i40e/i40e_main.c if (!lut) lut 5758 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, local_rss_size); lut 5768 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_config_rss(vsi, seed, lut, vsi->rss_table_size); lut 5774 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(lut); lut 5777 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(lut); lut 11419 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut, u16 lut_size) lut 11438 drivers/net/ethernet/intel/i40e/i40e_main.c if (lut) { lut 11441 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_get_rss_lut(hw, vsi->id, pf_lut, lut, lut_size); lut 11465 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *lut, u16 lut_size) lut 11487 drivers/net/ethernet/intel/i40e/i40e_main.c if (lut) { lut 11488 drivers/net/ethernet/intel/i40e/i40e_main.c u32 *lut_dw = (u32 *)lut; lut 11519 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut, u16 lut_size) lut 11531 drivers/net/ethernet/intel/i40e/i40e_main.c if (lut) { lut 11532 drivers/net/ethernet/intel/i40e/i40e_main.c u32 *lut_dw = (u32 *)lut; lut 11552 drivers/net/ethernet/intel/i40e/i40e_main.c int i40e_config_rss(struct i40e_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size) lut 11557 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_config_rss_aq(vsi, seed, lut, lut_size); lut 11559 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_config_rss_reg(vsi, seed, lut, lut_size); lut 11571 drivers/net/ethernet/intel/i40e/i40e_main.c int i40e_get_rss(struct i40e_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size) lut 11576 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_get_rss_aq(vsi, seed, lut, lut_size); lut 11578 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_get_rss_reg(vsi, seed, lut, lut_size); lut 11588 drivers/net/ethernet/intel/i40e/i40e_main.c void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut, lut 11594 drivers/net/ethernet/intel/i40e/i40e_main.c lut[i] = i % rss_size; lut 11605 drivers/net/ethernet/intel/i40e/i40e_main.c u8 *lut; lut 11641 drivers/net/ethernet/intel/i40e/i40e_main.c lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); lut 11642 drivers/net/ethernet/intel/i40e/i40e_main.c if (!lut) lut 11647 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); lut 11649 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_fill_rss_lut(pf, lut, vsi->rss_table_size, vsi->rss_size); lut 11658 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_config_rss(vsi, seed, lut, vsi->rss_table_size); lut 11659 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(lut); lut 42 drivers/net/ethernet/intel/i40e/i40e_prototype.h bool pf_lut, u8 *lut, u16 lut_size); lut 44 drivers/net/ethernet/intel/i40e/i40e_prototype.h bool pf_lut, u8 *lut, u16 lut_size); lut 2990 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (vrl->lut[i] >= vf->num_queue_pairs) { lut 2996 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c aq_ret = i40e_config_rss(vsi, NULL, vrl->lut, I40E_VF_HLUT_ARRAY_SIZE); lut 359 drivers/net/ethernet/intel/iavf/iavf_common.c u8 *lut, u16 lut_size, lut 395 drivers/net/ethernet/intel/iavf/iavf_common.c status = iavf_asq_send_command(hw, &desc, lut, lut_size, NULL); lut 411 drivers/net/ethernet/intel/iavf/iavf_common.c bool pf_lut, u8 *lut, u16 lut_size) lut 413 drivers/net/ethernet/intel/iavf/iavf_common.c return iavf_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, lut 428 drivers/net/ethernet/intel/iavf/iavf_common.c bool pf_lut, u8 *lut, u16 lut_size) lut 430 drivers/net/ethernet/intel/iavf/iavf_common.c return iavf_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); lut 44 drivers/net/ethernet/intel/iavf/iavf_prototype.h bool pf_lut, u8 *lut, u16 lut_size); lut 46 drivers/net/ethernet/intel/iavf/iavf_prototype.h bool pf_lut, u8 *lut, u16 lut_size); lut 876 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c memcpy(vrl->lut, adapter->rss_lut, adapter->rss_lut_size); lut 446 drivers/net/ethernet/intel/ice/ice.h int ice_set_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); lut 447 drivers/net/ethernet/intel/ice/ice.h int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); lut 448 drivers/net/ethernet/intel/ice/ice.h void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size); lut 2578 drivers/net/ethernet/intel/ice/ice_common.c __ice_aq_get_set_rss_lut(struct ice_hw *hw, u16 vsi_id, u8 lut_type, u8 *lut, lut 2649 drivers/net/ethernet/intel/ice/ice_common.c status = ice_aq_send_cmd(hw, &desc, lut, lut_size, NULL); lut 2667 drivers/net/ethernet/intel/ice/ice_common.c u8 *lut, u16 lut_size) lut 2669 drivers/net/ethernet/intel/ice/ice_common.c if (!ice_is_vsi_valid(hw, vsi_handle) || !lut) lut 2673 drivers/net/ethernet/intel/ice/ice_common.c lut_type, lut, lut_size, 0, false); lut 2688 drivers/net/ethernet/intel/ice/ice_common.c u8 *lut, u16 lut_size) lut 2690 drivers/net/ethernet/intel/ice/ice_common.c if (!ice_is_vsi_valid(hw, vsi_handle) || !lut) lut 2694 drivers/net/ethernet/intel/ice/ice_common.c lut_type, lut, lut_size, 0, true); lut 54 drivers/net/ethernet/intel/ice/ice_common.h ice_aq_get_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, lut 57 drivers/net/ethernet/intel/ice/ice_common.h ice_aq_set_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, lut 2991 drivers/net/ethernet/intel/ice/ice_ethtool.c u8 *lut; lut 3005 drivers/net/ethernet/intel/ice/ice_ethtool.c lut = devm_kzalloc(&pf->pdev->dev, vsi->rss_table_size, GFP_KERNEL); lut 3006 drivers/net/ethernet/intel/ice/ice_ethtool.c if (!lut) lut 3009 drivers/net/ethernet/intel/ice/ice_ethtool.c if (ice_get_rss(vsi, key, lut, vsi->rss_table_size)) { lut 3015 drivers/net/ethernet/intel/ice/ice_ethtool.c indir[i] = (u32)(lut[i]); lut 3018 drivers/net/ethernet/intel/ice/ice_ethtool.c devm_kfree(&pf->pdev->dev, lut); lut 1415 drivers/net/ethernet/intel/ice/ice_lib.c u8 *lut; lut 1417 drivers/net/ethernet/intel/ice/ice_lib.c lut = devm_kzalloc(&vsi->back->pdev->dev, vsi->rss_table_size, lut 1419 drivers/net/ethernet/intel/ice/ice_lib.c if (!lut) lut 1424 drivers/net/ethernet/intel/ice/ice_lib.c memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); lut 1426 drivers/net/ethernet/intel/ice/ice_lib.c ice_fill_rss_lut(lut, vsi->rss_table_size, lut 1430 drivers/net/ethernet/intel/ice/ice_lib.c err = ice_set_rss(vsi, NULL, lut, vsi->rss_table_size); lut 1431 drivers/net/ethernet/intel/ice/ice_lib.c devm_kfree(&vsi->back->pdev->dev, lut); lut 1445 drivers/net/ethernet/intel/ice/ice_lib.c u8 *lut; lut 1449 drivers/net/ethernet/intel/ice/ice_lib.c lut = devm_kzalloc(&pf->pdev->dev, vsi->rss_table_size, GFP_KERNEL); lut 1450 drivers/net/ethernet/intel/ice/ice_lib.c if (!lut) lut 1454 drivers/net/ethernet/intel/ice/ice_lib.c memcpy(lut, vsi->rss_lut_user, vsi->rss_table_size); lut 1456 drivers/net/ethernet/intel/ice/ice_lib.c ice_fill_rss_lut(lut, vsi->rss_table_size, vsi->rss_size); lut 1458 drivers/net/ethernet/intel/ice/ice_lib.c status = ice_aq_set_rss_lut(&pf->hw, vsi->idx, vsi->rss_lut_type, lut, lut 1492 drivers/net/ethernet/intel/ice/ice_lib.c devm_kfree(&pf->pdev->dev, lut); lut 2081 drivers/net/ethernet/intel/ice/ice_main.c void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size) lut 2086 drivers/net/ethernet/intel/ice/ice_main.c lut[i] = i % rss_size; lut 4417 drivers/net/ethernet/intel/ice/ice_main.c int ice_set_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size) lut 4437 drivers/net/ethernet/intel/ice/ice_main.c if (lut) { lut 4439 drivers/net/ethernet/intel/ice/ice_main.c lut, lut_size); lut 4460 drivers/net/ethernet/intel/ice/ice_main.c int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size) lut 4479 drivers/net/ethernet/intel/ice/ice_main.c if (lut) { lut 4481 drivers/net/ethernet/intel/ice/ice_main.c lut, lut_size); lut 1857 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (ice_set_rss(vsi, NULL, vrl->lut, ICE_VSIQF_HLUT_ARRAY_SIZE)) lut 197 drivers/ntb/hw/mscc/ntb_hw_switchtec.c int lut; lut 203 drivers/ntb/hw/mscc/ntb_hw_switchtec.c lut = widx >= sndev->peer_nr_direct_mw; lut 210 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *addr_align = lut ? size : SZ_4K; lut 213 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *size_align = lut ? size : SZ_4K; lut 48 drivers/pci/controller/dwc/pci-layerscape.c void __iomem *lut; lut 116 drivers/pci/controller/dwc/pci-layerscape.c state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >> lut 321 drivers/pci/controller/dwc/pci-layerscape.c pcie->lut = pci->dbi_base + pcie->drvdata->lut_offset; lut 148 drivers/power/supply/s3c_adc_battery.c const struct s3c_adc_bat_thresh *lut; lut 156 drivers/power/supply/s3c_adc_battery.c lut = bat->pdata->lut_noac; lut 174 drivers/power/supply/s3c_adc_battery.c lut = bat->pdata->lut_acin; lut 182 drivers/power/supply/s3c_adc_battery.c if (full_volt < calc_full_volt(lut->volt, lut->cur, lut 189 drivers/power/supply/s3c_adc_battery.c lut_volt1 = calc_full_volt(lut[0].volt, lut[0].cur, lut 191 drivers/power/supply/s3c_adc_battery.c lut_volt2 = calc_full_volt(lut[1].volt, lut[1].cur, lut 194 drivers/power/supply/s3c_adc_battery.c new_level = (lut[1].level + lut 195 drivers/power/supply/s3c_adc_battery.c (lut[0].level - lut[1].level) * lut 200 drivers/power/supply/s3c_adc_battery.c new_level = lut[1].level * 1000; lut 201 drivers/power/supply/s3c_adc_battery.c lut++; lut 819 drivers/staging/media/ipu3/include/intel-ipu3.h struct ipu3_uapi_bnr_static_config_lut_config lut; lut 984 drivers/staging/media/ipu3/include/intel-ipu3.h __u16 lut[IPU3_UAPI_GAMMA_CORR_LUT_ENTRIES]; lut 358 drivers/video/fbdev/controlfb.c out_8(&p->cmap_regs->lut, r); /* send one color channel at */ lut 359 drivers/video/fbdev/controlfb.c out_8(&p->cmap_regs->lut, g); /* a time... */ lut 360 drivers/video/fbdev/controlfb.c out_8(&p->cmap_regs->lut, b); lut 26 drivers/video/fbdev/controlfb.h unsigned char lut; /* cmap data */ lut 58 drivers/video/fbdev/macfb.c unsigned char lut; lut 64 drivers/video/fbdev/macfb.c unsigned char lut; lut 73 drivers/video/fbdev/macfb.c unsigned char lut; lut 79 drivers/video/fbdev/macfb.c unsigned char lut; /* OFFSET: 0x10 */ lut 101 drivers/video/fbdev/macfb.c unsigned char lut; lut 106 drivers/video/fbdev/macfb.c unsigned char lut; /* TFBClutWDataReg, offset 0x90018 */ lut 114 drivers/video/fbdev/macfb.c unsigned char lut; lut 167 drivers/video/fbdev/macfb.c &dafb_cmap_regs->lut); lut 170 drivers/video/fbdev/macfb.c &dafb_cmap_regs->lut); lut 173 drivers/video/fbdev/macfb.c &dafb_cmap_regs->lut); lut 178 drivers/video/fbdev/macfb.c nubus_writeb(red, &dafb_cmap_regs->lut); lut 180 drivers/video/fbdev/macfb.c nubus_writeb(green, &dafb_cmap_regs->lut); lut 182 drivers/video/fbdev/macfb.c nubus_writeb(blue, &dafb_cmap_regs->lut); lut 210 drivers/video/fbdev/macfb.c nubus_writeb(red, &v8_brazil_cmap_regs->lut); lut 212 drivers/video/fbdev/macfb.c nubus_writeb(green, &v8_brazil_cmap_regs->lut); lut 214 drivers/video/fbdev/macfb.c nubus_writeb(blue, &v8_brazil_cmap_regs->lut); lut 244 drivers/video/fbdev/macfb.c nubus_writeb(red, &rbv_cmap_regs->lut); lut 246 drivers/video/fbdev/macfb.c nubus_writeb(green, &rbv_cmap_regs->lut); lut 248 drivers/video/fbdev/macfb.c nubus_writeb(blue, &rbv_cmap_regs->lut); lut 267 drivers/video/fbdev/macfb.c nubus_writeb(red, &cmap_regs->lut); lut 269 drivers/video/fbdev/macfb.c nubus_writeb(green, &cmap_regs->lut); lut 271 drivers/video/fbdev/macfb.c nubus_writeb(blue, &cmap_regs->lut); lut 295 drivers/video/fbdev/macfb.c nubus_writeb(red, &cmap_regs->lut); lut 297 drivers/video/fbdev/macfb.c nubus_writeb(green, &cmap_regs->lut); lut 299 drivers/video/fbdev/macfb.c nubus_writeb(blue, &cmap_regs->lut); lut 317 drivers/video/fbdev/macfb.c nubus_writeb(red, &cmap_regs->lut); lut 319 drivers/video/fbdev/macfb.c nubus_writeb(green, &cmap_regs->lut); lut 321 drivers/video/fbdev/macfb.c nubus_writeb(blue, &cmap_regs->lut); lut 360 drivers/video/fbdev/macfb.c nubus_writeb(0x00, &civic_cmap_regs->lut); lut 362 drivers/video/fbdev/macfb.c nubus_writeb(0x00, &civic_cmap_regs->lut); lut 367 drivers/video/fbdev/macfb.c nubus_writeb(red, &civic_cmap_regs->lut); lut 369 drivers/video/fbdev/macfb.c nubus_writeb(green, &civic_cmap_regs->lut); lut 371 drivers/video/fbdev/macfb.c nubus_writeb(blue, &civic_cmap_regs->lut); lut 373 drivers/video/fbdev/macfb.c nubus_writeb(0x00, &civic_cmap_regs->lut); lut 379 drivers/video/fbdev/macfb.c junk = nubus_readb(&civic_cmap_regs->lut); lut 381 drivers/video/fbdev/macfb.c junk = nubus_readb(&civic_cmap_regs->lut); lut 383 drivers/video/fbdev/macfb.c junk = nubus_readb(&civic_cmap_regs->lut); lut 385 drivers/video/fbdev/macfb.c junk = nubus_readb(&civic_cmap_regs->lut); lut 390 drivers/video/fbdev/macfb.c nubus_writeb(0x00, &civic_cmap_regs->lut); lut 392 drivers/video/fbdev/macfb.c nubus_writeb(0x00, &civic_cmap_regs->lut); lut 396 drivers/video/fbdev/macfb.c nubus_writeb(red, &civic_cmap_regs->lut); lut 398 drivers/video/fbdev/macfb.c nubus_writeb(green, &civic_cmap_regs->lut); lut 400 drivers/video/fbdev/macfb.c nubus_writeb(blue, &civic_cmap_regs->lut); lut 402 drivers/video/fbdev/macfb.c nubus_writeb(junk, &civic_cmap_regs->lut); lut 200 drivers/video/fbdev/platinumfb.c out_8(&cmap_regs->lut, red); /* send one color channel at */ lut 201 drivers/video/fbdev/platinumfb.c out_8(&cmap_regs->lut, green); /* a time... */ lut 202 drivers/video/fbdev/platinumfb.c out_8(&cmap_regs->lut, blue); lut 32 drivers/video/fbdev/platinumfb.h unsigned char lut; lut 237 drivers/video/fbdev/valkyriefb.c out_8(&cmap_regs->lut, red); lut 238 drivers/video/fbdev/valkyriefb.c out_8(&cmap_regs->lut, green); lut 239 drivers/video/fbdev/valkyriefb.c out_8(&cmap_regs->lut, blue); lut 51 drivers/video/fbdev/valkyriefb.h unsigned char lut; lut 99 include/drm/drm_color_mgmt.h int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests); lut 486 include/linux/avf/virtchnl.h u8 lut[1]; /* RSS lookup table */