/freebsd-11-stable/sys/dev/coretemp/ |
H A D | coretemp.c | 353 int val, tmp; local 364 val = -1; 370 val = (sc->sc_tjmax - tmp) * 10 + TZ_ZEROC; 373 val = (msr >> THERM_STATUS_TEMP_SHIFT) & 377 val = (msr >> THERM_STATUS_RES_SHIFT) & 381 val = sc->sc_tjmax * 10 + TZ_ZEROC; 413 return (sysctl_handle_int(oidp, &val, 0, req)); 421 int error, val; local 433 val = sc->sc_throttle_log; 435 error = sysctl_handle_int(oidp, &val, [all...] |
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | dvo_sil164.c | 249 uint8_t val; local 251 sil164_readb(dvo, SIL164_FREQ_LO, &val); 252 DRM_LOG_KMS("SIL164_FREQ_LO: 0x%02x\n", val); 253 sil164_readb(dvo, SIL164_FREQ_HI, &val); 254 DRM_LOG_KMS("SIL164_FREQ_HI: 0x%02x\n", val); 255 sil164_readb(dvo, SIL164_REG8, &val); 256 DRM_LOG_KMS("SIL164_REG8: 0x%02x\n", val); 257 sil164_readb(dvo, SIL164_REG9, &val); 258 DRM_LOG_KMS("SIL164_REG9: 0x%02x\n", val); 259 sil164_readb(dvo, SIL164_REGC, &val); [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | cheetah.c | 63 u_long val; local 97 val = (TS_4M << TLB_PCXR_N_PGSZ0_SHIFT) | 102 val |= (TS_8K << TLB_PCXR_N_PGSZ_I_SHIFT) | 104 stxa(AA_DMMU_PCXR, ASI_DMMU, val); 105 val = (TS_4M << TLB_SCXR_S_PGSZ0_SHIFT) | 107 stxa(AA_DMMU_SCXR, ASI_DMMU, val); 116 val = rd(asr18) & ~DCR_IFPOE; 122 val = (val & ~DCR_BPM_MASK) | DCR_BPM_PC; 130 val [all...] |
/freebsd-11-stable/sys/mips/nlm/hal/ |
H A D | pic.h | 224 uint64_t val; local 226 val = nlm_read_pic_reg(base, PIC_CTRL); 227 nlm_write_pic_reg(base, PIC_CTRL, control | val); 243 uint64_t val; local 245 val = nlm_read_pic_reg(base, PIC_IRT(irt)); 246 val |= cpu & 0xf; 248 val |= 1 << 16; 249 nlm_write_pic_reg(base, PIC_IRT(irt), val); 256 uint64_t val; local 258 val [all...] |
/freebsd-11-stable/sys/dev/mii/ |
H A D | ciphy.c | 300 uint16_t val; local 308 val = PHY_READ(sc, CIPHY_MII_ECTL1); 309 val &= ~(CIPHY_ECTL1_IOVOL | CIPHY_ECTL1_INTSEL); 310 val |= (CIPHY_IOVOL_2500MV | CIPHY_INTSEL_RGMII); 311 PHY_WRITE(sc, CIPHY_MII_ECTL1, val); 313 val = PHY_READ(sc, CIPHY_MII_AUXCSR); 314 val |= CIPHY_AUXCSR_MDPPS; 315 PHY_WRITE(sc, CIPHY_MII_AUXCSR, val); 316 val = PHY_READ(sc, CIPHY_MII_10BTCSR); 317 val | [all...] |
/freebsd-11-stable/contrib/libucl/src/ |
H A D | ucl_internal.h | 341 bool ret = false, val = false; local 346 val = false; 352 val = true; 358 val = true; 362 val = false; 368 val = false; 372 val = true; 378 obj->value.iv = val; 464 * @param val 467 int64_t val); [all...] |
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_misc.c | 63 ql_rdwr_indreg32(qla_host_t *ha, uint32_t addr, uint32_t *val, uint32_t rd) argument 79 __func__, addr, *val, rd); 85 *val = READ_REG32(ha, Q8_WILD_CARD); 87 WRITE_REG32(ha, Q8_WILD_CARD, *val); 98 ql_rdwr_offchip_mem(qla_host_t *ha, uint64_t addr, q80_offchip_mem_val_t *val, argument 127 data = val->data_lo; 133 data = val->data_hi; 139 data = val->data_ulo; 145 data = val->data_uhi; 177 val 675 q80_offchip_mem_val_t val; local 755 uint32_t val, delay = 300; local 1197 q80_offchip_mem_val_t val; local [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-signals.py | 52 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'BSSID', 55 for item in val: 58 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'SSID', 60 ssid = byte_array_to_string(val) 62 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'WPA', 65 if val != None: 67 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'RSN', 70 if val != None: 76 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'Rates', 78 if len(val) > [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBValueList.cpp | 38 for (auto val : list.m_values) 39 Append(val); 49 for (auto val : m_values) { 50 if (val.IsValid() && val.GetID() == uid) 51 return val; 58 for (auto val : m_values) { 59 if (val.IsValid() && val.GetName() && strcmp(name, val [all...] |
/freebsd-11-stable/contrib/gcc/config/arm/ |
H A D | unwind-arm.h | 255 _uw val; local 256 _Unwind_VRS_Get (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); 257 return val; 261 _Unwind_SetGR (_Unwind_Context *context, int regno, _Unwind_Word val) argument 263 _Unwind_VRS_Set (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); 276 #define _Unwind_SetIP(context, val) \ 277 _Unwind_SetGR (context, 15, val | (_Unwind_GetGR (context, 15) & 1))
|
/freebsd-11-stable/sys/dev/cxgb/common/ |
H A D | cxgb_tn1010.c | 113 int err, val; local 118 val = ADVERTISE_CSMA | ADVERTISE_ENPAGE | ADVERTISE_NPAGE; 120 val |= ADVERTISE_PAUSE_CAP; 122 val |= ADVERTISE_PAUSE_ASYM; 123 err = mdio_write(phy, MDIO_DEV_ANEG, ANEG_ADVER, val); 127 val = (advert & ADVERTISED_10000baseT_Full) ? ADVERTISE_10000FULL : 0; 128 return mdio_write(phy, MDIO_DEV_ANEG, ANEG_10G_CTRL, val |
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | subr.c | 162 uint32_t val; 165 PJDLOG_ASSERT((size % sizeof(val)) == 0); 168 val = arc4random(); 169 bcopy(&val, buf, sizeof(val)); 170 buf += sizeof(val); 171 size -= sizeof(val);
|
/freebsd-11-stable/crypto/heimdal/lib/hx509/ |
H A D | lock.c | 96 d = realloc(lock->password.val, 97 (lock->password.len + 1) * sizeof(lock->password.val[0])); 102 lock->password.val = d; 103 lock->password.val[lock->password.len] = s; 126 free(lock->password.val[i]); 127 free(lock->password.val); 128 lock->password.val = NULL;
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar933x_chip.c | 285 int val; local 329 if ((resource_int_value("ar933x_gmac", 0, "override_phy", &val) == 0) 330 && (val == 0)) 332 if ((resource_int_value("ar933x_gmac", 0, "swap_phy", &val) == 0) 333 && (val == 1)) 335 if ((resource_int_value("ar933x_gmac", 0, "swap_phy_addr", &val) == 0) 336 && (val == 1))
|
/freebsd-11-stable/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 70 gpset(int x, int y, int val) argument 78 vid[x + y * SCRW] = val; 84 gdraw(int dx, int dy, int val) argument 91 outb(0x7e, (val & 1) ? 0xff: 0); /* tile B */ 92 outb(0x7e, (val & 2) ? 0xff: 0); /* tile R */ 103 set |= gpset(i, cur_y, val); 115 set |= gpset(cur_x, i, val);
|
/freebsd-11-stable/sys/dev/snc/ |
H A D | dp83932subr.c | 258 u_int16_t val; local 261 val = 0; 270 bus_space_write_2(memt, memh, j * 2, val + j); 272 val += 0x1000; 275 val = 0; 284 if (bus_space_read_2(memt, memh, j * 2) != val + j) 291 "val 0x%04x != expected 0x%04x\n", i, j, 293 val + j); 296 val += 0x1000; 479 u_int16_t val; local 492 snc_nec16_nic_put(struct snc_softc *sc, u_int8_t reg, u_int16_t val) argument 541 snc_nec16_writetodesc(struct snc_softc *sc, u_int32_t base, u_int32_t offset, u_int16_t val) argument 699 u_int8_t n, val, bit; local 813 u_int16_t val; local [all...] |
/freebsd-11-stable/sys/arm/allwinner/clk/ |
H A D | aw_axiclk.c | 65 #define AXICLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val)) 66 #define AXICLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val)) 81 uint32_t val; local 86 AXICLK_READ(sc, &val); 89 *freq = *freq / ((val & AXI_CLK_DIV_RATIO) + 1);
|
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | ppccap.c | 132 int val; local 133 size_t len = sizeof(val); 135 if (sysctlbyname("hw.optional.64bitops", &val, &len, NULL, 0) == 0) { 136 if (val) 140 len = sizeof(val); 141 if (sysctlbyname("hw.optional.altivec", &val, &len, NULL, 0) == 0) { 142 if (val)
|
/freebsd-11-stable/sys/dev/hyperv/vmbus/ |
H A D | vmbus_et.c | 89 struct timespec val; local 91 val = sbttots(time); 92 return (val.tv_sec * HYPERV_TIMER_FREQ) + 93 (val.tv_nsec / HYPERV_TIMER_NS_FACTOR); 160 uint64_t val; local 165 val = rdmsr(MSR_HV_STIMER0_CONFIG); 166 if ((val & MSR_HV_STIMER_CFG_ENABLE) == 0)
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_tables.h | 87 char *val; member in struct:apr_table_entry_t 287 * @param val The value to add 292 const char *val); 299 * @param val The value to add 305 const char *val); 320 * @param val The data to add 324 const char *val); 332 * @param val The data to add 336 const char *val); 343 * @param val Th [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | initcpu.c | 184 u_int regs[4], val; local 194 val = regs[3]; 199 if ((val & VIA_CPUID_HAS_RNG) != 0) { 205 if ((val & VIA_CPUID_HAS_ACE) != 0) 207 if ((val & VIA_CPUID_HAS_ACE2) != 0) 209 if ((val & VIA_CPUID_HAS_PHE) != 0) 211 if ((val & VIA_CPUID_HAS_PMM) != 0)
|
/freebsd-11-stable/sbin/ifconfig/ |
H A D | ifvlan.c | 129 DECL_CMD_FUNC(setvlantag, val, d) 135 ul = strtoul(val, &endp, 0); 148 DECL_CMD_FUNC(setvlandev, val, d) 152 strlcpy(params.vlr_parent, val, sizeof(params.vlr_parent)); 159 DECL_CMD_FUNC(setvlanpcp, val, d) 164 ul = strtoul(val, &endp, 0); 175 DECL_CMD_FUNC(unsetvlandev, val, d)
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | ipsopt.c | 83 u_short val; local 98 val = (class && *class) ? atoi(class) : 4; 99 *op++ = val + io->on_siz; 100 len += val; 126 val = atoi(class); 127 bcopy((char *)&val, op, 2); 138 op += val;
|
/freebsd-11-stable/contrib/libcxxrt/ |
H A D | unwind-arm.h | 167 unsigned long val; local 168 _Unwind_VRS_Get(context, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); 169 return val; 171 static inline void _Unwind_SetGR(struct _Unwind_Context *context, int reg, unsigned long val) argument 173 _Unwind_VRS_Set(context, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); 180 static inline void _Unwind_SetIP(_Unwind_Context *context, unsigned long val) argument 186 _Unwind_SetGR(context, 15, (val | thumbState));
|
/freebsd-11-stable/sys/dev/ae/ |
H A D | if_ae.c | 113 static int ae_miibus_writereg(device_t dev, int phy, int reg, int val); 195 #define AE_WRITE_4(sc, reg, val) \ 196 bus_write_4((sc)->mem[0], (reg), (val)) 197 #define AE_WRITE_2(sc, reg, val) \ 198 bus_write_2((sc)->mem[0], (reg), (val)) 199 #define AE_WRITE_1(sc, reg, val) \ 200 bus_write_1((sc)->mem[0], (reg), (val)) 203 #define AE_PHY_WRITE(sc, reg, val) \ 204 ae_miibus_writereg(sc->dev, 0, reg, val) 561 uint32_t val; local 807 uint32_t val; local 839 ae_miibus_writereg(device_t dev, int phy, int reg, int val) argument 924 uint32_t val; local 943 uint32_t val; local 972 uint32_t word, reg, val; local 1286 uint32_t val; local 1302 uint32_t val; local 1322 uint32_t val; local 1585 uint32_t val; local 1640 uint32_t val; local 1676 uint32_t val; local 1713 uint32_t val; local 1732 uint32_t val; local 1755 uint32_t val; local 2019 uint32_t val; local [all...] |