Home
last modified time | relevance | path

Searched refs:val2 (Results 1 – 25 of 33) sorted by relevance

12

/f-stack/freebsd/net80211/
H A Dieee80211_vht.c376 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
386 if ((val2 == 2) && in ieee80211_vht_get_vhtcap_ie()
388 val2 = 1; in ieee80211_vht_get_vhtcap_ie()
389 if ((val2 == 1) && in ieee80211_vht_get_vhtcap_ie()
391 val2 = 0; in ieee80211_vht_get_vhtcap_ie()
392 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
403 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
413 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
423 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
449 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
[all …]
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_sdhost.c744 if (val2 & HC_CMD_READ || val2 & HC_CMD_WRITE) { in bcm_sdhost_command()
799 if (!(val2 & HC_CMD_READ || val2 & HC_CMD_WRITE)) in bcm_sdhost_command()
822 val2 = 0; in bcm_sdhost_read_1()
836 val2 = 0; in bcm_sdhost_read_1()
840 val2 = 0; in bcm_sdhost_read_1()
844 val2 = 0; in bcm_sdhost_read_1()
848 val2 = 0; in bcm_sdhost_read_1()
852 val2 = 0; in bcm_sdhost_read_1()
856 val2 = 0; in bcm_sdhost_read_1()
886 val2 = 0; in bcm_sdhost_read_2()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Datomic.c18 #define DO_TESTS(t, ta, val1, val2, val3) do { \ argument
49 expected = val2; \
55 assert_b_eq(val1 == val2, success, \
68 expected = val2; \
71 assert_b_eq(val1 == val2, success, \
95 assert_##ta##_eq(val1 + val2, val, \
104 assert_##ta##_eq(val1 - val2, val, \
113 assert_##ta##_eq(val1 & val2, val, \
122 assert_##ta##_eq(val1 | val2, val, \
131 assert_##ta##_eq(val1 ^ val2, val, \
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_core.h101 #define ngx_max(val1, val2) ((val1 < val2) ? (val2) : (val1)) argument
102 #define ngx_min(val1, val2) ((val1 > val2) ? (val2) : (val1)) argument
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_001_pos.ksh87 for val2 in 3 2 1; do
88 log_must zfs create -o copies=$val2 $fs2
90 log_must zfs create -V $VOLSIZE -o copies=$val2 $vol2
93 log_must zfs create -o copies=$val2 $vol2
96 cmp_prop $ds $val2
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_hmc.h102 u32 val1, val2, val3; \
104 val2 = (u32)(pa) | (I40E_HMC_MAX_BP_COUNT << \
111 wr32((hw), I40E_PFHMC_SDDATALOW, val2); \
123 u32 val2, val3; \
124 val2 = (I40E_HMC_MAX_BP_COUNT << \
130 wr32((hw), I40E_PFHMC_SDDATALOW, val2); \
/f-stack/freebsd/mips/ingenic/
H A Djz4780_rtc.c183 uint32_t val1, val2; in jz4780_rtc_gettime() local
189 val2 = CSR_READ(sc, JZ_RTSR); in jz4780_rtc_gettime()
191 val1 = val2; in jz4780_rtc_gettime()
192 val2 = CSR_READ(sc, JZ_RTSR); in jz4780_rtc_gettime()
193 } while (val1 != val2 && timeout-- >= 0); in jz4780_rtc_gettime()
/f-stack/freebsd/mips/mediatek/
H A Dmtk_soc.c165 uint32_t val1, val2; in mtk_detect_cpuclk_rt5350() local
167 val1 = val2 = bus_space_read_4(bst, bsh, SYSCTL_SYSCFG); in mtk_detect_cpuclk_rt5350()
170 val2 >>= RT5350_CPU_CLKSEL_OFF2; in mtk_detect_cpuclk_rt5350()
172 val2 &= RT5350_CPU_CLKSEL_MSK; in mtk_detect_cpuclk_rt5350()
173 val1 |= (val2 << 1); in mtk_detect_cpuclk_rt5350()
/f-stack/dpdk/drivers/net/bnxt/hcapi/
H A Dhcapi_cfa_p4.c150 uint32_t val1, val2; in hcapi_cfa_crc32_hash() local
165 val2 = hcapi_cfa_lkup_em_seed_mem[index * 2 + 1]; in hcapi_cfa_crc32_hash()
174 if (!(val2 & 0x1)) in hcapi_cfa_crc32_hash()
182 if (val2 & 0x1) in hcapi_cfa_crc32_hash()
/f-stack/freebsd/amd64/pci/
H A Dpci_cfgreg.c217 uint32_t val1, val2; in pcie_cfgregopen() local
248 val2 = pciereg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen()
249 if (val2 != val1) in pcie_cfgregopen()
/f-stack/tools/libxo/tests/core/saved/
H A Dtest_02.X.out5 …ax>125</max><min>15</min><cur>20</cur><max>125</max><val1>21</val1><val2>58368</val2><val3>1006632…
H A Dtest_02.XP.out57 <val2>58368</val2>
H A Dtest_02.JP.out52 "val2": 58368,
H A Dtest_02.J.out1 …x":125,"min":15,"cur":20,"max":125,"min":15,"cur":20,"max":125,"val1":21,"val2":58368,"val3":10066…
H A Dtest_02.E.out52 op content: [val2] [58368] [0x18000]
/f-stack/freebsd/arm64/rockchip/
H A Drk_pcie.c279 uint32_t val2; in rk_pcie_local_cfg_write() local
292 val2 = bus_read_4(sc->apb_mem_res, base + (reg & ~3)); in rk_pcie_local_cfg_write()
293 val2 &= ~(0xffff << ((reg & 3) << 3)); in rk_pcie_local_cfg_write()
294 val2 |= ((val & 0xffff) << ((reg & 3) << 3)); in rk_pcie_local_cfg_write()
295 bus_write_4(sc->apb_mem_res, base + (reg & ~3), val2); in rk_pcie_local_cfg_write()
298 val2 = bus_read_4(sc->apb_mem_res, base + (reg & ~3)); in rk_pcie_local_cfg_write()
299 val2 &= ~(0xff << ((reg & 3) << 3)); in rk_pcie_local_cfg_write()
300 val2 |= ((val & 0xff) << ((reg & 3) << 3)); in rk_pcie_local_cfg_write()
301 bus_write_4(sc->apb_mem_res, base + (reg & ~3), val2); in rk_pcie_local_cfg_write()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectid_003_pos.ksh68 log_must setfattr -n trusted.ea2 -v val2 $PRJFILE
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dadapter.h426 uint64_t val2 = CXGBE_PCI_REG(((volatile uint8_t *)(addr) + 4)); in cxgbe_read_addr64() local
428 val2 = (uint64_t)(val2 << 32); in cxgbe_read_addr64()
429 val += val2; in cxgbe_read_addr64()
/f-stack/freebsd/arm/nvidia/
H A Dtegra_pcie.c469 uint32_t val2; in tegra_pcib_write_config() local
499 val2 = bus_space_read_4(sc->bus_tag, hndl, off & ~3); in tegra_pcib_write_config()
500 val2 &= ~(0xffff << ((off & 3) << 3)); in tegra_pcib_write_config()
501 val2 |= ((val & 0xffff) << ((off & 3) << 3)); in tegra_pcib_write_config()
502 bus_space_write_4(sc->bus_tag, hndl, off & ~3, val2); in tegra_pcib_write_config()
505 val2 = bus_space_read_4(sc->bus_tag, hndl, off & ~3); in tegra_pcib_write_config()
506 val2 &= ~(0xff << ((off & 3) << 3)); in tegra_pcib_write_config()
507 val2 |= ((val & 0xff) << ((off & 3) << 3)); in tegra_pcib_write_config()
508 bus_space_write_4(sc->bus_tag, hndl, off & ~3, val2); in tegra_pcib_write_config()
/f-stack/freebsd/amd64/vmm/
H A Dvmm_instruction_emul.c1016 uint64_t result, rflags, rflags2, val1, val2; in emulate_and() local
1039 error = memread(vm, vcpuid, gpa, &val2, size, arg); in emulate_and()
1044 result = val1 & val2; in emulate_and()
1104 uint64_t result, rflags, rflags2, val1, val2; in emulate_or() local
1132 result = val1 | val2; in emulate_or()
1409 uint64_t nval, rflags, rflags2, val1, val2; in emulate_add() local
1437 nval = val1 + val2; in emulate_add()
1445 rflags2 = getaddflags(size, val1, val2); in emulate_add()
1465 uint64_t nval, rflags, rflags2, val1, val2; in emulate_sub() local
1493 nval = val1 - val2; in emulate_sub()
[all …]
/f-stack/freebsd/i386/pci/
H A Dpci_cfgreg.c443 uint32_t val1, val2; in pcie_cfgregopen() local
511 val2 = pciereg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen()
512 if (val2 != val1) in pcie_cfgregopen()
/f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit_ds.c450 unsigned int qbits, val, val1, val2; in ar9300__cont_tx_mode()
461 val2 = ads->ds_txstatus2; in ar9300__cont_tx_mode()
463 (unsigned)val1, (unsigned)val2); in ar9300__cont_tx_mode()
471 val2 = OS_REG_READ(ah, AR_QSTS(i)) & AR_Q_STS_PEND_FR_CNT; in ar9300__cont_tx_mode()
472 HALDEBUG(ah, HAL_DEBUG_TXDESC, "[%d] %x %d\n", i, val, val2); in ar9300__cont_tx_mode()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx_vec_neon.h19 uint64x2_t val2 = { in hns3_vec_tx() local
24 vst1q_u64((uint64_t *)&desc->tx.outer_vlan_tag, val2); in hns3_vec_tx()
/f-stack/freebsd/contrib/x86emu/
H A Dx86emu.c2644 int8_t val1, val2; in x86emuOp_cmps_byte() local
2658 cmp_byte(emu, val1, val2); in x86emuOp_cmps_byte()
2672 cmp_byte(emu, val1, val2); in x86emuOp_cmps_byte()
2683 cmp_byte(emu, val1, val2); in x86emuOp_cmps_byte()
2696 uint32_t val1, val2; in x86emuOp_cmps_word() local
2718 cmp_long(emu, val1, val2); in x86emuOp_cmps_word()
2740 cmp_long(emu, val1, val2); in x86emuOp_cmps_word()
2758 cmp_long(emu, val1, val2); in x86emuOp_cmps_word()
2921 int8_t val2; in x86emuOp_scas_byte() local
2933 cmp_byte(emu, emu->x86.R_AL, val2); in x86emuOp_scas_byte()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_csan.c413 type val2) \
417 return (atomic_cmpset_##name(ptr, val1, val2)); \
427 type val2) \
431 return (atomic_fcmpset_##name(ptr, val1, val2)); \

12