/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | skcipher.h | 29 void (*free)(struct skcipher_instance *inst); 78 struct skcipher_instance *inst) in skcipher_crypto_instance() 80 return &inst->s.base; in skcipher_crypto_instance() 90 static inline void *skcipher_instance_ctx(struct skcipher_instance *inst) in skcipher_instance_ctx() argument 92 return crypto_instance_ctx(skcipher_crypto_instance(inst)); in skcipher_instance_ctx() 101 struct crypto_instance *inst, 145 struct skcipher_instance *inst); 245 struct skcipher_instance *inst) in skcipher_ialg_simple() 247 struct crypto_cipher_spawn *spawn = skcipher_instance_ctx(inst); in skcipher_ialg_simple() 77 skcipher_crypto_instance( struct skcipher_instance *inst) skcipher_crypto_instance() argument 244 skcipher_ialg_simple( struct skcipher_instance *inst) skcipher_ialg_simple() argument
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | available_instructions.cpp | 80 for (auto& inst : block) { in AvailableInstructions() 83 // The number of available instructions before |inst| is the number in AvailableInstructions() 87 {&inst, num_available_at_block_entry_.at(&block) + in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 92 generated_by_block.push_back(&inst); in AvailableInstructions() 104 opt::Instruction* inst) const { in GetAvailableBeforeInstruction() 105 assert(num_available_before_instruction_.count(inst) != 0 && in GetAvailableBeforeInstruction() 107 return {*this, inst}; in GetAvailableBeforeInstruction() 111 const AvailableInstructions& available_instructions, opt::Instruction* inst) in AvailableBeforeInstruction() 112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction() 110 AvailableBeforeInstruction( const AvailableInstructions& available_instructions, opt::Instruction* inst) AvailableBeforeInstruction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | available_instructions.cpp | 80 for (auto& inst : block) { in AvailableInstructions() 83 // The number of available instructions before |inst| is the number in AvailableInstructions() 87 {&inst, num_available_at_block_entry_.at(&block) + in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 92 generated_by_block.push_back(&inst); in AvailableInstructions() 104 opt::Instruction* inst) const { in GetAvailableBeforeInstruction() 105 assert(num_available_before_instruction_.count(inst) != 0 && in GetAvailableBeforeInstruction() 107 return {*this, inst}; in GetAvailableBeforeInstruction() 111 const AvailableInstructions& available_instructions, opt::Instruction* inst) in AvailableBeforeInstruction() 112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction() 110 AvailableBeforeInstruction( const AvailableInstructions& available_instructions, opt::Instruction* inst) AvailableBeforeInstruction() argument [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | available_instructions.cpp | 80 for (auto& inst : block) { in AvailableInstructions() 83 // The number of available instructions before |inst| is the number in AvailableInstructions() 87 {&inst, num_available_at_block_entry_.at(&block) + in AvailableInstructions() 89 if (predicate(ir_context, &inst)) { in AvailableInstructions() 92 generated_by_block.push_back(&inst); in AvailableInstructions() 104 opt::Instruction* inst) const { in GetAvailableBeforeInstruction() 105 assert(num_available_before_instruction_.count(inst) != 0 && in GetAvailableBeforeInstruction() 107 return {*this, inst}; in GetAvailableBeforeInstruction() 111 const AvailableInstructions& available_instructions, opt::Instruction* inst) in AvailableBeforeInstruction() 112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction() 110 AvailableBeforeInstruction( const AvailableInstructions& available_instructions, opt::Instruction* inst) AvailableBeforeInstruction() argument [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | scalar_replacement_pass.h | 104 // Returns true if the uses of |inst| are acceptable for scalarization. 106 // Recursively checks all the uses of |inst|. For |inst| specifically, only 111 bool CheckUses(const Instruction* inst) const; 117 bool CheckUses(const Instruction* inst, VariableStats* stats) const; 120 bool CheckUsesRelaxed(const Instruction* inst) const; 126 // Scalarizes |inst| and updates its uses. 128 // |inst| must be an OpVariable. It is replaced with an OpVariable for each 129 // for element of the composite type. Uses of |inst| are updated as 136 Pass::Status ReplaceVariable(Instruction* inst, [all...] |
H A D | const_folding_rules.cpp | 109 return [](IRContext* context, Instruction* inst, in FoldExtractWithConstants() 117 for (uint32_t i = 1; i < inst->NumInOperands(); ++i) { in FoldExtractWithConstants() 118 uint32_t element_index = inst->GetSingleWordInOperand(i); in FoldExtractWithConstants() 123 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), {}); in FoldExtractWithConstants() 140 return [](IRContext* context, Instruction* inst, in FoldInsertWithConstants() 155 const uint32_t final_index = (inst->NumInOperands() - 1); in FoldInsertWithConstants() 158 for (uint32_t i = 2; i < inst->NumInOperands(); ++i) { in FoldInsertWithConstants() 182 const uint32_t index = inst->GetSingleWordInOperand(i); in FoldInsertWithConstants() 187 const uint32_t final_operand = inst->GetSingleWordInOperand(final_index); in FoldInsertWithConstants() 202 // Can't compare with location of inst becaus in FoldInsertWithConstants() [all...] |
H A D | if_conversion.cpp | 143 for (auto inst : to_kill) { in Process() 144 context()->KillInst(inst); in Process() 236 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 238 BasicBlock* inst_block = context()->get_instr_block(inst); in HoistInstruction() 249 assert(inst->IsOpcodeCodeMotionSafe() && in HoistInstruction() 254 inst->ForEachInId( in HoistInstruction() 264 inst->RemoveFromList(); in HoistInstruction() 265 insertion_pos->InsertBefore(std::unique_ptr<Instruction>(inst)); in HoistInstruction() 266 context()->set_instr_block(inst, target_block); in HoistInstruction() 269 bool IfConversion::CanHoistInstruction(Instruction* inst, in CanHoistInstruction() argument [all...] |
/third_party/vulkan-loader/loader/ |
H A D | log.c | 94 void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char *format, ...) { in loader_log() argument 106 if (inst) { in loader_log() 142 object_name.objectHandle = (uint64_t)(uintptr_t)inst; in loader_log() 144 util_SubmitDebugUtilsMessageEXT(inst, severity, type, &callback_data); in loader_log() 150 if (inst && inst->settings.settings_active && 0 == (msg_type & inst->settings.debug_level)) { in loader_log() 236 void loader_log_asm_function_not_supported(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, in loader_log_asm_function_not_supported() argument 238 loader_log(inst, msg_type, msg_code, "Function %s not supported for this physical device", func_name); in loader_log_asm_function_not_supported()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_threading_tests.cpp | 38 InstWrapper inst{env->vulkan_functions}; in create_destroy_instance_loop_with_function_queries() 39 inst.CheckCreate(); in create_destroy_instance_loop_with_function_queries() 42 enum_pd = inst.load("vkEnumeratePhysicalDevices"); in create_destroy_instance_loop_with_function_queries() 45 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in create_destroy_instance_loop_with_function_queries() 47 DeviceWrapper dev{inst}; in create_destroy_instance_loop_with_function_queries() 58 InstWrapper inst{env->vulkan_functions}; in create_destroy_device_loop() 59 inst.CheckCreate(); in create_destroy_device_loop() 61 DeviceWrapper dev{inst}; in create_destroy_device_loop() 62 dev.CheckCreate(inst.GetPhysDev()); in create_destroy_device_loop()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | dma.h | 26 int nv04_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **); 27 int nv50_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **); 28 int gf100_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **); 29 int gf119_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **); 30 int gv100_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_small_type_uses.cpp | 24 const Instruction* inst) { in ValidateSmallTypeUses() 25 if (!_.HasCapability(SpvCapabilityShader) || inst->type_id() == 0 || in ValidateSmallTypeUses() 26 !_.ContainsLimitedUseIntOrFloatType(inst->type_id())) { in ValidateSmallTypeUses() 30 if (_.IsPointerType(inst->type_id())) return SPV_SUCCESS; in ValidateSmallTypeUses() 36 for (auto use : inst->uses()) { in ValidateSmallTypeUses() 23 ValidateSmallTypeUses(ValidationState_t& _, const Instruction* inst) ValidateSmallTypeUses() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_small_type_uses.cpp | 24 const Instruction* inst) { in ValidateSmallTypeUses() 25 if (!_.HasCapability(SpvCapabilityShader) || inst->type_id() == 0 || in ValidateSmallTypeUses() 26 !_.ContainsLimitedUseIntOrFloatType(inst->type_id())) { in ValidateSmallTypeUses() 30 if (_.IsPointerType(inst->type_id())) return SPV_SUCCESS; in ValidateSmallTypeUses() 36 for (auto use : inst->uses()) { in ValidateSmallTypeUses() 23 ValidateSmallTypeUses(ValidationState_t& _, const Instruction* inst) ValidateSmallTypeUses() argument
|
/third_party/spirv-tools/source/val/ |
H A D | validate_small_type_uses.cpp | 24 const Instruction* inst) { in ValidateSmallTypeUses() 25 if (!_.HasCapability(spv::Capability::Shader) || inst->type_id() == 0 || in ValidateSmallTypeUses() 26 !_.ContainsLimitedUseIntOrFloatType(inst->type_id())) { in ValidateSmallTypeUses() 30 if (_.IsPointerType(inst->type_id())) return SPV_SUCCESS; in ValidateSmallTypeUses() 36 for (auto use : inst->uses()) { in ValidateSmallTypeUses() 23 ValidateSmallTypeUses(ValidationState_t& _, const Instruction* inst) ValidateSmallTypeUses() argument
|
/kernel/linux/linux-5.10/crypto/ |
H A D | chacha20poly1305.c | 502 struct aead_instance *inst = aead_alg_instance(tfm); in chachapoly_init() local 503 struct chachapoly_instance_ctx *ictx = aead_instance_ctx(inst); in chachapoly_init() 546 static void chachapoly_free(struct aead_instance *inst) in chachapoly_free() argument 548 struct chachapoly_instance_ctx *ctx = aead_instance_ctx(inst); in chachapoly_free() 552 kfree(inst); in chachapoly_free() 559 struct aead_instance *inst; in chachapoly_create() local 572 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in chachapoly_create() 573 if (!inst) in chachapoly_create() 575 ctx = aead_instance_ctx(inst); in chachapoly_create() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | vcn_v1_0.c | 97 VCN_1_0__SRCID__UVD_SYSTEM_MESSAGE_INTERRUPT, &adev->vcn.inst->irq); in vcn_v1_0_sw_init() 104 &adev->vcn.inst->irq); in vcn_v1_0_sw_init() 122 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_sw_init() 125 r = amdgpu_ring_init(adev, ring, 512, &adev->vcn.inst->irq, 0, in vcn_v1_0_sw_init() 130 adev->vcn.internal.scratch9 = adev->vcn.inst->external.scratch9 = in vcn_v1_0_sw_init() 132 adev->vcn.internal.data0 = adev->vcn.inst->external.data0 = in vcn_v1_0_sw_init() 134 adev->vcn.internal.data1 = adev->vcn.inst->external.data1 = in vcn_v1_0_sw_init() 136 adev->vcn.internal.cmd = adev->vcn.inst->external.cmd = in vcn_v1_0_sw_init() 138 adev->vcn.internal.nop = adev->vcn.inst->external.nop = in vcn_v1_0_sw_init() 144 ring = &adev->vcn.inst in vcn_v1_0_sw_init() [all...] |
H A D | vcn_v4_0_3.c | 105 VCN_4_0__SRCID__UVD_ENC_GENERAL_PURPOSE, &adev->vcn.inst->irq); in vcn_v4_0_3_sw_init() 114 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v4_0_3_sw_init() 126 ring->vm_hub = AMDGPU_MMHUB0(adev->vcn.inst[i].aid_id); in vcn_v4_0_3_sw_init() 127 sprintf(ring->name, "vcn_unified_%d", adev->vcn.inst[i].aid_id); in vcn_v4_0_3_sw_init() 128 r = amdgpu_ring_init(adev, ring, 512, &adev->vcn.inst->irq, 0, in vcn_v4_0_3_sw_init() 130 &adev->vcn.inst[i].sched_score); in vcn_v4_0_3_sw_init() 134 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_3_sw_init() 139 amdgpu_vcn_fwlog_init(&adev->vcn.inst[i]); in vcn_v4_0_3_sw_init() 178 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_3_sw_fini() 216 ring = &adev->vcn.inst[ in vcn_v4_0_3_hw_init() 1593 uint32_t i, inst; vcn_v4_0_3_process_interrupt() local [all...] |
/third_party/vulkan-loader/tests/framework/ |
H A D | test_environment.cpp | 170 InstWrapper::InstWrapper(VulkanFunctions& functions, VkInstance inst, VkAllocationCallbacks* callbacks) noexcept 171 : functions(&functions), inst(inst), callbacks(callbacks) {} 173 if (inst != VK_NULL_HANDLE) functions->vkDestroyInstance(inst, callbacks); 178 inst = other.inst; 181 other.inst = VK_NULL_HANDLE; 184 functions->vkDestroyInstance(inst, callbacks); 186 inst 804 create_surface_helper(VulkanFunctions* functions, VkInstance inst, VkSurfaceKHR& surface, const char* load_func_name) global() argument 810 create_surface(VulkanFunctions* functions, VkInstance inst, VkSurfaceKHR& surface, [[maybe_unused]] const char* api_selection) global() argument 869 create_surface(InstWrapper& inst, VkSurfaceKHR& surface, const char* api_selection) global() argument [all...] |
/third_party/spirv-tools/source/diff/ |
H A D | diff.cpp | 204 [this](const opt::Instruction* inst) { 205 if (inst->HasResultId()) { 206 MapIdToInstruction(inst->result_id(), inst); 219 void MapIdToInstruction(uint32_t id, const opt::Instruction* inst); 518 const opt::Instruction& inst, 527 const opt::Instruction* MappedInstImpl(const opt::Instruction* inst, 539 void ToParsedInstruction(const opt::Instruction& inst, 602 const opt::Instruction* inst) { 607 inst_map_[id] = inst; [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | e500_emulate.c | 87 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv() 91 switch (get_oc(inst)) { in kvmppc_e500_emul_ehpriv() 115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr() argument 119 if (get_tmrn(inst) == TMRN_TMCFG0) { in kvmppc_e500_emul_mftmr() 129 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500() 132 int ra = get_ra(inst); in kvmppc_core_emulate_op_e500() 133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() 134 int rt = get_rt(inst); in kvmppc_core_emulate_op_e500() 137 switch (get_op(inst)) { in kvmppc_core_emulate_op_e500() 139 switch (get_xop(inst)) { in kvmppc_core_emulate_op_e500() 86 kvmppc_e500_emul_ehpriv(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_e500_emul_ehpriv() argument 128 kvmppc_core_emulate_op_e500(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_e500() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | e500_emulate.c | 87 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv() 91 switch (get_oc(inst)) { in kvmppc_e500_emul_ehpriv() 115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr() argument 119 if (get_tmrn(inst) == TMRN_TMCFG0) { in kvmppc_e500_emul_mftmr() 129 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500() 132 int ra = get_ra(inst); in kvmppc_core_emulate_op_e500() 133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() 134 int rt = get_rt(inst); in kvmppc_core_emulate_op_e500() 137 switch (get_op(inst)) { in kvmppc_core_emulate_op_e500() 139 switch (get_xop(inst)) { in kvmppc_core_emulate_op_e500() 86 kvmppc_e500_emul_ehpriv(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_e500_emul_ehpriv() argument 128 kvmppc_core_emulate_op_e500(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_e500() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 218 static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) in parser_init() argument 220 if (!inst || !IS_V1(inst->core)) in parser_init() 223 *codecs = inst->hfi_codec; in parser_init() 224 *domain = inst->session_type; in parser_init() 227 static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) in parser_fini() argument 233 if (!inst || !IS_V1(inst->core)) in parser_fini() 236 caps = inst->core->caps; in parser_fini() 237 dom = inst in parser_fini() 246 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf, u32 size) hfi_parser() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/samsung/ |
H A D | phy-exynos5250-usb2.c | 174 static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos5250_isol() argument 176 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_isol() 181 inst->cfg->id == EXYNOS5250_DEVICE) in exynos5250_isol() 184 inst->cfg->id == EXYNOS5250_HOST) in exynos5250_isol() 187 inst->cfg->id == EXYNOS5250_HOST) in exynos5250_isol() 195 static int exynos5250_power_on(struct samsung_usb2_phy_instance *inst) in exynos5250_power_on() argument 197 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_power_on() 204 switch (inst->cfg->id) { in exynos5250_power_on() 316 exynos5250_isol(inst, 0); in exynos5250_power_on() 321 static int exynos5250_power_off(struct samsung_usb2_phy_instance *inst) in exynos5250_power_off() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | if_conversion.cpp | 143 for (auto inst : to_kill) { in Process() 144 context()->KillInst(inst); in Process() 226 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 228 BasicBlock* inst_block = context()->get_instr_block(inst); in HoistInstruction() 239 assert(inst->IsOpcodeCodeMotionSafe() && in HoistInstruction() 244 inst->ForEachInId( in HoistInstruction() 254 inst->RemoveFromList(); in HoistInstruction() 255 insertion_pos->InsertBefore(std::unique_ptr<Instruction>(inst)); in HoistInstruction() 256 context()->set_instr_block(inst, target_block); in HoistInstruction() 259 bool IfConversion::CanHoistInstruction(Instruction* inst, in CanHoistInstruction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | if_conversion.cpp | 143 for (auto inst : to_kill) { in Process() 144 context()->KillInst(inst); in Process() 226 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 228 BasicBlock* inst_block = context()->get_instr_block(inst); in HoistInstruction() 239 assert(inst->IsOpcodeCodeMotionSafe() && in HoistInstruction() 244 inst->ForEachInId( in HoistInstruction() 254 inst->RemoveFromList(); in HoistInstruction() 255 insertion_pos->InsertBefore(std::unique_ptr<Instruction>(inst)); in HoistInstruction() 256 context()->set_instr_block(inst, target_block); in HoistInstruction() 259 bool IfConversion::CanHoistInstruction(Instruction* inst, in CanHoistInstruction() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | efi.h | 210 #define efi_table_attr(inst, attr) \ 211 (efi_is_native() ? (inst)->attr \ 212 : efi_mixed_table_attr((inst), attr)) 214 #define efi_mixed_table_attr(inst, attr) \ 215 (__typeof__(inst->attr)) \ 216 _Generic(inst->mixed_mode.attr, \ 217 u32: (unsigned long)(inst->mixed_mode.attr), \ 218 default: (inst->mixed_mode.attr)) 333 #define __efi64_thunk_map(inst, func, ...) \ 334 efi64_thunk(inst [all...] |