| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| D | display_mode_vba_30.c | 744 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 746 // max = such that compression is 1:1 in dscceComputeDelay() 748 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 760 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 762 pixelsPerClock = 1; in dscceComputeDelay() 766 pixelsPerClock = 1; in dscceComputeDelay() 786 s = 1; in dscceComputeDelay() 794 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 795 L = (ax + wx - 1) / wx; in dscceComputeDelay() 797 lstall = 1; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| D | display_mode_vba_30.c | 676 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 678 // max = such that compression is 1:1 in dscceComputeDelay() 680 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 692 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 694 pixelsPerClock = 1; in dscceComputeDelay() 698 pixelsPerClock = 1; in dscceComputeDelay() 718 s = 1; in dscceComputeDelay() 726 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 727 L = (ax + wx - 1) / wx; in dscceComputeDelay() 729 lstall = 1; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| D | display_mode_vba_21.c | 503 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 505 // max = such that compression is 1:1 in dscceComputeDelay() 507 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 519 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 521 pixelsPerClock = 1; in dscceComputeDelay() 539 S = 1; in dscceComputeDelay() 549 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 550 l = (ax + wx - 1) / wx; in dscceComputeDelay() 552 lstall = 1; in dscceComputeDelay() 555 Delay = l * wx * (numSlices - 1) + ax + S + lstall + 22; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| D | display_mode_vba_21.c | 503 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 505 // max = such that compression is 1:1 in dscceComputeDelay() 507 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 519 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 521 pixelsPerClock = 1; in dscceComputeDelay() 539 S = 1; in dscceComputeDelay() 549 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 550 l = (ax + wx - 1) / wx; in dscceComputeDelay() 552 lstall = 1; in dscceComputeDelay() 555 Delay = l * wx * (numSlices - 1) + ax + S + lstall + 22; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| D | display_mode_vba_util_32.c | 41 // valid bpp = increments of 1/16 of a bit in dml32_dscceComputeDelay() 43 // max = such that compression is 1:1 in dml32_dscceComputeDelay() 46 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dml32_dscceComputeDelay() 60 // #all other modes operate at 1 pixel per clock in dml32_dscceComputeDelay() 62 pixelsPerClock = 1; in dml32_dscceComputeDelay() 82 s = 1; in dml32_dscceComputeDelay() 90 ax = (a + 2) / 3 + D + 6 + 1; in dml32_dscceComputeDelay() 91 L = (ax + wx - 1) / wx; in dml32_dscceComputeDelay() 93 lstall = 1; in dml32_dscceComputeDelay() 96 Delay = L * wx * (numSlices - 1) + ax + s + lstall + 22; in dml32_dscceComputeDelay() [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| D | display_mode_vba_20v2.c | 332 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 334 // max = such that compression is 1:1 in dscceComputeDelay() 336 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 348 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 350 pixelsPerClock = 1; in dscceComputeDelay() 368 s = 1; in dscceComputeDelay() 378 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 379 l = (ax + wx - 1) / wx; in dscceComputeDelay() 381 lstall = 1; in dscceComputeDelay() 384 Delay = l * wx * (numSlices - 1) + ax + s + lstall + 22; in dscceComputeDelay() [all …]
|
| D | display_mode_vba_20.c | 308 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 310 // max = such that compression is 1:1 in dscceComputeDelay() 312 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 324 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 326 pixelsPerClock = 1; in dscceComputeDelay() 344 s = 1; in dscceComputeDelay() 354 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 355 l = (ax + wx - 1) / wx; in dscceComputeDelay() 357 lstall = 1; in dscceComputeDelay() 360 Delay = l * wx * (numSlices - 1) + ax + s + lstall + 22; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| D | display_mode_vba_20v2.c | 332 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 334 // max = such that compression is 1:1 in dscceComputeDelay() 336 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 348 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 350 pixelsPerClock = 1; in dscceComputeDelay() 368 s = 1; in dscceComputeDelay() 378 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 379 l = (ax + wx - 1) / wx; in dscceComputeDelay() 381 lstall = 1; in dscceComputeDelay() 384 Delay = l * wx * (numSlices - 1) + ax + s + lstall + 22; in dscceComputeDelay() [all …]
|
| D | display_mode_vba_20.c | 308 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 310 // max = such that compression is 1:1 in dscceComputeDelay() 312 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 324 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 326 pixelsPerClock = 1; in dscceComputeDelay() 344 s = 1; in dscceComputeDelay() 354 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 355 l = (ax + wx - 1) / wx; in dscceComputeDelay() 357 lstall = 1; in dscceComputeDelay() 360 Delay = l * wx * (numSlices - 1) + ax + s + lstall + 22; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| D | display_mode_vba_314.c | 57 // Delay in DCFCLK from ARB to DET (1st num is ARB to SDPIF, 2nd number is SDPIF to DET) 267 unsigned int k, 700 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 702 // max = such that compression is 1:1 in dscceComputeDelay() 704 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 716 pixelsPerClock = 1; in dscceComputeDelay() 719 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 721 pixelsPerClock = 1; in dscceComputeDelay() 741 s = 1; in dscceComputeDelay() 749 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| D | display_mode_vba_31.c | 56 // Delay in DCFCLK from ARB to DET (1st num is ARB to SDPIF, 2nd number is SDPIF to DET) 255 unsigned int k, 679 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay() 681 // max = such that compression is 1:1 in dscceComputeDelay() 683 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 695 pixelsPerClock = 1; in dscceComputeDelay() 698 // #all other modes operate at 1 pixel per clock in dscceComputeDelay() 700 pixelsPerClock = 1; in dscceComputeDelay() 720 s = 1; in dscceComputeDelay() 728 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/ata/pata_parport/ |
| D | epat.c | 32 * cont = 1 IDE control registers 43 case 1: in epat_write_regr() 45 w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr() 64 w0(r); w2(1); w2(3); in epat_read_regr() 67 case 1: in epat_read_regr() 68 w0(0x40+r); w2(1); w2(4); in epat_read_regr() 72 w0(0x20+r); w2(1); w2(0x25); in epat_read_regr() 82 return -1; /* never gets here */ in epat_read_regr() 87 int k, ph, a, b; in epat_read_block() local 92 w0(7); w2(1); w2(3); w0(0xff); in epat_read_block() [all …]
|
| D | epia.c | 22 * mode codes: 0 nybble reads on port 1, 8-bit writes 23 * 1 5/3 reads on ports 1 & 2, 8-bit writes 35 * cont = 1 IDE control registers 48 w0(r); w2(1); w2(3); w0(r); in epia_read_regr() 49 a = r1(); w2(1); b = r1(); w2(4); in epia_read_regr() 51 case 1: in epia_read_regr() 53 w0(r); w2(1); w0(r & 0x37); in epia_read_regr() 59 w0(r); w2(1); w2(0X21); w2(0x23); in epia_read_regr() 69 return -1; in epia_read_regr() 80 case 1: in epia_write_regr() [all …]
|
| D | frpw.c | 28 * cont = 1 - access the IDE command set 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() 72 case 1: 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/block/paride/ |
| D | epat.c | 41 cont = 1 IDE control registers 56 case 1: in epat_write_regr() 57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr() 76 case 0: w0(r); w2(1); w2(3); in epat_read_regr() 80 case 1: w0(0x40+r); w2(1); w2(4); in epat_read_regr() 84 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr() 94 return -1; /* never gets here */ in epat_read_regr() 99 { int k, ph, a, b; in epat_read_block() local 103 case 0: w0(7); w2(1); w2(3); w0(0xff); in epat_read_block() 105 for(k=0;k<count;k++) { in epat_read_block() [all …]
|
| D | epia.c | 32 /* mode codes: 0 nybble reads on port 1, 8-bit writes 33 1 5/3 reads on ports 1 & 2, 8-bit writes 44 cont = 1 IDE control registers 58 w0(r); w2(1); w2(3); w0(r); in epia_read_regr() 59 a = r1(); w2(1); b = r1(); w2(4); in epia_read_regr() 62 case 1: r = regr^0x31; in epia_read_regr() 63 w0(r); w2(1); w0(r&0x37); in epia_read_regr() 69 w0(r); w2(1); w2(0X21); w2(0x23); in epia_read_regr() 79 return -1; in epia_read_regr() 91 case 1: in epia_write_regr() [all …]
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | keyboard.h | 12 #define KG_ALTGR 1 26 #define KT_FN 1 39 #define K(t,v) (((t)<<8)|(v)) macro 42 #define K_F1 K(KT_FN,0) 43 #define K_F2 K(KT_FN,1) 44 #define K_F3 K(KT_FN,2) 45 #define K_F4 K(KT_FN,3) 46 #define K_F5 K(KT_FN,4) 47 #define K_F6 K(KT_FN,5) 48 #define K_F7 K(KT_FN,6) [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | keyboard.h | 10 #define KG_ALTGR 1 31 #define KT_FN 1 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) [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | keyboard.h | 10 #define KG_ALTGR 1 30 #define KT_FN 1 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) [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | hashmap.c | 13 static size_t hash_fn(const void *k, void *ctx) in hash_fn() argument 15 return (long)k; in hash_fn() 25 size_t r = 1; in next_pow_2() 28 r <<= 1; in next_pow_2() 37 r <<= 1; in exp_cap() 56 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local 59 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic() 65 err = hashmap__add(map, k, v); in test_hashmap_generic() 67 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic() 69 "unexpected k/v: %p=%p\n", oldk, oldv)) in test_hashmap_generic() [all …]
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | keyboard.h | 25 #define KG_ALTGR 1 39 #define KT_FN 1 52 #define K(t,v) (((t) << 8) | (v)) macro 55 #define K_F1 K(KT_FN, 0) 56 #define K_F2 K(KT_FN, 1) 57 #define K_F3 K(KT_FN, 2) 58 #define K_F4 K(KT_FN, 3) 59 #define K_F5 K(KT_FN, 4) 60 #define K_F6 K(KT_FN, 5) 61 #define K_F7 K(KT_FN, 6) [all …]
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
| D | keyboard.h | 25 #define KG_ALTGR 1 39 #define KT_FN 1 52 #define K(t,v) (((t) << 8) | (v)) macro 55 #define K_F1 K(KT_FN, 0) 56 #define K_F2 K(KT_FN, 1) 57 #define K_F3 K(KT_FN, 2) 58 #define K_F4 K(KT_FN, 3) 59 #define K_F5 K(KT_FN, 4) 60 #define K_F6 K(KT_FN, 5) 61 #define K_F7 K(KT_FN, 6) [all …]
|