/dragonfly/sys/dev/drm/amd/display/dc/calcs/ |
H A D | dcn_calc_auto.c | 67 v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor; in scaler_settings_calculation() 68 v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor; in scaler_settings_calculation() 132 …v->h_ratio[k] > v->max_hscl_ratio || v->v_ratio[k] > v->max_vscl_ratio || v->h_ratio[k] > v->htaps… in mode_support_and_system_configuration() 340 …v->min_dppclk_using_single_dpp[k] = v->pixel_clock[k] *dcn_bw_max5(v->vtaps[k] / 6.0 *dcn_bw_min2(… in mode_support_and_system_configuration() 747 …v->v_init_y = (v->v_ratio[k] + v->vtaps[k] + 1.0 + v->interlace_output[k] * 0.5 * v->v_ratio[k]) /… in mode_support_and_system_configuration() 800 …v->line_times_for_prefetch[k] = v->maximum_vstartup - v->urgent_latency / (v->htotal[k] / v->pixel… in mode_support_and_system_configuration() 981 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; in mode_support_and_system_configuration() 1198 v->dppclk = v->dispclk / v->dispclk_dppclk_ratio; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation() 1368 v->v_blank_time = (v->vtotal[k] - v->vactive[k]) * v->htotal[k] / v->pixel_clock[k]; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation() 1618 …v->dstx_after_scaler = 90.0 * v->pixel_clock[k] / v->dppclk + 42.0 * v->pixel_clock[k] / v->dispcl… in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation() [all …]
|
H A D | dcn_calcs.c | 551 v->dcfclk = v->dcfclkv_nom0p8; 572 v->dcfclk = v->dcfclkv_max0p9; 589 v->dcfclk_per_state[2] = v->dcfclkv_nom0p8; 592 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; 710 memset(v, 0, sizeof(*v)); in dcn_validate_bandwidth() 814 v->max_dppclk[5] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 815 v->max_dppclk[4] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 816 v->max_dppclk[3] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 817 v->max_dppclk[2] = v->max_dppclk_vnom0p8; in dcn_validate_bandwidth() 818 v->max_dppclk[1] = v->max_dppclk_vmid0p72; in dcn_validate_bandwidth() [all …]
|
/dragonfly/tools/regression/bin/sh/expansion/ |
H A D | arith2.0 | 36 check "v*v" 1764 39 check "v+v" 84 52 check "v>=40&&v<=44" 1 53 check "v<40||v>44" 0 54 check "(v=42)&&(v+=1)==43" 1 56 check "(v=42)&&(v-=1)==41" 1 58 check "(v=42)&&(v*=2)==84" 1 60 check "(v=42)&&(v/=10)==4" 1 62 check "(v=42)&&(v%=10)==2" 1 64 check "(v=42)&&(v<<=1)==84" 1 [all …]
|
H A D | arith7.0 | 3 v=1+ 4 v=$v$v$v$v 5 v=$v$v$v$v 6 v=$v$v$v$v 7 v=$v$v$v$v 8 v=$v$v$v$v 10 $(($v 1))
|
H A D | pathname3.0 | 3 v=12345678 4 v=$v$v$v$v 5 v=$v$v$v$v 6 v=$v$v$v$v 7 v=$v$v$v$v 8 v=$v$v$v$v 10 v=${v##???} 11 [ /*/$v = "/*/$v" ] || exit 1 20 [ /var/empt[y]/$s/$v = "/var/empt[y]/$s/$v" ] || exit 2
|
H A D | assign1.0 | 24 testcase 'v=; set -- ${v=a b} $v' '0|' 25 testcase 'unset v; set -- ${v=a b} $v' '4|a|b|a|b' 26 testcase 'v=; set -- ${v:=a b} $v' '4|a|b|a|b' 27 testcase 'v=; set -- "${v:=a b}" "$v"' '2|a b|a b' 29 testcase 'v=; set -- ${v:=a\ b} $v' '4|a|b|a|b' 30 testcase 'v=; set -- ${v:=$p} $v' '2|/etc/|/etc/' 31 testcase 'v=; set -- "${v:=$p}" "$v"' '2|/et[c]/|/et[c]/' 32 testcase 'v=; set -- "${v:=a\ b}" "$v"' '2|a\ b|a\ b' 33 testcase 'v=; set -- ${v:="$p"} $v' '2|/etc/|/etc/' 35 testcase 'v=; set -- "${v:="$p"}" "$v"' '2|/et[c]/|/et[c]/'
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | atomic.h | 41 #define atomic_add(i, v) atomic_add_return((i), (v)) argument 42 #define atomic_sub(i, v) atomic_sub_return((i), (v)) argument 43 #define atomic_inc_return(v) atomic_add_return(1, (v)) argument 46 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument 47 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0) argument 48 #define atomic_dec_return(v) atomic_sub_return(1, (v)) argument 50 #define atomic64_add(i, v) atomic_add_return_long((i), (v)) argument 51 #define atomic64_sub(i, v) atomic_sub_return_long((i), (v)) argument 53 #define atomic_xchg(p, v) atomic_swap_int(&((p)->counter), v) argument 54 #define atomic64_xchg(p, v) atomic_swap_long(&((p)->counter), v) argument [all …]
|
/dragonfly/contrib/lvm2/dist/lib/datastruct/ |
H A D | list.h | 110 #define dm_list_item(v, t) dm_list_struct_base((v), t, list) argument 123 #define dm_list_head(v, t, e) dm_struct_field(v, t, e, list) argument 129 for (v = (head)->n; v != head; v = v->n) 139 for (v = (start)->p; v != head; v = v->p) 147 for (v = (head)->n, t = v->n; v != head; v = t, t = v->n) 155 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \ 157 v = dm_list_struct_base(v->field.n, typeof(*v), field)) 173 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \ 176 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field)) 193 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \ [all …]
|
/dragonfly/contrib/lvm2/dist/libdm/datastruct/ |
H A D | list.h | 110 #define dm_list_item(v, t) dm_list_struct_base((v), t, list) argument 123 #define dm_list_head(v, t, e) dm_struct_field(v, t, e, list) argument 129 for (v = (head)->n; v != head; v = v->n) 139 for (v = (start)->p; v != head; v = v->p) 147 for (v = (head)->n, t = v->n; v != head; v = t, t = v->n) 155 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \ 157 v = dm_list_struct_base(v->field.n, typeof(*v), field)) 173 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \ 176 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field)) 193 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \ [all …]
|
/dragonfly/contrib/binutils-2.34/elfcpp/ |
H A D | elfcpp_swap.h | 54 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 158 { return v; } 168 { return v; } 263 { *wv = v; } 286 { *wv = v; } 304 wv[0] = v; 323 wv[1] = v; 344 wv[0] = v; 365 wv[3] = v; 397 wv[0] = v; [all …]
|
/dragonfly/contrib/binutils-2.27/elfcpp/ |
H A D | elfcpp_swap.h | 54 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 158 { return v; } 168 { return v; } 263 { *wv = v; } 286 { *wv = v; } 304 wv[0] = v; 323 wv[1] = v; 344 wv[0] = v; 365 wv[3] = v; 397 wv[0] = v; [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | vec.c | 287 auto_vec <int> v; in test_quick_push() local 289 v.reserve (3); in test_quick_push() 292 v.quick_push (5); in test_quick_push() 293 v.quick_push (6); in test_quick_push() 294 v.quick_push (7); in test_quick_push() 306 auto_vec <int> v; in test_safe_push() local 308 v.safe_push (5); in test_safe_push() 309 v.safe_push (6); in test_safe_push() 310 v.safe_push (7); in test_safe_push() 322 auto_vec <int> v; in test_truncate() local [all …]
|
/dragonfly/usr.bin/window/ |
H A D | parser5.c | 97 v->v_num > 0 && v->v_num <= cx.x_narg; in p_expr11() 99 v->v_num = tmp; in p_expr11() 101 *v = cx.x_arg[v->v_num - 1]; in p_expr11() 113 *v = r->r_val; in p_expr11() 120 if (v->v_type == V_STR && (v->v_str = str_cpy(v->v_str)) == 0) { in p_expr11() 126 v->v_num = - v->v_num; in p_expr11() 129 v->v_num = ! v->v_num; in p_expr11() 132 v->v_num = ~ v->v_num; in p_expr11() 147 v->v_type = V_ERR; in p_expr12() 172 val_free(*v); in p_expr12() [all …]
|
H A D | lcmd1.c | 155 v->v_num = 0; in l_smooth() 159 if (!vtobool(a, v->v_num, v->v_num)) in l_smooth() 175 default_smooth = vtobool(a, v->v_num, v->v_num); in l_def_smooth() 206 v->v_num = debug; in l_debug() 265 flag = vtobool(++a, v->v_num, v->v_num); in l_foreground() 282 v->v_num = terse; in l_terse() 297 v->v_num = -1; in l_source() 299 v->v_num = 0; in l_source() 371 v->v_num = -1; in l_unset() 376 v->v_num = -1; in l_unset() [all …]
|
H A D | parser3.c | 64 *v = t; in p_expr() 94 switch (v->v_type) { in p_expr0() 100 str_free(v->v_str); in p_expr0() 101 v->v_type = V_ERR; in p_expr0() 108 v->v_type = V_ERR; in p_expr0() 112 val_free(*v); in p_expr0() 133 switch (v->v_type) { in p_expr1() 135 v->v_num = true = true || v->v_num != 0; in p_expr1() 140 v->v_type = V_ERR; in p_expr1() 169 v->v_num = true = true && v->v_num != 0; in p_expr2() [all …]
|
/dragonfly/tools/regression/bin/sh/builtins/ |
H A D | dot4.0 | 3 v=abcd 4 v=$v$v$v$v 5 v=$v$v$v$v 6 v=$v$v$v$v 7 v=$v$v$v$v 8 v=$v$v$v$v 11 . "$v"
|
/dragonfly/sys/sys/ |
H A D | atomic_common.h | 75 #define atomic_store_bool(p, v) \ argument 89 #define atomic_store_bool(p, v) \ argument 90 __atomic_store_bool_relaxed(p, v) 105 #define atomic_store_char(p, v) \ argument 107 #define atomic_store_short(p, v) \ argument 109 #define atomic_store_int(p, v) \ argument 113 #define atomic_store_8(p, v) \ argument 115 #define atomic_store_16(p, v) \ argument 117 #define atomic_store_32(p, v) \ argument 122 #define atomic_store_64(p, v) \ argument [all …]
|
/dragonfly/crypto/openssh/ |
H A D | sc25519.c | 47 r->v[i] ^= mask & (r->v[i] ^ t[i]); in reduce_add_sub() 129 r->v[i] = x->v[i]; in sc25519_from_shortsc() 131 r->v[16+i] = 0; in sc25519_from_shortsc() 161 if(x->v[i] < y->v[i]) return 1; in sc25519_lt_vartime() 162 if(x->v[i] > y->v[i]) return 0; in sc25519_lt_vartime() 170 for(i=0;i<32;i++) r->v[i] = x->v[i] + y->v[i]; in sc25519_add() 187 t = x->v[i] - y->v[i] - b; in sc25519_sub_nored() 201 t[i+j] += x->v[i] * y->v[j]; in sc25519_mul() 305 r[124] = ( s1->v[31] & 3) ^ (( s2->v[31] & 3) << 2); in sc25519_2interleave2() 306 r[125] = ((s1->v[31] >> 2) & 3) ^ (((s2->v[31] >> 2) & 3) << 2); in sc25519_2interleave2() [all …]
|
/dragonfly/sys/crypto/siphash/ |
H A D | siphash.c | 186 r = (ctx->v[0] ^ ctx->v[1]) ^ (ctx->v[2] ^ ctx->v[3]); in SipHash_End() 217 ctx->v[0] += ctx->v[1]; in SipRounds() 218 ctx->v[2] += ctx->v[3]; in SipRounds() 219 ctx->v[1] = SIP_ROTL(ctx->v[1], 13); in SipRounds() 220 ctx->v[3] = SIP_ROTL(ctx->v[3], 16); in SipRounds() 222 ctx->v[1] ^= ctx->v[0]; in SipRounds() 223 ctx->v[3] ^= ctx->v[2]; in SipRounds() 226 ctx->v[2] += ctx->v[1]; in SipRounds() 227 ctx->v[0] += ctx->v[3]; in SipRounds() 231 ctx->v[1] ^= ctx->v[2]; in SipRounds() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | libbfd.c | 735 v = addr[0]; v <<= 8; in bfd_getb64() 736 v |= addr[1]; v <<= 8; in bfd_getb64() 737 v |= addr[2]; v <<= 8; in bfd_getb64() 738 v |= addr[3]; v <<= 8; in bfd_getb64() 739 v |= addr[4]; v <<= 8; in bfd_getb64() 740 v |= addr[5]; v <<= 8; in bfd_getb64() 741 v |= addr[6]; v <<= 8; in bfd_getb64() 758 v = addr[7]; v <<= 8; in bfd_getl64() 759 v |= addr[6]; v <<= 8; in bfd_getl64() 760 v |= addr[5]; v <<= 8; in bfd_getl64() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | libbfd.c | 588 v = addr[0]; v <<= 8; in bfd_getb64() 589 v |= addr[1]; v <<= 8; in bfd_getb64() 590 v |= addr[2]; v <<= 8; in bfd_getb64() 591 v |= addr[3]; v <<= 8; in bfd_getb64() 592 v |= addr[4]; v <<= 8; in bfd_getb64() 593 v |= addr[5]; v <<= 8; in bfd_getb64() 594 v |= addr[6]; v <<= 8; in bfd_getb64() 611 v = addr[7]; v <<= 8; in bfd_getl64() 612 v |= addr[6]; v <<= 8; in bfd_getl64() 613 v |= addr[5]; v <<= 8; in bfd_getl64() [all …]
|
/dragonfly/sys/crypto/blake2/ |
H A D | blake2s.c | 102 uint32_t v[16]; in blake2s_compress() local 113 v[ 8] = blake2s_iv[0]; in blake2s_compress() 134 G(r, 0, v[0], v[ 4], v[ 8], v[12]); \ in blake2s_compress() 135 G(r, 1, v[1], v[ 5], v[ 9], v[13]); \ in blake2s_compress() 136 G(r, 2, v[2], v[ 6], v[10], v[14]); \ in blake2s_compress() 137 G(r, 3, v[3], v[ 7], v[11], v[15]); \ in blake2s_compress() 138 G(r, 4, v[0], v[ 5], v[10], v[15]); \ in blake2s_compress() 139 G(r, 5, v[1], v[ 6], v[11], v[12]); \ in blake2s_compress() 140 G(r, 6, v[2], v[ 7], v[ 8], v[13]); \ in blake2s_compress() 141 G(r, 7, v[3], v[ 4], v[ 9], v[14]); \ in blake2s_compress() [all …]
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | libbfd.c | 662 v = addr[0]; v <<= 8; in bfd_getb64() 663 v |= addr[1]; v <<= 8; in bfd_getb64() 664 v |= addr[2]; v <<= 8; in bfd_getb64() 665 v |= addr[3]; v <<= 8; in bfd_getb64() 666 v |= addr[4]; v <<= 8; in bfd_getb64() 667 v |= addr[5]; v <<= 8; in bfd_getb64() 668 v |= addr[6]; v <<= 8; in bfd_getb64() 685 v = addr[7]; v <<= 8; in bfd_getl64() 686 v |= addr[6]; v <<= 8; in bfd_getl64() 687 v |= addr[5]; v <<= 8; in bfd_getl64() [all …]
|
/dragonfly/contrib/binutils-2.34/libctf/ |
H A D | swap.h | 32 bswap_16 (uint16_t v) in bswap_16() argument 34 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 38 bswap_32 (uint32_t v) in bswap_32() argument 40 return ( ((v & 0xff000000) >> 24) in bswap_32() 41 | ((v & 0x00ff0000) >> 8) in bswap_32() 42 | ((v & 0x0000ff00) << 8) in bswap_32() 43 | ((v & 0x000000ff) << 24)); in bswap_32() 47 bswap_identity_64 (uint64_t v) in bswap_identity_64() argument 49 return v; in bswap_identity_64() 53 bswap_64 (uint64_t v) in bswap_64() argument [all …]
|
/dragonfly/share/misc/ |
H A D | eqnchar | 10 tdefine =dot % "\z\(eq\v'-.6m'\h'.2m'\s+2.\s-2\v'.6m'\h'.1m'" % 16 tdefine =del % "\v'.3m'\z=\v'-.6m'\h'.3m'\s-1\(*D\s+1\v'.3m'" % 20 tdefine oppE %"\s-3\v'.2m'\z\(em\v'-.5m'\z\(em\v'-.5m'\z\(em\v'.55m'\h'.9m'\z\(br\z\(br\v'.25m'\s+3… 22 tdefine incl % "\s-1\z\(or\h'-.1m'\v'-.45m'\z\(em\v'.7m'\z\(em\v'.2m'\(em\v'-.45m'\s+1" % 28 tdefine star %{ roman "\v'.5m'\s+3*\s-3\v'-.5m'"}% 31 tdefine <wig % "\z<\v'.4m'\(ap\v'-.4m'" % 33 tdefine >wig % "\z>\v'.4m'\(ap\v'-.4m'" % 39 tdefine hbar % "\zh\v'-.6m'\h'.05m'\(ru\v'.6m'" % 51 tdefine ang % "\v'-.15m'\z\s-2\(sl\s+2\v'.15m'\(ru" % 55 tdefine 3dot % "\v'-.8m'\z.\v'.5m'\z.\v'.5m'.\v'-.2m'" % [all …]
|