Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 3718) sorted by relevance

12345678910>>...149

/freebsd/usr.sbin/cxgbetool/
H A Dtcbshowt5.c46 spr_tcp_state(val("t_state")), in t5_display_tcb_aux_0()
47 val("t_state"), in t5_display_tcb_aux_0()
48 spr_ip_version(val("ip_version")), in t5_display_tcb_aux_0()
49 val("lock_tid"), in t5_display_tcb_aux_0()
50 val("rss_fw") in t5_display_tcb_aux_0()
53 val("l2t_ix"), in t5_display_tcb_aux_0()
54 val("smac_sel"), in t5_display_tcb_aux_0()
55 val("tos") in t5_display_tcb_aux_0()
58 val("t_maxseg"), val("recv_scale"), in t5_display_tcb_aux_0()
59 val("recv_tstmp"), val("recv_sack")); in t5_display_tcb_aux_0()
[all …]
H A Dtcbshowt4.c46 spr_tcp_state(val("t_state")), in t4_display_tcb_aux_0()
47 val("t_state"), in t4_display_tcb_aux_0()
48 spr_ip_version(val("ip_version")), in t4_display_tcb_aux_0()
49 val("lock_tid"), in t4_display_tcb_aux_0()
50 val("init") in t4_display_tcb_aux_0()
53 val("l2t_ix"), in t4_display_tcb_aux_0()
54 val("smac_sel"), in t4_display_tcb_aux_0()
55 val("tos") in t4_display_tcb_aux_0()
58 val("t_maxseg"), val("recv_scale"), in t4_display_tcb_aux_0()
59 val("recv_tstmp"), val("recv_sack")); in t4_display_tcb_aux_0()
[all …]
H A Dtcbshowt7.c18 spr_tcp_state(val("t_state")), in t7_display_tcb_aux_0()
19 val("t_state"), in t7_display_tcb_aux_0()
20 spr_ip_version(val("ip_version")), in t7_display_tcb_aux_0()
21 val("lock_tid"), in t7_display_tcb_aux_0()
22 val("rss_fw") in t7_display_tcb_aux_0()
25 val("l2t_ix"), in t7_display_tcb_aux_0()
26 val("smac_sel"), in t7_display_tcb_aux_0()
27 val("tos") in t7_display_tcb_aux_0()
30 val("t_maxseg"), val("recv_scale"), in t7_display_tcb_aux_0()
31 val("recv_tstmp"), val("recv_sack")); in t7_display_tcb_aux_0()
[all …]
H A Dtcbshowt6.c46 spr_tcp_state(val("t_state")), in t6_display_tcb_aux_0()
47 val("t_state"), in t6_display_tcb_aux_0()
48 spr_ip_version(val("ip_version")), in t6_display_tcb_aux_0()
49 val("lock_tid"), in t6_display_tcb_aux_0()
50 val("rss_fw") in t6_display_tcb_aux_0()
53 val("l2t_ix"), in t6_display_tcb_aux_0()
54 val("smac_sel"), in t6_display_tcb_aux_0()
55 val("tos") in t6_display_tcb_aux_0()
58 val("t_maxseg"), val("recv_scale"), in t6_display_tcb_aux_0()
59 val("recv_tstmp"), val("recv_sack")); in t6_display_tcb_aux_0()
[all …]
/freebsd/sys/dev/mii/
H A Drlswitch.c137 int val; in rlswitch_attach() local
140 val = 0; in rlswitch_attach()
141 val |= 0 << 10; /* enable 802.1q VLAN Tag support */ in rlswitch_attach()
142 val |= 0 << 9; /* enable VLAN ingress filtering */ in rlswitch_attach()
143 val |= 1 << 8; /* disable VLAN tag admit control */ in rlswitch_attach()
144 val |= 1 << 6; /* internal use */ in rlswitch_attach()
145 val |= 1 << 5; /* internal use */ in rlswitch_attach()
146 val |= 1 << 4; /* internal use */ in rlswitch_attach()
147 val |= 1 << 3; /* internal use */ in rlswitch_attach()
148 val |= 1 << 1; /* reserved */ in rlswitch_attach()
[all …]
/freebsd/contrib/unbound/contrib/
H A Dmetrics.awk15 val[$1]=$2;
21 print "unbound_hits_queries{type=\"total.num.queries\"} " val["total.num.queries"];
23 if(val["thread" $x ".num.queries"] != "") {
24 print "unbound_hits_queries{type=\"thread" $x ".num.queries\"} " val["thread" $x ".num.queries"];
27 print "unbound_hits_queries{type=\"total.num.cachehits\"} " val["total.num.cachehits"];
28 print "unbound_hits_queries{type=\"total.num.prefetch\"} " val["total.num.prefetch"];
29 print "unbound_hits_queries{type=\"num.query.tcp\"} " val["num.query.tcp"];
30 print "unbound_hits_queries{type=\"num.query.tcpout\"} " val["num.query.tcpout"];
31 print "unbound_hits_queries{type=\"num.query.udpout\"} " val["num.query.udpout"];
32 print "unbound_hits_queries{type=\"num.query.tls\"} " val["num.query.tls"];
[all …]
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dkfree.c58 krb5_free_address(krb5_context context, krb5_address *val) in krb5_free_address() argument
60 if (val == NULL) in krb5_free_address()
62 free(val->contents); in krb5_free_address()
63 free(val); in krb5_free_address()
67 krb5_free_addresses(krb5_context context, krb5_address **val) in krb5_free_addresses() argument
71 if (val == NULL) in krb5_free_addresses()
73 for (temp = val; *temp; temp++) { in krb5_free_addresses()
77 free(val); in krb5_free_addresses()
81 krb5_free_ap_rep(krb5_context context, krb5_ap_rep *val) in krb5_free_ap_rep() argument
83 if (val == NULL) in krb5_free_ap_rep()
[all …]
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Dtypes.h133 #define CONF_HAS(config, val) ((config) & (1 << (val))) argument
138 #define CONF_IS(config, val) ((config) == (1 << (val))) argument
139 #define CONF_GE(config, val) ((config) & (0-(1 << (val)))) argument
140 #define CONF_GT(config, val) ((config) & (0-2*(1 << (val)))) argument
141 #define CONF_LT(config, val) ((config) & ((1 << (val))-1)) argument
142 #define CONF_LE(config, val) ((config) & (2*(1 << (val))-1)) argument
146 #define NCONF_HAS(val) CONF_HAS(NCONF, val) argument
148 #define NCONF_IS(val) CONF_IS(NCONF, val) argument
149 #define NCONF_GE(val) CONF_GE(NCONF, val) argument
150 #define NCONF_GT(val) CONF_GT(NCONF, val) argument
[all …]
/freebsd/usr.sbin/virtual_oss/virtual_oss/
H A Dformat.c41 int64_t val; in format_import() local
46 val = src[0] | (src[1] << 8); in format_import()
48 val = src[1] | (src[0] << 8); in format_import()
53 val = val ^ 0x8000; in format_import()
55 val <<= (64 - 16); in format_import()
56 val >>= (64 - 16); in format_import()
58 *dst++ = val; in format_import()
64 val = src[0] | (src[1] << 8) | (src[2] << 16); in format_import()
66 val = src[2] | (src[1] << 8) | (src[0] << 16); in format_import()
71 val = val ^ 0x800000; in format_import()
[all …]
/freebsd/sys/contrib/ncsw/inc/
H A Dendian_ext.h93 #define SWAP_UINT16(val) \ argument
94 ((uint16_t)((((val) & 0x00FF) << 8) | (((val) & 0xFF00) >> 8)))
109 #define SWAP_UINT32(val) \ argument
110 ((uint32_t)((((val) & 0x000000FF) << 24) | \
111 (((val) & 0x0000FF00) << 8) | \
112 (((val) & 0x00FF0000) >> 8) | \
113 (((val) & 0xFF000000) >> 24)))
128 #define SWAP_UINT64(val) \ argument
129 ((uint64_t)((((val) & 0x00000000000000FFULL) << 56) | \
130 (((val) & 0x000000000000FF00ULL) << 40) | \
[all …]
/freebsd/bin/date/
H A Dvary.c38 int64_t val; member
75 for (f = 0; t[f].val != -1; f++) in trans()
78 return t[f].val; in trans()
129 adjyear(struct tm *t, char type, int64_t val, int mk) in adjyear() argument
133 t->tm_year += val; in adjyear()
136 t->tm_year -= val; in adjyear()
139 t->tm_year = val; in adjyear()
150 adjmon(struct tm *t, char type, int64_t val, int istext, int mk) in adjmon() argument
154 if (val < 0) in adjmon()
160 if (val <= t->tm_mon) in adjmon()
[all …]
/freebsd/sys/contrib/zstd/lib/common/
H A Dbits.h16 MEM_STATIC unsigned ZSTD_countTrailingZeros32_fallback(U32 val) in ZSTD_countTrailingZeros32_fallback() argument
18 assert(val != 0); in ZSTD_countTrailingZeros32_fallback()
24 return DeBruijnBytePos[((U32) ((val & -(S32) val) * 0x077CB531U)) >> 27]; in ZSTD_countTrailingZeros32_fallback()
28 MEM_STATIC unsigned ZSTD_countTrailingZeros32(U32 val) in ZSTD_countTrailingZeros32() argument
30 assert(val != 0); in ZSTD_countTrailingZeros32()
33 return (unsigned)_tzcnt_u32(val); in ZSTD_countTrailingZeros32()
35 if (val != 0) { in ZSTD_countTrailingZeros32()
37 _BitScanForward(&r, val); in ZSTD_countTrailingZeros32()
44 return (unsigned)__builtin_ctz(val); in ZSTD_countTrailingZeros32()
46 return (unsigned)__builtin_ctz(val); in ZSTD_countTrailingZeros32()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dbits.h17 MEM_STATIC unsigned ZSTD_countTrailingZeros32_fallback(U32 val) in ZSTD_countTrailingZeros32_fallback() argument
19 assert(val != 0); in ZSTD_countTrailingZeros32_fallback()
25 return DeBruijnBytePos[((U32) ((val & -(S32) val) * 0x077CB531U)) >> 27]; in ZSTD_countTrailingZeros32_fallback()
29 MEM_STATIC unsigned ZSTD_countTrailingZeros32(U32 val) in ZSTD_countTrailingZeros32() argument
31 assert(val != 0); in ZSTD_countTrailingZeros32()
34 return (unsigned)_tzcnt_u32(val); in ZSTD_countTrailingZeros32()
36 if (val != 0) { in ZSTD_countTrailingZeros32()
38 _BitScanForward(&r, val); in ZSTD_countTrailingZeros32()
45 return (unsigned)__builtin_ctz(val); in ZSTD_countTrailingZeros32()
47 return (unsigned)__builtin_ctz(val); in ZSTD_countTrailingZeros32()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_spectral.c50 uint32_t val; in ar5416DisableRadar() local
53 val = OS_REG_READ(ah, AR_PHY_RADAR_0); in ar5416DisableRadar()
54 val |= AR_PHY_RADAR_0_FFT_ENA; in ar5416DisableRadar()
57 val &= ~AR_PHY_RADAR_0_RRSSI; in ar5416DisableRadar()
58 val |= SM(MAX_RADAR_RSSI_THRESH, AR_PHY_RADAR_0_RRSSI); in ar5416DisableRadar()
60 val &= ~AR_PHY_RADAR_0_HEIGHT; in ar5416DisableRadar()
61 val |= SM(MAX_RADAR_HEIGHT, AR_PHY_RADAR_0_HEIGHT); in ar5416DisableRadar()
63 val &= ~(AR_PHY_RADAR_0_ENA); in ar5416DisableRadar()
64 OS_REG_WRITE(ah, AR_PHY_RADAR_0, val); in ar5416DisableRadar()
67 val = OS_REG_READ(ah, AR_PHY_RADAR_EXT); in ar5416DisableRadar()
[all …]
/freebsd/bin/expr/
H A Dexpr.y33 struct val { struct
43 struct val *result; argument
45 void assert_to_integer(struct val *);
50 int compare_vals(struct val *, struct val *);
51 void free_value(struct val *);
53 int is_string(struct val *);
54 int is_zero_or_null(struct val *);
55 struct val *make_integer(intmax_t);
56 struct val *make_str(const char *);
57 struct val *op_and(struct val *, struct val *);
[all …]
/freebsd/sys/dev/rge/
H A Dif_rge_hw.c92 static void rge_write_ephy(struct rge_softc *sc, uint16_t reg, uint16_t val);
95 static void rge_r27_write_ephy(struct rge_softc *sc, uint16_t reg, uint16_t val);
202 rtl8125_mac_bps[i].val); in rge_mac_config_mcu()
232 rtl8125b_mac_bps[i].val); in rge_mac_config_mcu()
280 rtl8125d_2_mac_bps[i].val); in rge_mac_config_mcu()
446 uint16_t val; in rge_ephy_config_mac_r25() local
450 rge_write_ephy(sc, mac_r25_ephy[i].reg, mac_r25_ephy[i].val); in rge_ephy_config_mac_r25()
452 val = rge_read_ephy(sc, 0x002a) & ~0x7000; in rge_ephy_config_mac_r25()
453 rge_write_ephy(sc, 0x002a, val | 0x3000); in rge_ephy_config_mac_r25()
459 val = rge_read_ephy(sc, 0x006a) & ~0x7000; in rge_ephy_config_mac_r25()
[all …]
/freebsd/crypto/openssl/crypto/
H A Dparams.c198 static int general_get_int(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_int() argument
205 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int()
207 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int()
213 static int general_set_int(OSSL_PARAM *p, void *val, size_t val_size) in general_set_int() argument
222 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
224 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
232 static int general_get_uint(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_uint() argument
240 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint()
242 return unsigned_from_unsigned(val, val_size, p->data, p->data_size); in general_get_uint()
248 static int general_set_uint(OSSL_PARAM *p, void *val, size_t val_size) in general_set_uint() argument
[all …]
/freebsd/contrib/ofed/libibmad/
H A Ddump.c47 void mad_dump_int(char *buf, int bufsz, void *val, int valsz) in mad_dump_int() argument
51 snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xff); in mad_dump_int()
54 snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xffff); in mad_dump_int()
58 snprintf(buf, bufsz, "%d", *(uint32_t *) val); in mad_dump_int()
64 snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); in mad_dump_int()
72 void mad_dump_uint(char *buf, int bufsz, void *val, int valsz) in mad_dump_uint() argument
76 snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xff); in mad_dump_uint()
79 snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xffff); in mad_dump_uint()
83 snprintf(buf, bufsz, "%u", *(uint32_t *) val); in mad_dump_uint()
89 snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); in mad_dump_uint()
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Dvga.c399 vga_mem_wr_handler(uint64_t addr, uint8_t val, void *arg1) in vga_mem_wr_handler() argument
452 val = (val >> sc->vga_gc.gc_rotate) | in vga_mem_wr_handler()
453 (val << (8 - sc->vga_gc.gc_rotate)); in vga_mem_wr_handler()
462 c0 = (enb_set_reset & 1) ? (c0 & ~mask) : (val & mask); in vga_mem_wr_handler()
463 c1 = (enb_set_reset & 2) ? (c1 & ~mask) : (val & mask); in vga_mem_wr_handler()
464 c2 = (enb_set_reset & 4) ? (c2 & ~mask) : (val & mask); in vga_mem_wr_handler()
465 c3 = (enb_set_reset & 8) ? (c3 & ~mask) : (val & mask); in vga_mem_wr_handler()
478 c0 = enb_set_reset & 1 ? c0 & m0 : val & m0; in vga_mem_wr_handler()
479 c1 = enb_set_reset & 2 ? c1 & m1 : val & m1; in vga_mem_wr_handler()
480 c2 = enb_set_reset & 4 ? c2 & m2 : val & m2; in vga_mem_wr_handler()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAVR.cpp53 uint64_t val) const override;
101 static void writeLDI(uint8_t *loc, uint64_t val) { in writeLDI() argument
102 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI()
118 void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
121 checkUInt(ctx, loc, val, 8, rel); in relocate()
122 *loc = val; in relocate()
125 checkUInt(ctx, loc, val, 32, rel); in relocate()
126 *loc = val & 0xff; in relocate()
129 checkUInt(ctx, loc, val, 32, rel); in relocate()
130 *loc = (val >> 8) & 0xff; in relocate()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.neglquant.d36 val = 123;
41 @["k-ingleside"] = lquantize(1, 0, 10, 1, -val);
46 @["l-taraval"] = lquantize(0, 0, 10, 1, -val);
47 @["l-taraval"] = lquantize(-1, 0, 10, 1, -val);
48 @["l-taraval"] = lquantize(1, 0, 10, 1, val);
49 @["l-taraval"] = lquantize(1, 0, 10, 1, val);
62 @["n-judah"] = lquantize(1, 0, 10, 1, val);
63 @["n-judah"] = lquantize(2, 0, 10, 1, val);
64 @["n-judah"] = lquantize(2, 0, 10, 1, val);
71 this->val = (1 << 63) - 1;
[all …]
/freebsd/sys/arm/nvidia/
H A Dtegra_usbphy.c309 #define WR4(sc, offs, val) \ argument
310 bus_write_4(sc->mem_res, offs, val)
313 reg_wait(struct usbphy_softc *sc, uint32_t reg, uint32_t mask, uint32_t val) in reg_wait() argument
318 if ((RD4(sc, reg) & mask) == val) in reg_wait()
328 uint32_t val; in usbphy_utmi_phy_clk() local
331 val = RD4(sc, CTRL_USB_HOSTPC1_DEVLC); in usbphy_utmi_phy_clk()
333 val &= ~USB_HOSTPC1_DEVLC_PHCD; in usbphy_utmi_phy_clk()
335 val |= USB_HOSTPC1_DEVLC_PHCD; in usbphy_utmi_phy_clk()
336 WR4(sc, CTRL_USB_HOSTPC1_DEVLC, val); in usbphy_utmi_phy_clk()
351 uint32_t val; in usbphy_utmi_enable() local
[all …]
/freebsd/sys/netgraph/
H A Dng_patch.c240 conf->ops[i].val.v8 = conf->ops[i].val.v1; in ng_patch_rcvmsg()
243 conf->ops[i].val.v8 = conf->ops[i].val.v2; in ng_patch_rcvmsg()
246 conf->ops[i].val.v8 = conf->ops[i].val.v4; in ng_patch_rcvmsg()
266 conf->ops[i].val.v1 = (uint8_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
269 conf->ops[i].val.v2 = (uint16_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
272 conf->ops[i].val.v4 = (uint32_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
354 union ng_patch_op_val val; in do_patch() local
364 m_copydata(m, offset, privp->conf->ops[i].length, (caddr_t) &val); in do_patch()
372 val.v1 = privp->conf->ops[i].val.v1; in do_patch()
375 val.v1 += privp->conf->ops[i].val.v1; in do_patch()
[all …]
/freebsd/sys/contrib/ena-com/ena_defs/
H A Dena_eth_io_defs.h436 static inline void set_ena_eth_io_tx_desc_length(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_length() argument
438 p->len_ctrl |= val & ENA_ETH_IO_TX_DESC_LENGTH_MASK; in set_ena_eth_io_tx_desc_length()
446 static inline void set_ena_eth_io_tx_desc_req_id_hi(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_req_id_hi() argument
448 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK; in set_ena_eth_io_tx_desc_req_id_hi()
456 static inline void set_ena_eth_io_tx_desc_meta_desc(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_meta_desc() argument
458 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_META_DESC_SHIFT) & ENA_ETH_IO_TX_DESC_META_DESC_MASK; in set_ena_eth_io_tx_desc_meta_desc()
466 static inline void set_ena_eth_io_tx_desc_phase(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_phase() argument
468 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_PHASE_SHIFT) & ENA_ETH_IO_TX_DESC_PHASE_MASK; in set_ena_eth_io_tx_desc_phase()
476 static inline void set_ena_eth_io_tx_desc_first(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_first() argument
478 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_FIRST_SHIFT) & ENA_ETH_IO_TX_DESC_FIRST_MASK; in set_ena_eth_io_tx_desc_first()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-pinctrl.h72 #define AM62AX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
73 #define AM62AX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
75 #define AM62DX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
76 #define AM62DX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
78 #define AM62PX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
79 #define AM62PX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
81 #define AM62X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
82 #define AM62X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
84 #define AM64X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
85 #define AM64X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
[all …]

12345678910>>...149