Home
last modified time | relevance | path

Searched refs:tmp_val (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_subnet.c282 unsigned long int tmp_val; in opts_strtoul() local
286 *val = tmp_val; in opts_strtoul()
292 if (tmp_val > max_value || in opts_strtoul()
304 unsigned long long int tmp_val; in opts_strtoull() local
308 *val = tmp_val; in opts_strtoull()
314 if (tmp_val > max_value || (tmp_val == ULLONG_MAX && errno == ERANGE)) { in opts_strtoull()
395 uint32_t tmp_val; in opts_parse_uint16() local
400 uint16_t val = (uint16_t) tmp_val; in opts_parse_uint16()
414 uint32_t tmp_val; in opts_parse_net16() local
433 uint32_t tmp_val; in opts_parse_uint8() local
[all …]
/freebsd-12.1/contrib/ntp/ntpd/
H A Drefclock_parse.c4512 uint16_t tmp_val; in gps16x_message() local
4544 tmp_val = cfgh.health[i]; /* a 6 bit SV health code */ in gps16x_message()
4545 p = ap(buffer, sizeof(buffer), p, "; health=0x%02x (", tmp_val); in gps16x_message()
4547 if (tmp_val == 0x3F) /* satellite is unusable or doesn't even exist */ in gps16x_message()
4552 p = ap(buffer, sizeof(buffer), p, "DATA %s, ", (tmp_val & 0x20) ? "BAD" : "OK" ); in gps16x_message()
4555 switch (tmp_val & 0x1F) in gps16x_message()
4568 tmp_val = cfgh.cfg[i]; /* a 4 bit SV configuration/type code */ in gps16x_message()
4569 p = ap(buffer, sizeof(buffer), p, "; cfg=0x%02x (", tmp_val); in gps16x_message()
4570 switch (tmp_val & 0x7) in gps16x_message()
4580 if (tmp_val & 0x08) /* A-S is on, P-code is encrypted */ in gps16x_message()
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_all.c6958 uint64_t tmp_val; in scsi_attrib_volcoh_sbuf() local
6964 tmp_val = 0; in scsi_attrib_volcoh_sbuf()
7001 tmp_val = *cur_ptr; in scsi_attrib_volcoh_sbuf()
7004 tmp_val = scsi_2btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7007 tmp_val = scsi_3btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7010 tmp_val = scsi_4btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7024 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf()
7027 cur_ptr += sizeof(tmp_val); in scsi_attrib_volcoh_sbuf()
7028 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf()
7030 (uintmax_t)tmp_val); in scsi_attrib_volcoh_sbuf()
[all …]
/freebsd-12.1/sys/dev/bxe/
H A Dbxe_elink.c13900 uint32_t lfa_sts, cfg_idx, tmp_val; in elink_cannot_avoid_link_flap() local
13927 tmp_val = REG_RD(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
13929 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in elink_cannot_avoid_link_flap()
13930 tmp_val |= params->req_fc_auto_adv; in elink_cannot_avoid_link_flap()
13933 offsetof(struct shmem_lfa, additional_config), tmp_val); in elink_cannot_avoid_link_flap()