Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/openbmc/qemu/ui/
H A Dinput-barrier.h57 int16_t major;
58 int16_t minor;
66 int16_t x;
67 int16_t y;
69 int16_t modifier;
73 int16_t x;
74 int16_t y;
78 int16_t keyid;
79 int16_t modifier;
80 int16_t button;
[all …]
/openbmc/linux/drivers/misc/echo/
H A Dfir.h44 const int16_t *coeffs;
45 int16_t *history;
57 int16_t *history;
71 static inline const int16_t *fir16_create(struct fir16_state_t *fir, in fir16_create()
72 const int16_t *coeffs, int taps) in fir16_create()
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
83 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
91 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) in fir16()
110 return (int16_t) (y >> 15); in fir16()
113 static inline const int16_t *fir32_create(struct fir32_state_t *fir, in fir32_create()
[all …]
H A Decho.h118 int16_t tx;
119 int16_t rx;
120 int16_t clean;
121 int16_t clean_nlp;
131 int16_t adapt;
133 int16_t shift;
152 int16_t *fir_taps16[2];
172 int16_t *snapshot;
H A Doslec.h70 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx);
79 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx);
H A Decho.c127 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
131 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
147 const int16_t *history; in oslec_create()
158 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
163 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
180 ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
247 memset(ec->fir_taps16[i], 0, ec->taps * sizeof(int16_t)); in oslec_flush()
256 memcpy(ec->snapshot, ec->fir_taps16[0], ec->taps * sizeof(int16_t)); in oslec_snapshot()
262 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update()
443 ec->taps * sizeof(int16_t)); in oslec_update()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
H A Dia_css_csc.host.c41 to->m_shift = (int16_t)from->fraction_bits; in ia_css_encode_cc()
42 to->m00 = (int16_t)from->matrix[0]; in ia_css_encode_cc()
43 to->m01 = (int16_t)from->matrix[1]; in ia_css_encode_cc()
44 to->m02 = (int16_t)from->matrix[2]; in ia_css_encode_cc()
45 to->m10 = (int16_t)from->matrix[3]; in ia_css_encode_cc()
46 to->m11 = (int16_t)from->matrix[4]; in ia_css_encode_cc()
47 to->m12 = (int16_t)from->matrix[5]; in ia_css_encode_cc()
48 to->m20 = (int16_t)from->matrix[6]; in ia_css_encode_cc()
49 to->m21 = (int16_t)from->matrix[7]; in ia_css_encode_cc()
50 to->m22 = (int16_t)from->matrix[8]; in ia_css_encode_cc()
/openbmc/qemu/docs/interop/
H A Dbarrier.rst34 ``{ int16_t minor, int16_t major }``
48 ``{ int16_t minor, int16_t major, char *name}``
64 ``{ int16_t x_origin, int16_t y_origin, int16_t width, int16_t height, int16_t x, int16_t y}``
99 ``{ int16_t x, int16_t y, int32_t seq, int16_t modifier }``
201 ``{ int16_t keyid, int16_t modifier [,int16_t button] }``
217 ``{ int16_t keyid, int16_t modifier, int16_t repeat [,int16_t button] }``
235 ``{ int16_t keyid, int16_t modifier [,int16_t button] }``
275 ``{ int16_t x, int16_t y }``
287 ``{ int16_t x, int16_t y }``
299 ``{ int16_t x , int16_t y }`` or ``{ int16_t y }``
[all …]
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hpp25 static constexpr int16_t maxInt10 = 0x1FF;
26 static constexpr int16_t minInt10 = -0x200;
111 static inline void normalizeIntExp(int16_t& ibase, int8_t& expShift, in normalizeIntExp()
159 const double max, const double min, int16_t& mValue, int8_t& rExp, in getSensorAttributes()
160 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes()
226 mValue = static_cast<int16_t>(std::round(dM)); in getSensorAttributes()
257 bValue = static_cast<int16_t>(std::round(dB)); in getSensorAttributes()
266 const double value, const int16_t mValue, const int8_t rExp, in scaleIPMIValueFromDouble()
267 const int16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble()
316 int16_t mValue = 0; in getScaledIPMIValue()
[all …]
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dsensorutils.hpp25 static constexpr int16_t maxInt10 = 0x1FF;
26 static constexpr int16_t minInt10 = -0x200;
30 bool getSensorAttributes(const double max, const double min, int16_t& mValue,
31 int8_t& rExp, int16_t& bValue, int8_t& bExp,
34 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue,
35 const int8_t rExp, const int16_t bValue,
/openbmc/qemu/include/ui/
H A Drect.h9 int16_t x;
10 int16_t y;
16 int16_t x, int16_t y, in qemu_rect_init()
26 int16_t dx, int16_t dy) in qemu_rect_translate()
35 int16_t x1, x2, y1, y2; in qemu_rect_intersect()
/openbmc/linux/include/xen/interface/
H A Dgrant_table.h288 int16_t status; /* GNTST_* */
311 int16_t status; /* GNTST_* */
329 int16_t status; /* GNTST_* */
342 int16_t status; /* GNTST_* */
361 int16_t status;
401 int16_t status;
418 int16_t status; /* GNTST_* */
439 int16_t status; /* GNTST_* */
472 int16_t status; /* GNTST_* */
498 int16_t status; /* GNTST_* */
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorutils.cpp104 static void normalizeIntExp(int16_t& ibase, int8_t& expShift, double& dbase) in normalizeIntExp()
150 bool getSensorAttributes(const double max, const double min, int16_t& mValue, in getSensorAttributes()
151 int8_t& rExp, int16_t& bValue, int8_t& bExp, in getSensorAttributes()
218 mValue = static_cast<int16_t>(std::round(dM)); in getSensorAttributes()
249 bValue = static_cast<int16_t>(std::round(dB)); in getSensorAttributes()
257 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue, in scaleIPMIValueFromDouble()
258 const int8_t rExp, const int16_t bValue, in scaleIPMIValueFromDouble()
308 int16_t mValue = 0; in getScaledIPMIValue()
310 int16_t bValue = 0; in getScaledIPMIValue()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dsmu7_discrete.h438 int16_t TempMin;
439 int16_t TempMed;
440 int16_t TempMax;
441 int16_t Slope1;
442 int16_t Slope2;
443 int16_t FdoMin;
444 int16_t HystUp;
445 int16_t HystDown;
446 int16_t HystSlope;
447 int16_t TempRespLim;
[all …]
H A Dsmu71_discrete.h380 int16_t TempMin;
381 int16_t TempMed;
382 int16_t TempMax;
383 int16_t Slope1;
384 int16_t Slope2;
385 int16_t FdoMin;
386 int16_t HystUp;
387 int16_t HystDown;
388 int16_t HystSlope;
389 int16_t TempRespLim;
[all …]
H A Dsmu73_discrete.h363 int16_t TempMin;
364 int16_t TempMed;
365 int16_t TempMax;
366 int16_t Slope1;
367 int16_t Slope2;
368 int16_t FdoMin;
369 int16_t HystUp;
370 int16_t HystDown;
371 int16_t HystSlope;
372 int16_t TempRespLim;
[all …]
H A Dsmu74_discrete.h230 int16_t m2;
378 int16_t TempMin;
379 int16_t TempMed;
380 int16_t TempMax;
381 int16_t Slope1;
382 int16_t Slope2;
383 int16_t FdoMin;
384 int16_t HystUp;
385 int16_t HystDown;
386 int16_t HystSlope;
[all …]
H A Dsmu72_discrete.h383 int16_t TempMin;
384 int16_t TempMed;
385 int16_t TempMax;
386 int16_t Slope1;
387 int16_t Slope2;
388 int16_t FdoMin;
389 int16_t HystUp;
390 int16_t HystDown;
391 int16_t HystSlope;
392 int16_t TempRespLim;
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dsmu7_discrete.h437 int16_t TempMin;
438 int16_t TempMed;
439 int16_t TempMax;
440 int16_t Slope1;
441 int16_t Slope2;
442 int16_t FdoMin;
443 int16_t HystUp;
444 int16_t HystDown;
445 int16_t HystSlope;
446 int16_t TempRespLim;
[all …]
H A Dsislands_smc.h252 int16_t temp_min;
253 int16_t temp_med;
254 int16_t temp_max;
255 int16_t slope1;
256 int16_t slope2;
257 int16_t fdo_min;
258 int16_t hys_up;
259 int16_t hys_down;
260 int16_t hys_slope;
261 int16_t temp_resp_lim;
[all …]
/openbmc/qemu/include/hw/xen/interface/
H A Dgrant_table.h333 int16_t status; /* => enum grant_status */
357 int16_t status; /* => enum grant_status */
376 int16_t status; /* => enum grant_status */
394 int16_t status; /* => enum grant_status */
414 int16_t status;
456 int16_t status;
474 int16_t status; /* => enum grant_status */
496 int16_t status; /* => enum grant_status */
533 int16_t status; /* => enum grant_status */
561 int16_t status; /* => enum grant_status */
/openbmc/qemu/include/standard-headers/linux/
H A Dinput.h347 int16_t level;
358 int16_t start_level;
359 int16_t end_level;
377 int16_t right_coeff;
378 int16_t left_coeff;
381 int16_t center;
405 int16_t magnitude;
406 int16_t offset;
412 int16_t *custom_data;
453 int16_t id;
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsislands_smc.h248 int16_t temp_min;
249 int16_t temp_med;
250 int16_t temp_max;
251 int16_t slope1;
252 int16_t slope2;
253 int16_t fdo_min;
254 int16_t hys_up;
255 int16_t hys_down;
256 int16_t hys_slope;
257 int16_t temp_resp_lim;
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_util.h59 int16_t sharpen_level1;
60 int16_t sharpen_level2;
68 int16_t adjust_a[DPU_MAX_DE_CURVES];
69 int16_t adjust_b[DPU_MAX_DE_CURVES];
70 int16_t adjust_c[DPU_MAX_DE_CURVES];
211 int16_t sharpen_level1;
212 int16_t sharpen_level2;
220 int16_t adjust_a[DPU_MAX_DE_CURVES];
221 int16_t adjust_b[DPU_MAX_DE_CURVES];
222 int16_t adjust_c[DPU_MAX_DE_CURVES];
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/audiofile/files/
H A D0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch31 - static_cast<int16_t *>(m_outChunk->buffer) + i * m_framesPerPacket * m_track->f.channelCount);
33 + static_cast<int16_t *>(m_outChunk->buffer) + i * m_framesPerPacket * m_track->f.channelCount)==…
42 @@ -101,24 +101,60 @@ static const int16_t adaptationTable[] =
75 static int16_t decodeSample(ms_adpcm_state &state,
76 - uint8_t code, const int16_t *coefficient)
77 + uint8_t code, const int16_t *coefficient, bool *ok=NULL)
103 return static_cast<int16_t>(linearSample);
105 @@ -212,13 +248,16 @@ int MSADPCM::decodeBlock(const uint8_t *encoded, int16_t *decoded)
108 int16_t newSample;
/openbmc/qemu/hw/sensor/
H A Dlsm303dlhc_mag.c56 int16_t x;
57 int16_t z;
58 int16_t y;
59 int16_t x_lock;
60 int16_t z_lock;
61 int16_t y_lock;
66 int16_t temperature;
67 int16_t temperature_lock;
138 s->x = (int16_t)reg; in lsm303dlhc_mag_set_x()
161 s->y = (int16_t)reg; in lsm303dlhc_mag_set_y()
[all …]

12345678910>>...15