/openbmc/linux/include/uapi/linux/ |
H A D | keyboard.h | 45 #define K(t,v) (((t)<<8)|(v)) macro 49 #define K_F1 K(KT_FN,0) 50 #define K_F2 K(KT_FN,1) 51 #define K_F3 K(KT_FN,2) 52 #define K_F4 K(KT_FN,3) 53 #define K_F5 K(KT_FN,4) 54 #define K_F6 K(KT_FN,5) 55 #define K_F7 K(KT_FN,6) 56 #define K_F8 K(KT_FN,7) 57 #define K_F9 K(KT_FN,8) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calc_auto.c | 42 int k; in scaler_settings_calculation() local 43 for (k = 0; k <= v->number_of_active_planes - 1; k++) { in scaler_settings_calculation() 45 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation() 46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation() 50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation() 55 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation() 56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation() 59 …v->h_ratio[k] =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k… in scaler_settings_calculation() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 255 unsigned int k, 2001 unsigned int j, k; local 2033 for (k = 0; k < v->NumberOfActivePlanes; ++k) { 2034 if (v->WritebackEnable[k]) { 2038 v->WritebackPixelFormat[k], 2039 v->PixelClock[k], 2040 v->WritebackHRatio[k], 2041 v->WritebackVRatio[k], 2042 v->WritebackHTaps[k], 2043 v->WritebackVTaps[k], [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 1856 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1883 for (k = 0; k < v->NumberOfActivePlanes; ++k) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1884 if (v->WritebackEnable[k]) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1887 v->WritebackPixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1888 v->PixelClock[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1889 v->WritebackHRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1890 v->WritebackVRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1891 v->WritebackHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1892 v->WritebackVTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1893 v->WritebackSourceWidth[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 267 unsigned int k, 2021 unsigned int j, k; local 2054 for (k = 0; k < v->NumberOfActivePlanes; ++k) { 2055 if (v->WritebackEnable[k]) { 2059 v->WritebackPixelFormat[k], 2060 v->PixelClock[k], 2061 v->WritebackHRatio[k], 2062 v->WritebackVRatio[k], 2063 v->WritebackHTaps[k], 2064 v->WritebackVTaps[k], [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20v2.c | 1148 unsigned int j, k; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1157 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1158 if (mode_lib->vba.WritebackEnable[k]) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1163 mode_lib->vba.WritebackPixelFormat[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1164 mode_lib->vba.PixelClock[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1165 mode_lib->vba.WritebackHRatio[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1166 mode_lib->vba.WritebackVRatio[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1167 mode_lib->vba.WritebackLumaHTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1168 mode_lib->vba.WritebackLumaVTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1169 mode_lib->vba.WritebackChromaHTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
H A D | display_mode_vba_20.c | 1088 unsigned int j, k; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1097 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1098 if (mode_lib->vba.WritebackEnable[k]) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1103 mode_lib->vba.WritebackPixelFormat[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1104 mode_lib->vba.PixelClock[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1105 mode_lib->vba.WritebackHRatio[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1106 mode_lib->vba.WritebackVRatio[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1107 mode_lib->vba.WritebackLumaHTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1108 mode_lib->vba.WritebackLumaVTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1109 mode_lib->vba.WritebackChromaHTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | image-fleecing.out | 23 read -P0x5d 0 64k 24 read -P0xd5 1M 64k 25 read -P0xdc 32M 64k 26 read -P0xcd 0x3ff0000 64k 27 read -P0 0x00f8000 32k 28 read -P0 0x2010000 32k 29 read -P0 0x3fe0000 64k 33 write -P0xab 0 64k 35 write -P0xad 0x00f8000 64k 37 write -P0x1d 0x2008000 64k [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 1472 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1481 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1482 if (mode_lib->vba.WritebackEnable[k]) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1487 mode_lib->vba.WritebackPixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1488 mode_lib->vba.PixelClock[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1489 mode_lib->vba.WritebackHRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1490 mode_lib->vba.WritebackVRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1491 mode_lib->vba.WritebackLumaHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1492 mode_lib->vba.WritebackLumaVTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1493 mode_lib->vba.WritebackChromaHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_32.c | 62 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 85 for (k = 0; k < mode_lib->vba.NumberOfActiveSurfaces; ++k) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 86 if (mode_lib->vba.WritebackEnable[k]) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 89 mode_lib->vba.WritebackPixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 90 mode_lib->vba.PixelClock[k], mode_lib->vba.WritebackHRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 91 mode_lib->vba.WritebackVRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 92 mode_lib->vba.WritebackHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 93 mode_lib->vba.WritebackVTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 94 mode_lib->vba.WritebackSourceWidth[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 95 mode_lib->vba.WritebackDestinationWidth[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
H A D | display_mode_vba_util_32.c | 468 unsigned int k; in dml32_CalculateSwathAndDETConfiguration() local 515 for (k = 0; k < NumberOfActiveSurfaces; ++k) { in dml32_CalculateSwathAndDETConfiguration() 516 …RoundedUpMaxSwathSizeBytesY[k] = swath_width_luma_ub[k] * BytePerPixDETY[k] * MaximumSwathHeightY[… in dml32_CalculateSwathAndDETConfiguration() 517 …RoundedUpMaxSwathSizeBytesC[k] = swath_width_chroma_ub[k] * BytePerPixDETC[k] * MaximumSwathHeight… in dml32_CalculateSwathAndDETConfiguration() 519 dml_print("DML::%s: k=%0d DPPPerSurface = %d\n", __func__, k, DPPPerSurface[k]); in dml32_CalculateSwathAndDETConfiguration() 520 dml_print("DML::%s: k=%0d swath_width_luma_ub = %d\n", __func__, k, swath_width_luma_ub[k]); in dml32_CalculateSwathAndDETConfiguration() 521 dml_print("DML::%s: k=%0d BytePerPixDETY = %f\n", __func__, k, BytePerPixDETY[k]); in dml32_CalculateSwathAndDETConfiguration() 522 dml_print("DML::%s: k=%0d MaximumSwathHeightY = %d\n", __func__, k, MaximumSwathHeightY[k]); in dml32_CalculateSwathAndDETConfiguration() 523 dml_print("DML::%s: k=%0d RoundedUpMaxSwathSizeBytesY = %d\n", __func__, k, in dml32_CalculateSwathAndDETConfiguration() 524 RoundedUpMaxSwathSizeBytesY[k]); in dml32_CalculateSwathAndDETConfiguration() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 154 | 44 CLUSTER_SIZE=4k 68 $QEMU_IO -c "write -z 0 2k" "$TEST_IMG" | _filter_qemu_io 69 $QEMU_IO -c "write -z 10k 2k" "$TEST_IMG" | _filter_qemu_io 70 $QEMU_IO -c "write -z 17k 2k" "$TEST_IMG" | _filter_qemu_io 71 $QEMU_IO -c "write -z 27k 2k" "$TEST_IMG" | _filter_qemu_io 82 $QEMU_IO -c "write -P 0x11 32k 1k" "$TEST_IMG.base" | _filter_qemu_io 83 $QEMU_IO -c "write -z 34k 1k" "$TEST_IMG" | _filter_qemu_io 84 $QEMU_IO -c "read -P 0x11 32k 1k" "$TEST_IMG" | _filter_qemu_io 85 $QEMU_IO -c "read -P 0 33k 3k" "$TEST_IMG" | _filter_qemu_io 89 $QEMU_IO -c "write -P 0x11 65k 1k" "$TEST_IMG.base" | _filter_qemu_io [all …]
|
H A D | 034 | 48 CLUSTER_SIZE=4k 66 $QEMU_IO -c "write -z 64k 192k" "$TEST_IMG" | _filter_qemu_io 67 $QEMU_IO -c "write -z 513k 13k" "$TEST_IMG" | _filter_qemu_io 73 $QEMU_IO -c "read -P 0x55 0 64k" "$TEST_IMG" | _filter_qemu_io 74 $QEMU_IO -c "read -P 0x0 64k 192k" "$TEST_IMG" | _filter_qemu_io 75 $QEMU_IO -c "read -P 0x55 256k 257k" "$TEST_IMG" | _filter_qemu_io 76 $QEMU_IO -c "read -P 0x0 513k 13k" "$TEST_IMG" | _filter_qemu_io 77 $QEMU_IO -c "read -P 0x55 526k 498k" "$TEST_IMG" | _filter_qemu_io 81 $QEMU_IO -c "write -P 0xa 60k 8k" "$TEST_IMG" | _filter_qemu_io 82 $QEMU_IO -c "write -P 0xb 64k 8k" "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 271.out | 8 write -q -P PATTERN 0 1k 10 write -q -P PATTERN 3k 512 12 write -q -P PATTERN 5k 1k 14 write -q -P PATTERN 6k 2k 16 write -q -P PATTERN 8k 6k 18 write -q -P PATTERN 15k 4k 20 write -q -P PATTERN 32k 1k 22 write -q -P PATTERN 63k 4k 25 write -q -z 2k 2k 27 write -q -z 0 64k [all …]
|
H A D | 037 | 47 CLUSTER_SIZE=4k 82 $QEMU_IO -c "write -P 0x77 0 2k" "$TEST_IMG" | _filter_qemu_io 83 $QEMU_IO -c "write -P 0x88 6k 2k" "$TEST_IMG" | _filter_qemu_io 84 $QEMU_IO -c "write -P 0x99 9k 2k" "$TEST_IMG" | _filter_qemu_io 86 $QEMU_IO -c "read -P 0x77 0 2k" "$TEST_IMG" | _filter_qemu_io 88 $QEMU_IO -c "read -P 0x88 6k 2k" "$TEST_IMG" | _filter_qemu_io 90 $QEMU_IO -c "read -P 0x99 9k 2k" "$TEST_IMG" | _filter_qemu_io 95 $QEMU_IO -c "write -P 0x77 16k 6k" "$TEST_IMG" | _filter_qemu_io 96 $QEMU_IO -c "write -P 0x88 26k 6k" "$TEST_IMG" | _filter_qemu_io 97 $QEMU_IO -c "write -P 0x99 33k 5k" "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 271 | 88 # len: request length, passed directly to qemu-io (e.g: 256, 4k, 1M, ...) 120 [ "$offset" != 0 ] && offset="${offset}k" 157 _run_test sc=0 len=1k 165 _run_test sc=2 off=1 len=1k 169 _run_test sc=3 len=2k 173 _run_test sc=4 len=6k 177 _run_test sc=7 off=1 len=4k 181 _run_test sc=16 len=1k 185 _run_test sc=31 off=1 len=4k 191 _run_test sc=1 len=2k cmd=zero [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | extents.c | 33 i->k = bkey_next(i->k); in sort_key_next() 35 if (i->k == i->end) in sort_key_next() 42 int64_t c = bkey_cmp(l.k, r.k); in bch_key_sort_cmp() 44 return c ? c > 0 : l.k < r.k; in bch_key_sort_cmp() 47 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid() argument 51 for (i = 0; i < KEY_PTRS(k); i++) in __ptr_invalid() 52 if (ptr_available(c, k, i)) { in __ptr_invalid() 54 size_t bucket = PTR_BUCKET_NR(c, k, i); in __ptr_invalid() 55 size_t r = bucket_remainder(c, PTR_OFFSET(k, i)); in __ptr_invalid() 57 if (KEY_SIZE(k) + r > c->cache->sb.bucket_size || in __ptr_invalid() [all …]
|
/openbmc/linux/tools/lib/ |
H A D | bitmap.c | 10 unsigned int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 12 for (k = 0; k < lim; k++) in __bitmap_weight() 13 w += hweight_long(bitmap[k]); in __bitmap_weight() 16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 24 int k; in __bitmap_or() local 27 for (k = 0; k < nr; k++) in __bitmap_or() 28 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or() 63 unsigned int k; in __bitmap_and() local 67 for (k = 0; k < lim; k++) in __bitmap_and() 68 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | termios.c | 33 int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() argument 37 err = get_user(k->c_iflag, &u->c_iflag); in user_termios_to_kernel_termios() 38 err |= get_user(k->c_oflag, &u->c_oflag); in user_termios_to_kernel_termios() 39 err |= get_user(k->c_cflag, &u->c_cflag); in user_termios_to_kernel_termios() 40 err |= get_user(k->c_lflag, &u->c_lflag); in user_termios_to_kernel_termios() 41 err |= get_user(k->c_line, &u->c_line); in user_termios_to_kernel_termios() 42 err |= copy_from_user(k->c_cc, u->c_cc, NCCS); in user_termios_to_kernel_termios() 43 if (k->c_lflag & ICANON) { in user_termios_to_kernel_termios() 44 err |= get_user(k->c_cc[VEOF], &u->c_cc[VEOF]); in user_termios_to_kernel_termios() 45 err |= get_user(k->c_cc[VEOL], &u->c_cc[VEOL]); in user_termios_to_kernel_termios() [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 44 * extent [0, 16K), followed by another file extent [16K, 20K), two dio reads 45 * are entering btrfs_get_extent() concurrently, t1 is reading [8K, 16K), t2 is 46 * reading [0, 8K) 51 * -> add_extent_mapping(0, 16K) 53 * ->add_extent_mapping(0, 16K) 70 /* Add [0, 16K) */ in test_case_1() 79 test_err("cannot add extent range [0, 16K)"); in test_case_1() 84 /* Add [16K, 20K) following [0, 16K) */ in test_case_1() 100 test_err("cannot add extent range [16K, 20K)"); in test_case_1() 112 /* Add [0, 8K), should return [0, 16K) instead. */ in test_case_1() [all …]
|
/openbmc/qemu/hw/isa/ |
H A D | isa-superio.c | 31 ISASuperIOClass *k = ISA_SUPERIO_GET_CLASS(sio); in isa_superio_realize() local 41 for (i = 0; i < k->parallel.count; i++) { in isa_superio_realize() 44 k->parallel.count - ARRAY_SIZE(sio->parallel)); in isa_superio_realize() 47 if (!k->parallel.is_enabled || k->parallel.is_enabled(sio, i)) { in isa_superio_realize() 59 if (k->parallel.get_iobase) { in isa_superio_realize() 61 k->parallel.get_iobase(sio, i)); in isa_superio_realize() 63 if (k->parallel.get_irq) { in isa_superio_realize() 64 qdev_prop_set_uint32(d, "irq", k->parallel.get_irq(sio, i)); in isa_superio_realize() 71 k->parallel.get_iobase ? in isa_superio_realize() 72 k->parallel.get_iobase(sio, i) : -1, in isa_superio_realize() [all …]
|
/openbmc/linux/crypto/ |
H A D | serpent_generic.c | 25 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; }) 28 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; }) 31 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; }) 36 #define K(x0, x1, x2, x3, i) ({ \ macro 37 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \ 38 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \ 48 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \ 49 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\ 50 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \ 54 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \ [all …]
|
/openbmc/qemu/util/ |
H A D | bitmap.c | 43 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_empty() local 45 for (k = 0; k < lim; ++k) { in slow_bitmap_empty() 46 if (bitmap[k]) { in slow_bitmap_empty() 51 if (bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) { in slow_bitmap_empty() 61 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_full() local 63 for (k = 0; k < lim; ++k) { in slow_bitmap_full() 64 if (~bitmap[k]) { in slow_bitmap_full() 70 if (~bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) { in slow_bitmap_full() 81 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_equal() local 83 for (k = 0; k < lim; ++k) { in slow_bitmap_equal() [all …]
|
/openbmc/linux/drivers/ata/pata_parport/ |
H A D | friq.c | 71 int h, l, k, ph; in friq_read_block_int() local 76 for (k = 0; k < count; k++) { in friq_read_block_int() 79 buf[k] = j44(l, h); in friq_read_block_int() 87 for (k = 0; k < count; k++) { in friq_read_block_int() 89 buf[k] = r0(); in friq_read_block_int() 96 for (k = 0; k < count - 2; k++) in friq_read_block_int() 97 buf[k] = r4(); in friq_read_block_int() 105 for (k = 0; k < count / 2 - 1; k++) in friq_read_block_int() 106 ((u16 *)buf)[k] = r4w(); in friq_read_block_int() 114 for (k = 0; k < count / 4 - 1; k++) in friq_read_block_int() [all …]
|
H A D | frpw.c | 59 int h, l, k, ph; in frpw_read_block_int() local 64 for (k = 0; k < count; k++) { in frpw_read_block_int() 67 buf[k] = j44(l, h); in frpw_read_block_int() 76 for (k = 0; k < count; k++) { in frpw_read_block_int() 78 buf[k] = r0(); in frpw_read_block_int() 86 for (k = 0; k < count; k++) in frpw_read_block_int() 87 buf[k] = r4(); in frpw_read_block_int() 94 for (k = 0; k < count - 2; k++) in frpw_read_block_int() 95 buf[k] = r4(); in frpw_read_block_int() 104 for (k = 0; k < count / 2 - 1; k++) in frpw_read_block_int() [all …]
|