Searched refs:val (Results 751 - 775 of 3650) sorted by relevance

<<31323334353637383940>>

/freebsd-11-stable/sys/sys/
H A Dsysctl.h356 /* Oid for a bool. If ptr is NULL, val is returned. */
358 #define SYSCTL_BOOL(parent, nbr, name, access, ptr, val, descr) \
361 ptr, val, sysctl_handle_bool, "CU", descr); \
365 #define SYSCTL_ADD_BOOL(ctx, parent, nbr, name, access, ptr, val, descr) \
371 __ptr, val, sysctl_handle_bool, "CU", __DESCR(descr)); \
374 /* Oid for a signed 8-bit int. If ptr is NULL, val is returned. */
376 #define SYSCTL_S8(parent, nbr, name, access, ptr, val, descr) \
379 ptr, val, sysctl_handle_8, "C", descr); \
384 #define SYSCTL_ADD_S8(ctx, parent, nbr, name, access, ptr, val, descr) \
391 __ptr, val, sysctl_handle_
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dppc-sysv-tdep.c101 char *val = VALUE_CONTENTS (arg); local
118 convert_typed_floating (val, type, regval, regtype);
144 convert_typed_floating (val, type, memval, memtype);
145 write_memory (sp + argoffset, val, len);
164 write_memory (sp + argoffset, val, len);
171 tdep->ppc_gp0_regnum + greg, val);
183 val + 0);
186 val + 4);
201 tdep->ppc_vr0_regnum + vreg, val);
208 write_memory (sp + argoffset, val, 1
634 char *val = VALUE_CONTENTS (arg); local
[all...]
/freebsd-11-stable/sys/dev/sound/isa/
H A Dsb8.c91 static void sb_wr(struct sb_info *sb, int reg, u_int8_t val);
93 static int sb_cmd(struct sb_info *sb, u_char val);
94 static int sb_cmd1(struct sb_info *sb, u_char cmd, int val);
95 static int sb_cmd2(struct sb_info *sb, u_char cmd, int val);
146 sb_wr(struct sb_info *sb, int reg, u_int8_t val) argument
148 port_wr(sb->io_base, reg, val);
158 sb_dspwr(struct sb_info *sb, u_char val) argument
164 sb_wr(sb, SBDSP_CMD, val);
169 printf("sb_dspwr(0x%02x) timed out.\n", val);
174 sb_cmd(struct sb_info *sb, u_char val) argument
183 sb_cmd1(struct sb_info *sb, u_char cmd, int val) argument
194 sb_cmd2(struct sb_info *sb, u_char cmd, int val) argument
223 int val; local
334 u_char val; local
[all...]
/freebsd-11-stable/sbin/iscontrol/
H A Dfsm.c78 int val, sv_errno, soc; local
130 if((val = getaddrinfo(op->targetAddress, pbuf, &hints, &res0)) != 0) {
131 fprintf(stderr, "getaddrinfo(%s): %s\n", op->targetAddress, gai_strerror(val));
144 val = 1;
145 if(setsockopt(soc, SOL_SOCKET, SO_REUSEADDR, &val, (socklen_t)sizeof(val)) < 0) {
163 val = 1;
164 if(setsockopt(sess->soc, IPPROTO_TCP, TCP_KEEPALIVE, &val, sizeof(val)) < 0)
168 if(setsockopt(sess->soc, IPPROTO_TCP, TCP_NODELAY, &val, sizeo
401 int sig, val; local
597 int val = 0; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h125 value_type val[2];
126 memcpy(&val[0],
130 val[0] = byte_swap<value_type, endian>(val[0]);
131 val[1] = byte_swap<value_type, endian>(val[1]);
134 make_unsigned_t<value_type> lowerVal = val[0] >> startBit;
142 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1);
160 value_type val[2];
161 memcpy(&val[
[all...]
/freebsd-11-stable/sys/sparc64/pci/
H A Dsbbc.c167 #define SBBC_WRITE_N(wdth, offs, val) \
168 bus_space_write_ ## wdth((bst), (bsh), (offs), (val))
178 #define SBBC_WRITE_1(offs, val) \
179 SBBC_WRITE_N(1, (offs), (val))
180 #define SBBC_WRITE_2(offs, val) \
181 SBBC_WRITE_N(2, (offs), bswap16(val))
182 #define SBBC_WRITE_4(offs, val) \
183 SBBC_WRITE_N(4, (offs), bswap32(val))
184 #define SBBC_WRITE_8(offs, val) \
185 SBBC_WRITE_N(8, (offs), bswap64(val))
326 uint32_t val; local
[all...]
/freebsd-11-stable/lib/libsysdecode/
H A Dflags.c79 uintmax_t val; member in struct:name_table
113 lookup_value(struct name_table *table, uintmax_t val) argument
117 if (table->val == val)
136 if ((table->val & rem) == table->val) {
141 if (table->val == 0 && *valp != 0)
145 rem &= ~table->val;
162 uintmax_t val; local
166 val
177 print_mask_0(FILE *fp, struct name_table *table, int val, int *rem) argument
195 uintmax_t val; local
214 print_integer(FILE *fp, int val, int base) argument
234 print_value(FILE *fp, struct name_table *table, uintmax_t val) argument
364 uintmax_t val; local
422 uintmax_t val; local
1034 uintmax_t val; local
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2860.c193 uint32_t val; member in struct:__anon5207
200 uint8_t val; member in struct:__anon5208
222 uint8_t val; member in struct:__anon5210
1007 uint16_t val; local
1039 val = 0;
1043 val |= ((tmp & RT2860_Q) >> RT2860_SHIFT_Q) << n;
1054 return val;
2031 rt2860_mcu_bbp_write(struct rt2860_softc *sc, uint8_t reg, uint8_t val) argument
2047 RT2860_BBP_CSR_KICK | reg << 8 | val);
2057 uint32_t val; local
2093 rt2860_rf_write(struct rt2860_softc *sc, uint8_t reg, uint32_t val) argument
2146 rt3090_rf_write(struct rt2860_softc *sc, uint8_t reg, uint8_t val) argument
2916 rt3090_filter_calib(struct rt2860_softc *sc, uint8_t init, uint8_t target, uint8_t *val) argument
3217 uint32_t val = arc4random(); local
3355 uint16_t val; local
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v14.c26 v14EepromGet(struct ath_hal *ah, int param, void *val) argument
40 *(int16_t *)val = pModal[0].noiseFloorThreshCh[0];
43 *(int16_t *)val = pModal[1].noiseFloorThreshCh[0];
47 macaddr = val;
92 HALASSERT(val == AH_NULL);
96 *(uint8_t *) val = pBase->dacHiPwrMode_5G;
102 *(uint8_t *) val = pBase->frac_n_5g;
104 *(uint8_t *) val = 0;
107 HALASSERT(val == AH_NULL);
112 HALASSERT(val
[all...]
/freebsd-11-stable/sys/dev/bce/
H A Dif_bce.c1069 u32 val; local
1222 val = REG_RD_IND(sc, BCE_SHM_HDR_SIGNATURE);
1223 if ((val & BCE_SHM_HDR_SIGNATURE_SIG_MASK) == BCE_SHM_HDR_SIGNATURE_SIG)
1234 val = bce_shmem_rd(sc, BCE_DEV_INFO_BC_REV);
1238 num = (u8) (val >> (24 - (i * 8)));
1251 val = bce_shmem_rd(sc, BCE_PORT_FEATURE);
1252 if (val & BCE_PORT_FEATURE_ASF_ENABLED) {
1257 val = bce_shmem_rd(sc, BCE_BC_STATE_CONDITION);
1258 if (val & BCE_CONDITION_MFW_RUN_MASK)
1264 val
1645 u32 val = REG_RD(sc, offset); local
1659 bce_reg_wr16(struct bce_softc *sc, u32 offset, u16 val) argument
1674 bce_reg_wr(struct bce_softc *sc, u32 offset, u32 val) argument
1701 u32 val; local
1724 bce_reg_wr_ind(struct bce_softc *sc, u32 offset, u32 val) argument
1746 bce_shmem_wr(struct bce_softc *sc, u32 offset, u32 val) argument
1766 u32 val = bce_reg_rd_ind(sc, sc->bce_shmem_base + offset); local
1788 u32 idx, offset, retry_cnt = 5, val; local
1839 u32 val, retry_cnt = 5; local
1884 u32 val; local
1962 bce_miibus_write_reg(device_t dev, int phy, int reg, int val) argument
2040 int media_active, media_status, val; local
2151 u32 val; local
2189 u32 val; local
2229 u32 val; local
2274 u32 val; local
2299 u32 val; local
2323 u32 val; local
2373 u32 val; local
2432 u32 val; local
2470 bce_nvram_write_dword(struct bce_softc *sc, u32 offset, u8 *val, u32 cmd_flags) argument
2530 u32 val; local
3094 u32 val; local
3102 u32 val = REG_RD(sc, BCE_MISC_DUAL_MEDIA_CTRL); local
3959 u32 val; local
4021 u32 val; local
4147 u32 val; local
4170 u32 val; local
4758 u32 offset, val, vcid_addr; local
4903 u32 val; local
4973 u32 emac_mode_save, val; local
5096 u32 val; local
5203 u32 reg, val; local
5592 u32 val; local
5744 u32 val; local
5976 u32 val; local
8918 u32 val[1]; local
8946 u32 val, result; local
8979 u16 val; local
9689 u32 val; local
9706 u32 val; local
10287 u32 cmd, ctl, cur_depth, max_depth, valid_cnt, val; local
10984 u32 val; local
11165 u32 val; local
11206 u32 val; local
11265 u32 val; local
11325 u32 val; local
11385 u32 val; local
11445 u32 val; local
11503 u32 val, pc1, pc2, fw_ver_high, fw_ver_low; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dcert.c74 hx509_cert_attribute *val; member in struct:_hx509_cert_attrs
89 NameConstraints *val; member in struct:hx509_name_constraints
94 (g)->len = (var)->len, (g)->val = (var)->val;
230 (*cert)->attrs.val = NULL;
350 der_free_octet_string(&cert->attrs.val[i]->data);
351 der_free_oid(&cert->attrs.val[i]->oid);
352 free(cert->attrs.val[i]);
354 free(cert->attrs.val);
595 if (der_heim_oid_cmp(&c->extensions->val[*id
1191 hx509_cert *val; local
1678 NameConstraints *val; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/trace/
H A Dlib_tracebits.c75 unsigned int val; member in struct:__anon4665
82 lookup_bits(char *buf, const BITNAMES * table, const char *label, unsigned int val) argument
89 if (sp->val != 0
90 && (val & sp->val) == sp->val) {
/freebsd-11-stable/contrib/netbsd-tests/include/machine/
H A Dt_bswap.c53 unconst16(uint16_t val) argument
55 return val + x16;
59 unconst32(uint32_t val) argument
61 return val + x32;
65 unconst64(uint64_t val) argument
67 return val + x64;
/freebsd-11-stable/contrib/diff/src/
H A Ddir.c206 int volatile val = EXIT_SUCCESS;
222 val = EXIT_TROUBLE;
225 if (val == EXIT_SUCCESS)
263 if (val < v1)
264 val = v1;
276 return val;
205 int volatile val = EXIT_SUCCESS; local
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_timer.c126 struct itimerspec val, oval, *ovalp; local
132 ITS_CP(l_val, val);
134 error = kern_ktimer_settime(td, uap->timerid, uap->flags, &val, ovalp);
146 struct itimerspec val; local
149 error = kern_ktimer_gettime(td, uap->timerid, &val);
151 ITS_CP(val, l_val);
/freebsd-11-stable/sys/dev/drm2/
H A Dati_pcigart.c176 u32 val; local
180 val = page_base | 0xc;
183 val = (page_base >> 8) | 0xc;
187 val = page_base;
192 pci_gart[gart_idx] = cpu_to_le32(val);
194 DRM_WRITE32(map, gart_idx * sizeof(u32), val);
/freebsd-11-stable/sys/arm/mv/armada38x/
H A Drtc.c83 uint32_t val);
164 uint32_t val, val_check; local
173 val = mv_rtc_reg_read(sc, RTC_TIME);
175 if (val_check - val > 1)
228 mv_rtc_reg_write(struct mv_rtc_softc *sc, bus_size_t off, uint32_t val) argument
231 bus_write_4(sc->res, off, val);
/freebsd-11-stable/sys/arm/mv/
H A Dmvvar.h82 void mv_gpio_out(uint32_t pin, uint8_t val, uint8_t enable);
113 void write_cpu_mp_clocks(uint32_t reg, uint32_t val);
115 void write_cpu_misc(uint32_t reg, uint32_t val);
129 void mv_drbl_set_mask(uint32_t val, int dir, int unit);
131 void mv_drbl_set_cause(uint32_t val, int dir, int unit);
133 void mv_drbl_set_msg(uint32_t val, int mnr, int dir, int unit);
/freebsd-11-stable/lib/libutil/
H A Dlogin_times.c50 u_short val; local
52 for (val = 0; *ptr && isdigit(*ptr); ptr++)
53 val = (u_short)(val * 10 + (*ptr - '0'));
55 *t = (u_short)((val / 100) * 60 + (val % 100));
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_reg.h234 #define WRITE_REG32(ha, reg, val) \
236 bus_write_4((ha->pci_reg), reg, val);\
240 #define WRITE_REG32_MB(ha, reg, val) \
243 bus_write_4((ha->pci_reg), reg, val);\
246 #define WRITE_OFFSET32(ha, off, val)\
248 bus_write_4((ha->pci_reg), off, val);\
/freebsd-11-stable/sys/dev/ida/
H A Didavar.h43 #define ida_outb(ida, port, val) \
44 bus_write_1((ida)->regs, port, val)
45 #define ida_outw(ida, port, val) \
46 bus_write_2((ida)->regs, port, val)
47 #define ida_outl(ida, port, val) \
48 bus_write_4((ida)->regs, port, val)
/freebsd-11-stable/sys/dev/fxp/
H A Dif_fxpvar.h247 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->fxp_res[0], reg, val)
248 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->fxp_res[0], reg, val)
249 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->fxp_res[0], reg, val)
/freebsd-11-stable/sys/dev/gem/
H A Dif_gem_sbus.c125 uint32_t val; local
144 val = GEM_SBUS_CFG_PARITY;
146 val |= GEM_SBUS_CFG_64BIT;
150 val |= GEM_SBUS_CFG_BURST_64;
152 val |= GEM_SBUS_CFG_BURST_32;
160 GEM_BANK2_WRITE_4(sc, GEM_SBUS_CONFIG, val);
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge-osdep.h412 #define vxge_os_pci_read8(pdev, cfgh, where, val) \
413 (*(val) = pci_read_config(pdev->ndev, where, 1))
415 #define vxge_os_pci_write8(pdev, cfgh, where, val) \
416 pci_write_config(pdev->ndev, where, val, 1)
418 #define vxge_os_pci_read16(pdev, cfgh, where, val) \
419 (*(val) = pci_read_config(pdev->ndev, where, 2))
421 #define vxge_os_pci_write16(pdev, cfgh, where, val) \
422 pci_write_config(pdev->ndev, where, val, 2)
424 #define vxge_os_pci_read32(pdev, cfgh, where, val) \
425 (*(val)
472 u64 val, val_l, val_u; local
490 vxge_os_pio_mem_write8(pci_dev_h pdev, pci_reg_h regh, u8 val, void *addr) argument
501 vxge_os_pio_mem_write16(pci_dev_h pdev, pci_reg_h regh, u16 val, void *addr) argument
512 vxge_os_pio_mem_write32(pci_dev_h pdev, pci_reg_h regh, u32 val, void *addr) argument
523 vxge_os_pio_mem_write64(pci_dev_h pdev, pci_reg_h regh, u64 val, void *addr) argument
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dextract.h92 uint16_t val; member in struct:__anon611
96 uint32_t val; member in struct:__anon612
102 return ((uint16_t)ntohs(((const unaligned_uint16_t *)(p))->val));
108 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val));
114 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | \
115 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0));

Completed in 420 milliseconds

<<31323334353637383940>>