Searched refs:s16 (Results 251 - 275 of 696) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c374 static inline s16 clip3(s16 x, s16 y, s16 z)
379 static s16 feat_val_clip3(s16 feat_val, s16 feature_data, bool absolute, u8 clip)
391 s16 feat_val;
/linux-master/drivers/thermal/intel/
H A Dintel_hfi.c155 s16 index;
179 s16 index;
/linux-master/drivers/pwm/
H A Dpwm-microchip-core.c424 duty_steps = abs((s16)posedge - (s16)negedge);
/linux-master/drivers/staging/rtl8723bs/hal/
H A Dhal_com_phycfg.c657 static s16 get_bandwidth_idx(const enum channel_width bandwidth)
669 static s16 get_rate_sctn_idx(const u8 rate)
689 s16 idx_regulation = -1;
690 s16 idx_bandwidth = -1;
691 s16 idx_rate_sctn = -1;
692 s16 idx_channel = -1;
/linux-master/sound/mips/
H A Dsgio2audio.c351 s16 *dst;
371 dst = (s16 *)(dst_base + dst_pos);
378 dst_pos = (dst_pos + 2 * sizeof(s16)) & dst_mask;
400 s16 *src;
418 src = (s16 *)(src_base + src_pos);
428 src_pos = (src_pos + 2 * sizeof(s16)) & src_mask;
/linux-master/include/net/
H A Dnetlink.h105 * nla_put_s16(skb, type, value) add s16 attribute to skb
138 * nla_get_s16(nla) get payload for a s16 attribute
284 * struct size both limits are s16, so you cannot
286 * of s16 - do that using the NLA_POLICY_FULL_RANGE()
366 s16 min, max;
1538 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1543 static inline int nla_put_s16(struct sk_buff *skb, int attrtype, s16 value)
1545 s16 tmp = value;
1547 return nla_put(skb, attrtype, sizeof(s16), &tmp);
1793 * nla_get_s16 - return payload of s16 attribut
[all...]
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c38 s16 buffer_id;
58 s16 buffer_id = buf_state - rx->dqo.buf_states;
66 s16 buffer_id = buf_state - rx->dqo.buf_states;
76 s16 buffer_id;
99 s16 buffer_id = buf_state - rx->dqo.buf_states;
324 min_t(s16, S16_MAX, buffer_queue_slots * 4) :
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e.h763 s16 vlan;
881 s16 vf_id; /* Virtual function ID for SRIOV VSIs */
1197 const u8 *macaddr, s16 vlan);
1199 void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan);
1271 int i40e_add_vlan_all_mac(struct i40e_vsi *vsi, s16 vid);
1273 void i40e_rm_vlan_all_mac(struct i40e_vsi *vsi, s16 vid);
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c598 static s16 lin2dBd(u16 linear)
630 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db)
646 s16 tssi_init_db, tssi_init_hvga_db;
784 static s16
787 static const s16 decode_tb[] = { 0, 8847, -5734, -5734 };
882 s16 tssi_m_dc, tssi_db;
/linux-master/drivers/net/wireless/intersil/p54/
H A Deeprom.c566 entry[i].mul = (s16) le16_to_cpu(cal[i].mul);
567 entry[i].add = (s16) le16_to_cpu(cal[i].add);
584 entry[i].mul = (s16) le16_to_cpu(cal[i].mul);
585 entry[i].add = (s16) le16_to_cpu(cal[i].add);
845 *(dst++) = (s16) le16_to_cpu(*(src++));
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c296 s16 slice_alpha_c0_offset_div2;
297 s16 slice_beta_offset_div2;
299 s16 chroma_qp_index_offset;
329 s16 gmv_x;
330 s16 gmv_y;
/linux-master/drivers/iio/magnetometer/
H A Dak8975.c398 s16 channels[3];
744 *val = clamp_t(s16, buff, -def->range, def->range);
842 data->scan.channels[0] = clamp_t(s16, le16_to_cpu(fval[0]), -def->range, def->range);
843 data->scan.channels[1] = clamp_t(s16, le16_to_cpu(fval[1]), -def->range, def->range);
844 data->scan.channels[2] = clamp_t(s16, le16_to_cpu(fval[2]), -def->range, def->range);
/linux-master/kernel/
H A Dparams.c122 s16 min_level,
123 s16 max_level,
165 s16 min_level,
166 s16 max_level,
422 s16 level,
/linux-master/drivers/input/misc/
H A Dda7280.c237 s16 level;
510 s16 data[DA7280_SNP_MEM_SIZE] = { 0 };
561 sizeof(s16) *
587 sizeof(s16) * DA7280_CUSTOM_DATA_LEN))
618 sizeof(s16) * DA7280_CUSTOM_GP_DATA_LEN))
/linux-master/include/video/
H A Domapfb_dss.h289 s16 rr, rg, rb;
290 s16 gr, gg, gb;
291 s16 br, bg, bb;
/linux-master/drivers/usb/host/
H A Dohci-hub.c617 #define tick_before(t1,t2) ((s16)(((s16)(t1))-((s16)(t2))) < 0)
/linux-master/include/media/tpg/
H A Dv4l2-tpg.h158 s16 hue;
327 s16 hue)
329 hue = clamp_t(s16, hue, -128, 128);
/linux-master/drivers/iio/accel/
H A Dsca3300.c68 #define SCA3300_MAX_BUFFER_SIZE (ALIGN(sizeof(s16) * SCA3300_SCAN_MAX, sizeof(s64)) + sizeof(s64))
495 s16 *channels = (s16 *)data->buffer;
/linux-master/drivers/iio/humidity/
H A Dhts221_core.c262 s16 cal_x0, cal_x1, cal_y0, cal_y1;
305 s16 cal_x0, cal_x1, cal_y0, cal_y1;
416 *val = (s16)le16_to_cpu(data);
/linux-master/drivers/power/supply/
H A Dds2781_battery.c71 static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val,
219 s16 current_raw;
264 s16 current_raw;
H A Dltc4162-l-charger.c253 ret = (s16)(regval & 0xFFFF);
287 ret = (s16)(regval & 0xFFFF);
431 ret = (s16)(regval & 0xFFFF);
/linux-master/drivers/hwmon/pmbus/
H A Dadm1275.c110 s16 m;
111 s16 b;
112 s16 R;
/linux-master/drivers/iio/light/
H A Dtsl2583.c108 s16 ch0;
109 s16 ch1;
110 s16 mean;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmt7615.h176 s16 coverage_class;
199 s16 last_freq_offset;
268 s16 power;
/linux-master/drivers/hwmon/
H A Dina2xx.c272 val = DIV_ROUND_CLOSEST((s16)regval, data->config->shunt_div);
284 val = (s16)regval * data->current_lsb_uA;
344 static s16 ina226_alert_to_reg(struct ina2xx_data *data, u8 bit, int val)

Completed in 341 milliseconds

<<11121314151617181920>>