/drivers/misc/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/acpi/ |
D | thermal.c | 113 u8 valid:1; member 264 int valid = 0; in acpi_thermal_trips_update() local 279 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update() 285 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update() 287 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update() 292 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update() 294 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update() 314 tz->trips.hot.flags.valid = 0; in acpi_thermal_trips_update() 319 tz->trips.hot.flags.valid = 1; in acpi_thermal_trips_update() 327 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update() [all …]
|
/drivers/tty/ |
D | tty_audit.c | 19 size_t valid; member 45 buf->valid = 0; in tty_audit_buf_alloc() 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() 237 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data() 240 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data() 241 buf->valid += run; in tty_audit_add_data() [all …]
|
/drivers/net/ipa/ |
D | ipa_table.c | 180 bool valid; in ipa_table_valid() local 182 valid = ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER, false); in ipa_table_valid() 183 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER, false); in ipa_table_valid() 184 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE, true); in ipa_table_valid() 185 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE, true); in ipa_table_valid() 188 return valid; in ipa_table_valid() 190 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER_HASHED, in ipa_table_valid() 192 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER_HASHED, in ipa_table_valid() 194 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE_HASHED, in ipa_table_valid() 196 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE_HASHED, in ipa_table_valid() [all …]
|
/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/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 467 if (!bw_params->wm_table.entries[i].valid) in build_watermark_ranges() 626 .valid = true, 634 .valid = true, 642 .valid = true, 650 .valid = true, 663 .valid = true, 671 .valid = true, 679 .valid = true, 687 .valid = true, 700 .valid = true, [all …]
|
/drivers/usb/dwc2/ |
D | drd.c | 34 static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_avalid() argument 39 if ((valid && (gotgctl & GOTGCTL_ASESVLD)) || in dwc2_ovr_avalid() 40 (!valid && !(gotgctl & GOTGCTL_ASESVLD))) in dwc2_ovr_avalid() 44 if (valid) in dwc2_ovr_avalid() 53 static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_bvalid() argument 58 if ((valid && (gotgctl & GOTGCTL_BSESVLD)) || in dwc2_ovr_bvalid() 59 (!valid && !(gotgctl & GOTGCTL_BSESVLD))) in dwc2_ovr_bvalid() 63 if (valid) in dwc2_ovr_bvalid()
|
D | params.c | 474 int valid = 1; in dwc2_check_param_otg_cap() local 479 valid = 0; in dwc2_check_param_otg_cap() 489 valid = 0; in dwc2_check_param_otg_cap() 497 valid = 0; in dwc2_check_param_otg_cap() 501 if (!valid) in dwc2_check_param_otg_cap() 507 int valid = 0; in dwc2_check_param_phy_type() local 517 valid = 1; in dwc2_check_param_phy_type() 522 valid = 1; in dwc2_check_param_phy_type() 527 valid = 1; in dwc2_check_param_phy_type() 533 if (!valid) in dwc2_check_param_phy_type() [all …]
|
/drivers/irqchip/ |
D | irq-versatile-fpga.c | 45 u32 valid; member 135 if (!(f->valid & BIT(hwirq))) in fpga_irqdomain_map() 150 int parent_irq, u32 valid, struct device_node *node) in fpga_irq_init() argument 165 f->valid = valid; in fpga_irq_init() 173 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init() 177 for (i = 0; i < fls(valid); i++) in fpga_irq_init() 178 if (valid & BIT(i)) { in fpga_irq_init()
|
/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/acpi/x86/ |
D | apple.c | 31 unsigned long *valid = NULL; in acpi_extract_apple_properties() local 62 valid = bitmap_zalloc(numprops, GFP_KERNEL); in acpi_extract_apple_properties() 63 if (!valid) in acpi_extract_apple_properties() 76 __set_bit(i, valid); in acpi_extract_apple_properties() 82 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties() 102 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties() 137 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/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 520 u8 valid; member 640 u8 valid; member 1359 u8 valid; member 1383 u8 valid; member 1407 u8 valid; member 1430 u8 valid; member 1489 u8 valid; member 1599 u8 valid; member 1763 u8 valid; member 1956 u8 valid; member [all …]
|
/drivers/md/ |
D | dm-snap-persistent.c | 72 __le32 valid; member 105 int valid; member 350 ps->valid = le32_to_cpu(dh->valid); in read_header() 389 dh->valid = cpu_to_le32(ps->valid); in write_header() 658 if (!ps->valid) in persistent_read_metadata() 693 struct dm_exception *e, int valid, in persistent_commit_exception() argument 702 if (!valid) in persistent_commit_exception() 703 ps->valid = 0; in persistent_commit_exception() 732 ps->valid = 0; in persistent_commit_exception() 737 if (ps->valid && area_io(ps, REQ_OP_WRITE, in persistent_commit_exception() [all …]
|
/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/firmware/efi/ |
D | memattr.c | 159 bool valid; in efi_memattr_apply_permissions() local 162 valid = entry_is_valid((void *)tbl->entry + i * tbl->desc_size, in efi_memattr_apply_permissions() 165 if (efi_enabled(EFI_DBG) || !valid) in efi_memattr_apply_permissions() 167 valid ? "" : "!", md.phys_addr, in efi_memattr_apply_permissions() 171 if (valid) { in efi_memattr_apply_permissions()
|
/drivers/cxl/core/ |
D | regs.c | 82 map->hdm_decoder.valid = true; in cxl_probe_component_regs() 131 map->status.valid = true; in cxl_probe_device_regs() 137 map->mbox.valid = true; in cxl_probe_device_regs() 146 map->memdev.valid = true; in cxl_probe_device_regs() 214 if (map->device_map.status.valid) { in cxl_map_device_regs() 225 if (map->device_map.mbox.valid) { in cxl_map_device_regs() 236 if (map->device_map.memdev.valid) { in cxl_map_device_regs()
|
/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/platform/mellanox/ |
D | mlxbf-bootctl.c | 209 int burnt, valid, key, key_state, buf_len = 0, upper_key_used = 0; in secure_boot_fuse_state_show() local 237 valid = key_state & BIT(key + MLXBF_SB_KEY_NUM); in secure_boot_fuse_state_show() 239 if (burnt && valid) in secure_boot_fuse_state_show() 244 status = valid ? "Used" : "Wasted"; in secure_boot_fuse_state_show() 246 status = valid ? "Invalid" : "Skipped"; in secure_boot_fuse_state_show() 249 status = valid ? "InUse" : "Incomplete"; in secure_boot_fuse_state_show() 251 status = valid ? "Invalid" : "Free"; in secure_boot_fuse_state_show()
|
/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/usb/misc/ |
D | chaoskey.c | 84 int valid; /* bytes of buf read */ member 323 dev->valid = urb->actual_length; in chaos_read_callback() 325 dev->valid = 0; in chaos_read_callback() 348 if (dev->valid != dev->used) { in _chaoskey_fill() 350 dev->valid, dev->used); in _chaoskey_fill() 396 result = dev->valid; in _chaoskey_fill() 402 usb_dbg(dev->interface, "read %d bytes", dev->valid); in _chaoskey_fill() 438 if (dev->valid == dev->used) { in chaoskey_read() 446 this_time = dev->valid - dev->used; in chaoskey_read() 506 if (dev->valid == dev->used) in chaoskey_rng_read() [all …]
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.h | 151 u8 valid; member 231 u8 valid = retvalue->valid; in hw_qeit_get_inc_valid() local 234 if ((valid >> 7) == (queue->toggle_state & 1)) { in hw_qeit_get_inc_valid() 249 u8 valid; in hw_qeit_get_valid() local 255 valid = retvalue->valid; in hw_qeit_get_valid() 256 if (!((valid >> 7) == (queue->toggle_state & 1))) in hw_qeit_get_valid()
|
/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 …]
|
/drivers/staging/media/ipu3/ |
D | ipu3-css-pool.c | 39 pool->entry[i].valid = false; in imgu_css_pool_init() 66 pool->entry[n].valid = true; in imgu_css_pool_get() 75 pool->entry[pool->last].valid = false; in imgu_css_pool_put() 96 if (!pool->entry[i].valid) in imgu_css_pool_last()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dump.c | 23 u32 valid; /* (nonzero) valid, (0) log is empty */ member 70 u32 valid; /* (nonzero) valid, (0) log is empty */ member 125 u32 valid; /* (nonzero) valid, (0) log is empty */ member 158 if (table.valid) in iwl_fwrt_dump_umac_error_log() 161 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_umac_error_log() 164 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log() 224 if (table.valid) in iwl_fwrt_dump_lmac_error_log() 227 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_lmac_error_log() 230 fwrt->trans->status, table.valid); in iwl_fwrt_dump_lmac_error_log() 282 u32 valid; member
|