Home
last modified time | relevance | path

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

/drivers/hid/amd-sfh-hid/hid_descriptor/
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()
/drivers/hid/amd-sfh-hid/sfh1_1/
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()
Damd_sfh_init.c143 cl_data->feature_report[i] = devm_kzalloc(dev, feature_report_size, GFP_KERNEL); in amd_sfh1_1_hid_client_init()
144 if (!cl_data->feature_report[i]) { in amd_sfh1_1_hid_client_init()
200 devm_kfree(dev, cl_data->feature_report[i]); in amd_sfh1_1_hid_client_init()
/drivers/hid/amd-sfh-hid/
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()
Damd_sfh_common.h65 u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report);
Damd_sfh_hid.h51 u8 *feature_report[MAX_HID_DEVICES]; member
/drivers/hid/
Dhid-rmi.c651 struct hid_report *feature_report; in rmi_probe() local
679 RMI_SET_RMI_MODE_REPORT_ID, &feature_report)) { in rmi_probe()