| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 26 s16 qm_muls16(s16 op1, s16 op2) in qm_muls16() 29 if (op1 == (s16) 0x8000 && op2 == (s16) 0x8000) in qm_muls16() 34 return (s16) (result >> 15); in qm_muls16() 59 s16 qm_add16(s16 op1, s16 op2) in qm_add16() 61 s16 result; in qm_add16() 64 result = (s16) 0x7fff; in qm_add16() 66 result = (s16) 0xffff8000; in qm_add16() 68 result = (s16) temp; in qm_add16() 78 s16 qm_sub16(s16 op1, s16 op2) in qm_sub16() 80 s16 result; in qm_sub16() [all …]
|
| H A D | phy_qmath.h | 13 s16 qm_muls16(s16 op1, s16 op2); 17 s16 qm_add16(s16 op1, s16 op2); 19 s16 qm_sub16(s16 op1, s16 op2); 23 s16 qm_shl16(s16 op, int shift); 25 s16 qm_shr16(s16 op, int shift); 27 s16 qm_norm32(s32 op); 29 void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N);
|
| H A D | phy_int.h | 293 s16 pre_badplcp_cnt; 294 s16 bphy_pre_badplcp_cnt; 306 s16 crsminpwr_index; 360 s16 a0; 361 s16 b0; 362 s16 a1; 363 s16 b1; 393 s16 pwrdet_2g_a1; 394 s16 pwrdet_2g_b0; 395 s16 pwrdet_2g_b1; [all …]
|
| H A D | phy_lcn.h | 39 s16 lcnphy_pa0b0; 40 s16 lcnphy_pa0b1; 41 s16 lcnphy_pa0b2; 68 s16 lcnphy_ofdmgainidxtableoffset; 69 s16 lcnphy_dsssgainidxtableoffset; 90 s16 lcnphy_cck_dig_filt_type; 91 s16 lcnphy_ofdm_dig_filt_type;
|
| /OK3568_Linux_fs/kernel/drivers/iio/temperature/ |
| H A D | mlx90632.c | 286 s16 *ambient_new_raw, s16 *ambient_old_raw) in mlx90632_read_ambient_raw() 294 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw() 299 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw() 306 s16 *object_new_raw, s16 *object_old_raw) in mlx90632_read_object_raw() 310 s16 read; in mlx90632_read_object_raw() 323 read = (s16)read_tmp; in mlx90632_read_object_raw() 328 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw() 333 read = (s16)read_tmp; in mlx90632_read_object_raw() 338 *object_old_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw() 344 s16 *ambient_new_raw, s16 *ambient_old_raw, in mlx90632_read_all_channel() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/ |
| H A D | ia_css_csc_param.h | 23 s16 m00; 24 s16 m01; 25 s16 m02; 26 s16 m10; 27 s16 m11; 28 s16 m12; 29 s16 m20; 30 s16 m21; 31 s16 m22;
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | sticore.h | 77 s16 power; /* power calculation (in Watts) */ 85 s16 onscreen_x; /* screen width in pixels */ 86 s16 onscreen_y; /* screen height in pixels */ 87 s16 offscreen_x; /* offset width in pixels */ 88 s16 offscreen_y; /* offset height in pixels */ 89 s16 total_x; /* frame buffer width in pixels */ 90 s16 total_y; /* frame buffer height in pixels */ 164 s16 onscreen_x; /* screen width in pixels */ 165 s16 onscreen_y; /* screen height in pixels */ 166 s16 offscreen_x; /* offscreen width in pixels */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | prm.h | 138 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx); 139 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx); 141 int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset); 142 int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod, 144 int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod, 147 int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask); 155 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset); 156 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod, 158 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset); 160 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx); [all …]
|
| H A D | prm2xxx_3xxx.h | 53 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg() 58 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg() 64 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits() 65 s16 idx) in omap2_prm_rmw_mod_reg_bits() 78 static inline u32 omap2_prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_prm_read_mod_bits_shift() 89 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits() 94 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits() 100 int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset); 101 int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, 104 s16 prm_mod, u16 reset_offset,
|
| H A D | cm2xxx_3xxx.h | 50 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg() 55 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg() 61 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits() 62 s16 idx) in omap2_cm_rmw_mod_reg_bits() 75 static inline u32 omap2_cm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_cm_read_mod_bits_shift() 86 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits() 91 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits()
|
| H A D | prminst44xx.h | 20 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx); 21 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx); 23 s16 inst, u16 idx); 27 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, 29 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, 32 s16 inst, u16 rstctrl_offs,
|
| H A D | cm.h | 55 int (*split_idlest_reg)(struct clk_omap_reg *idlest_reg, s16 *prcm_inst, 57 int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg, 59 int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg, 66 extern int cm_split_idlest_reg(struct clk_omap_reg *idlest_reg, s16 *prcm_inst, 68 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg, 70 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg,
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vicodec/ |
| H A D | codec-fwht.c | 54 rlc(const s16 *in, __be16 *output, int blocktype) in rlc() 56 s16 block[8 * 8]; in rlc() 57 s16 *wp = block; in rlc() 114 derlc(const __be16 **rlc_in, s16 *dwht_out, const __be16 *end_of_input) in derlc() 120 s16 block[8 * 8 + 16]; in derlc() 121 s16 *wp = block; in derlc() 137 s16 in; in derlc() 195 static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp) in quantize_intra() 211 static void dequantize_intra(s16 *coeff) in dequantize_intra() 221 static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp) in quantize_inter() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/drx39xyj/ |
| H A D | drxj.h | 292 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | u_uac1.h | 42 s16 p_volume_min; 43 s16 p_volume_max; 44 s16 p_volume_res; 48 s16 c_volume_min; 49 s16 c_volume_max; 50 s16 c_volume_res;
|
| H A D | u_uac2.h | 52 s16 p_volume_min; 53 s16 p_volume_max; 54 s16 p_volume_res; 58 s16 c_volume_min; 59 s16 c_volume_max; 60 s16 c_volume_res;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_g.h | 159 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);
|
| /OK3568_Linux_fs/kernel/drivers/iio/magnetometer/ |
| H A D | bmc150_magn.c | 360 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x() 363 s16 val; in bmc150_magn_compensate_x() 372 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x() 373 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x() 375 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x() 376 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x() 377 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x() 382 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y() 385 s16 val; in bmc150_magn_compensate_y() 394 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | stb0899_priv.h | 164 s16 derot_freq; /* Current derotator frequency (Hz) */ 165 s16 derot_percent; 167 s16 direction; /* Current derotator search direction */ 168 s16 derot_step; /* Derotator step (binary value) */ 169 s16 t_derot; /* Derotator time constant (ms) */ 170 s16 t_data; /* Data recovery time constant (ms) */ 171 s16 sub_dir; /* Direction of the next sub range */ 173 s16 t_agc1; /* Agc1 time constant (ms) */ 174 s16 t_agc2; /* Agc2 time constant (ms) */ 185 s16 step_size; /* Carrier frequency search step size */
|
| /OK3568_Linux_fs/u-boot/board/nokia/rx51/ |
| H A D | tag_omap.h | 95 s16 nreset_gpio; 164 s16 power_gpio; 165 s16 irq_gpio; 166 s16 spi_cs_gpio; 170 s16 clk_gpio; 171 s16 dat_gpio; 172 s16 sel_gpio; 176 s16 retu_irq_gpio; 177 s16 tahvo_irq_gpio;
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | tests.sh | 131 convertToAndFrom s8 u8 s16 u16 s24 u24 s32 u32 f32 f64 dat au wav aiff aifc flac caf sph wv sox 133 format1=s16 134 convertToAndFrom s16 u16 s24 u24 s32 u32 f32 f64 dat au wav aiff aifc flac caf sph wv sox 144 convertToAndFrom al s16 u16 s32 f32 f64 dat aiff aifc flac caf w64 147 convertToAndFrom ul s16 u16 s32 f32 f64 dat aiff aifc flac caf sph 162 convertToAndFrom vox s16 u16 s24 u24 s32 u32 f32 f64 dat au wav aiff aifc flac caf sox 165 convertToAndFrom ima s16 u16 s24 u24 s32 u32 f32 f64 dat au aiff aifc flac caf # FIXME: wav 173 (rate=8000; convertToAndFrom al s16 u16 s32 f32 f64 dat) || exit 1 # Fixed rate 176 (rate=8000; convertToAndFrom al s16 u16 s32 f32 f64 dat) || exit 1 # Fixed rate 235 convertToAndFrom s16 u24 aiff [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
| H A D | ia_css_eed1_8.host.c | 36 static const s16 chgrinv_x[NUMBER_OF_CHGRINV_POINTS] = { 41 static const s16 chgrinv_a[NUMBER_OF_CHGRINV_POINTS] = { 46 static const s16 chgrinv_b[NUMBER_OF_CHGRINV_POINTS] = { 51 static const s16 chgrinv_c[NUMBER_OF_CHGRINV_POINTS] = { 56 static const s16 tcinv_x[NUMBER_OF_TCINV_POINTS] = { 60 static const s16 tcinv_a[NUMBER_OF_TCINV_POINTS] = { 64 static const s16 tcinv_b[NUMBER_OF_TCINV_POINTS] = { 68 static const s16 tcinv_c[NUMBER_OF_TCINV_POINTS] = { 72 static const s16 fcinv_x[NUMBER_OF_FCINV_POINTS] = { 76 static const s16 fcinv_a[NUMBER_OF_FCINV_POINTS] = { [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/ |
| H A D | rga2.h | 152 s16 x_off; // x offset for the vir 153 s16 y_off; // y offset for the vir 154 s16 uv_x_off; 155 s16 uv_y_off; 207 s16 gr_x_a; 208 s16 gr_y_a; 209 s16 gr_x_b; 210 s16 gr_y_b; 211 s16 gr_x_g; 212 s16 gr_y_g; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | mc3230.c | 129 static s16 G_RAW_DATA[3]; 170 s16 offset[MC32X0_AXES_NUM + 1]; 171 s16 data[MC32X0_AXES_NUM + 1]; 172 s16 cali_sw[MC32X0_AXES_NUM + 1]; 315 data[MC32X0_AXIS_X] = (s16)((rbm_buf[0]) | (rbm_buf[1] << 8)); in MC32X0_ReadData_RBM() 316 data[MC32X0_AXIS_Y] = (s16)((rbm_buf[2]) | (rbm_buf[3] << 8)); in MC32X0_ReadData_RBM() 317 data[MC32X0_AXIS_Z] = (s16)((rbm_buf[4]) | (rbm_buf[5] << 8)); in MC32X0_ReadData_RBM() 420 s16 tmp, x_gain, y_gain, z_gain; in init_3230_ctl_data() 531 static inline int mc3230_convert_to_int(s16 value) in mc3230_convert_to_int() 578 s16 buffer[MC32X0_AXES_NUM]); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/ipu3/ |
| H A D | ipu3-tables.h | 34 s16 x[IMGU_XNR3_VMEM_LUT_LEN]; 35 s16 a[IMGU_XNR3_VMEM_LUT_LEN]; 36 s16 b[IMGU_XNR3_VMEM_LUT_LEN]; 37 s16 c[IMGU_XNR3_VMEM_LUT_LEN]; 44 extern const s16 imgu_css_gdc_lut[IMGU_GDC_LUT_UNIT][IMGU_GDC_LUT_LEN];
|