fap
*nameLength = response.fap.params[0];
device_name[i] = response.fap.params[i];
u8 *params = (u8 *)response.fap.params;
u8 *params = (u8 *)response.fap.params;
if (report->fap.feature_index != hidpp->battery.feature_index ||
report->fap.funcindex_clientid != EVENT_BATTERY_LEVEL_STATUS_BROADCAST)
status = hidpp20_batterylevel_map_status_capacity(report->fap.params,
struct fap fap;
u8 rawbytes[sizeof(struct fap)];
u8 *params = (u8 *)response.fap.params;
if (report->fap.feature_index != hidpp->battery.voltage_feature_index ||
report->fap.funcindex_clientid != EVENT_BATTERY_VOLTAGE_STATUS_BROADCAST)
status = hidpp20_battery_map_status_voltage(report->fap.params, &voltage,
u8 *params = (u8 *)response.fap.params;
u8 *params = (u8 *)response.fap.params;
u8 *params = (u8 *)report->fap.params;
if (report->fap.feature_index != hidpp->battery.feature_index ||
report->fap.funcindex_clientid != EVENT_UNIFIED_BATTERY_STATUS_EVENT)
u8 *params = (u8 *)response.fap.params;
if (report->fap.feature_index != hidpp->battery.adc_measurement_feature_index ||
report->fap.funcindex_clientid != EVENT_ADC_MEASUREMENT_STATUS_BROADCAST)
status = hidpp20_map_adc_measurement_1f20(report->fap.params, &voltage);
*multiplier = response.fap.params[1];
*multiplier = response.fap.params[0];
function = report->fap.funcindex_clientid;
if (report->fap.feature_index != hidpp->battery.solar_feature_index ||
capacity = report->fap.params[0];
lux = (report->fap.params[1] << 8) | report->fap.params[2];
u8 *params = (u8 *)response.fap.params;
u8 *params = (u8 *)response.fap.params;
slot = response.fap.params[0];
if ((report->fap.feature_index != wd->mt_feature_index) ||
(report->fap.funcindex_clientid != EVENT_TOUCHPAD_RAW_XY))
response->fap.feature_index == HIDPP20_ERROR) {
ret = response->fap.params[1];
data->slot_autocenter = response.fap.params[0];
data->num_effects = response.fap.params[0] - HIDPP_FF_RESERVED_SLOTS;
900 : get_unaligned_be16(&response.fap.params[0]);
0xffff : get_unaligned_be16(&response.fap.params[0]);
if (param_count > sizeof(message->fap.params)) {
(unsigned long long) sizeof(message->fap.params));
message->fap.feature_index = feat_index;
message->fap.funcindex_clientid = funcindex_clientid | LINUX_KERNEL_SW_ID;
memcpy(&message->fap.params, params, param_count);
return (answer->fap.feature_index == question->fap.feature_index) &&
(answer->fap.funcindex_clientid == question->fap.funcindex_clientid);
(answer->fap.feature_index == HIDPP20_ERROR)) &&
(answer->fap.funcindex_clientid == question->fap.feature_index) &&
(answer->fap.params[0] == question->fap.funcindex_clientid);
(report->fap.feature_index == hidpp->wireless_feature_index)) ||
if (response.fap.params[0] == 0)
*feature_index = response.fap.params[0];