Searched refs:feature_report (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_desc.c | 138 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()
|
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A D | amd_sfh_desc.c | 71 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 D | amd_sfh_init.c | 143 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()
|
/openbmc/linux/drivers/hid/amd-sfh-hid/ |
H A D | amd_sfh_client.c | 90 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 D | amd_sfh_hid.h | 51 u8 *feature_report[MAX_HID_DEVICES]; member
|
H A D | amd_sfh_common.h | 65 u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report);
|
/openbmc/linux/drivers/hid/ |
H A D | hid-rmi.c | 651 struct hid_report *feature_report; in rmi_probe() local 679 RMI_SET_RMI_MODE_REPORT_ID, &feature_report)) { in rmi_probe()
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 2273 uint64_t feature_report; in build_amd_iommu() local 2346 feature_report = (48UL << 30) | /* HATS */ in build_amd_iommu() 2351 feature_report |= (1UL << 0); /* XTSup */ in build_amd_iommu() 2353 build_append_int_noprefix(table_data, feature_report, 4); in build_amd_iommu()
|