Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/qemu/tests/unit/
H A Dtest-uuid.c131 bool is_valid = uuid_test_data[i].uuidstr_is_valid; in test_uuid_parse() local
134 g_assert_cmpint(!r, ==, is_valid); in test_uuid_parse()
135 if (is_valid) { in test_uuid_parse()
136 g_assert_cmpint(is_valid, ==, uuid_is_valid(&uuid)); in test_uuid_parse()
/openbmc/u-boot/board/freescale/common/
H A Dsys_eeprom.c71 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ macro
77 #define is_valid ((e.id[0] == 'C') || (e.id[1] == 'C') || \ macro
350 if (!is_valid) { in do_mac()
431 if (!is_valid) { in mac_read_from_eeprom()
/openbmc/linux/drivers/iio/chemical/
H A 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()
/openbmc/linux/drivers/bus/
H A 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()
/openbmc/u-boot/board/varisys/common/
H A Dsys_eeprom.c53 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ macro
330 if (!is_valid) { in do_mac()
449 if (!is_valid) { in mac_read_from_eeprom_common()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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()
/openbmc/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_cec.c241 bool is_valid = adv7511->cec_valid_addrs & (1 << i); in adv7511_cec_adap_log_addr() local
243 if (free_idx == ADV7511_MAX_ADDRS && !is_valid) in adv7511_cec_adap_log_addr()
245 if (is_valid && adv7511->cec_addr[i] == addr) in adv7511_cec_adap_log_addr()
/openbmc/linux/arch/arc/mm/
H A Dtlb.c715 int is_valid, way; in do_tlb_overlap_fault() local
719 for (way = 0, is_valid = 0; way < n_ways; way++) { in do_tlb_overlap_fault()
724 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
729 if (!is_valid) in do_tlb_overlap_fault()
/openbmc/linux/drivers/scsi/isci/
H A Dscu_remote_node_context.h112 u32 is_valid:1; member
/openbmc/linux/drivers/net/wireguard/
H A Dcookie.h25 bool is_valid; member
H A 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()
H A 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()
H A Dnoise.h27 bool is_valid; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A 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()
/openbmc/linux/fs/smb/client/
H A Dcached_dir.h22 bool is_valid:1; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_enc_cfg.c637 bool is_valid = false; in link_enc_cfg_validate() local
730 is_valid = valid_entries && valid_stream_ptrs && valid_uniqueness && valid_avail && valid_streams; in link_enc_cfg_validate()
731 ASSERT(is_valid); in link_enc_cfg_validate()
733 if (is_valid == false) { in link_enc_cfg_validate()
743 return is_valid; in link_enc_cfg_validate()
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_managers_bmc.robot66 # 'is_valid': True,
81 # Skip channel if is_valid is false for the channel number
83 ... ${active_channel_config["${channel_number}"]["is_valid"]}==${FALSE}
/openbmc/linux/drivers/net/dsa/b53/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dguc_capture_fwif.h159 bool is_valid; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A Dsclp.h33 int is_valid; member

1234