Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c69 static int *is_valid; variable
106 if (!is_valid[cpu]) in nhm_get_count_percent()
135 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_start()
154 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_stop()
180 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register()
200 free(is_valid); in intel_nhm_unregister()
Dmperf_monitor.c81 static int *is_valid; variable
138 is_valid[cpu] = !ret; in mperf_init_stats()
151 is_valid[cpu] = !ret; in mperf_measure_stats()
162 if (!is_valid[cpu]) in mperf_get_count_percent()
201 if (!is_valid[cpu]) in mperf_get_count_freq()
345 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
364 free(is_valid); in mperf_unregister()
Dsnb_idle.c58 static int *is_valid; variable
91 if (!is_valid[cpu]) in snb_get_count_percent()
135 is_valid[cpu] = !snb_get_count(num, &val, cpu); in snb_stop()
166 is_valid = calloc(cpu_count, sizeof(int)); in snb_register()
180 free(is_valid); in snb_unregister()
Dhsw_ext_idle.c60 static int *is_valid; variable
93 if (!is_valid[cpu]) in hsw_ext_get_count_percent()
137 is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu); in hsw_ext_stop()
161 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register()
175 free(is_valid); in hsw_ext_unregister()
/linux-6.12.1/drivers/iio/chemical/
Dvz89x.c48 bool is_valid; member
223 return data->is_valid ? 0 : -EAGAIN; in vz89x_get_measurement()
225 data->is_valid = false; in vz89x_get_measurement()
236 data->is_valid = true; in vz89x_get_measurement()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn10/
Ddcn10_link_encoder.c786 bool is_valid; in dcn10_link_encoder_validate_output_with_stream() local
796 is_valid = dcn10_link_encoder_validate_dvi_output( in dcn10_link_encoder_validate_output_with_stream()
803 is_valid = dcn10_link_encoder_validate_hdmi_output( in dcn10_link_encoder_validate_output_with_stream()
811 is_valid = dcn10_link_encoder_validate_dp_output( in dcn10_link_encoder_validate_output_with_stream()
815 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
818 is_valid = true; in dcn10_link_encoder_validate_output_with_stream()
821 is_valid = false; in dcn10_link_encoder_validate_output_with_stream()
825 return is_valid; in dcn10_link_encoder_validate_output_with_stream()
/linux-6.12.1/drivers/bus/
Darm-cci.c268 bool is_valid; in cci_disable_port_by_cpu() local
270 is_valid = cpu_port_is_valid(&cpu_port[cpu]); in cci_disable_port_by_cpu()
271 if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) { in cci_disable_port_by_cpu()
/linux-6.12.1/arch/arc/mm/
Dtlb.c709 int is_valid, way; in do_tlb_overlap_fault() local
713 for (way = 0, is_valid = 0; way < n_ways; way++) { in do_tlb_overlap_fault()
718 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
723 if (!is_valid) in do_tlb_overlap_fault()
/linux-6.12.1/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c246 bool is_valid = adv7511->cec_valid_addrs & (1 << i); in adv7511_cec_adap_log_addr() local
248 if (free_idx == ADV7511_MAX_ADDRS && !is_valid) in adv7511_cec_adap_log_addr()
250 if (is_valid && adv7511->cec_addr[i] == addr) in adv7511_cec_adap_log_addr()
/linux-6.12.1/drivers/scsi/isci/
Dscu_remote_node_context.h112 u32 is_valid:1; member
Dremote_node_context.c140 rnc->ssp.is_valid = false; in sci_remote_node_context_construct_buffer()
241 rnc_buffer->ssp.is_valid = true; in sci_remote_node_context_validate_context_buffer()
262 rnc_buffer->ssp.is_valid = false; in sci_remote_node_context_invalidate_context_buffer()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c920 bool is_valid; in dce110_link_encoder_validate_output_with_stream() local
925 is_valid = dce110_link_encoder_validate_dvi_output( in dce110_link_encoder_validate_output_with_stream()
932 is_valid = dce110_link_encoder_validate_hdmi_output( in dce110_link_encoder_validate_output_with_stream()
939 is_valid = dce110_link_encoder_validate_dp_output( in dce110_link_encoder_validate_output_with_stream()
944 is_valid = stream->timing.pixel_encoding == PIXEL_ENCODING_RGB; in dce110_link_encoder_validate_output_with_stream()
947 is_valid = true; in dce110_link_encoder_validate_output_with_stream()
950 is_valid = false; in dce110_link_encoder_validate_output_with_stream()
954 return is_valid; in dce110_link_encoder_validate_output_with_stream()
/linux-6.12.1/drivers/iio/pressure/
Dhsc030pa.h49 bool is_valid; member
/linux-6.12.1/drivers/net/wireguard/
Dsend.c131 send = keypair && READ_ONCE(keypair->sending.is_valid) && in keep_key_fresh()
363 if (unlikely(!READ_ONCE(keypair->sending.is_valid))) in wg_packet_send_staged_packets()
392 WRITE_ONCE(keypair->sending.is_valid, false); in wg_packet_send_staged_packets()
Dcookie.h25 bool is_valid; member
Dcookie.c170 if (peer->latest_cookie.is_valid && in wg_cookie_add_mac_to_packet()
226 peer->latest_cookie.is_valid = true; in wg_cookie_message_consume()
Dnoise.h27 bool is_valid; member
Dreceive.c230 send = keypair && READ_ONCE(keypair->sending.is_valid) && in keep_key_fresh()
252 if (unlikely(!READ_ONCE(keypair->receiving.is_valid) || in decrypt_packet()
255 WRITE_ONCE(keypair->receiving.is_valid, false); in decrypt_packet()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c644 bool is_valid = false; in link_enc_cfg_validate() local
737 is_valid = valid_entries && valid_stream_ptrs && valid_uniqueness && valid_avail && valid_streams; in link_enc_cfg_validate()
738 ASSERT(is_valid); in link_enc_cfg_validate()
740 if (is_valid == false) { in link_enc_cfg_validate()
750 return is_valid; in link_enc_cfg_validate()
Ddc_stream.c1051 if (!stream->lumin_data.is_valid) in dc_stream_calculate_max_flickerless_refresh_rate()
1069 if (!stream->lumin_data.is_valid) in dc_stream_calculate_min_flickerless_refresh_rate()
1090 if (!stream->lumin_data.is_valid) in dc_stream_is_refresh_rate_range_flickerless()
1109 if (!stream->lumin_data.is_valid) in dc_stream_get_max_flickerless_instant_vtotal_decrease()
1122 if (!stream->lumin_data.is_valid) in dc_stream_get_max_flickerless_instant_vtotal_increase()
/linux-6.12.1/drivers/net/dsa/b53/
Db53_priv.h280 u8 is_valid:1; member
290 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry()
303 if (ent->is_valid) in b53_arl_from_entry()
/linux-6.12.1/fs/smb/client/
Dcached_dir.h22 bool is_valid:1; member
Dreaddir.c840 if (cde->is_valid || cde->is_failed) in update_cached_dirents_count()
851 if (cde->is_valid || cde->is_failed) in finished_cached_dirents_count()
856 cde->is_valid = 1; in finished_cached_dirents_count()
868 if (cde->is_valid || cde->is_failed) in add_cached_dirent()
1067 if (cfid->dirents.is_valid) { in cifs_readdir()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dguc_capture_fwif.h159 bool is_valid; member
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
Ducode.c274 palive->is_valid, palive->ver_type, in iwl_alive_fn()
283 alive_data->valid = palive->is_valid == UCODE_VALID_OK; in iwl_alive_fn()

123