Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 2462) sorted by relevance

12345678910>>...99

/openbmc/linux/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_async_ids_map_extended.h19 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 …]
/openbmc/linux/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_async_ids_map_extended.h25 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 …]
/openbmc/linux/lib/crypto/
H A Dcurve25519-selftest.c12 bool valid; member
28 .valid = true
43 .valid = true
55 .valid = true
67 .valid = true
82 .valid = true
88 .valid = false
97 .valid = false
112 .valid = true
127 .valid = true
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D021.out5 -1 is not a valid pattern byte
8 -1 is not a valid pattern byte
11 -1 is not a valid pattern byte
14 -1 is not a valid pattern byte
17 -1 is not a valid pattern byte
20 -1 is not a valid pattern byte
23 300 is not a valid pattern byte
26 300 is not a valid pattern byte
29 300 is not a valid pattern byte
32 300 is not a valid pattern byte
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_attribs.c103 unsigned int valid = attr->ia_valid; in yaffs_set_attribs() local
105 if (valid & ATTR_MODE) in yaffs_set_attribs()
107 if (valid & ATTR_UID) in yaffs_set_attribs()
109 if (valid & ATTR_GID) in yaffs_set_attribs()
112 if (valid & ATTR_ATIME) in yaffs_set_attribs()
114 if (valid & ATTR_CTIME) in yaffs_set_attribs()
116 if (valid & ATTR_MTIME) in yaffs_set_attribs()
119 if (valid & ATTR_SIZE) in yaffs_set_attribs()
130 unsigned int valid = 0; in yaffs_get_attribs() local
133 valid |= ATTR_MODE; in yaffs_get_attribs()
[all …]
/openbmc/linux/drivers/acpi/
H A Dthermal.c97 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 …]
/openbmc/u-boot/drivers/input/
H A Dkey_matrix.c27 int valid) in has_ghosting() argument
32 if (!config->ghost_filter || valid < 3) in has_ghosting()
35 for (i = 0; i < valid; i++) { in has_ghosting()
40 for (j = i + 1; j < valid; j++) { in has_ghosting()
58 int valid, upto; in key_matrix_decode() local
63 for (valid = upto = 0; upto < num_keys; upto++) { in key_matrix_decode()
66 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row, in key_matrix_decode()
68 if (!key->valid) in key_matrix_decode()
75 if (valid < max_keycodes) in key_matrix_decode()
76 keycode[valid++] = keymap[pos]; in key_matrix_decode()
[all …]
/openbmc/linux/tools/testing/selftests/sync/
H A Dsync_alloc.c34 int timeline, valid; in test_alloc_timeline() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_timeline()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_timeline()
46 int timeline, fence, valid; in test_alloc_fence() local
49 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_fence()
50 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_fence()
53 valid = sw_sync_fence_is_valid(fence); in test_alloc_fence()
54 ASSERT(valid, "Failure allocating fence\n"); in test_alloc_fence()
H A Dsync_fence.c34 int fence, valid, ret; in test_fence_one_timeline_wait() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_one_timeline_wait()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_one_timeline_wait()
41 valid = sw_sync_fence_is_valid(fence); in test_fence_one_timeline_wait()
42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_one_timeline_wait()
78 int a, b, c, d, valid; in test_fence_one_timeline_merge() local
86 valid = sw_sync_fence_is_valid(a) && in test_fence_one_timeline_merge()
89 ASSERT(valid, "Failure allocating fences\n"); in test_fence_one_timeline_merge()
93 valid = sw_sync_fence_is_valid(d); in test_fence_one_timeline_merge()
94 ASSERT(valid, "Failure merging fences\n"); in test_fence_one_timeline_merge()
H A Dsync_merge.c34 int fence, valid, merged; in test_fence_merge_same_fence() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_merge_same_fence()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_merge_same_fence()
41 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence()
42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_merge_same_fence()
45 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence()
46 ASSERT(valid, "Failure merging fence\n"); in test_fence_merge_same_fence()
H A Dsync_stress_parallelism.c45 int fence, valid, ret, i; in test_stress_two_threads_shared_timeline_thread() local
50 valid = sw_sync_fence_is_valid(fence); in test_stress_two_threads_shared_timeline_thread()
51 ASSERT(valid, "Failure allocating fence\n"); in test_stress_two_threads_shared_timeline_thread()
78 int valid; in test_stress_two_threads_shared_timeline() local
81 valid = sw_sync_timeline_is_valid(timeline); in test_stress_two_threads_shared_timeline()
82 ASSERT(valid, "Failure allocating timeline\n"); in test_stress_two_threads_shared_timeline()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_kernel.c20 int valid[10]; member
67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel()
72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel()
75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel()
78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel()
81 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel()
85 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel()
89 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel()
93 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel()
[all …]
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dimage_verify.cpp146 bool valid; in verify() local
163 valid = checkAndVerifyImage(imageDirPath, publicKeyFile, in verify()
165 if (bmcFilesFound && !valid) in verify()
170 if (!valid) in verify()
175 valid = checkAndVerifyImage(imageDirPath, publicKeyFile, in verify()
177 if (bmcFilesFound && !valid) in verify()
226 assert(valid || optionalImagesValid); in verify()
262 auto valid = false; in systemLevelVerify() local
278 valid = verifyFile(manifestFile, manifestFileSig, in systemLevelVerify()
280 if (valid) in systemLevelVerify()
[all …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_vtu.c93 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 …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/
H A Devents.json1293 // Entry valid for ambient temp < 27
1309 // Entry valid for ambient temp < 32
1325 // Entry valid for ambient temp < 37
1341 // Entry valid for ambient temp < 42
1366 // Entry valid for ambient temp < 27
1382 // Entry valid for ambient temp < 32
1398 // Entry valid for ambient temp < 37
1414 // Entry valid for ambient temp < 42
/openbmc/linux/fs/nfs/
H A Dinode.c362 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
414 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
415 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
461 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
463 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
486 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
503 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
504 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
505 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
532 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
[all …]
/openbmc/u-boot/cmd/x86/
H A Dmtrr.c29 bool valid; in do_mtrr_list() local
36 valid = mask & MTRR_PHYS_MASK_VALID; in do_mtrr_list()
39 valid ? "Y" : "N", type, base & ~MTRR_BASE_TYPE_MASK, in do_mtrr_list()
53 bool valid; in do_mtrr_set() local
69 valid = native_read_msr(MTRR_PHYS_MASK_MSR(reg)) & MTRR_PHYS_MASK_VALID; in do_mtrr_set()
72 if (valid) in do_mtrr_set()
84 static int mtrr_set_valid(int reg, bool valid) in mtrr_set_valid() argument
91 if (valid) in mtrr_set_valid()
/openbmc/linux/drivers/tty/
H A Dtty_audit.c19 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()
/openbmc/linux/scripts/kconfig/
H A Dstreamline_config.pl424 my $valid = "A-Za-z_0-9";
429 if (/(CONFIG_[$valid]*)=(m|y)/) {
450 while ($p =~ /[$valid]/) {
452 if ($p =~ /^[^$valid]*([$valid]+)/) {
455 $p =~ s/^[^$valid]*[$valid]+//;
491 while ($p =~ /[$valid]/) {
493 if ($p =~ /^[^$valid]*([$valid]+)/) {
496 $p =~ s/^[^$valid]*[$valid]+//;
/openbmc/u-boot/scripts/kconfig/
H A Dstreamline_config.pl424 my $valid = "A-Za-z_0-9";
429 if (/(CONFIG_[$valid]*)=(m|y)/) {
450 while ($p =~ /[$valid]/) {
452 if ($p =~ /^[^$valid]*([$valid]+)/) {
455 $p =~ s/^[^$valid]*[$valid]+//;
491 while ($p =~ /[$valid]/) {
493 if ($p =~ /^[^$valid]*([$valid]+)/) {
496 $p =~ s/^[^$valid]*[$valid]+//;
/openbmc/linux/fs/coda/
H A Dcoda_linux.c145 unsigned int valid; in coda_iattr_to_vattr() local
183 valid = iattr->ia_valid; in coda_iattr_to_vattr()
184 if ( valid & ATTR_MODE ) { in coda_iattr_to_vattr()
187 if ( valid & ATTR_UID ) { in coda_iattr_to_vattr()
190 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr()
193 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
196 if ( valid & ATTR_ATIME ) { in coda_iattr_to_vattr()
199 if ( valid & ATTR_MTIME ) { in coda_iattr_to_vattr()
202 if ( valid & ATTR_CTIME ) { in coda_iattr_to_vattr()
/openbmc/qemu/hw/tpm/
H A Dtpm_spapr.c38 uint8_t valid; /* 0x80: cmd; 0xc0: init crq */ member
137 uint8_t valid = crq_data[0]; in tpm_spapr_do_crq() local
140 trace_tpm_spapr_do_crq(valid, msg); in tpm_spapr_do_crq()
142 switch (valid) { in tpm_spapr_do_crq()
150 local_crq.valid = SPAPR_VTPM_VALID_INIT_CRQ_COMMAND; in tpm_spapr_do_crq()
158 local_crq.valid = SPAPR_VTPM_VALID_INIT_CRQ_COMMAND; in tpm_spapr_do_crq()
177 crq->valid = be16_to_cpu(0); in tpm_spapr_do_crq()
179 local_crq.valid = SPAPR_VTPM_MSG_RESULT; in tpm_spapr_do_crq()
189 local_crq.valid = SPAPR_VTPM_VALID_COMMAND; in tpm_spapr_do_crq()
197 local_crq.valid = SPAPR_VTPM_VALID_COMMAND; in tpm_spapr_do_crq()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dpci_sun4v.h42 unsigned long *valid);
45 unsigned long valid);
63 unsigned long *valid);
66 unsigned long valid);
88 unsigned long *valid);
91 unsigned long valid);
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_cle.c92 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 …]
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda_property.c32 hw_cfg->gpio2.valid = true; in lenovo_legion_no_acpi()
33 hw_cfg->valid = true; in lenovo_legion_no_acpi()
40 hw_cfg->gpio1.valid = true; in lenovo_legion_no_acpi()
65 hw_cfg->gpio1.valid = true; in hp_vision_acpi_fix()
67 hw_cfg->gpio2.valid = true; in hp_vision_acpi_fix()
72 hw_cfg->valid = true; in hp_vision_acpi_fix()

12345678910>>...99