Home
last modified time | relevance | path

Searched refs:feature_report (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c138 static u8 get_feature_report(int sensor_idx, int report_id, u8 *feature_report) in get_feature_report() argument
147 if (!feature_report) in get_feature_report()
156 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_report()
164 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_report()
175 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_report()
184 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_report()
189 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_report()
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c71 static u8 get_feature_rep(int sensor_idx, int report_id, u8 *feature_report) in get_feature_rep() argument
80 if (!feature_report) in get_feature_rep()
89 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_rep()
97 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_rep()
108 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_rep()
116 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_rep()
121 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_rep()
H A Damd_sfh_init.c174 cl_data->feature_report[i] = devm_kzalloc(dev, feature_report_size, GFP_KERNEL); in amd_sfh1_1_hid_client_init()
175 if (!cl_data->feature_report[i]) { in amd_sfh1_1_hid_client_init()
247 devm_kfree(dev, cl_data->feature_report[i]); in amd_sfh1_1_hid_client_init()
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_hid.h51 u8 *feature_report[MAX_HID_DEVICES]; member