Home
last modified time | relevance | path

Searched refs:high_byte (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dmma8452.c242 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
250 swap(high_byte,low_byte); in sensor_convert_data()
251 result = ((int)high_byte << (MMA8451_PRECISION-8)) in sensor_convert_data()
261 swap(high_byte,low_byte); in sensor_convert_data()
262 result = ((int)high_byte << (MMA8452_PRECISION-8)) in sensor_convert_data()
272 swap(high_byte,low_byte); in sensor_convert_data()
273 result = ((int)high_byte << (MMA8453_PRECISION-8)) in sensor_convert_data()
283 swap(high_byte,low_byte); in sensor_convert_data()
284 result = ((int)high_byte << (MMA8653_PRECISION-8)) in sensor_convert_data()
H A Dmxc6655xa.c117 char high_byte, char low_byte) in sensor_convert_data() argument
121 result = ((int)high_byte << (MXC6655_PRECISION - 8)) | in sensor_convert_data()
H A Dkxtj9.c189 static short sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
197 result = (((short)high_byte << 8) | ((short)low_byte)) >> 4; in sensor_convert_data()
H A Dlsm303d.c208 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
216 result = ((int)high_byte << 8) | (int)low_byte; in sensor_convert_data()
H A Dkxtik.c216 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
227 result = (((int)high_byte << 8) | ((int)low_byte ))>>4; in sensor_convert_data()
H A Ddmard10.c323 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
327 result = ((int)high_byte << 8) | ((int)low_byte); in sensor_convert_data()
H A Dmxc622x.c148 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
H A Dmma7660.c113 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
H A Dsc7a30.c1027 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() argument
1030 result = (((s16)((high_byte << 8) + low_byte)) >>4); in sensor_convert_data()
H A Dsc7a20.c1493 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() argument
1496 result = (((s16)((high_byte << 8) + low_byte)) >>4); in sensor_convert_data()
H A Dsc7660.c1410 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() argument
1413 result = (((s16)((high_byte << 8) + low_byte)) >>4); in sensor_convert_data()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dw83773g.c126 u8 high_byte; in set_offset() local
132 high_byte = val >> 3; in set_offset()
135 ret = regmap_write(regmap, W83773_OFFSET_MSB[index], high_byte); in set_offset()
H A Demc2103.c103 u8 high_byte, lo_byte; in read_fan_from_i2c() local
105 if (read_u8_from_i2c(client, hi_addr, &high_byte) < 0) in read_fan_from_i2c()
111 *output = ((u16)high_byte << 5) | (lo_byte >> 3); in read_fan_from_i2c()
116 u8 high_byte = (new_target & 0x1fe0) >> 5; in write_fan_target_to_i2c() local
119 i2c_smbus_write_byte_data(client, REG_FAN_TARGET_HI, high_byte); in write_fan_target_to_i2c()
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A Dangle_lis3dh.c181 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
189 result = ((int)high_byte << 8) | (int)low_byte; in sensor_convert_data()
H A Dangle_kxtik.c245 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() argument
256 result = (((int)high_byte << 8) | ((int)low_byte ))>>4; in sensor_convert_data()
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri2/
H A Ddri2.c1701 char high_byte = (param >> 24); in DRI2GetParam() local
1703 switch (high_byte) { in DRI2GetParam()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/
H A Dhalmac_type.h1340 u8 high_byte[2]; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/
H A Dhalmac_type.h1337 u8 high_byte[2]; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/
H A Dhalmac_type.h1349 u8 high_byte[2]; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/
H A Dhalmac_type.h1346 u8 high_byte[2]; member