"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/linux/hid-sensor-hub.h" between
linux-3.16.62.tar.xz and linux-3.16.63.tar.xz

About: The full source of the Linux kernel 3.16.x (longterm stable)

hid-sensor-hub.h  (linux-3.16.62.tar.xz):hid-sensor-hub.h  (linux-3.16.63.tar.xz)
skipping to change at line 151 skipping to change at line 151
int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
u8 type, u8 type,
u32 usage_id, u32 attr_usage_id, u32 usage_id, u32 attr_usage_id,
struct hid_sensor_hub_attribute_info *info); struct hid_sensor_hub_attribute_info *info);
/** /**
* sensor_hub_input_attr_get_raw_value() - Synchronous read request * sensor_hub_input_attr_get_raw_value() - Synchronous read request
* @usage_id: Attribute usage id of parent physical device as per spec * @usage_id: Attribute usage id of parent physical device as per spec
* @attr_usage_id: Attribute usage id as per spec * @attr_usage_id: Attribute usage id as per spec
* @report_id: Report id to look for * @report_id: Report id to look for
* @is_signed: If true then fields < 32 bits will be sign-extended
* *
* Issues a synchronous read request for an input attribute. Returns * Issues a synchronous read request for an input attribute. Returns
* data upto 32 bits. Since client can get events, so this call should * data upto 32 bits. Since client can get events, so this call should
* not be used for data paths, this will impact performance. * not be used for data paths, this will impact performance.
*/ */
int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev,
u32 usage_id, u32 usage_id,
u32 attr_usage_id, u32 report_id); u32 attr_usage_id, u32 report_id,
bool is_signed);
/** /**
* sensor_hub_set_feature() - Feature set request * sensor_hub_set_feature() - Feature set request
* @report_id: Report id to look for * @report_id: Report id to look for
* @field_index: Field index inside a report * @field_index: Field index inside a report
* @value: Value to set * @value: Value to set
* *
* Used to set a field in feature report. For example this can set polling * Used to set a field in feature report. For example this can set polling
* interval, sensitivity, activate/deactivate state. * interval, sensitivity, activate/deactivate state.
*/ */
int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)