shader 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u32 shader; shader 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->shader = nvbios_rd16(bios, perf + 0x06) * 1000; shader 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->core = info->shader + (signed char) shader 133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->shader = nvbios_rd16(bios, perf + 0x0a) * 1000; shader 143 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->shader = nvbios_rd16(bios, perf + 0x0a) * 1000; shader 431 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->domain[nv_clk_src_shader] = perfE.shader; shader 206 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c const int shader = cstate->domain[nv_clk_src_shader]; shader 242 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if (shader == nvkm_clk_read(&clk->base, nv_clk_src_href)) { shader 245 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c clock = calc_pll(clk, 0x4020, shader, &N, &M, &P1); shader 247 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c out = calc_P((core << 1), shader, &divs); shader 249 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if (abs(shader - out) <= shader 250 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c abs(shader - clock) && shader 374 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c const int shader = cstate->domain[nv_clk_src_shader]; shader 473 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c if (P1-- && shader == (core << 1)) { shader 477 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c freq = calc_pll(clk, 0x4020, shader, &N, &M, &P1); shader 56 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t *shader; shader 187 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 311 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 390 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 481 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 556 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 603 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[validation_state->ip]; shader 642 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state->shader[ip]; shader 789 drivers/gpu/drm/vc4/vc4_validate_shaders.c validation_state.shader = shader_obj->vaddr; shader 808 drivers/gpu/drm/vc4/vc4_validate_shaders.c uint64_t inst = validation_state.shader[ip]; shader 151 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c offsetof(struct vmw_ctx_binding_state, per_shader[0].shader), shader 152 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c offsetof(struct vmw_ctx_binding_state, per_shader[1].shader), shader 153 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c offsetof(struct vmw_ctx_binding_state, per_shader[2].shader), shader 185 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo_shader shader; shader 44 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_shader shader; shader 169 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_shader *shader = vmw_res_to_shader(res); shader 188 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->size = size; shader 189 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->type = type; shader 190 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->num_input_sig = num_input_sig; shader 191 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->num_output_sig = num_output_sig; shader 204 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_shader *shader = vmw_res_to_shader(res); shader 234 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd->body.type = shader->type; shader 235 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd->body.sizeInBytes = shader->size; shader 359 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader = vmw_res_to_dx_shader(res); shader 364 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_cotable_add_resource(shader->cotable, shader 365 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c &shader->cotable_head); shader 366 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->committed = true; shader 367 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res->id = shader->id; shader 371 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c list_del_init(&shader->cotable_head); shader 372 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->committed = false; shader 387 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader = vmw_res_to_dx_shader(res); shader 394 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if (!list_empty(&shader->cotable_head) || !shader->committed) shader 397 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd = VMW_FIFO_RESERVE_DX(dev_priv, sizeof(*cmd), shader->ctx->id); shader 403 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd->body.cid = shader->ctx->id; shader 404 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd->body.shid = shader->id; shader 409 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_cotable_add_resource(shader->cotable, &shader->cotable_head); shader 425 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader = vmw_res_to_dx_shader(res); shader 428 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c WARN_ON_ONCE(!shader->committed); shader 436 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res->id = shader->id; shader 473 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader = vmw_res_to_dx_shader(res); shader 480 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if (list_empty(&shader->cotable_head)) shader 483 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c WARN_ON_ONCE(!shader->committed); shader 490 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c cmd->body.cid = shader->ctx->id; shader 496 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c list_del_init(&shader->cotable_head); shader 571 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader = vmw_res_to_dx_shader(res); shader 573 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_resource_unreference(&shader->cotable); shader 574 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c kfree(shader); shader 594 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_dx_shader *shader; shader 604 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_shader_dx_size = ttm_round_pot(sizeof(*shader)); shader 618 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader = kmalloc(sizeof(*shader), GFP_KERNEL); shader 619 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if (!shader) { shader 624 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res = &shader->res; shader 625 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->ctx = ctx; shader 626 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->cotable = vmw_resource_reference shader 628 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->id = user_key; shader 629 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader->committed = false; shader 630 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c INIT_LIST_HEAD(&shader->cotable_head); shader 646 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res->id = shader->id; shader 665 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader.res); shader 671 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c container_of(res, struct vmw_user_shader, shader.res); shader 681 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_shader *shader = vmw_res_to_shader(res); shader 684 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c kfree(shader); shader 754 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res = &ushader->shader.res; shader 794 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_shader *shader; shader 817 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c shader = kzalloc(sizeof(*shader), GFP_KERNEL); shader 818 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if (unlikely(!shader)) { shader 825 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c res = &shader->res;