Home
last modified time | relevance | path

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

12

/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()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c789 bool is_valid; in dcn10_link_encoder_validate_output_with_stream() local
799 is_valid = dcn10_link_encoder_validate_dvi_output( in dcn10_link_encoder_validate_output_with_stream()
806 is_valid = dcn10_link_encoder_validate_hdmi_output( in dcn10_link_encoder_validate_output_with_stream()
814 is_valid = dcn10_link_encoder_validate_dp_output( in dcn10_link_encoder_validate_output_with_stream()
818 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
821 is_valid = true; in dcn10_link_encoder_validate_output_with_stream()
824 is_valid = false; in dcn10_link_encoder_validate_output_with_stream()
828 return is_valid; in dcn10_link_encoder_validate_output_with_stream()
/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c197 bool is_valid = adv7511->cec_valid_addrs & (1 << i); in adv7511_cec_adap_log_addr() local
199 if (free_idx == ADV7511_MAX_ADDRS && !is_valid) in adv7511_cec_adap_log_addr()
201 if (is_valid && adv7511->cec_addr[i] == addr) in adv7511_cec_adap_log_addr()
/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()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c1098 bool is_valid = true; in mac_addr_valid() local
1104 is_valid = false; in mac_addr_valid()
1109 is_valid = false; in mac_addr_valid()
1114 is_valid = false; in mac_addr_valid()
1116 return is_valid; in mac_addr_valid()
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c923 bool is_valid; in dce110_link_encoder_validate_output_with_stream() local
928 is_valid = dce110_link_encoder_validate_dvi_output( in dce110_link_encoder_validate_output_with_stream()
935 is_valid = dce110_link_encoder_validate_hdmi_output( in dce110_link_encoder_validate_output_with_stream()
942 is_valid = dce110_link_encoder_validate_dp_output( in dce110_link_encoder_validate_output_with_stream()
947 is_valid = in dce110_link_encoder_validate_output_with_stream()
952 is_valid = true; in dce110_link_encoder_validate_output_with_stream()
955 is_valid = false; in dce110_link_encoder_validate_output_with_stream()
959 return is_valid; in dce110_link_encoder_validate_output_with_stream()
/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()
Dreceive.c237 send = keypair && READ_ONCE(keypair->sending.is_valid) && in keep_key_fresh()
259 if (unlikely(!READ_ONCE(keypair->receiving.is_valid) || in decrypt_packet()
262 WRITE_ONCE(keypair->receiving.is_valid, false); in decrypt_packet()
Dnoise.c190 keypair->sending.is_valid = false; in wg_noise_expire_current_peer_keypairs()
194 keypair->sending.is_valid = false; in wg_noise_expire_current_peer_keypairs()
401 first_dst->is_valid = second_dst->is_valid = true; in derive_keys()
Dnoise.h27 bool is_valid; member
/drivers/net/dsa/b53/
Db53_priv.h265 u8 is_valid:1; member
275 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry()
288 if (ent->is_valid) in b53_arl_from_entry()
Db53_common.c1640 const unsigned char *addr, u16 vid, bool is_valid) in b53_arl_op() argument
1672 return is_valid ? ret : 0; in b53_arl_op()
1690 ent.is_valid = is_valid; in b53_arl_op()
1692 if (is_valid) in b53_arl_op()
1697 ent.is_valid = !!(ent.port); in b53_arl_op()
1773 if (!ent->is_valid) in b53_fdb_copy()
1811 if (!results[0].is_valid && !results[1].is_valid) in b53_fdb_dump()
/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()
Dport.c561 rnc->ssp.is_valid = true; in sci_port_construct_dummy_rnc()
1003 rnc->ssp.is_valid = false; in sci_port_invalidate_dummy_remote_node()
1470 rnc->ssp.is_valid = true; in sci_port_post_dummy_remote_node()
/drivers/net/wireless/intel/iwlwifi/dvm/
Ducode.c279 palive->is_valid, palive->ver_type, in iwl_alive_fn()
288 alive_data->valid = palive->is_valid == UCODE_VALID_OK; in iwl_alive_fn()
/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c65 bool is_valid = v4l2_fwht_validate_fmt(&v4l2_fwht_pixfmts[i], in v4l2_fwht_find_nth_fmt() local
68 if (is_valid) { in v4l2_fwht_find_nth_fmt()
/drivers/s390/char/
Dsclp_early.c91 sclp_ipl_info.is_valid = 1; in sclp_early_facilities_detect()
/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h111 int is_valid; member
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h251 u32 is_valid; member
/drivers/media/i2c/
Dadv7511-v4l2.c652 bool is_valid = state->cec_valid_addrs & (1 << i); in adv7511_log_status() local
654 if (is_valid) in adv7511_log_status()
768 bool is_valid = state->cec_valid_addrs & (1 << i); in adv7511_cec_adap_log_addr() local
770 if (free_idx == ADV7511_MAX_ADDRS && !is_valid) in adv7511_cec_adap_log_addr()
772 if (is_valid && state->cec_addr[i] == addr) in adv7511_cec_adap_log_addr()
/drivers/hwmon/
Dasus_atk0110.c166 bool is_valid; member
635 if (!sensor->is_valid || in atk_read_value()
645 sensor->is_valid = true; in atk_read_value()
/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_descs.c295 static void dwxgmac2_set_sec_addr(struct dma_desc *p, dma_addr_t addr, bool is_valid) in dwxgmac2_set_sec_addr() argument

12