/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/ |
H A D | amdgpu_dcn_calc_auto.c | 72 v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor; in scaler_settings_calculation() 73 v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor; in scaler_settings_calculation() 137 …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() 345 …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() 752 …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() 807 …v->line_times_for_prefetch[k] = v->maximum_vstartup - v->urgent_latency / (v->htotal[k] / v->pixel… in mode_support_and_system_configuration() 1011 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; in mode_support_and_system_configuration() 1228 v->dppclk = v->dispclk / v->dispclk_dppclk_ratio; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation() 1398 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() 1648 …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 | amdgpu_dcn_calcs.c | 566 v->dcfclk = v->dcfclkv_nom0p8; 587 v->dcfclk = v->dcfclkv_max0p9; 607 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; 746 memset(v, 0, sizeof(*v)); in dcn_validate_bandwidth() 851 v->max_dppclk[5] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 852 v->max_dppclk[4] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 853 v->max_dppclk[3] = v->max_dppclk_vmax0p9; in dcn_validate_bandwidth() 1061 v->swath_width_y[k] = v->viewport_width[k] / v->dpp_per_plane[k]; in dcn_validate_bandwidth() 1063 v->swath_width_y[k] = v->viewport_height[k] / v->dpp_per_plane[k]; in dcn_validate_bandwidth() 1087 … dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k]; in dcn_validate_bandwidth() [all …]
|
/netbsd/external/mpl/bind/dist/lib/isccc/include/isccc/ |
H A D | util.h | 48 v = *w; \ 97 GET16(v, w); \ 105 GET32(v, w); \ 109 #define GET_OFFSET(v, w) GET32(v, w) argument 113 memmove(v, w, c); \ 122 v = ((v & 0x7f) << 16) | ISCCC_RDATATYPE_SIG; \ 174 if (v > 0 && v < 255) { \ 175 PUT8(v, w); \ 178 PUT16(v, w); \ 192 #define PUT_OFFSET(v, w) PUT32(v, w) argument [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | vec.c | 292 v.reserve (3); in test_quick_push() 311 v.safe_push (5); in test_safe_push() 312 v.safe_push (6); in test_safe_push() 313 v.safe_push (7); in test_safe_push() 330 v.truncate (5); in test_truncate() 404 v.truncate (0); in test_ordered_remove_if() 413 v.truncate (0); in test_ordered_remove_if() 424 v.truncate (0); in test_ordered_remove_if() 491 v.reverse (); in test_reverse() 499 v.reverse (); in test_reverse() [all …]
|
H A D | vec.cc | 318 v.reserve (3); in test_quick_push() 337 v.safe_push (5); in test_safe_push() 338 v.safe_push (6); in test_safe_push() 339 v.safe_push (7); in test_safe_push() 356 v.truncate (5); in test_truncate() 430 v.truncate (0); in test_ordered_remove_if() 439 v.truncate (0); in test_ordered_remove_if() 450 v.truncate (0); in test_ordered_remove_if() 517 v.reverse (); in test_reverse() 525 v.reverse (); in test_reverse() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | vec.c | 292 v.reserve (3); in test_quick_push() 311 v.safe_push (5); in test_safe_push() 312 v.safe_push (6); in test_safe_push() 313 v.safe_push (7); in test_safe_push() 330 v.truncate (5); in test_truncate() 404 v.truncate (0); in test_ordered_remove_if() 413 v.truncate (0); in test_ordered_remove_if() 424 v.truncate (0); in test_ordered_remove_if() 491 v.reverse (); in test_reverse() 499 v.reverse (); in test_reverse() [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/aarch64/ |
H A D | armv8_2-a-crypto-fp16.s | 83 gen4reg_iter eor3 v,.16b, v,.16b, v,.16b, v,.16b 84 gen3reg_iter rax1 v,.2d, v,.2d, v,.2d 85 gen4reg_iter xar v,.2d, v,.2d, v,.2d,, 86 gen4reg_iter bcax v,.16b, v,.16b, v,.16b, v,.16b 88 gen4reg_iter sm3ss1 v,.4s, v,.4s, v,.4s, v,.4s 99 gen3reg_iter fmlal v,.2s, v,.2h, v,.2h 100 gen3reg_iter fmlal v,.4s, v,.4h, v,.4h 101 gen3reg_iter fmlsl v,.2s, v,.2h, v,.2h 102 gen3reg_iter fmlsl v,.4s, v,.4h, v,.4h 104 gen3reg_iter fmlal2 v,.2s, v,.2h, v,.2h [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/ |
H A D | armv8_2-a-crypto-fp16.s | 83 gen4reg_iter eor3 v,.16b, v,.16b, v,.16b, v,.16b 84 gen3reg_iter rax1 v,.2d, v,.2d, v,.2d 85 gen4reg_iter xar v,.2d, v,.2d, v,.2d,, 86 gen4reg_iter bcax v,.16b, v,.16b, v,.16b, v,.16b 88 gen4reg_iter sm3ss1 v,.4s, v,.4s, v,.4s, v,.4s 99 gen3reg_iter fmlal v,.2s, v,.2h, v,.2h 100 gen3reg_iter fmlal v,.4s, v,.4h, v,.4h 101 gen3reg_iter fmlsl v,.2s, v,.2h, v,.2h 102 gen3reg_iter fmlsl v,.4s, v,.4h, v,.4h 104 gen3reg_iter fmlal2 v,.2s, v,.2h, v,.2h [all …]
|
/netbsd/usr.bin/sdpquery/ |
H A D | print.c | 745 bool v; in print_bool() local 756 uint8_t v; in print_uint8d() local 767 uint8_t v; in print_uint8x() local 904 printf("v%d.%d\n", (v >> 8), (v & 0xff)); in print_profile_version() 1128 (v >> 8), (v & 0xff)); in print_bluetooth_profile_descriptor_list() 1168 printf("%sv%d.%d", sep, (v >> 8), (v & 0xff)); in print_sds_version_number_list() 1327 ((v & 0x0000ff00) >> 8), (v & 0x000000ff)); in print_wap_addr() 1370 ((v & 0xff00) >> 8), ((v & 0x00f0) >> 4), (v & 0x000f)); in print_hid_version() 2000 printf(" (v%d.%d", (v >> 8), (v & 0xff)); in print_bnep() 2026 printf(" (v%d.%d)", (v >> 8), (v & 0xff)); in print_avctp() [all …]
|
/netbsd/external/gpl2/groff/dist/src/roff/troff/ |
H A D | number.cpp | 300 *v = *v < v2; in parse_expr() 303 *v = *v > v2; in parse_expr() 306 *v = *v <= v2; in parse_expr() 309 *v = *v >= v2; in parse_expr() 320 *v = *v == v2; in parse_expr() 323 *v = *v > 0 && v2 > 0; in parse_expr() 326 *v = *v > 0 || v2 > 0; in parse_expr() 447 *v = -*v; in parse_term() 492 *v = -*v; in parse_term() 599 *v = scale(*v, 65536, divisor); in parse_term() [all …]
|
/netbsd/external/bsd/unbound/dist/services/ |
H A D | view.c | 61 if(!v) in views_create() 65 lock_protect(&v->lock, &v->vtree, sizeof(v->vtree)); in views_create() 66 return v; in views_create() 76 if(!v) in view_delete() 82 free(v); in view_delete() 95 if(!v) in views_delete() 99 free(v); in views_delete() 107 if(!v) in view_create() 109 v->node.key = v; in view_create() 115 lock_protect(&v->lock, &v->name, sizeof(*v)-sizeof(rbnode_type)); in view_create() [all …]
|
/netbsd/external/gpl2/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 …]
|
/netbsd/external/gpl2/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 …]
|
/netbsd/external/gpl3/binutils.old/dist/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 …]
|
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-fill-block-ref.c | 37 blockR.v[16 * i], blockR.v[16 * i + 1], blockR.v[16 * i + 2], in fill_block() 38 blockR.v[16 * i + 3], blockR.v[16 * i + 4], blockR.v[16 * i + 5], in fill_block() 39 blockR.v[16 * i + 6], blockR.v[16 * i + 7], blockR.v[16 * i + 8], in fill_block() 40 blockR.v[16 * i + 9], blockR.v[16 * i + 10], blockR.v[16 * i + 11], in fill_block() 41 blockR.v[16 * i + 12], blockR.v[16 * i + 13], blockR.v[16 * i + 14], in fill_block() 49 blockR.v[2 * i], blockR.v[2 * i + 1], blockR.v[2 * i + 16], in fill_block() 50 blockR.v[2 * i + 17], blockR.v[2 * i + 32], blockR.v[2 * i + 33], in fill_block() 51 blockR.v[2 * i + 48], blockR.v[2 * i + 49], blockR.v[2 * i + 64], in fill_block() 52 blockR.v[2 * i + 65], blockR.v[2 * i + 80], blockR.v[2 * i + 81], in fill_block() 79 blockR.v[16 * i], blockR.v[16 * i + 1], blockR.v[16 * i + 2], in fill_block_with_xor() [all …]
|
/netbsd/external/gpl3/gdb/dist/elfcpp/ |
H A D | elfcpp_swap.h | 56 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 164 { return v; } 174 { return v; } 269 { *wv = v; } 292 { *wv = v; } 310 wv[0] = v; 329 wv[1] = v; 350 wv[0] = v; 371 wv[3] = v; 403 wv[0] = v; [all …]
|
/netbsd/external/gpl3/binutils/dist/elfcpp/ |
H A D | elfcpp_swap.h | 56 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 164 { return v; } 174 { return v; } 269 { *wv = v; } 292 { *wv = v; } 310 wv[0] = v; 329 wv[1] = v; 350 wv[0] = v; 371 wv[3] = v; 403 wv[0] = v; [all …]
|
/netbsd/external/gpl3/gdb.old/dist/elfcpp/ |
H A D | elfcpp_swap.h | 56 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 164 { return v; } 174 { return v; } 269 { *wv = v; } 292 { *wv = v; } 310 wv[0] = v; 329 wv[1] = v; 350 wv[0] = v; 371 wv[3] = v; 403 wv[0] = v; [all …]
|
/netbsd/usr.sbin/mrouted/ |
H A D | vif.c | 87 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in init_vifs() 106 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in init_vifs() 135 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in init_installvifs() 167 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in check_vif_state() 229 (v->uv_flags & VIFF_TUNNEL) ? v->uv_rmt_addr in send_probe_on_vif() 292 update_route(v->uv_subnet, v->uv_subnetmask, 0, 0, vifi); in start_vif2() 436 if (src == v->uv_rmt_addr && dst == v->uv_lcl_addr) in find_vif() 440 if ((src & v->uv_subnetmask) == v->uv_subnet && in find_vif() 467 for (vifi = 0, v = uvifs; vifi < numvifs; vifi++, v++) in age_old_hosts() 1300 inet_fmts(v->uv_subnet, v->uv_subnetmask), in dump_vifs() [all …]
|
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | blake2b-compress-ref.c | 34 uint64_t v[16]; in blake2b_compress_ref() local 41 v[i] = S->h[i]; in blake2b_compress_ref() 64 G(r, 0, v[0], v[4], v[8], v[12]); \ in blake2b_compress_ref() 65 G(r, 1, v[1], v[5], v[9], v[13]); \ in blake2b_compress_ref() 66 G(r, 2, v[2], v[6], v[10], v[14]); \ in blake2b_compress_ref() 67 G(r, 3, v[3], v[7], v[11], v[15]); \ in blake2b_compress_ref() 68 G(r, 4, v[0], v[5], v[10], v[15]); \ in blake2b_compress_ref() 69 G(r, 5, v[1], v[6], v[11], v[12]); \ in blake2b_compress_ref() 70 G(r, 6, v[2], v[7], v[8], v[13]); \ in blake2b_compress_ref() 71 G(r, 7, v[3], v[4], v[9], v[14]); \ in blake2b_compress_ref() [all …]
|
/netbsd/bin/ps/ |
H A D | print.c | 152 VAR *v; in printheader() local 190 (void)printf("%*s", v->width, v->header); in printheader() 302 VAR *v; in command() local 384 VAR *v; in groups() local 421 VAR *v; in groupnames() local 458 VAR *v; in ucomm() local 472 VAR *v; in emul() local 482 VAR *v; in logname() local 958 v->width = min(v->width, KI_WMESGLEN); in wchan() 1442 (void)printval(b + v->off, v, mode); in pvar() [all …]
|
/netbsd/sys/arch/alpha/pci/ |
H A D | ttwoga_bus_mem.c | 48 #define CHIP_V(v) ((struct ttwoga_config *)(v)) argument 50 #define CHIP_EX_MALLOC_SAFE(v) (CHIP_V(v)->tc_mallocsafe) argument 52 #define CHIP_D_MEM_EXTENT(v) (CHIP_V(v)->tc_d_mem_ex) argument 53 #define CHIP_D_MEM_EX_STORE(v) (CHIP_V(v)->tc_dmem_exstorage) argument 54 #define CHIP_D_MEM_EX_STORE_SIZE(v) sizeof(CHIP_D_MEM_EX_STORE(v)) argument 56 #define CHIP_S_MEM_EXTENT(v) (CHIP_V(v)->tc_s_mem_ex) argument 57 #define CHIP_S_MEM_EX_STORE(v) (CHIP_V(v)->tc_smem_exstorage) argument 58 #define CHIP_S_MEM_EX_STORE_SIZE(v) sizeof(CHIP_S_MEM_EX_STORE(v)) argument 64 (CHIP_D_MEM_W1_BUS_START(v) + CHIP_V(v)->tc_sysmap->tsmap_dmem_bussize - 1) 68 (CHIP_D_MEM_W1_SYS_START(v) + CHIP_V(v)->tc_sysmap->tsmap_dmem_syssize - 1) [all …]
|
H A D | mcpcia_bus_mem.c | 49 #define CHIP_EX_MALLOC_SAFE(v) (((struct mcpcia_config *)(v))->cc_mallocsafe) argument 50 #define CHIP_D_MEM_EXTENT(v) (((struct mcpcia_config *)(v))->cc_d_mem_ex) argument 51 #define CHIP_D_MEM_EX_STORE(v) \ argument 55 #define CHIP_S_MEM_EXTENT(v) (((struct mcpcia_config *)(v))->cc_s_mem_ex) argument 56 #define CHIP_S_MEM_EX_STORE(v) \ argument 64 #define CHIP_D_MEM_W1_SYS_START(v) \ argument 66 #define CHIP_D_MEM_W1_SYS_END(v) \ argument 74 #define CHIP_S_MEM_W1_SYS_END(v) \ argument 75 (CHIP_S_MEM_W1_SYS_START(v) + ((CHIP_S_MEM_W1_BUS_END(v) + 1) << 5) - 1) 83 #define CHIP_S_MEM_W2_SYS_END(v) \ argument [all …]
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Expression.cc | 94 v = Value (rhs.v); in Expression() 123 v = Value (rhs->v); in copy() 578 v.val = arg0->v.val * arg1->v.val; in bEval() 601 v.val = arg0->v.val + arg1->v.val; in bEval() 604 v.fn = arg0->v.fn + arg1->v.fn; in bEval() 611 v.val = arg0->v.val - arg1->v.val; in bEval() 618 v.val = arg0->v.val << arg1->v.val; in bEval() 625 v.val = arg0->v.val >> arg1->v.val; in bEval() 674 v.val = arg0->v.val & arg1->v.val; in bEval() 681 v.val = arg0->v.val ^ arg1->v.val; in bEval() [all …]
|
/netbsd/sys/arch/aarch64/include/ |
H A D | byte_swap.h | 57 __asm("rev\t%x0, %x1" : "=r" (v) : "0" (v)); in __byte_swap_u64_variable() 58 return v; in __byte_swap_u64_variable() 61 v = ((v & 0x000000ff) << (56 - 0)) | ((v >> (56 - 0)) & 0x000000ff) in __byte_swap_u64_variable() 66 return v; in __byte_swap_u64_variable() 74 __asm("rev\t%w0, %w1" : "=r" (v) : "0" (v)); in __byte_swap_u32_variable() 75 return v; in __byte_swap_u32_variable() 78 v = ((v & 0x00ff) << (24 - 0)) | ((v >> (24 - 0)) & 0x00ff) in __byte_swap_u32_variable() 81 return v; in __byte_swap_u32_variable() 95 v &= 0xffff; in __byte_swap_u16_variable() 96 v = (uint16_t)((v >> 8) | (v << 8)); in __byte_swap_u16_variable() [all …]
|