/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_mrp_netlink.c | 80 enum br_mrp_port_state_type state; in br_mrp_port_state_parse() local 93 state = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_STATE_STATE]); in br_mrp_port_state_parse() 95 return br_mrp_set_port_state(p, state); in br_mrp_port_state_parse() 138 struct br_mrp_ring_state state; in br_mrp_ring_state_parse() local 153 memset(&state, 0x0, sizeof(state)); in br_mrp_ring_state_parse() 155 state.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_RING_ID]); in br_mrp_ring_state_parse() 156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse() 158 return br_mrp_set_ring_state(br, &state); in br_mrp_ring_state_parse() 252 struct br_mrp_in_state state; in br_mrp_in_state_parse() local [all...] |
/third_party/elfutils/libelf/ |
H A D | elf32_updatenull.c | 60 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 65 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 72 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 87 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 92 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 103 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 107 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 112 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 120 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 145 if (elf->state in __elfw2() [all...] |
/third_party/alsa-utils/amidi/ |
H A D | amidi.c | 377 } state = STATE_UNKNOWN; in print_byte() local 386 state = STATE_SYSEX; in print_byte() 390 state = STATE_1PARAM; in print_byte() 393 state = STATE_2PARAM_1; in print_byte() 398 state = STATE_UNKNOWN; in print_byte() 401 newline = state != STATE_SYSEX; in print_byte() 402 state = STATE_UNKNOWN; in print_byte() 408 state = STATE_1PARAM; in print_byte() 410 state = STATE_2PARAM_1; in print_byte() 413 newline = state in print_byte() [all...] |
/third_party/curl/lib/ |
H A D | conncache.c | 110 connc->closure_handle->state.internal = true; in Curl_conncache_init() 114 connc->closure_handle->state.conn_cache = connc; in Curl_conncache_init() 159 num = data->state.conn_cache->num_conn; in Curl_conncache_size() 220 struct conncache *connc = data->state.conn_cache; in Curl_conncache_add_conn() 224 bundle = Curl_conncache_find_bundle(data, conn, data->state.conn_cache); in Curl_conncache_add_conn() 235 if(!conncache_add_bundle(data->state.conn_cache, key, bundle)) { in Curl_conncache_add_conn() 267 struct conncache *connc = data->state.conn_cache; in Curl_conncache_remove_conn() 397 struct conncache *connc = data->state.conn_cache; in Curl_conncache_return_conn() 398 connc->closure_handle->state.buffer = data->state in Curl_conncache_return_conn() [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir_lower_taskmesh_io_to_mem.c | 49 UNUSED const void *state) in filter_workgroup_id() 61 void *state) in replace_workgroup_id_use_first_task() 63 add_first_task_to_workgroup_id_state *s = (add_first_task_to_workgroup_id_state *) state; in replace_workgroup_id_use_first_task() 134 add_first_task_to_workgroup_id_state state = { in ac_nir_apply_first_task_to_task_shader() local 141 &state); in ac_nir_apply_first_task_to_task_shader() 250 UNUSED const void *state) in filter_task_intrinsics() 340 void *state) in lower_task_intrinsics() 344 lower_tsms_io_state *s = (lower_tsms_io_state *)state; in lower_task_intrinsics() 370 lower_tsms_io_state state = { in ac_nir_lower_task_outputs_to_mem() local 384 &state); in ac_nir_lower_task_outputs_to_mem() 48 filter_workgroup_id(const nir_instr *instr, UNUSED const void *state) filter_workgroup_id() argument 59 replace_workgroup_id_use_first_task(nir_builder *b, nir_instr *instr, void *state) replace_workgroup_id_use_first_task() argument 249 filter_task_intrinsics(const nir_instr *instr, UNUSED const void *state) filter_task_intrinsics() argument 338 lower_task_intrinsics(nir_builder *b, nir_instr *instr, void *state) lower_task_intrinsics() argument 391 filter_mesh_input_load(const nir_instr *instr, UNUSED const void *state) filter_mesh_input_load() argument 402 lower_mesh_intrinsics(nir_builder *b, nir_instr *instr, void *state) lower_mesh_intrinsics() argument 423 lower_tsms_io_state state = { ac_nir_lower_mesh_inputs_to_mem() local [all...] |
/third_party/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaDecoder.cs | 235 Base.State state = new Base.State();
in Code() 236 state.Init();
in Code() 243 if (m_IsMatchDecoders[state.Index << Base.kNumPosStatesBitsMax].Decode(m_RangeDecoder) != 0)
in Code() 245 state.UpdateChar();
in Code() 256 if (m_IsMatchDecoders[(state.Index << Base.kNumPosStatesBitsMax) + posState].Decode(m_RangeDecoder) == 0)
in Code() 260 if (!state.IsCharState())
in Code() 266 state.UpdateChar();
in Code() 272 if (m_IsRepDecoders[state.Index].Decode(m_RangeDecoder) == 1)
in Code() 274 if (m_IsRepG0Decoders[state.Index].Decode(m_RangeDecoder) == 0)
in Code() 276 if (m_IsRep0LongDecoders[(state in Code() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blorp.c | 59 uint32_t offset = ALIGN(batch->state.used, alignment); in stream_state() 63 offset = ALIGN(batch->state.used, alignment); in stream_state() 64 } else if (offset + size >= batch->state.bo->size) { in stream_state() 66 MIN2(batch->state.bo->size + batch->state.bo->size / 2, in stream_state() 68 crocus_grow_buffer(batch, true, batch->state.used, new_size); in stream_state() 69 assert(offset + size < batch->state.bo->size); in stream_state() 74 batch->state.used = offset + size; in stream_state() 82 *out_bo = batch->state.bo; in stream_state() 84 return (uint32_t *)batch->state in stream_state() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | queryutils.h | 197 void SetLightParameters(GLES1State *state, 201 void GetLightParameters(const GLES1State *state, 206 void SetLightModelParameters(GLES1State *state, GLenum pname, const GLfloat *params); 207 void GetLightModelParameters(const GLES1State *state, GLenum pname, GLfloat *params); 208 bool IsLightModelTwoSided(const GLES1State *state); 210 void SetMaterialParameters(GLES1State *state, 214 void GetMaterialParameters(const GLES1State *state, 223 void SetFogParameters(GLES1State *state, GLenum pname, const GLfloat *params); 224 void GetFogParameters(const GLES1State *state, GLenum pname, GLfloat *params); 235 GLES1State *state, [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBlending.cpp | 85 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in releaseFramebuffer() 86 state.SetDefaults(); in releaseFramebuffer() 174 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in iterate() 181 state.SetEnablei(i); in iterate() 182 state.SetBlendEquationSeparatei(i, GL_MIN, GL_MAX); in iterate() 183 state.SetBlendFunci(i, GL_ONE, GL_ONE); in iterate() 187 state.SetEnablei(i); in iterate() 188 state.SetBlendEquationi(i, GL_FUNC_ADD); in iterate() 189 state.SetBlendFuncSeparatei(i, GL_ZERO, GL_ONE, GL_ONE, GL_ZERO); in iterate() 193 state in iterate() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_instruction.cpp | 62 CapabilitySet EnablingCapabilitiesForOp(const ValidationState_t& state, in EnablingCapabilitiesForOp() argument 75 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp() 82 if (SPV_SUCCESS == state.grammar().lookupOpcode(opcode, &opcode_desc)) { in EnablingCapabilitiesForOp() 83 return state.grammar().filterCapsAgainstTargetEnv( in EnablingCapabilitiesForOp() 143 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities() argument 164 if (state.features().free_fp_rounding_mode) { in CheckRequiredCapabilities() 168 state.features().group_ops_reduce_and_scans && in CheckRequiredCapabilities() 177 state.grammar().lookupOperand(operand.type, word, &operand_desc); in CheckRequiredCapabilities() 182 if (state.features().free_fp_rounding_mode) return SPV_SUCCESS; in CheckRequiredCapabilities() 185 if (spvIsVulkanEnv(state in CheckRequiredCapabilities() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelProgram.cpp | 26 const PixelProcessor::State &state, in PixelProgram() 30 : PixelRoutine(state, pipelineLayout, spirvShader, descriptorSets) in PixelProgram() 84 if(state.sampleShadingEnabled && state.multiSampleCount > 1) in setBuiltins() 191 SIMD::Float((state.multiSampleCount > 1) ? Constants::VkSampleLocations4[sampleId][0] : 0.5f); in executeShader() 193 SIMD::Float((state.multiSampleCount > 1) ? Constants::VkSampleLocations4[sampleId][1] : 0.5f); in executeShader() 202 spirvShader->emit(&routine, activeLaneMask, storesAndAtomicsMask, descriptorSets, state.multiSampleCount); in executeShader() 206 if(samples[0] == static_cast<int>(state.multiSampleCount - 1)) in executeShader() 252 if(!state.alphaToCoverage) in alphaTest() 272 if(!state in blendColor() 25 PixelProgram( const PixelProcessor::State &state, const vk::PipelineLayout *pipelineLayout, const SpirvShader *spirvShader, const vk::DescriptorSet::Bindings &descriptorSets) PixelProgram() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_instruction.cpp | 62 CapabilitySet EnablingCapabilitiesForOp(const ValidationState_t& state, in EnablingCapabilitiesForOp() argument 75 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp() 82 if (SPV_SUCCESS == state.grammar().lookupOpcode(opcode, &opcode_desc)) { in EnablingCapabilitiesForOp() 83 return state.grammar().filterCapsAgainstTargetEnv( in EnablingCapabilitiesForOp() 143 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities() argument 164 if (state.features().free_fp_rounding_mode) { in CheckRequiredCapabilities() 168 state.features().group_ops_reduce_and_scans && in CheckRequiredCapabilities() 177 state.grammar().lookupOperand(operand.type, word, &operand_desc); in CheckRequiredCapabilities() 182 if (state.features().free_fp_rounding_mode) return SPV_SUCCESS; in CheckRequiredCapabilities() 185 if (spvIsVulkanEnv(state in CheckRequiredCapabilities() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-remap-sink.c | 83 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_process_msg() 84 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) { in sink_process_msg() 106 static int sink_set_state_in_main_thread(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread() argument 112 if (!PA_SINK_IS_LINKED(state) || in sink_set_state_in_main_thread() 113 !PA_SINK_INPUT_IS_LINKED(u->sink_input->state)) in sink_set_state_in_main_thread() 116 pa_sink_input_cork(u->sink_input, state == PA_SINK_SUSPENDED); in sink_set_state_in_main_thread() 129 if (PA_SINK_IS_OPENED(new_state) && s->thread_info.state == PA_SINK_INIT) { in sink_set_state_in_io_thread_cb() 130 pa_log_debug("Requesting rewind due to state change."); in sink_set_state_in_io_thread_cb() 144 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_request_rewind() 145 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) in sink_request_rewind() [all...] |
H A D | module-remap-source.c | 91 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_process_msg_cb() 92 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) { in source_process_msg_cb() 114 static int source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument 120 if (!PA_SOURCE_IS_LINKED(state) || in source_set_state_in_main_thread_cb() 121 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->state)) in source_set_state_in_main_thread_cb() 124 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb() 135 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_update_requested_latency_cb() 136 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) in source_update_requested_latency_cb() 155 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state)) in source_output_push_cb() 158 if (!PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) { in source_output_push_cb() 246 source_output_state_change_cb(pa_source_output *o, pa_source_output_state_t state) source_output_state_change_cb() argument [all...] |
/third_party/toybox/toys/lsb/ |
H A D | md5sum.c | 97 unsigned state[5]; 131 memcpy(x, TT.state, sizeof(x)); in md5_transform() 163 for (i=0; i<4; i++) TT.state[i] += x[i]; in md5_transform() 177 // Copy context->state[] to working vars in sha1_transform() 179 TT.oldstate[i] = TT.state[i]; in sha1_transform() 180 rot[i] = TT.state + i; in sha1_transform() 210 // Add the previous values of state[] in sha1_transform() 211 for (i=0; i<5; i++) TT.state[i] += TT.oldstate[i]; in sha1_transform() 296 TT.state[0] = 0x67452301; in do_builtin_hash() 297 TT.state[ in do_builtin_hash() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_instruction.cpp | 56 CapabilitySet EnablingCapabilitiesForOp(const ValidationState_t& state, in EnablingCapabilitiesForOp() argument 69 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp() 76 if (SPV_SUCCESS == state.grammar().lookupOpcode(opcode, &opcode_desc)) { in EnablingCapabilitiesForOp() 77 return state.grammar().filterCapsAgainstTargetEnv( in EnablingCapabilitiesForOp() 137 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities() argument 158 if (state.features().free_fp_rounding_mode) { in CheckRequiredCapabilities() 162 state.features().group_ops_reduce_and_scans && in CheckRequiredCapabilities() 171 state.grammar().lookupOperand(operand.type, word, &operand_desc); in CheckRequiredCapabilities() 177 if (state.features().free_fp_rounding_mode) return SPV_SUCCESS; in CheckRequiredCapabilities() 180 if (spvIsVulkanEnv(state in CheckRequiredCapabilities() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pax.c | 26 enum { PAX_INIT, PAX_STD_2_SENT, PAX_DONE } state; member 70 data->state = PAX_INIT; in eap_pax_init() 127 if (data->state != PAX_INIT) { in eap_pax_process_std_1() 129 "unexpected state (%d) - ignored", data->state); in eap_pax_process_std_1() 222 data->state = PAX_STD_2_SENT; in eap_pax_process_std_1() 243 if (data->state != PAX_STD_2_SENT) { in eap_pax_process_std_3() 245 "unexpected state (%d) - ignored", data->state); in eap_pax_process_std_3() 323 data->state in eap_pax_process_std_3() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pax.c | 26 enum { PAX_INIT, PAX_STD_2_SENT, PAX_DONE } state; member 70 data->state = PAX_INIT; in eap_pax_init() 127 if (data->state != PAX_INIT) { in eap_pax_process_std_1() 129 "unexpected state (%d) - ignored", data->state); in eap_pax_process_std_1() 222 data->state = PAX_STD_2_SENT; in eap_pax_process_std_1() 243 if (data->state != PAX_STD_2_SENT) { in eap_pax_process_std_3() 245 "unexpected state (%d) - ignored", data->state); in eap_pax_process_std_3() 323 data->state in eap_pax_process_std_3() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | intel-pt.c | 186 const struct intel_pt_state *state; member 690 return intel_pt_nr_cpumode(ptq, from_ip, ptq->state->from_nr); in intel_pt_cpumode() 691 return intel_pt_nr_cpumode(ptq, to_ip, ptq->state->to_nr); in intel_pt_cpumode() 771 nr = ptq->state->to_nr; in intel_pt_walk_next_insn() 990 if (ptq->state->to_nr) { in __intel_pt_pgd_ip() 1510 if (ptq->state->flags & INTEL_PT_ABORT_TX) { in intel_pt_sample_flags() 1512 } else if (ptq->state->flags & INTEL_PT_ASYNC) { in intel_pt_sample_flags() 1513 if (!ptq->state->to_ip) in intel_pt_sample_flags() 1517 else if (ptq->state->from_nr && !ptq->state in intel_pt_sample_flags() 1604 const struct intel_pt_state *state; intel_pt_setup_queue() local 2519 intel_ptq_synth_error(struct intel_pt_queue *ptq, const struct intel_pt_state *state) intel_ptq_synth_error() argument 2578 const struct intel_pt_state *state = ptq->state; intel_pt_sample() local 2914 const struct intel_pt_state *state = ptq->state; intel_pt_run_decoder() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/ |
H A D | ingenic-drm-drv.c | 136 to_ingenic_drm_priv_state(struct drm_private_state *state) in to_ingenic_drm_priv_state() argument 138 return container_of(state, struct ingenic_drm_private_state, base); in to_ingenic_drm_priv_state() 142 ingenic_drm_get_priv_state(struct ingenic_drm *priv, struct drm_atomic_state *state) in ingenic_drm_get_priv_state() argument 146 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_priv_state() 154 ingenic_drm_get_new_priv_state(struct ingenic_drm *priv, struct drm_atomic_state *state) in ingenic_drm_get_new_priv_state() argument 158 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_new_priv_state() 243 struct drm_atomic_state *state) in ingenic_drm_crtc_atomic_enable() 249 priv_state = ingenic_drm_get_priv_state(priv, state); in ingenic_drm_crtc_atomic_enable() 276 struct drm_atomic_state *state) in ingenic_drm_crtc_atomic_disable() 336 struct drm_atomic_state *state) in ingenic_drm_crtc_atomic_check() 242 ingenic_drm_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) ingenic_drm_crtc_atomic_enable() argument 275 ingenic_drm_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) ingenic_drm_crtc_atomic_disable() argument 335 ingenic_drm_crtc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) ingenic_drm_crtc_atomic_check() argument 399 ingenic_drm_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_atomic_state *state) ingenic_drm_crtc_atomic_begin() argument 421 ingenic_drm_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) ingenic_drm_crtc_atomic_flush() argument 454 ingenic_drm_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) ingenic_drm_plane_atomic_check() argument 552 ingenic_drm_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) ingenic_drm_plane_atomic_disable() argument 564 struct drm_plane_state *state = plane->state; ingenic_drm_plane_config() local 656 ingenic_drm_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) ingenic_drm_plane_atomic_update() argument 867 unsigned int state; ingenic_drm_irq_handler() local 930 struct ingenic_drm_private_state *state = to_ingenic_drm_priv_state(obj->state); ingenic_drm_duplicate_state() local 941 ingenic_drm_destroy_state(struct drm_private_obj *obj, struct drm_private_state *state) ingenic_drm_destroy_state() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | samplerobj.c | 124 sampObj->Attrib.state.wrap_s = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 125 sampObj->Attrib.state.wrap_t = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 126 sampObj->Attrib.state.wrap_r = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 129 sampObj->Attrib.state.min_img_filter = PIPE_TEX_FILTER_NEAREST; in _mesa_init_sampler_object() 130 sampObj->Attrib.state.min_mip_filter = PIPE_TEX_MIPFILTER_LINEAR; in _mesa_init_sampler_object() 131 sampObj->Attrib.state.mag_img_filter = PIPE_TEX_FILTER_LINEAR; in _mesa_init_sampler_object() 132 sampObj->Attrib.state.border_color.f[0] = 0; in _mesa_init_sampler_object() 133 sampObj->Attrib.state.border_color.f[1] = 0; in _mesa_init_sampler_object() 134 sampObj->Attrib.state.border_color.f[2] = 0; in _mesa_init_sampler_object() 135 sampObj->Attrib.state in _mesa_init_sampler_object() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
H A D | malidp_drv.c | 66 if (!crtc->state->color_mgmt_changed) in malidp_atomic_commit_update_gamma() 69 if (!crtc->state->gamma_lut) { in malidp_atomic_commit_update_gamma() 75 to_malidp_crtc_state(crtc->state); in malidp_atomic_commit_update_gamma() 77 if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id != in malidp_atomic_commit_update_gamma() 94 if (!crtc->state->color_mgmt_changed) in malidp_atomic_commit_update_coloradj() 97 if (!crtc->state->ctm) { in malidp_atomic_commit_update_coloradj() 102 to_malidp_crtc_state(crtc->state); in malidp_atomic_commit_update_coloradj() 104 if (!old_state->ctm || (crtc->state->ctm->base.id != in malidp_atomic_commit_update_coloradj() 120 struct malidp_crtc_state *cs = to_malidp_crtc_state(crtc->state); in malidp_atomic_commit_se_config() 189 static void malidp_atomic_commit_hw_done(struct drm_atomic_state *state) in malidp_atomic_commit_hw_done() argument 230 malidp_atomic_commit_tail(struct drm_atomic_state *state) malidp_atomic_commit_tail() argument [all...] |
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | thermal_sysfs.c | 224 int state; in passive_store() local 226 if (sscanf(buf, "%d\n", &state) != 1) in passive_store() 232 if (state && state < 1000) in passive_store() 235 if (state && !tz->forced_passive) { in passive_store() 240 } else if (!state && tz->forced_passive) { in passive_store() 246 tz->forced_passive = state; in passive_store() 663 unsigned long state; in max_state_show() local 666 ret = cdev->ops->get_max_state(cdev, &state); in max_state_show() 669 return sprintf(buf, "%ld\n", state); in max_state_show() 676 unsigned long state; cur_state_show() local 690 unsigned long state; cur_state_store() local 735 unsigned long state; global() member [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos5433_drm_decon.c | 322 struct exynos_drm_plane_state *state = in decon_win_set_pixfmt() local 323 to_exynos_plane_state(plane->base.state); in decon_win_set_pixfmt() 324 unsigned int alpha = state->base.alpha; in decon_win_set_pixfmt() 329 pixel_alpha = state->base.pixel_blend_mode; in decon_win_set_pixfmt() 402 struct exynos_drm_plane_state *state = in decon_update_plane() local 403 to_exynos_plane_state(plane->base.state); in decon_update_plane() 405 struct drm_framebuffer *fb = state->base.fb; in decon_update_plane() 413 val = COORDINATE_X(state->crtc.x) | in decon_update_plane() 414 COORDINATE_Y(state->crtc.y / 2); in decon_update_plane() 417 val = COORDINATE_X(state in decon_update_plane() [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | pnv_php.c | 332 uint8_t state) in pnv_php_set_slot_power_state() 338 ret = pnv_pci_set_power_state(php_slot->id, state, &msg); in pnv_php_set_slot_power_state() 341 be64_to_cpu(msg.params[2]) != state) { in pnv_php_set_slot_power_state() 356 if (state == OPAL_PCI_SLOT_POWER_OFF || state == OPAL_PCI_SLOT_OFFLINE) in pnv_php_set_slot_power_state() 365 ret, (state == OPAL_PCI_SLOT_POWER_ON) ? "on" : "off"); in pnv_php_set_slot_power_state() 370 static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state) in pnv_php_get_power_state() argument 386 *state = power_state; in pnv_php_get_power_state() 392 static int pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state) in pnv_php_get_adapter_state() argument 404 *state in pnv_php_get_adapter_state() 331 pnv_php_set_slot_power_state(struct hotplug_slot *slot, uint8_t state) pnv_php_set_slot_power_state() argument 413 pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state) pnv_php_get_attention_state() argument 421 pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state) pnv_php_set_attention_state() argument [all...] |