Home
last modified time | relevance | path

Searched refs:val (Results 251 – 275 of 2348) sorted by relevance

1...<<11121314151617181920>>...94

/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100_hw.c98 (uint16_t *)((uintptr_t)sc->sc_regs + off), val); in ipw2100_csr_put16()
105 (uint32_t *)((uintptr_t)sc->sc_regs + off), val); in ipw2100_csr_put32()
152 ipw2100_csr_put8(sc, IPW2100_CSR_INDIRECT_DATA, val); in ipw2100_imem_put8()
159 ipw2100_csr_put16(sc, IPW2100_CSR_INDIRECT_DATA, val); in ipw2100_imem_put16()
166 ipw2100_csr_put32(sc, IPW2100_CSR_INDIRECT_DATA, val); in ipw2100_imem_put32()
202 ipw2100_imem_put32(sc, IPW2100_IMEM_EEPROM_CTL, val); in ipw2100_rom_control()
225 ipw2100_imem_put32(sc, addr, val); in ipw2100_table1_put32()
261 uint16_t val; in ipw2100_rom_get16() local
298 val = 0; in ipw2100_rom_get16()
303 val |= ((tmp & IPW2100_EEPROM_Q) in ipw2100_rom_get16()
[all …]
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c863 unsigned val; in code2dictval() local
865 for (val = 0; Alphabet[val]; val++) in code2dictval()
1167 bv->v[i] |= val & mask; in bitv_setlo()
1169 val >>= iterbits; in bitv_setlo()
1186 bitv_setlo(bv, bits, val); in bitv_shiftin()
1313 if (i < sizeof (val)) in bitv_add()
1346 if (i < sizeof (val)) in bitv_sub()
1379 if (i < sizeof (val)) in bitv_ge()
1397 unsigned long long val; in bitv_strparse() local
1423 val = *s - '0'; in bitv_strparse()
[all …]
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafeimpl.h201 #define PUTTXDESC(afep, member, val) \ argument
202 ddi_put32(afep->afe_txdesc_acch, &member, val)
204 #define PUTRXDESC(afep, member, val) \ argument
205 ddi_put32(afep->afe_rxdesc_acch, &member, val)
295 #define PUTCSR(afep, reg, val) \ argument
296 ddi_put32(afep->afe_regshandle, (uint32_t *)(afep->afe_regs + reg), val)
298 #define PUTCSR16(afep, reg, val) \ argument
299 ddi_put16(afep->afe_regshandle, (uint16_t *)(afep->afe_regs + reg), val)
301 #define SETBIT(afep, reg, val) PUTCSR(afep, reg, GETCSR(afep, reg) | (val)) argument
303 #define CLRBIT(afep, reg, val) PUTCSR(afep, reg, GETCSR(afep, reg) & ~(val)) argument
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwcstol.c61 _WLONG_T val; in wcstoll() local
114 val = -DIGIT(c); in wcstoll()
117 if (val < multmin) in wcstoll()
119 val *= base; in wcstoll()
120 if (val < limit + xx) in wcstoll()
122 val -= xx; in wcstoll()
126 return (neg ? val : -val); in wcstoll()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.h94 #define E1000G_DEBUG_STAT_COND(val, cond) if (cond) (val)++; argument
95 #define E1000G_DEBUG_STAT(val) (val)++; argument
106 #define E1000G_DEBUG_STAT_COND(val, cond)
107 #define E1000G_DEBUG_STAT(val)
114 #define E1000G_STAT(val) (val)++; argument
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c180 uint64_t val; member
286 uint8_t val; in solo_getmixer() local
293 return (val); in solo_getmixer()
476 pc->val = val; in solo_set_mixsrc()
488 val &= 0xff; in solo_set_mono()
492 val = (val & 0xff) | ((val & 0xff) << 8); in solo_set_mono()
495 pc->val = val; in solo_set_mono()
516 pc->val = val; in solo_set_stereo()
529 pc->val = val; in solo_set_bool()
542 *val = pc->val; in solo_get_value()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c1647 if (val > maxval) { in tavor_soft_state_init()
1658 if (val > maxval) { in tavor_soft_state_init()
1667 val = maxval; in tavor_soft_state_init()
1686 if (val > maxval) { in tavor_soft_state_init()
1706 if (val > maxval) { in tavor_soft_state_init()
1716 if (val > maxval) { in tavor_soft_state_init()
1746 if (val > maxval) { in tavor_soft_state_init()
1784 if (val > maxval) { in tavor_soft_state_init()
1795 if ((val > maxval) || (val == 0)) { in tavor_soft_state_init()
1822 if (val > maxval) { in tavor_soft_state_init()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dinterp_backslash.c106 char val; in backslash() local
113 val = (DIGIT(*str) << 6) + in backslash()
121 new_str[i++] = val; in backslash()
135 val = DIGIT(*(str + 2)); in backslash()
137 val = (val << 4) + in backslash()
143 new_str[i++] = val; in backslash()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.h55 (asn1buf *buf, asn1_intmax val, unsigned int *retlen);
66 (asn1buf *buf, long val, unsigned int *retlen);
69 (asn1buf *buf, asn1_uintmax val,
80 unsigned int len, const void *val,
92 unsigned int len, const asn1_octet *val,
112 unsigned int len, const char *val,
123 unsigned int len, const char *val,
133 (asn1buf *buf, time_t val, unsigned int *retlen);
144 unsigned int len, const void *val,
154 const void *val,
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dprintf.c159 long long val; in _print() local
351 val = va_arg(*args, long); in _print()
353 val = va_arg(*args, int); in _print()
355 val = va_arg(*args, unsigned); in _print()
360 if (val < 0) { in _print()
367 if (val != HIBITLL) { in _print()
368 val = -val; in _print()
393 while (val) { in _print()
394 lowbit = val & 1; in _print()
395 val = (val >> 1) & ~HIBITLL; in _print()
[all …]
/illumos-gate/usr/src/uts/sun4v/ontario/os/
H A Dontario.c110 uint8_t val; in plat_ide_chipreset() local
117 val = pci_config_get8(isa_handle, 0x58); in plat_ide_chipreset()
132 pci_config_put8(isa_handle, 0x58, val & 0xFB); in plat_ide_chipreset()
134 pci_config_put8(isa_handle, 0x58, val); in plat_ide_chipreset()
141 pci_config_put8(isa_handle, 0x58, val & 0xF7); in plat_ide_chipreset()
143 pci_config_put8(isa_handle, 0x58, val); in plat_ide_chipreset()
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c385 unsigned val; local
388 val = 0;
392 val ^= (*str++ << 6);
394 val ^= *str++;
398 return (val % size);
411 int val; local
422 s->next = printed[val];
423 printed[val] = s;
437 int val; local
449 groups[val] = g;
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dglobals.c59 map_msg2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val, in map_msg2str() argument
63 if ((val < num_msg) && (msg[val] != 0)) in map_msg2str()
64 return (MSG_ORIG_STRTAB(msg[val], local_sgs_msg)); in map_msg2str()
67 return (conv_invalid_val(inv_buf, val, flags)); in map_msg2str()
98 map_vd2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val, in map_vd2str() argument
102 if (val == vdp->v_val) in map_vd2str()
107 return (conv_invalid_val(inv_buf, val, flags)); in map_vd2str()
113 Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc2 *vdp, in map_vd22str() argument
120 if (val == vdp->v_val) in map_vd22str()
125 return (conv_invalid_val(inv_buf, val, flags)); in map_vd22str()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform-store_32.h45 store_32_be (unsigned int val, unsigned char *p) in store_32_be() argument
47 p[0] = (val >> 24) & 0xff; in store_32_be()
48 p[1] = (val >> 16) & 0xff; in store_32_be()
49 p[2] = (val >> 8) & 0xff; in store_32_be()
50 p[3] = (val ) & 0xff; in store_32_be()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c915 const pool_value_t *val) in pool_put_property() argument
983 pool_value_t *val; in pool_set_temporary() local
1007 pool_value_free(val); in pool_set_temporary()
1022 const pool_value_t *val) in pool_put_ns_property() argument
1051 const pool_value_t *val) in pool_put_any_property() argument
1258 props[0] = &val; in pool_resource_create()
1824 props[0] = &val; in pool_get_pool()
2402 &val); in pool_resource_transfer()
2405 &val); in pool_resource_transfer()
2470 &val); in pool_resource_xtransfer()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dgrbeep.h103 #define GRBEEP_WRITE_FREQ_CONTROL_REG(val) \ argument
106 ((int8_t)(val)))
108 #define GRBEEP_WRITE_FREQ_DIVISOR_REG(val) \ argument
111 ((int8_t)(val)))
113 #define GRBEEP_WRITE_START_STOP_REG(val) \ argument
116 ((int8_t)(val)))
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dpayload_vlapic_mmio_access.c56 uint32_t val; in start() local
65 val = read_vlapic(reg); in start()
66 write_vlapic(reg, val); in start()
76 uint8_t val; in start() local
78 val = *ptr; in start()
80 *ptr = val; in start()
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c114 char *val; member
156 if (val) in new_bent()
157 bent->val = strdup(val); in new_bent()
203 (void) printf("%s=%s\n", name, p->val ? p->val : ""); in print_var()
216 (void) printf("%s=%s\n", p->name, p->val ? p->val : ""); in print_vars()
230 while (*val) { in put_quoted()
231 switch (*val) { in put_quoted()
240 val++; in put_quoted()
262 free(p->val); in set_var()
263 p->val = strdup(val); in set_var()
[all …]
/illumos-gate/usr/src/cmd/troff/
H A Dn7.c232 numtab[LN].val++; in donum()
246 numtab[LN].val++; in donum()
260 numtab[HP].val = 0; in text()
282 numtab[HP].val += sps; in text()
374 numtab[HP].val += j; in nofill()
489 numtab[NL].val += nlss;
511 opn = numtab[PN].val;
512 numtab[PN].val++;
514 numtab[PN].val = npn;
627 i = numtab[NL].val; in findt1()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dps2mouse.c138 fifo->buf[fifo->windex] = val; in fifo_put()
151 *val = fifo->buf[fifo->rindex]; in fifo_get()
250 retval = fifo_get(sc, val); in ps2mouse_read()
285 sc->sampling_rate = val; in ps2mouse_write()
289 sc->resolution = val; in ps2mouse_write()
294 "command byte 0x%02x", val); in ps2mouse_write()
300 fifo_put(sc, val); in ps2mouse_write()
302 switch (val) { in ps2mouse_write()
327 sc->curcmd = val; in ps2mouse_write()
353 sc->curcmd = val; in ps2mouse_write()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_pton.c158 u_int val; in inet_cidr_pton_ipv6() local
170 val = 0; in inet_cidr_pton_ipv6()
178 val <<= 4; in inet_cidr_pton_ipv6()
179 val |= (pch - xdigits); in inet_cidr_pton_ipv6()
180 if (val > 0xffff) in inet_cidr_pton_ipv6()
197 *tp++ = (u_char) (val >> 8) & 0xff; in inet_cidr_pton_ipv6()
198 *tp++ = (u_char) val & 0xff; in inet_cidr_pton_ipv6()
200 val = 0; in inet_cidr_pton_ipv6()
220 *tp++ = (u_char) (val >> 8) & 0xff; in inet_cidr_pton_ipv6()
221 *tp++ = (u_char) val & 0xff; in inet_cidr_pton_ipv6()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsmfcfg.c42 uint32_t val; member
63 v = nfs_versions[i].val; in nfs_convert_version_str()
158 scf_value_t *val; in fs_smf_set_prop() local
188 val = phandle->fs_value; in fs_smf_set_prop()
235 if (scf_value_set_astring(val, in fs_smf_set_prop()
238 val) != 0) { in fs_smf_set_prop()
290 scf_value_t *val; in fs_smf_get_prop() local
320 val = phandle->fs_value; in fs_smf_get_prop()
414 int bufsz, rc, val; in nfs_smf_get_iprop() local
422 val = strtol(propbuf, NULL, 10); in nfs_smf_get_iprop()
[all …]
/illumos-gate/usr/src/uts/sun4u/grover/os/
H A Dgrover.c105 uint8_t val; in plat_ide_chipreset() local
108 val = pci_config_get8(grover_isa_handle, 0x58); in plat_ide_chipreset()
123 pci_config_put8(grover_isa_handle, 0x58, val & 0xFB); in plat_ide_chipreset()
125 pci_config_put8(grover_isa_handle, 0x58, val); in plat_ide_chipreset()
132 pci_config_put8(grover_isa_handle, 0x58, val & 0xF7); in plat_ide_chipreset()
134 pci_config_put8(grover_isa_handle, 0x58, val); in plat_ide_chipreset()
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dldif.h78 void ldif_put_type_and_value( char **out, char *t, char *val, int vlen );
79 void ldif_put_type_and_value_nowrap( char **out, char *t, char *val, int vlen );
80 void ldif_put_type_and_value_with_options( char **out, char *t, char *val,
82 char *ldif_type_and_value( char *type, char *val, int vlen );
83 char *ldif_type_and_value_nowrap( char *type, char *val, int vlen );
84 char *ldif_type_and_value_with_options( char *type, char *val, int vlen,
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_defn.c209 longlong_t val; in inj_defn_memcmp_signed() local
220 (int8_t)val); in inj_defn_memcmp_signed()
224 (int16_t)val); in inj_defn_memcmp_signed()
228 (int32_t)val); in inj_defn_memcmp_signed()
232 (int64_t)val); in inj_defn_memcmp_signed()
245 u_longlong_t val; in inj_defn_memcmp_unsigned() local
341 longlong_t val; in inj_defn_memcmp_intr_array() local
344 &val) < 0) { in inj_defn_memcmp_intr_array()
370 &val) < 0) { in inj_defn_memcmp_intr_array()
421 boolean_t val; in inj_defn_memcmp_bool() local
[all …]

1...<<11121314151617181920>>...94