/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | generate_grammar_tables.py | 309 def generate_instruction(inst, is_ext_inst): 313 - inst: a dict containing information about a SPIR-V instruction 314 - is_ext_inst: a bool indicating whether |inst| is an extended 321 opname = inst.get('opname') 322 opcode = inst.get('opcode') 323 caps = inst.get('capabilities', []) 324 exts = inst.get('extensions', []) 325 operands = inst.get('operands', {}) 327 min_version = inst.get('version', None) 328 max_version = inst [all...] |
/third_party/spirv-tools/utils/ |
H A D | generate_grammar_tables.py | 324 def generate_instruction(inst, is_ext_inst): 328 - inst: a dict containing information about a SPIR-V instruction 329 - is_ext_inst: a bool indicating whether |inst| is an extended 336 opname = inst.get('opname') 337 opcode = inst.get('opcode') 338 caps = inst.get('capabilities', []) 339 exts = inst.get('extensions', []) 340 operands = inst.get('operands', {}) 342 min_version = inst.get('version', None) 343 max_version = inst [all...] |
/kernel/linux/linux-5.10/arch/arm/vfp/ |
H A D | vfpmodule.c | 228 static void vfp_panic(char *reason, u32 inst) in vfp_panic() argument 234 fmrx(FPEXC), fmrx(FPSCR), inst); in vfp_panic() 243 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_raise_exceptions() argument 250 vfp_panic("unhandled bounce", inst); in vfp_raise_exceptions() 287 static u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_emulate_instruction() argument 291 pr_debug("VFP: emulate: INST=0x%08x SCR=0x%08x\n", inst, fpscr); in vfp_emulate_instruction() 293 if (INST_CPRTDO(inst)) { in vfp_emulate_instruction() 294 if (!INST_CPRT(inst)) { in vfp_emulate_instruction() 298 if (vfp_single(inst)) { in vfp_emulate_instruction() 299 exceptions = vfp_single_cpdo(inst, fpsc in vfp_emulate_instruction() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv40.c | 82 chan->inst = (*pgpuobj)->addr; in nv40_gr_chan_bind() 85 nvkm_wo32(*pgpuobj, 0x00000, chan->inst >> 4); in nv40_gr_chan_bind() 98 u32 inst = 0x01000000 | chan->inst >> 4; in nv40_gr_chan_fini() local 103 if (nvkm_rd32(device, 0x40032c) == inst) { in nv40_gr_chan_fini() 106 nvkm_wr32(device, 0x400784, inst); in nv40_gr_chan_fini() 122 if (nvkm_rd32(device, 0x400330) == inst) in nv40_gr_chan_fini() 241 u32 inst = nvkm_rd32(device, 0x40032c) & 0x000fffff; in nv40_gr_intr() local 253 if (temp->inst >> 4 == inst) { in nv40_gr_intr() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | value_table_test.cpp | 53 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 54 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 194 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local 195 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 362 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 363 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 683 Instruction* inst in TEST_F() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | value_table_test.cpp | 53 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 54 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 194 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local 195 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 362 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 363 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 683 Instruction* inst in TEST_F() local [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | value_table_test.cpp | 52 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 53 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 193 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local 194 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 361 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local 362 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F() 682 Instruction* inst in TEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | clk_mgr_internal.h | 81 #define CLK_BASE(inst) \ 82 CLK_BASE_INNER(inst) 84 #define CLK_SRI(reg_name, block, inst)\ 85 .reg_name = CLK_BASE(mm ## block ## _ ## inst ## _ ## reg_name ## _BASE_IDX) + \ 86 mm ## block ## _ ## inst ## _ ## reg_name
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_hwseq.c | 60 val = REG_GET_4(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], in dce_pipe_control_lock() 71 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 76 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 82 uint32_t value = REG_READ(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst]); in dce_pipe_control_lock() 83 REG_WRITE(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst], value); in dce_pipe_control_lock()
|
H A D | dce_ipp.c | 276 int inst, in dce_ipp_construct() 282 ipp_dce->base.inst = inst; in dce_ipp_construct() 294 int inst, in dce60_ipp_construct() 300 ipp_dce->base.inst = inst; in dce60_ipp_construct() 273 dce_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce_ipp_construct() argument 291 dce60_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce60_ipp_construct() argument
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | inst.h | 142 static inline int __copy_inst_from_kernel_nofault(ppc_inst_t *inst, u32 *src) in __copy_inst_from_kernel_nofault() argument 153 *inst = ppc_inst_prefix(val, suffix); in __copy_inst_from_kernel_nofault() 155 *inst = ppc_inst(val); in __copy_inst_from_kernel_nofault() 162 static inline int copy_inst_from_kernel_nofault(ppc_inst_t *inst, u32 *src) in copy_inst_from_kernel_nofault() argument 167 return __copy_inst_from_kernel_nofault(inst, src); in copy_inst_from_kernel_nofault()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_hwseq.c | 60 val = REG_GET_4(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], in dce_pipe_control_lock() 71 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 76 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 82 uint32_t value = REG_READ(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst]); in dce_pipe_control_lock() 83 REG_WRITE(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst], value); in dce_pipe_control_lock()
|
/third_party/mesa3d/src/broadcom/clif/ |
H A D | v3dx_dump.c | 64 struct v3d_group *inst = v3d_spec_find_instruction(clif->spec, cl); in clif_dump_packet() local 65 if (!inst) { in clif_dump_packet() 70 *size = v3d_group_get_length(inst); in clif_dump_packet() 73 char *name = clif_name(v3d_group_get_name(inst)); in clif_dump_packet() 76 v3d_print_group(clif, inst, 0, cl); in clif_dump_packet()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_replace_parameter_with_global.cpp | 134 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply() 135 assert(fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpStore, inst) && in Apply() 140 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply() 145 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 149 inst->RemoveInOperand(parameter_index + 1); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | debug_info_manager.h | 167 // Return the opcode for the Vulkan DebugOperation inst 168 uint32_t GetVulkanDebugOperation(Instruction* inst); 170 // Returns the id of Value operand if |inst| is DebugValue who has Deref 173 uint32_t GetVariableIdOfDebugValueUsedForDeclare(Instruction* inst); 189 // Removes uses of DebugScope |inst| from |scope_id_to_users_| or uses of 190 // DebugInlinedAt |inst| from |inlinedat_id_to_users_|. 191 void ClearDebugScopeAndInlinedAtUses(Instruction* inst); 210 // Registers the debug instruction |inst| into |id_to_dbg_inst_| using id of 211 // |inst| as a key. 212 void RegisterDbgInst(Instruction* inst); [all...] |
H A D | local_single_block_elim_pass.cpp | 164 for (Instruction* inst : instructions_to_kill) { in LocalSingleBlockLoadStoreElim() 165 context()->KillInst(inst); in LocalSingleBlockLoadStoreElim() 194 for (auto& inst : context()->module()->ext_inst_imports()) { in AllExtensionsSupported() 195 assert(inst.opcode() == SpvOpExtInstImport && in AllExtensionsSupported() 198 reinterpret_cast<const char*>(&inst.GetInOperand(0).words[0]); in AllExtensionsSupported()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_replace_parameter_with_global.cpp | 134 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply() 135 assert(fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpStore, inst) && in Apply() 140 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply() 145 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 149 inst->RemoveInOperand(parameter_index + 1); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | debug_info_manager.h | 167 // Return the opcode for the Vulkan DebugOperation inst 168 uint32_t GetVulkanDebugOperation(Instruction* inst); 170 // Returns the id of Value operand if |inst| is DebugValue who has Deref 173 uint32_t GetVariableIdOfDebugValueUsedForDeclare(Instruction* inst); 189 // Removes uses of DebugScope |inst| from |scope_id_to_users_| or uses of 190 // DebugInlinedAt |inst| from |inlinedat_id_to_users_|. 191 void ClearDebugScopeAndInlinedAtUses(Instruction* inst); 210 // Registers the debug instruction |inst| into |id_to_dbg_inst_| using id of 211 // |inst| as a key. 212 void RegisterDbgInst(Instruction* inst); [all...] |
H A D | local_single_block_elim_pass.cpp | 164 for (Instruction* inst : instructions_to_kill) { in LocalSingleBlockLoadStoreElim() 165 context()->KillInst(inst); in LocalSingleBlockLoadStoreElim() 194 for (auto& inst : context()->module()->ext_inst_imports()) { in AllExtensionsSupported() 195 assert(inst.opcode() == SpvOpExtInstImport && in AllExtensionsSupported() 198 reinterpret_cast<const char*>(&inst.GetInOperand(0).words[0]); in AllExtensionsSupported()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_replace_parameter_with_global.cpp | 135 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply() 137 fuzzerutil::CanInsertOpcodeBeforeInstruction(spv::Op::OpStore, inst) && in Apply() 142 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply() 147 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 151 inst->RemoveInOperand(parameter_index + 1); in Apply()
|
/third_party/spirv-tools/source/opt/ |
H A D | debug_info_manager.h | 166 // Return the opcode for the Vulkan DebugOperation inst 167 uint32_t GetVulkanDebugOperation(Instruction* inst); 169 // Returns the id of Value operand if |inst| is DebugValue who has Deref 172 uint32_t GetVariableIdOfDebugValueUsedForDeclare(Instruction* inst); 188 // Removes uses of DebugScope |inst| from |scope_id_to_users_| or uses of 189 // DebugInlinedAt |inst| from |inlinedat_id_to_users_|. 190 void ClearDebugScopeAndInlinedAtUses(Instruction* inst); 209 // Registers the debug instruction |inst| into |id_to_dbg_inst_| using id of 210 // |inst| as a key. 211 void RegisterDbgInst(Instruction* inst); [all...] |
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
H A D | devmgr_client.c | 206 static void HDIDeviceManagerConstruct(struct HDIDeviceManager *inst) in HDIDeviceManagerConstruct() argument 208 inst->FreeQueryDeviceList = DevmgrFreeQueryDeviceList; in HDIDeviceManagerConstruct() 209 inst->QueryUsableDeviceInfo = DevmgrQueryUsableDeviceInfo; in HDIDeviceManagerConstruct() 210 inst->QueryUnusableDeviceInfo = DevmgrQueryUnusableDeviceInfo; in HDIDeviceManagerConstruct() 211 inst->LoadDevice = DevmgrLoadDevice; in HDIDeviceManagerConstruct() 212 inst->UnloadDevice = DevmgrUnloadDevice; in HDIDeviceManagerConstruct()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | cm_common.c | 137 * @inst: PRCM instance 140 * Enables clocks for a module identified by (@part, @inst, @clkctrl_offs) 144 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable() argument 152 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable() 159 * @inst: PRCM instance 162 * Disables clocks for a module identified by (@part, @inst, @clkctrl_offs) 166 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable() argument 174 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable() 178 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_xlate_clkctrl() argument 185 return cm_ll_data->xlate_clkctrl(part, inst, clkctrl_off in omap_cm_xlate_clkctrl() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hwseq.c | 164 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_abm_immediate_disable() 176 panel_cntl->inst); in dcn21_set_abm_immediate_disable() 182 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_pipe() 192 dmub_abm_set_pipe(abm, otg_inst, SET_ABM_PIPE_NORMAL, panel_cntl->inst); in dcn21_set_pipe() 202 uint32_t otg_inst = pipe_ctx->stream_res.tg->inst; in dcn21_set_backlight_level() 211 dmub_abm_set_pipe(abm, otg_inst, SET_ABM_PIPE_NORMAL, panel_cntl->inst); in dcn21_set_backlight_level()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | cm_common.c | 124 * @inst: PRCM instance 127 * Enables clocks for a module identified by (@part, @inst, @clkctrl_offs) 131 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable() argument 139 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable() 146 * @inst: PRCM instance 149 * Disables clocks for a module identified by (@part, @inst, @clkctrl_offs) 153 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable() argument 161 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable() 165 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_xlate_clkctrl() argument 172 return cm_ll_data->xlate_clkctrl(part, inst, clkctrl_off in omap_cm_xlate_clkctrl() [all...] |