/drivers/accel/habanalabs/include/gaudi/ |
D | gaudi_async_ids_map_extended.h | 19 int valid; member 24 { .fc_id = 0, .cpu_id = 0, .valid = 0, .name = "" }, 25 { .fc_id = 1, .cpu_id = 1, .valid = 0, .name = "" }, 26 { .fc_id = 2, .cpu_id = 2, .valid = 0, .name = "" }, 27 { .fc_id = 3, .cpu_id = 3, .valid = 0, .name = "" }, 28 { .fc_id = 4, .cpu_id = 4, .valid = 0, .name = "" }, 29 { .fc_id = 5, .cpu_id = 5, .valid = 0, .name = "" }, 30 { .fc_id = 6, .cpu_id = 6, .valid = 0, .name = "" }, 31 { .fc_id = 7, .cpu_id = 7, .valid = 0, .name = "" }, 32 { .fc_id = 8, .cpu_id = 8, .valid = 0, .name = "" }, [all …]
|
/drivers/accel/habanalabs/include/gaudi2/ |
D | gaudi2_async_ids_map_extended.h | 25 int valid; member 32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 44 { .fc_id = 6, .cpu_id = 6, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 46 { .fc_id = 7, .cpu_id = 7, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 48 { .fc_id = 8, .cpu_id = 8, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, [all …]
|
/drivers/acpi/ |
D | thermal.c | 97 bool valid; member 196 bool valid = false; in __acpi_thermal_trips_update() local 210 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 215 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 217 tz->trips.critical.valid = true; in __acpi_thermal_trips_update() 222 if (tz->trips.critical.valid) { in __acpi_thermal_trips_update() 224 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 243 tz->trips.hot.valid = false; in __acpi_thermal_trips_update() 248 tz->trips.hot.valid = true; in __acpi_thermal_trips_update() 256 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.trip.valid) || in __acpi_thermal_trips_update() [all …]
|
/drivers/net/dsa/mv88e6xxx/ |
D | global1_vtu.c | 93 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument 109 if (valid) in mv88e6xxx_g1_vtu_vid_read() 110 *valid = !!(val & MV88E6XXX_G1_VTU_VID_VALID); in mv88e6xxx_g1_vtu_vid_read() 116 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument 123 if (valid) in mv88e6xxx_g1_vtu_vid_write() 276 if (!entry->valid) { in mv88e6xxx_g1_vtu_getnext() 286 return mv88e6xxx_g1_vtu_vid_read(chip, &entry->valid, &entry->vid); in mv88e6xxx_g1_vtu_getnext() 299 if (entry->valid) { in mv88e6185_g1_vtu_getnext() 329 if (entry->valid) { in mv88e6352_g1_vtu_getnext() 356 if (entry->valid) { in mv88e6390_g1_vtu_getnext() [all …]
|
/drivers/tty/ |
D | tty_audit.c | 19 size_t valid; member 56 WARN_ON(buf->valid != 0); in tty_audit_buf_free() 93 if (buf->valid == 0) in tty_audit_buf_push() 96 buf->valid = 0; in tty_audit_buf_push() 99 tty_audit_log("tty", buf->dev, buf->data, buf->valid); in tty_audit_buf_push() 100 buf->valid = 0; in tty_audit_buf_push() 238 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data() 241 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data() 242 buf->valid += run; in tty_audit_add_data() 245 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_cle.c | 92 buf[j++] = SET_VAL(CLE_BR_VALID, br->valid) | in xgene_cle_dn_to_hw() 210 .valid = 1, 221 .valid = 0, 246 .valid = 1, 258 .valid = 1, 269 .valid = 0, 294 .valid = 0, 306 .valid = 0, 318 .valid = 0, 330 .valid = 0, [all …]
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_enc_cfg.c | 90 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in get_stream_using_link_enc() 116 if (assignment.valid && assignment.stream == stream) { in remove_link_enc_assignment() 117 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid = false; in remove_link_enc_assignment() 151 .valid = true, in add_link_enc_assignment() 252 if (assignment.valid == true && are_ep_ids_equal(&assignment.ep_id, &ep_id)) in get_link_enc_used_by_link() 264 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid = false; in clear_enc_assignments() 314 ASSERT(state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid == false); in link_enc_cfg_link_encs_assign() 354 prev_state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[j].valid) { in link_enc_cfg_link_encs_assign() 419 if (assignment.valid) in link_enc_cfg_link_encs_assign() 432 if (assignment.valid) in link_enc_cfg_link_encs_assign() [all …]
|
/drivers/irqchip/ |
D | irq-versatile-fpga.c | 43 u32 valid; member 147 if (!(f->valid & BIT(hwirq))) in fpga_irqdomain_map() 161 u32 valid, struct device_node *node) in fpga_irq_init() argument 172 f->valid = valid; in fpga_irq_init() 179 f->domain = irq_domain_add_linear(node, fls(valid), in fpga_irq_init() 183 for (i = 0; i < fls(valid); i++) in fpga_irq_init() 184 if (valid & BIT(i)) { in fpga_irq_init()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_acl.c | 35 u8 valid:1; member 38 u8 valid:1; member 43 u8 valid:1; member 594 if (e->accept.valid) { in __prestera_acl_rule_entry2hw_add() 599 if (e->drop.valid) { in __prestera_acl_rule_entry2hw_add() 604 if (e->trap.valid) { in __prestera_acl_rule_entry2hw_add() 609 if (e->police.valid) { in __prestera_acl_rule_entry2hw_add() 615 if (e->jump.valid) { in __prestera_acl_rule_entry2hw_add() 639 if (e->police.valid) in __prestera_acl_rule_entry_act_destruct() 666 e->accept.valid = arg->accept.valid; in __prestera_acl_rule_entry_act_construct() [all …]
|
/drivers/acpi/x86/ |
D | apple.c | 32 unsigned long *valid = NULL; in acpi_extract_apple_properties() local 63 valid = bitmap_zalloc(numprops, GFP_KERNEL); in acpi_extract_apple_properties() 64 if (!valid) in acpi_extract_apple_properties() 78 __set_bit(i, valid); in acpi_extract_apple_properties() 86 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties() 106 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties() 147 bitmap_free(valid); in acpi_extract_apple_properties()
|
/drivers/acpi/acpica/ |
D | nsxfname.c | 239 u16 valid = 0; in acpi_get_object_info() local 291 valid |= ACPI_VALID_HID; in acpi_get_object_info() 299 valid |= ACPI_VALID_UID; in acpi_get_object_info() 312 valid |= ACPI_VALID_CID; in acpi_get_object_info() 320 valid |= ACPI_VALID_CLS; in acpi_get_object_info() 351 valid |= ACPI_VALID_ADR; in acpi_get_object_info() 361 valid |= ACPI_VALID_SXWS; in acpi_get_object_info() 371 valid |= ACPI_VALID_SXDS; in acpi_get_object_info() 438 info->valid = valid; in acpi_get_object_info()
|
/drivers/usb/dwc2/ |
D | drd.c | 42 static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_avalid() argument 47 if ((valid && (gotgctl & GOTGCTL_ASESVLD)) || in dwc2_ovr_avalid() 48 (!valid && !(gotgctl & GOTGCTL_ASESVLD))) in dwc2_ovr_avalid() 55 if (valid) in dwc2_ovr_avalid() 64 static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_bvalid() argument 69 if ((valid && (gotgctl & GOTGCTL_BSESVLD)) || in dwc2_ovr_bvalid() 70 (!valid && !(gotgctl & GOTGCTL_BSESVLD))) in dwc2_ovr_bvalid() 77 if (valid) in dwc2_ovr_bvalid()
|
D | params.c | 567 int valid = 1; in dwc2_check_param_otg_cap() local 572 valid = 0; in dwc2_check_param_otg_cap() 583 valid = 0; in dwc2_check_param_otg_cap() 589 valid = 0; in dwc2_check_param_otg_cap() 592 if (!valid) in dwc2_check_param_otg_cap() 598 int valid = 0; in dwc2_check_param_phy_type() local 608 valid = 1; in dwc2_check_param_phy_type() 613 valid = 1; in dwc2_check_param_phy_type() 618 valid = 1; in dwc2_check_param_phy_type() 624 if (!valid) in dwc2_check_param_phy_type() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 559 u8 valid; member 679 u8 valid; member 1431 u8 valid; member 1455 u8 valid; member 1479 u8 valid; member 1502 u8 valid; member 1561 u8 valid; member 1699 u8 valid; member 1882 u8 valid; member 2096 u8 valid; member [all …]
|
/drivers/gpu/drm/amd/display/modules/info_packet/ |
D | info_packet.c | 187 info_packet->valid = true; in mod_build_vsc_infopacket() 209 info_packet->valid = true; in mod_build_vsc_infopacket() 219 info_packet->valid = true; in mod_build_vsc_infopacket() 293 info_packet->valid = true; in mod_build_vsc_infopacket() 460 info_packet->valid = false; in mod_build_hf_vsif_infopacket() 521 info_packet->valid = true; in mod_build_hf_vsif_infopacket() 529 info_packet->valid = false; in mod_build_adaptive_sync_infopacket() 553 info_packet->valid = true; in mod_build_adaptive_sync_infopacket_v1() 565 info_packet->valid = true; in mod_build_adaptive_sync_infopacket_v2()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_dynamic_config.c | 183 u64 valid; member 204 sja1105_packing(buf, &cmd->valid, 31, 31, size, op); in sja1105et_vl_lookup_cmd_packing() 218 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_vl_lookup_cmd_packing() 231 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vl_lookup_cmd_packing() 255 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vl_policing_cmd_packing() 268 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing() 416 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105et_l2_lookup_cmd_packing() 510 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105_vlan_lookup_cmd_packing() 529 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vlan_lookup_cmd_packing() 560 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105_l2_forwarding_cmd_packing() [all …]
|
/drivers/md/ |
D | dm-snap-persistent.c | 75 __le32 valid; member 108 int valid; member 353 ps->valid = le32_to_cpu(dh->valid); in read_header() 391 dh->valid = cpu_to_le32(ps->valid); in write_header() 663 if (!ps->valid) in persistent_read_metadata() 698 struct dm_exception *e, int valid, in persistent_commit_exception() argument 707 if (!valid) in persistent_commit_exception() 708 ps->valid = 0; in persistent_commit_exception() 737 ps->valid = 0; in persistent_commit_exception() 742 if (ps->valid && area_io(ps, REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA | in persistent_commit_exception() [all …]
|
/drivers/net/wan/ |
D | n2.c | 94 int valid; /* port enabled */ member 135 #define get_port(card, port) ((card)->ports[port].valid ? \ 443 port->valid = 1; in n2_run() 489 long valid[2] = { 0, 0 }; /* Default = both ports disabled */ in n2_init() local 504 if (*hw == '0' && !valid[0]) in n2_init() 505 valid[0] = 1; /* Port 0 enabled */ in n2_init() 506 else if (*hw == '1' && !valid[1]) in n2_init() 507 valid[1] = 1; /* Port 1 enabled */ in n2_init() 513 if (!valid[0] && !valid[1]) in n2_init() 517 n2_run(io, irq, ram, valid[0], valid[1]); in n2_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_xcp.c | 36 if (!xcp_ip || !xcp_ip->valid || !xcp_ip->ip_funcs) in __amdgpu_xcp_run() 69 if (xcp_id >= MAX_XCP || !xcp_mgr->xcp[xcp_id].valid) in amdgpu_xcp_run_transition() 115 xcp->ip[ip->ip_id].valid = true; in __amdgpu_xcp_add_block() 117 xcp->valid = true; in __amdgpu_xcp_add_block() 133 xcp_mgr->xcp[i].valid = false; in amdgpu_xcp_init() 304 if ((xcp->valid) && (xcp->ip[ip].valid) && in amdgpu_xcp_get_partition() 319 if (!xcp->valid || !inst_mask || !(xcp->ip[ip].valid)) in amdgpu_xcp_get_inst_details() 383 if (adev->xcp_mgr->xcp[i].valid == FALSE) { in amdgpu_xcp_open_device()
|
/drivers/net/ethernet/aquantia/atlantic/macsec/ |
D | macsec_struct.h | 228 u32 valid; member 282 u32 valid; member 306 u32 valid; member 483 u32 valid; member 528 u32 valid; member 559 u32 valid; member 664 u32 valid; member
|
/drivers/devfreq/ |
D | governor_userspace.c | 19 bool valid; member 26 if (data->valid) in devfreq_userspace_func() 47 data->valid = true; in set_freq_store() 65 if (data->valid) in set_freq_show() 93 data->valid = false; in userspace_init()
|
/drivers/usb/misc/ |
D | chaoskey.c | 84 int valid; /* bytes of buf read */ member 322 dev->valid = urb->actual_length; in chaos_read_callback() 324 dev->valid = 0; in chaos_read_callback() 347 if (dev->valid != dev->used) { in _chaoskey_fill() 349 dev->valid, dev->used); in _chaoskey_fill() 395 result = dev->valid; in _chaoskey_fill() 401 usb_dbg(dev->interface, "read %d bytes", dev->valid); in _chaoskey_fill() 437 if (dev->valid == dev->used) { in chaoskey_read() 445 this_time = dev->valid - dev->used; in chaoskey_read() 505 if (dev->valid == dev->used) in chaoskey_rng_read() [all …]
|
/drivers/firmware/efi/ |
D | memattr.c | 164 bool valid; in efi_memattr_apply_permissions() local 167 valid = entry_is_valid((void *)tbl->entry + i * tbl->desc_size, in efi_memattr_apply_permissions() 170 if (efi_enabled(EFI_DBG) || !valid) in efi_memattr_apply_permissions() 172 valid ? "" : "!", md.phys_addr, in efi_memattr_apply_permissions() 176 if (valid) { in efi_memattr_apply_permissions()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dio_stream_encoder.c | 60 if (info_packet->valid) { in enc3_update_hdmi_info_packet() 344 pps_sdp.valid = true; in enc3_dp_set_dsc_pps_info_packet() 414 if (info_frame->adaptive_sync.valid == true && in enc3_stream_encoder_update_dp_info_packets_sdp_line_num() 432 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 447 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 462 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 469 if (info_frame->spd.valid) { in enc3_stream_encoder_update_dp_info_packets() 476 if (info_frame->hdrsmd.valid) { in enc3_stream_encoder_update_dp_info_packets() 487 if (info_frame->adaptive_sync.valid) in enc3_stream_encoder_update_dp_info_packets() 497 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in enc3_stream_encoder_update_dp_info_packets() [all …]
|
/drivers/misc/ |
D | ibmvmc.c | 212 if (crq->valid & 0x80) { in crq_queue_next_crq() 336 if (buffer[i].valid && buffer[i].free && in ibmvmc_get_valid_hmc_buffer() 408 static void ibmvmc_count_hmc_buffers(u8 hmc_index, unsigned int *valid, in ibmvmc_count_hmc_buffers() argument 418 if (!valid || !free) in ibmvmc_count_hmc_buffers() 421 *valid = 0; *free = 0; in ibmvmc_count_hmc_buffers() 427 if (buffer[i].valid) { in ibmvmc_count_hmc_buffers() 428 *valid = *valid + 1; in ibmvmc_count_hmc_buffers() 493 session->valid = 0; in ibmvmc_return_hmc() 508 if (buffer[i].valid) { in ibmvmc_return_hmc() 575 crq_msg.valid = 0x80; in ibmvmc_send_open() [all …]
|