Searched refs:s16 (Results 226 - 250 of 696) sorted by relevance

1234567891011>>

/linux-master/drivers/clk/ti/
H A Dclkt_dflt.c89 s16 prcm_mod;
/linux-master/drivers/hwmon/
H A Dmax31722.c59 return sprintf(buf, "%d\n", (s16)le16_to_cpu(ret) * 125 / 32);
H A Dtmp464.c97 s16 config_orig;
105 static int temp_from_reg(s16 reg)
110 static s16 temp_to_limit_reg(long temp)
115 static s16 temp_to_offset_reg(long temp)
H A Dadt7x10.c115 static s16 ADT7X10_TEMP_TO_REG(long temp)
121 static int ADT7X10_REG_TO_TEMP(struct adt7x10_data *data, s16 reg)
H A Dlm77.c72 static inline s16 LM77_TEMP_TO_REG(int temp)
77 static inline int LM77_TEMP_FROM_REG(s16 reg)
/linux-master/include/asm-generic/
H A Dcompat.h40 typedef s16 compat_short_t;
/linux-master/include/linux/
H A Dmath.h115 __STRUCT_FRACT(s16)
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dmmu.h134 s16 execute_only_pkey; /* key holding execute-only protection */
/linux-master/drivers/hwmon/pmbus/
H A Dmp5990.c72 mantissa = ((s16)((ret & 0x7ff) << 5)) >> 5;
/linux-master/drivers/net/phy/aquantia/
H A Daquantia_hwmon.c50 *value = (s16)temp * 1000 / 256;
64 /* temp is in s16 range and we're interested in lower 16 bits only */
/linux-master/drivers/platform/x86/dell/
H A Ddcdbas.c497 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0;
502 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20;
/linux-master/arch/s390/kernel/
H A Dtime.c763 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.dsto);
778 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.leaps);
821 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.stratum);
851 ret = sprintf(buf, "%i\n", (int)(s16) stp_info.tzo);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c555 return ((s16)le16_to_cpu(*(__le16 *)a) -
556 (s16)le16_to_cpu(*(__le16 *)b));
571 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000));
599 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL);
/linux-master/drivers/macintosh/
H A Dwindfarm_pm81.c168 s16 offset0;
170 s16 offset1;
183 s16 offset0;
185 s16 offset1;
/linux-master/arch/powerpc/include/asm/
H A Dpaca.h94 s16 hw_cpu_id; /* Physical processor number */
/linux-master/drivers/usb/gadget/function/
H A Df_uac1.c529 s16 volume;
573 s16 min_db;
620 s16 max_db;
667 s16 res_db;
725 s16 volume;
1675 UAC1_ATTRIBUTE(s16, p_volume_min);
1676 UAC1_ATTRIBUTE(s16, p_volume_max);
1677 UAC1_ATTRIBUTE(s16, p_volume_res);
1681 UAC1_ATTRIBUTE(s16, c_volume_min);
1682 UAC1_ATTRIBUTE(s16, c_volume_ma
[all...]
/linux-master/include/net/bluetooth/
H A Drfcomm.h340 s16 dev_id;
348 s16 id;
/linux-master/arch/powerpc/kernel/
H A Dalign.c247 data.w[0] = (s16)data.h[1];
248 data.w[1] = (s16)data.h[3];
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dtestmode.c101 s16 radio_status = (s16) le16_to_cpu(params->radio_status);
/linux-master/drivers/iio/gyro/
H A Dadxrs450.c165 static int adxrs450_spi_sensor_data(struct iio_dev *indio_dev, s16 *val)
310 s16 t;
/linux-master/drivers/power/supply/
H A Dug3105_battery.c201 chip->curr = (s16)val * chip->ua_per_unit;
220 * chip->total_coulomb_count += (s16)val;
222 * (s16)val, chip->total_coulomb_count);
339 val->intval = (s16)ret * chip->ua_per_unit;
/linux-master/arch/arm/vfp/
H A Dvfp.h150 s16 exponent;
255 s16 exponent;
/linux-master/drivers/staging/fbtft/
H A Dfbtft.h116 const s16 *init_sequence;
219 const s16 *init_sequence;
/linux-master/arch/loongarch/kernel/
H A Dnuma.c44 s16 __cpuid_to_node[CONFIG_NR_CPUS] = {
128 void __init early_numa_add_cpu(int cpuid, s16 node)
/linux-master/drivers/clk/samsung/
H A Dclk-pll.c328 s16 kdiv;
336 kdiv = (s16)(pll_con1 & PLL36XX_KDIV_MASK);
526 s16 kdiv;
534 kdiv = (s16)((pll_con5 >> PLL0831X_KDIV_SHIFT) & PLL0831X_KDIV_MASK);
570 * kdiv is 16-bit 2's complement (s16), but stored as unsigned int.
1106 s16 kdiv;
1114 kdiv = (s16)((pll_con1 >> PLL2650X_K_SHIFT) & PLL2650X_K_MASK);
1197 s16 kdiv;
1205 kdiv = (s16)(pll_con2 & PLL2650XX_KDIV_MASK);

Completed in 265 milliseconds

1234567891011>>