Home
last modified time | relevance | path

Searched +full:2 +full:k (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/linux/tools/lib/
H A Dlist_sort.c12 __attribute__((nonnull(2,3,4)))
48 __attribute__((nonnull(2,3,4,5)))
117 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
118 * merged to a size-2^(k+1) list as soon as we have 2^k following elements.
120 * Thus, it will avoid cache thrashing as long as 3*2^k elements can
129 * Each time we increment "count", we set one bit (bit k) and clear
130 * bits k-1 .. 0. Each time this happens (except the very first time
131 * for each bit, when count increments to 2^k), we merge two lists of
132 * size 2^k into one list of size 2^(k+1).
135 * 2^k, which is when we have 2^k elements pending in smaller lists,
[all …]
/linux/drivers/ata/pata_parport/
H A Dfrpw.c30 static int cont_map[2] = { 0x08, 0x10 };
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()
73 ph = 2; 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()
79 ph = 2 - ph; in frpw_read_block_int()
84 case 2: in frpw_read_block_int()
86 for (k = 0; k < count; k++) in frpw_read_block_int()
[all …]
H A Dfriq.c44 static int cont_map[2] = { 0x08, 0x10 };
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()
84 ph = 2; 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()
90 ph = 2 - ph; in friq_read_block_int()
94 case 2: in friq_read_block_int()
96 for (k = 0; k < count - 2; k++) in friq_read_block_int()
[all …]
H A Depia.c23 * 1 5/3 reads on ports 1 & 2, 8-bit writes
24 * 2 8-bit reads and writes
37 static int cont_map[2] = { 0, 0x80 };
57 case 2: in epia_read_regr()
81 case 2: in epia_write_regr()
129 int k, ph, a, b; in epia_read_block() local
135 for (k = 0; k < count; k++) { in epia_read_block()
136 w2(2+ph); a = r1(); in epia_read_block()
138 buf[k] = j44(a, b); in epia_read_block()
147 for (k = 0; k < count; k++) { in epia_read_block()
[all …]
H A Dkbic.c33 static int cont_map[2] = { 0x80, 0x40 };
50 case 2: in kbic_read_regr()
72 case 2: in kbic_write_regr()
128 int k, a, b; in kbic_read_block() local
133 for (k = 0; k < count / 2; k++) { in kbic_read_block()
138 buf[2 * k] = j44(a, b); in kbic_read_block()
143 buf[2 * k + 1] = j44(a, b); in kbic_read_block()
149 for (k = 0; k < count / 4; k++) { in kbic_read_block()
153 buf[4 * k] = j53(r12w()); in kbic_read_block()
155 buf[4 * k + 1] = j53(r12w()); in kbic_read_block()
[all …]
H A Depat.c33 * cont = 2 internal EPAT registers
44 case 2: in epat_write_regr()
71 case 2: in epat_read_regr()
87 int k, ph, a, b; in epat_read_block() local
94 for (k = 0; k < count; k++) { in epat_read_block()
95 if (k == count-1) in epat_read_block()
103 buf[k] = j44(a, b); in epat_read_block()
112 for (k = 0; k < count; k++) { in epat_read_block()
113 if (k == count - 1) in epat_read_block()
117 buf[k] = j53(a, b); in epat_read_block()
[all …]
H A Don26.c21 * 2 8-bit EPP mode
47 r = (regr << 2) + 1 + cont; in on26_read_regr()
60 case 2: in on26_read_regr()
74 int r = (regr << 2) + 1 + cont; in on26_write_regr()
82 case 2: in on26_write_regr()
113 w0(2); P1; w0(8); P2; in on26_connect()
114 w0(2); P1; w0(x); P2; in on26_connect()
119 if (pi->mode >= 2) { in on26_disconnect()
156 w0(2); P1; w0(0); P2; in on26_test_port()
158 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port()
[all …]
H A Ddstr.c21 * 2 8-bit EPP mode
37 static int cont_map[2] = { 0x20, 0x40 };
59 case 2: in dstr_read_regr()
74 if (pi->mode >= 2) in dstr_write_regr()
85 case 2: in dstr_write_regr()
117 int k, a, b; in dstr_read_block() local
128 for (k = 0; k < count; k++) { in dstr_read_block()
131 buf[k] = j44(a, b); in dstr_read_block()
136 for (k = 0; k < count; k++) { in dstr_read_block()
138 buf[k] = r0(); in dstr_read_block()
[all …]
H A Dfit3.c44 case 2: in fit3_write_regr()
70 case 2: in fit3_read_regr()
83 int k, a, b, c, d; in fit3_read_block() local
88 for (k = 0; k < count / 2; k++) { in fit3_read_block()
93 buf[2 * k] = j44(a, b); in fit3_read_block()
94 buf[2 * k + 1] = j44(c, d); in fit3_read_block()
101 for (k = 0; k < count / 2; k++) { in fit3_read_block()
104 buf[2 * k] = a; in fit3_read_block()
105 buf[2 * k + 1] = b; in fit3_read_block()
110 case 2: in fit3_read_block()
[all …]
H A Daten.c26 static int cont_map[2] = { 0x08, 0x20 };
62 int k, a, b, c, d; in aten_read_block() local
68 for (k = 0; k < count / 2; k++) { in aten_read_block()
69 w2(7); w2(6); w2(2); in aten_read_block()
72 buf[2 * k] = j44(c, d); in aten_read_block()
73 buf[2 * k + 1] = j44(a, b); in aten_read_block()
80 for (k = 0; k < count / 2; k++) { in aten_read_block()
83 buf[2 * k] = b; in aten_read_block()
84 buf[2 * k + 1] = a; in aten_read_block()
93 int k; in aten_write_block() local
[all …]
H A Dcomm.c22 * 2 8-bit EPP mode
34 static int cont_map[2] = { 0x08, 0x10 };
53 case 2: in comm_read_regr()
73 case 2: in comm_write_regr()
121 case 2: in comm_read_block()
129 for (i = 0; i < count / 2; i++) in comm_read_block()
145 int k; in comm_write_block() local
151 for (k = 0; k < count; k++) { in comm_write_block()
153 w0(buf[k ^ 1]); in comm_write_block()
158 case 2: in comm_write_block()
[all …]
/linux/Documentation/admin-guide/media/
H A Ddvb_intro.rst133 T 177500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
134 T 184500000 7MHz AUTO AUTO QAM64 8k 1/8 NONE
135 T 191625000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
136 T 219500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
137 T 226500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
138 T 557625000 7MHz AUTO AUTO QPSK 8k 1/16 NONE
151 TRANSMISSION_MODE = 8K
179 TRANSMISSION_MODE = 8K
194 TRANSMISSION_MODE = 8K
198 [ABC TV 2]
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core.c854 //valid numSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay()
860 // N422/N420 operate at 2 pixels per clock in dscceComputeDelay()
865 pixelsPerClock = 2; in dscceComputeDelay()
870 pixelsPerClock = 2; in dscceComputeDelay()
896 wx = (w + 2) / 3; in dscceComputeDelay()
900 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay()
908 //dsc processes 3 pixel containers per cycle and a container can contain 1 or 2 pixels in dscceComputeDelay()
929 Delay = Delay + 2; in dscComputeDelay()
935 Delay = Delay + 2; in dscComputeDelay()
941 Delay = Delay + 2; in dscComputeDelay()
2709 for (dml_uint_t k = 0; k < num_active_planes; ++k) { PixelClockAdjustmentForProgressiveToInterlaceUnit() local
2864 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
2901 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
2906 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
2972 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
2979 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
3003 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
3024 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
3032 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
3079 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
3149 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleep() local
3180 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleep() local
3193 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleep() local
3316 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePixelDeliveryTimes() local
3371 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePixelDeliveryTimes() local
3406 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePixelDeliveryTimes() local
3503 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
3518 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
3570 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
3685 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateVMGroupAndRequestTimes() local
3827 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
3917 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
3999 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
4030 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
4123 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
4164 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
4184 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
4230 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
4361 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSwathWidth() local
4566 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateExtraLatencyBytes() local
4623 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { UseMinimumDCFCLK() local
4627 for (dml_uint_t k = 0; k <= p->NumberOfActiveSurfaces - 1; ++k) { UseMinimumDCFCLK() local
4639 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { UseMinimumDCFCLK() local
4707 for (dml_uint_t k = 0; k <= p->NumberOfActiveSurfaces - 1; ++k) { UseMinimumDCFCLK() local
4711 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { UseMinimumDCFCLK() local
4777 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSurfaceSizeInMall() local
4819 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSurfaceSizeInMall() local
4880 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
4931 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
4937 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
4944 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
4964 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
5027 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
5076 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
5275 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
5284 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
5719 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDPPCLK() local
5726 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDPPCLK() local
5748 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMALLUseForStaticScreen() local
5762 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMALLUseForStaticScreen() local
5953 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateVActiveBandwithSupport() local
5959 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateVActiveBandwithSupport() local
6003 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePrefetchBandwithSupport() local
6010 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePrefetchBandwithSupport() local
6017 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePrefetchBandwithSupport() local
6059 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateBandwidthAvailableForImmediateFlip() local
6116 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateImmediateFlipBandwithSupport() local
6154 for (dml_uint_t k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateImmediateFlipBandwithSupport() local
6238 set_calculate_prefetch_schedule_params(struct display_mode_lib_st * mode_lib,struct CalculatePrefetchSchedule_params_st * CalculatePrefetchSchedule_params,dml_uint_t j,dml_uint_t k) set_calculate_prefetch_schedule_params() argument
6293 dml_uint_t j, k; dml_prefetch_check() local
6809 dml_uint_t j, k, m; dml_core_mode_support() local
8327 dml_uint_t j = 0, k = 0; dml_core_mode_programming() local
10158 for (dml_uint_t k = 0; k < __DML_NUM_PLANES__; ++k) dml_mode_programming() local
[all...]
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dpolice.json20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
46 "$TC actions add action police rate 4Mbit burst 120k index 9"
48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
75 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98",
102 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit index 3",
105 "matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit",
156 "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64",
159 "matchPattern": "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2K
16 1, global() number
43 1, global() number
57 { global() object
71 1, global() number
98 1, global() number
125 1, global() number
152 1, global() number
179 1, global() number
206 1, global() number
233 1, global() number
260 1, global() number
287 1, global() number
314 1, global() number
341 1, global() number
368 1, global() number
395 1, global() number
422 1, global() number
449 1, global() number
476 1, global() number
503 1, global() number
530 1, global() number
558 1, global() number
562 "$TC actions add action police rate 2mbit burst 200k index 2", global() string
593 1, global() number
621 1, global() number
625 "$TC actions add action police rate 2mbit burst 200k index 2", global() string
655 "$TC actions add action police rate 3mbit burst 300k index 3", global() string
685 1, global() number
712 1, global() number
739 1, global() number
766 1, global() number
793 1, global() number
820 1, global() number
847 1, global() number
875 1, global() number
902 1, global() number
929 1, global() number
[all...]
/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c20 #define SEEN_XREG 2 /* ebx is used */
56 #define WDISP22(X) (((X) >> 2) & 0x3fffff)
58 #define BA (F2(0, 2) | CONDA)
59 #define BGU (F2(0, 2) | CONDGU)
60 #define BLEU (F2(0, 2) | CONDLEU)
61 #define BGEU (F2(0, 2) | CONDGEU)
62 #define BLU (F2(0, 2) | CONDLU)
63 #define BE (F2(0, 2) | CONDE)
64 #define BNE (F2(0, 2) | CONDNE)
68 #define SETHI(K, REG) \ argument
[all …]
/linux/drivers/input/joystick/
H A Dtmdc.c46 static const unsigned char tmdc_byte_d[16] = { 2, 5, 8, 9 };
83 { 1, "ThrustMaster Millennium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
84 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
85 { 4, "ThrustMaster Attack Throttle", 5, 2, { 4, 6 }, { 4, 2 }, tmdc_abs_at, tmdc_btn_at },
86 { 8, "ThrustMaster FragMaster", 4, 0, { 8, 2 }, { 0, 0 }, tmdc_abs_fm, tmdc_btn_fm },
87 { 163, "Thrustmaster Fusion GamePad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
106 struct tmdc_port *port[2];
108 struct input_dev *dev[2];
109 char name[2][64];
110 char phys[2][32];
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_jhash.h39 const unsigned char *k = key; in jhash() local
44 a += *(volatile u32 *)(k); in jhash()
45 b += *(volatile u32 *)(k + 4); in jhash()
46 c += *(volatile u32 *)(k + 8); in jhash()
49 k += 12; in jhash()
52 case 12: c += (u32)k[11]<<24; in jhash()
53 case 11: c += (u32)k[10]<<16; in jhash()
54 case 10: c += (u32)k[9]<<8; in jhash()
55 case 9: c += k[8]; in jhash()
56 case 8: b += (u32)k[7]<<24; in jhash()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c160 for (unsigned int k = 0; k < display_cfg->num_planes; k++) { in get_stream_output_bpp()
161 double bpc = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.bpc; in get_stream_output_bpp()
162 if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.enable == dml2_dsc_disable) { in get_stream_output_bpp()
163 switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.output_format) { in get_stream_output_bpp()
165 out_bpp[k] = bpc * 3; in get_stream_output_bpp()
168 out_bpp[k] = bpc * 2; in get_stream_output_bpp()
171 out_bpp[k] in get_stream_output_bpp()
159 for (unsigned int k = 0; k < display_cfg->num_planes; k++) { get_stream_output_bpp() local
209 for (unsigned int k = 0; k < num_planes; k++) { dml_get_num_active_pipes() local
221 for (unsigned int k = 0; k < DML2_MAX_PLANES; ++k) { dml_calc_pipe_plane_mapping() local
434 for (unsigned int k = 0; k < display_cfg->num_planes; ++k) { PixelClockAdjustmentForProgressiveToInterlaceUnit() local
856 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSwathWidth() local
1053 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1105 for (unsigned int k = 0; k < display_cfg->num_streams; ++k) { CalculateDETBufferSize() local
1110 for (unsigned int k = 0; k < display_cfg->num_streams; ++k) { CalculateDETBufferSize() local
1116 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1135 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1161 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1167 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1173 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1191 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1236 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDETBufferSize() local
1964 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMALLUseForStaticScreen() local
1978 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateMALLUseForStaticScreen() local
2647 for (unsigned int k = 0; k < num_active_planes; ++k) { calculate_mall_bw_overhead_factor() local
2830 unsigned int n, m, k; calculate_avg_bandwidth_required() local
2883 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
3095 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
3109 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateVMRowAndSwath() local
3531 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleepTdlut() local
3579 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleepTdlut() local
3592 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateDCFCLKDeepSleepTdlut() local
3725 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
3756 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
3776 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
3819 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
3945 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateSwathAndDETConfiguration() local
4587 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSurfaceSizeInMall() local
4619 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateSurfaceSizeInMall() local
4779 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateTarb() local
4791 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateTarb() local
4927 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { get_urgent_bandwidth_required() local
5078 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateExtraLatency() local
6011 unsigned int i, k; CheckGlobalPrefetchAdmissibility() local
6137 for (unsigned int k = 0; k < p->num_active_planes; ++k) { calculate_peak_bandwidth_required() local
6755 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
6792 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
6804 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
6959 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
6966 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
7340 unsigned int k; dml_core_ms_prefetch_check() local
7981 unsigned int k, m, n; dml_core_mode_support() local
9659 for (unsigned int k = 0; k < in_out_params->in_display_cfg->num_planes; k++) dml2_core_calcs_mode_support_ex() local
9692 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePixelDeliveryTimes() local
9749 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculatePixelDeliveryTimes() local
9791 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
9806 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
9873 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
9882 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateMetaAndPTETimes() local
10004 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { CalculateVMGroupAndRequestTimes() local
10127 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
10224 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
10310 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { CalculateStutterEfficiency() local
10423 unsigned int k; dml_core_mode_programming() local
13059 unsigned int k, n; dml2_core_calcs_get_informative() local
[all...]
/linux/tools/include/linux/
H A Djhash.h61 * @k: sequence of bytes as key
73 const u8 *k = key; in jhash() local
80 a += __get_unaligned_cpu32(k); in jhash()
81 b += __get_unaligned_cpu32(k + 4); in jhash()
82 c += __get_unaligned_cpu32(k + 8); in jhash()
85 k += 12; in jhash()
90 case 12: c += (u32)k[11]<<24; in jhash()
91 case 11: c += (u32)k[10]<<16; in jhash()
92 case 10: c += (u32)k[9]<<8; in jhash()
93 case 9: c += k[8]; in jhash()
[all …]
/linux/include/linux/
H A Djhash.h61 * @k: sequence of bytes as key
73 const u8 *k = key; in jhash() local
80 a += get_unaligned((u32 *)k); in jhash()
81 b += get_unaligned((u32 *)(k + 4)); in jhash()
82 c += get_unaligned((u32 *)(k + 8)); in jhash()
85 k += 12; in jhash()
89 case 12: c += (u32)k[11]<<24; fallthrough; in jhash()
90 case 11: c += (u32)k[10]<<16; fallthrough; in jhash()
91 case 10: c += (u32)k[9]<<8; fallthrough; in jhash()
92 case 9: c += k[8]; fallthrough; in jhash()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp8.c26 u8 prob_mv_context[2][V4L2_VP8_MV_PROB_CNT];
27 u8 padding2[2];
41 { 2, -11, 108, 36, -8, 1 },
45 { 1, -8, 36, 108, -11, 2 },
53 u32 i, j, k; in hantro_vp8_prob_update() local
61 dst[2] = hdr->prob_last; in hantro_vp8_prob_update()
65 dst[6] = hdr->segment.segment_probs[2]; in hantro_vp8_prob_update()
71 dst[2] = entropy->y_mode_probs[2]; in hantro_vp8_prob_update()
75 dst[6] = entropy->uv_mode_probs[2]; in hantro_vp8_prob_update()
82 dst[2] = entropy->mv_probs[0][1]; /* sign */ in hantro_vp8_prob_update()
[all …]
/linux/drivers/md/bcache/
H A Dbset.c23 struct bkey *k, *next; in bch_dump_bset() local
25 for (k = i->start; k < bset_bkey_last(i); k = next) { in bch_dump_bset()
26 next = bkey_next(k); in bch_dump_bset()
29 (unsigned int) ((u64 *) k - i->d), i->keys); in bch_dump_bset()
32 b->ops->key_dump(b, k); in bch_dump_bset()
34 pr_cont("%llu:%llu\n", KEY_INODE(k), KEY_OFFSET(k)); in bch_dump_bset()
37 bkey_cmp(k, b->ops->is_extents ? in bch_dump_bset()
58 struct bkey *k; in __bch_count_data() local
61 for_each_key(b, k, &iter) in __bch_count_data()
62 ret += KEY_SIZE(k); in __bch_count_data()
[all …]
H A Dbcache_ondisk.h12 static inline __u64 name(const type *k) \
13 { return (k->field >> offset) & ~(~0ULL << size); } \
15 static inline void SET_##name(type *k, __u64 v) \
17 k->field &= ~(~(~0ULL << size) << offset); \
18 k->field |= (v & ~(~0ULL << size)) << offset; \
33 static inline __u64 name(const struct bkey *k, unsigned int i) \
34 { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \
36 static inline void SET_##name(struct bkey *k, unsigned int i, __u64 v) \
38 k->ptr[i] &= ~(~(~0ULL << size) << offset); \
39 k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
[all …]
/linux/tools/thermal/tmon/
H A Dpid.c39 * y[k] = y[k-1] - kp*(x[k] - x[k-1]) + Ki*Ts*e[k] - Kd*(x[k]
40 * - 2*x[k-1]+x[k-2])/Ts
46 static double xk_1, xk_2; /* input temperature x[k-#] */
51 * 2. calculate PID based on Ziegler-Nichols rule
81 * y[k] = y[k-1] - kp*(x[k] - x[k-1]) + Ki*Ts*e[k] - Kd*(x[k]
82 * - 2*x[k-1]+x[k-2])/Ts
85 #define GUARD_BAND (2)
102 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; in controller_handler()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
14 static size_t hash_fn(long k, void *ctx) in hash_fn() argument
16 return k; in hash_fn()
56 long oldk, k = i; in test_hashmap_generic() local
59 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
64 if (i % 2) { 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: %ld=%ld\n", oldk, oldv)) in test_hashmap_generic()
73 if (CHECK(err, "elem_add", "failed to add k/v %ld = %ld: %d\n", k, v, err)) in test_hashmap_generic()
[all …]

12345678910>>...42