Home
last modified time | relevance | path

Searched full:float (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h103 float voltage[number_of_states_plus_one + 1];
104 float max_dispclk[number_of_states_plus_one + 1];
105 float max_dppclk[number_of_states_plus_one + 1];
106 float dcfclk_per_state[number_of_states_plus_one + 1];
107 float phyclk_per_state[number_of_states_plus_one + 1];
108 float fabric_and_dram_bandwidth_per_state[number_of_states_plus_one + 1];
109 float sr_exit_time;
110 float sr_enter_plus_exit_time;
111 float dram_clock_change_latency;
112 float urgent_latency;
[all …]
Ddcn_calc_math.h29 float dcn_bw_mod(const float arg1, const float arg2);
30 float dcn_bw_min2(const float arg1, const float arg2);
32 float dcn_bw_max2(const float arg1, const float arg2);
33 float dcn_bw_floor2(const float arg, const float significance);
34 float dcn_bw_floor(const float arg);
35 float dcn_bw_ceil2(const float arg, const float significance);
36 float dcn_bw_ceil(const float arg);
37 float dcn_bw_max3(float v1, float v2, float v3);
38 float dcn_bw_max5(float v1, float v2, float v3, float v4, float v5);
39 float dcn_bw_pow(float a, float exp);
[all …]
/linux-6.12.1/arch/arm/mach-pxa/
Dmfp-pxa300.h77 #define GPIO3_KP_DKIN_6 MFP_CFG_LPM(GPIO3, AF2, FLOAT)
78 #define GPIO4_KP_DKIN_7 MFP_CFG_LPM(GPIO4, AF2, FLOAT)
79 #define GPIO16_KP_DKIN_6 MFP_CFG_LPM(GPIO16, AF6, FLOAT)
80 #define GPIO83_KP_DKIN_2 MFP_CFG_LPM(GPIO83, AF5, FLOAT)
81 #define GPIO84_KP_DKIN_1 MFP_CFG_LPM(GPIO84, AF5, FLOAT)
82 #define GPIO85_KP_DKIN_0 MFP_CFG_LPM(GPIO85, AF3, FLOAT)
83 #define GPIO86_KP_DKIN_1 MFP_CFG_LPM(GPIO86, AF3, FLOAT)
84 #define GPIO87_KP_DKIN_2 MFP_CFG_LPM(GPIO87, AF3, FLOAT)
85 #define GPIO88_KP_DKIN_3 MFP_CFG_LPM(GPIO88, AF3, FLOAT)
86 #define GPIO89_KP_DKIN_3 MFP_CFG_LPM(GPIO89, AF3, FLOAT)
[all …]
Dmfp-pxa320.h84 #define GPIO83_KP_DKIN_0 MFP_CFG_LPM(GPIO83, AF3, FLOAT)
85 #define GPIO84_KP_DKIN_1 MFP_CFG_LPM(GPIO84, AF3, FLOAT)
86 #define GPIO85_KP_DKIN_2 MFP_CFG_LPM(GPIO85, AF3, FLOAT)
87 #define GPIO86_KP_DKIN_3 MFP_CFG_LPM(GPIO86, AF3, FLOAT)
89 #define GPIO105_KP_DKIN_0 MFP_CFG_LPM(GPIO105, AF2, FLOAT)
90 #define GPIO106_KP_DKIN_1 MFP_CFG_LPM(GPIO106, AF2, FLOAT)
91 #define GPIO107_KP_DKIN_2 MFP_CFG_LPM(GPIO107, AF2, FLOAT)
92 #define GPIO108_KP_DKIN_3 MFP_CFG_LPM(GPIO108, AF2, FLOAT)
93 #define GPIO109_KP_DKIN_4 MFP_CFG_LPM(GPIO109, AF2, FLOAT)
94 #define GPIO110_KP_DKIN_5 MFP_CFG_LPM(GPIO110, AF2, FLOAT)
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calc_math.c40 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod()
49 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2()
62 float dcn_bw_max2(const float arg1, const float arg2) in dcn_bw_max2()
71 float dcn_bw_floor2(const float arg, const float significance) in dcn_bw_floor2()
77 float dcn_bw_floor(const float arg) in dcn_bw_floor()
82 float dcn_bw_ceil(const float arg) in dcn_bw_ceil()
87 float dcn_bw_ceil2(const float arg, const float significance) in dcn_bw_ceil2()
94 float dcn_bw_max3(float v1, float v2, float v3) in dcn_bw_max3()
99 float dcn_bw_max5(float v1, float v2, float v3, float v4, float v5) in dcn_bw_max5()
104 float dcn_bw_pow(float a, float exp) in dcn_bw_pow()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_policy.c34float bw_on_sdp = (float)(entry->dcfclk_mhz * socbb->return_bus_width_bytes * ((float)socbb->pct_i… in get_optimal_ntuple()
36 …entry->fabricclk_mhz = bw_on_sdp / (socbb->return_bus_width_bytes * ((float)socbb->pct_ideal_fabri… in get_optimal_ntuple()
38 …socbb->dram_channel_width_bytes * ((float)socbb->pct_ideal_dram_bw_after_urgent_pixel_only / 100)); in get_optimal_ntuple()
40float bw_on_fabric = (float)(entry->fabricclk_mhz * socbb->return_bus_width_bytes * ((float)socbb-… in get_optimal_ntuple()
42 …entry->dcfclk_mhz = bw_on_fabric / (socbb->return_bus_width_bytes * ((float)socbb->pct_ideal_sdp_b… in get_optimal_ntuple()
44 …socbb->dram_channel_width_bytes * ((float)socbb->pct_ideal_dram_bw_after_urgent_pixel_only / 100)); in get_optimal_ntuple()
46 float bw_on_dram = (float)(entry->dram_speed_mts * socbb->num_chans * in get_optimal_ntuple()
47 …socbb->dram_channel_width_bytes * ((float)socbb->pct_ideal_dram_bw_after_urgent_pixel_only / 100)); in get_optimal_ntuple()
49 …entry->fabricclk_mhz = bw_on_dram / (socbb->return_bus_width_bytes * ((float)socbb->pct_ideal_fabr… in get_optimal_ntuple()
50 …entry->dcfclk_mhz = bw_on_dram / (socbb->return_bus_width_bytes * ((float)socbb->pct_ideal_sdp_bw_… in get_optimal_ntuple()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/
Dlib_float_math.h18 float math_pow(float a, float exp);
20 float math_log(float a, float b);
21 float math_log2(float a);
Dlib_float_math.c84 float math_pow(float a, float exp) in math_pow()
89 temp = math_pow(a, (float)((int)(exp / 2))); in math_pow()
91 return (float)(temp * temp); in math_pow()
94 return (float)(a * temp * temp); in math_pow()
96 return (float)((temp * temp) / a); in math_pow()
108 float math_log(float a, float b) in math_log()
125 float math_log2(float a) in math_log2()
/linux-6.12.1/tools/perf/pmu-events/
Dmetric.py35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
47 def __rand__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
50 def __lt__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
53 def __gt__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
56 def __add__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
59 def __radd__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
62 def __sub__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
[all …]
/linux-6.12.1/sound/pci/mixart/
Dmixart_core.h81 u32 line_max_level; /* float */
82 u32 micro_max_level; /* float */
83 u32 cd_max_level; /* float */
90 u32 max_level; /* float */
91 u32 min_var_level; /* float */
92 u32 max_var_level; /* float */
93 u32 step_var_level; /* float */
94 u32 fix_gain; /* float */
95 u32 zero_var; /* float */
144 u32 nb_bytes_max_per_sample; /* float */
[all …]
/linux-6.12.1/lib/raid6/
DMakefile22 # clang ppc port does not yet support -maltivec when -msoft-float is
25 CFLAGS_REMOVE_altivec1.o += -msoft-float
26 CFLAGS_REMOVE_altivec2.o += -msoft-float
27 CFLAGS_REMOVE_altivec4.o += -msoft-float
28 CFLAGS_REMOVE_altivec8.o += -msoft-float
29 CFLAGS_REMOVE_vpermxor1.o += -msoft-float
30 CFLAGS_REMOVE_vpermxor2.o += -msoft-float
31 CFLAGS_REMOVE_vpermxor4.o += -msoft-float
32 CFLAGS_REMOVE_vpermxor8.o += -msoft-float
/linux-6.12.1/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h395 float depth;
405 float diffuse[4];
406 float specular[4];
407 float ambient[4];
408 float position[4];
409 float direction[4];
410 float range;
411 float falloff;
412 float attenuation0;
413 float attenuation1;
[all …]
Dsvga3d_dx.h395 float blendFactor[4];
538 float x;
539 float y;
540 float width;
541 float height;
542 float minDepth;
543 float maxDepth;
577 float depth;
1257 float depthBiasClamp;
1258 float slopeScaledDepthBias;
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dtopdown.txt158 The binary ratios in the metric value can be converted to float ratios:
163 #define TOPDOWN_RETIRING(val) ((float)GET_METRIC(val, 0) / 0xff)
164 #define TOPDOWN_BAD_SPEC(val) ((float)GET_METRIC(val, 1) / 0xff)
165 #define TOPDOWN_FE_BOUND(val) ((float)GET_METRIC(val, 2) / 0xff)
166 #define TOPDOWN_BE_BOUND(val) ((float)GET_METRIC(val, 3) / 0xff)
172 #define TOPDOWN_HEAVY_OPS(val) ((float)GET_METRIC(val, 4) / 0xff)
173 #define TOPDOWN_BR_MISPREDICT(val) ((float)GET_METRIC(val, 5) / 0xff)
174 #define TOPDOWN_FETCH_LAT(val) ((float)GET_METRIC(val, 6) / 0xff)
175 #define TOPDOWN_MEM_BOUND(val) ((float)GET_METRIC(val, 7) / 0xff)
214 retiring_ratio = (float)retiring_slots / slots_delta
[all …]
/linux-6.12.1/tools/perf/util/
Dtop.c25 float samples_per_sec; in perf_top__header_snprintf()
26 float ksamples_per_sec; in perf_top__header_snprintf()
27 float esamples_percent; in perf_top__header_snprintf()
42 float ksamples_percent = 0.0; in perf_top__header_snprintf()
53 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf()
54 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf()
55 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf()
/linux-6.12.1/tools/laptop/dslm/
Ddslm.c79 float tmp; in measure()
113 tmp = (float)sleep_time / (float)total_time * 100; in measure()
115 tmp = (float)active_time / (float)total_time * 100; in measure()
117 tmp = (float)unknown_time / (float)total_time * 100; in measure()
/linux-6.12.1/drivers/pcmcia/
Dbcm63xx_pcmcia.c125 /* VS1 float, VS2 float */
128 /* VS1 grounded, VS2 float */
134 /* VS1 tied to CD1, VS2 float */
143 /* VS1 float, VS2 grounded */
146 /* VS1 float, VS2 tied to CD2 */
149 /* VS1 float, VS2 tied to CD1 */
152 /* VS1 tied to CD2, VS2 float */
179 /* float VS1, float VS2 */ in __get_socket_status()
190 /* drive VS1 low, float VS2 */ in __get_socket_status()
201 /* float VS1, drive VS2 low */ in __get_socket_status()
/linux-6.12.1/arch/arm/vfp/
Dvfp.h162 * which are not propagated to the float upon packing.
170 * The bit in an unpacked float which indicates that it is a quiet NaN
184 * Unpack a single-precision float. Note that this returns the magnitude
185 * of the single-precision float mantissa with the 1. if necessary,
203 * Re-pack a single-precision float. This assumes that the float is
293 * Unpack a double-precision float. Note that this returns the magnitude
294 * of the double-precision float mantissa with the 1. if necessary,
312 * Re-pack a double-precision float. This assumes that the float is
/linux-6.12.1/drivers/video/fbdev/riva/
Driva_hw.h300 float ScreenX;
301 float ScreenY;
302 float ScreenZ;
303 float EyeM;
304 float TextureS;
305 float TextureT;
331 float ScreenX;
332 float ScreenY;
333 float ScreenZ;
334 float EyeM;
[all …]
/linux-6.12.1/tools/iio/
Diio_utils.h41 float scale;
42 float offset;
61 int iioutils_get_param_float(float *output, const char *param_name,
76 int read_sysfs_float(const char *filename, const char *basedir, float *val);
/linux-6.12.1/tools/perf/tests/shell/lib/
Dperf_metric_validation.py11 …def __init__(self, metric: list[str], wl: str, value: list[float], low: float, up=float('nan'), de… argument
103 If missing lb, use 0.0; missing ub, use float('inf); missing error, use self.tolerance.
105 @param lb: str/float, lower bound
106 @param ub: str/float, upper bound
107 @param error: float/str, error tolerance
115 if isinstance(bound, int) or isinstance(bound, float):
119 val = float("inf")
125 val = float(bound)
133 lbv = get_bound_value(lb, float('inf'), ridx)
156 results.append(float(name))
[all …]
/linux-6.12.1/tools/perf/scripts/python/
Dstat-cpi.py61 cpi = cyc/float(ins)
63 …print("%15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, c…
77 # cpi = cyc/float(ins)
79 # print("time %.9f, cpu %d, thread %d -> cpi %f" % (time/(float(1000000000)), cpu, t…
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c165float bw_on_sdp = entry->dcfclk_mhz * dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_soc.pct… in get_optimal_ntuple()
167 …entry->fabricclk_mhz = bw_on_sdp / (dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_soc.pct_i… in get_optimal_ntuple()
169 …dcn3_21_soc.dram_channel_width_bytes * ((float)dcn3_21_soc.pct_ideal_dram_sdp_bw_after_urgent_pixe… in get_optimal_ntuple()
171float bw_on_fabric = entry->fabricclk_mhz * dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_s… in get_optimal_ntuple()
173 …entry->dcfclk_mhz = bw_on_fabric / (dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_soc.pct_i… in get_optimal_ntuple()
175 …dcn3_21_soc.dram_channel_width_bytes * ((float)dcn3_21_soc.pct_ideal_dram_sdp_bw_after_urgent_pixe… in get_optimal_ntuple()
177 float bw_on_dram = entry->dram_speed_mts * dcn3_21_soc.num_chans * in get_optimal_ntuple()
178 …dcn3_21_soc.dram_channel_width_bytes * ((float)dcn3_21_soc.pct_ideal_dram_sdp_bw_after_urgent_pixe… in get_optimal_ntuple()
180 …entry->fabricclk_mhz = bw_on_dram / (dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_soc.pct_… in get_optimal_ntuple()
181 …entry->dcfclk_mhz = bw_on_dram / (dcn3_21_soc.return_bus_width_bytes * ((float)dcn3_21_soc.pct_ide… in get_optimal_ntuple()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu14_driver_if_v14_0.h432 uint32_t a; // store in IEEE float format in this variable
433 uint32_t b; // store in IEEE float format in this variable
434 uint32_t c; // store in IEEE float format in this variable
438 uint32_t m; // store in IEEE float format in this variable
439 uint32_t b; // store in IEEE float format in this variable
443 uint32_t a; // store in IEEE float format in this variable
444 uint32_t b; // store in IEEE float format in this variable
445 uint32_t c; // store in IEEE float format in this variable
1078 uint32_t FitControllerFailureRateLimit; //in IEEE float
1080 uint32_t FitControllerGfxDutyCycle; // in IEEE float
[all …]
/linux-6.12.1/tools/testing/vsock/
Dvsock_perf.c130 static float get_gbps(unsigned long bits, time_t ns_delta) in get_gbps()
132 return ((float)bits / 1000000000ULL) / in get_gbps()
133 ((float)ns_delta / NSEC_PER_SEC); in get_gbps()
245 printf("total time in 'read()': %f sec\n", (float)in_read_ns / NSEC_PER_SEC); in run_receiver()
246 printf("average time in 'read()': %f ns\n", (float)in_read_ns / read_cnt); in run_receiver()
343 (float)tx_total_ns / NSEC_PER_SEC); in run_sender()
345 (float)time_in_send / NSEC_PER_SEC); in run_sender()

12345678910>>...14