Home
last modified time | relevance | path

Searched refs:feature_report (Results 1 – 6 of 6) 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()
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c90 cli_data->feature_report[current_index]); in amd_sfh_work()
94 cli_data->feature_report[current_index], report_size, 0); in amd_sfh_work()
265 cl_data->feature_report[i] = devm_kzalloc(dev, feature_report_size, GFP_KERNEL); in amd_sfh_hid_client_init()
266 if (!cl_data->feature_report[i]) { in amd_sfh_hid_client_init()
324 devm_kfree(dev, cl_data->feature_report[i]); in amd_sfh_hid_client_init()
H A Damd_sfh_hid.h51 u8 *feature_report[MAX_HID_DEVICES]; member
H A Damd_sfh_common.h77 u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report);
/linux/drivers/hid/
H A Dhid-rmi.c649 struct hid_report *feature_report; in rmi_probe() local
677 RMI_SET_RMI_MODE_REPORT_ID, &feature_report)) { in rmi_probe()