Home
last modified time | relevance | path

Searched refs:s16 (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c37 s16 qm_muls16(s16 op1, s16 op2) in qm_muls16()
40 if (op1 == (s16) 0x8000 && op2 == (s16) 0x8000) in qm_muls16()
45 return (s16) (result >> 15); in qm_muls16()
70 s16 qm_add16(s16 op1, s16 op2) in qm_add16()
72 s16 result; in qm_add16()
75 result = (s16) 0x7fff; in qm_add16()
77 result = (s16) 0xffff8000; in qm_add16()
79 result = (s16) temp; in qm_add16()
89 s16 qm_sub16(s16 op1, s16 op2) in qm_sub16()
91 s16 result; in qm_sub16()
[all …]
Dphy_qmath.h24 s16 qm_muls16(s16 op1, s16 op2);
28 s16 qm_add16(s16 op1, s16 op2);
30 s16 qm_sub16(s16 op1, s16 op2);
34 s16 qm_shl16(s16 op, int shift);
36 s16 qm_shr16(s16 op, int shift);
38 s16 qm_norm32(s32 op);
40 void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N);
Dphy_int.h311 s16 pre_badplcp_cnt;
312 s16 bphy_pre_badplcp_cnt;
324 s16 crsminpwr_index;
378 s16 a0;
379 s16 b0;
380 s16 a1;
381 s16 b1;
411 s16 pwrdet_2g_a1;
412 s16 pwrdet_2g_b0;
413 s16 pwrdet_2g_b1;
[all …]
Dphy_lcn.h50 s16 lcnphy_pa0b0;
51 s16 lcnphy_pa0b1;
52 s16 lcnphy_pa0b2;
79 s16 lcnphy_ofdmgainidxtableoffset;
80 s16 lcnphy_dsssgainidxtableoffset;
101 s16 lcnphy_cck_dig_filt_type;
102 s16 lcnphy_ofdm_dig_filt_type;
/Linux-v4.19/arch/arm/mach-omap2/
Dprm.h141 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
142 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
144 int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
145 int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
147 int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod,
150 int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask);
158 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset);
159 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
161 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
163 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
[all …]
Dcm2xxx_3xxx.h53 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg()
58 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg()
64 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits()
65 s16 idx) in omap2_cm_rmw_mod_reg_bits()
78 static inline u32 omap2_cm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_cm_read_mod_bits_shift()
89 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits()
94 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits()
Dprm2xxx_3xxx.h56 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg()
61 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg()
67 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits()
68 s16 idx) in omap2_prm_rmw_mod_reg_bits()
81 static inline u32 omap2_prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_prm_read_mod_bits_shift()
92 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits()
97 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits()
103 int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
104 int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod,
107 s16 prm_mod, u16 reset_offset,
Dprminst44xx.h23 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
24 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
26 s16 inst, u16 idx);
30 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
32 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst,
35 s16 inst, u16 rstctrl_offs,
Dcm.h58 int (*split_idlest_reg)(struct clk_omap_reg *idlest_reg, s16 *prcm_inst,
60 int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg,
62 int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg,
69 extern int cm_split_idlest_reg(struct clk_omap_reg *idlest_reg, s16 *prcm_inst,
71 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg,
73 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg,
Dprcm_mpu_44xx_54xx.h31 extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
32 extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
33 extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
34 s16 idx);
Dprcm_mpu44xx.c31 u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) in omap4_prcm_mpu_read_inst_reg()
36 void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prcm_mpu_write_inst_reg()
41 u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prcm_mpu_rmw_inst_reg_bits()
Dprminst44xx.c61 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg()
70 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg()
79 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits()
102 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted()
126 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset()
155 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset()
/Linux-v4.19/drivers/video/fbdev/
Dsticore.h83 s16 power; /* power calculation (in Watts) */
91 s16 onscreen_x; /* screen width in pixels */
92 s16 onscreen_y; /* screen height in pixels */
93 s16 offscreen_x; /* offset width in pixels */
94 s16 offscreen_y; /* offset height in pixels */
95 s16 total_x; /* frame buffer width in pixels */
96 s16 total_y; /* frame buffer height in pixels */
170 s16 onscreen_x; /* screen width in pixels */
171 s16 onscreen_y; /* screen height in pixels */
172 s16 offscreen_x; /* offscreen width in pixels */
[all …]
/Linux-v4.19/drivers/iio/temperature/
Dmlx90632.c219 s16 *ambient_new_raw, s16 *ambient_old_raw) in mlx90632_read_ambient_raw()
227 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
232 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
239 s16 *object_new_raw, s16 *object_old_raw) in mlx90632_read_object_raw()
243 s16 read; in mlx90632_read_object_raw()
256 read = (s16)read_tmp; in mlx90632_read_object_raw()
261 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
266 read = (s16)read_tmp; in mlx90632_read_object_raw()
271 *object_old_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
277 s16 *ambient_new_raw, s16 *ambient_old_raw, in mlx90632_read_all_channel()
[all …]
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-codec.c37 static int rlc(const s16 *in, __be16 *output, int blocktype) in rlc()
39 s16 block[8 * 8]; in rlc()
40 s16 *wp = block; in rlc()
96 static s16 derlc(const __be16 **rlc_in, s16 *dwht_out) in derlc()
100 s16 ret = ntohs(*input++); in derlc()
102 s16 block[8 * 8 + 16]; in derlc()
103 s16 *wp = block; in derlc()
115 s16 in = ntohs(*input++); in derlc()
167 static void quantize_intra(s16 *coeff, s16 *de_coeff) in quantize_intra()
184 static void dequantize_intra(s16 *coeff) in dequantize_intra()
[all …]
/Linux-v4.19/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.h292 s16 peak_filter; /* -8 .. 15 */
333 s16 coef0; /* -256 .. 255 */
334 s16 coef1; /* -256 .. 255 */
335 s16 coef2; /* -256 .. 255 */
336 s16 coef3; /* -256 .. 255 */};
383 s16 video_agc_gain; /* -75 .. 1972 in 0.1 dB steps */
384 s16 audio_agc_gain; /* -4 .. 1020 in 0.1 dB steps */
464 s16 atv_top_equ0[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU0__A */
465 s16 atv_top_equ1[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU1__A */
466 s16 atv_top_equ2[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU2__A */
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dphy_g.h159 s16 max_lb_gain; /* Maximum Loopback gain in hdB */
160 s16 trsw_rx_gain; /* TRSW RX gain in hdB */
161 s16 lna_lod_gain; /* LNA lod */
162 s16 lna_gain; /* LNA */
163 s16 pga_gain; /* PGA */
178 s16 nrssi[2];
204 s16 pab0, s16 pab1, s16 pab2);
/Linux-v4.19/drivers/media/dvb-frontends/
Dstb0899_priv.h176 s16 derot_freq; /* Current derotator frequency (Hz) */
177 s16 derot_percent;
179 s16 direction; /* Current derotator search direction */
180 s16 derot_step; /* Derotator step (binary value) */
181 s16 t_derot; /* Derotator time constant (ms) */
182 s16 t_data; /* Data recovery time constant (ms) */
183 s16 sub_dir; /* Direction of the next sub range */
185 s16 t_agc1; /* Agc1 time constant (ms) */
186 s16 t_agc2; /* Agc2 time constant (ms) */
197 s16 step_size; /* Carrier frequency search step size */
/Linux-v4.19/drivers/iio/magnetometer/
Dbmc150_magn.c367 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x()
370 s16 val; in bmc150_magn_compensate_x()
379 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
380 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x()
382 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x()
383 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x()
384 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x()
389 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y()
392 s16 val; in bmc150_magn_compensate_y()
401 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dtherm.h11 s16 slope_mult;
12 s16 slope_div;
13 s16 offset_num;
14 s16 offset_den;
/Linux-v4.19/drivers/media/pci/ddbridge/
Dddbridge-mci.h194 s16 channel_power;
196 s16 band_power;
201 s16 signal_to_noise;
202 s16 rsvd2;
214 s16 i;
215 s16 q;
/Linux-v4.19/drivers/dma/bestcomm/
Dfec.c45 s16 incr_bytes;
47 s16 incr_dst;
49 s16 incr_dst_ma;
66 s16 incr_bytes;
68 s16 incr_src;
70 s16 incr_src_ma;
135 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_rx_reset()
236 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_tx_reset()
/Linux-v4.19/include/linux/iio/common/
Dcros_ec_sensors_core.h73 s16 calib[CROS_EC_SENSOR_MAX_AXIS];
78 unsigned long scan_mask, s16 *data);
95 s16 *data);
106 s16 *data);
/Linux-v4.19/drivers/media/pci/ttpci/
Ddvb_filter.h161 s16 vbv_delay;
199 s16 last_frame_centre_horizontal_offset;
200 s16 last_frame_centre_vertical_offset;
210 s16 frame_centre_horizontal_offset[OFF_SIZE];
212 s16 frame_centre_vertical_offset[OFF_SIZE];
214 s16 temporal_reference[2];
/Linux-v4.19/fs/ntfs/
Dendian.h33 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu()
48 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup()
63 static inline sle16 cpu_to_sle16(s16 x) in cpu_to_sle16()
78 static inline sle16 cpu_to_sle16p(s16 *x) in cpu_to_sle16p()

12345678910>>...22