Lines Matching refs:params

173 	uint8_t params[HIDPP_REPORT_LONG_PARAMS_MAX];  member
183 uint8_t params[HIDPP_REPORT_LONG_PARAMS_MAX]; member
825 rep->fap.params[0] == sc->sc_req->fap.funcidx_swid) in uhidpp_is_notification()
842 uint8_t params[3] = { 0, 0, HIDPP_PING_DATA }; in hidpp_get_protocol_version() local
850 params, sizeof(params), &resp); in hidpp_get_protocol_version()
858 if (resp.rap.params[2] != HIDPP_PING_DATA) in hidpp_get_protocol_version()
861 *major = resp.fap.params[0]; in hidpp_get_protocol_version()
862 *minor = resp.fap.params[1]; in hidpp_get_protocol_version()
876 uint8_t params[2] = { 0x60 + device_id, 0x01 }; in hidpp10_get_name() local
883 params, sizeof(params), &resp); in hidpp10_get_name()
886 len = resp.rap.params[2]; in hidpp10_get_name()
887 name = &resp.rap.params[3]; in hidpp10_get_name()
889 uint8_t params[1] = { 0x40 + (device_id - 1) }; in hidpp10_get_name() local
896 params, sizeof(params), &resp); in hidpp10_get_name()
899 len = resp.rap.params[1]; in hidpp10_get_name()
900 name = &resp.rap.params[2]; in hidpp10_get_name()
918 uint8_t params[1] = { 0x50 + device_id }; in hidpp10_get_type() local
925 params, sizeof(params), &resp); in hidpp10_get_type()
928 type = resp.rap.params[1] & 0xf; in hidpp10_get_type()
930 uint8_t params[1] = { 0x20 + (device_id - 1) }; in hidpp10_get_type() local
937 params, sizeof(params), &resp); in hidpp10_get_type()
940 type = resp.rap.params[7]; in hidpp10_get_type()
973 uint8_t params[3]; in hidpp10_enable_notifications() local
976 params[0] = HIDPP_ENABLE_REPORTS_DEVICE_BATTERY_STATUS; in hidpp10_enable_notifications()
978 params[1] = HIDPP_ENABLE_REPORTS_RECEIVER_WIRELESS | in hidpp10_enable_notifications()
981 params[2] = 0; in hidpp10_enable_notifications()
988 params, sizeof(params), &resp); in hidpp10_enable_notifications()
996 uint8_t params[2] = { feature >> 8, feature & 0xff }; in hidpp20_root_get_feature() local
1004 params, sizeof(params), &resp); in hidpp20_root_get_feature()
1008 if (resp.fap.params[0] == 0) in hidpp20_root_get_feature()
1011 *feature_idx = resp.fap.params[0]; in hidpp20_root_get_feature()
1012 *feature_type = resp.fap.params[1]; in hidpp20_root_get_feature()
1032 *count = resp.fap.params[0]; in hidpp20_feature_get_count()
1041 uint8_t params[1] = { idx }; in hidpp20_feature_get_id() local
1049 params, sizeof(params), &resp); in hidpp20_feature_get_id()
1053 *id = bemtoh16(resp.fap.params); in hidpp20_feature_get_id()
1054 *type = resp.fap.params[2]; in hidpp20_feature_get_id()
1075 level = resp.fap.params[0]; in hidpp20_battery_get_level_status()
1077 status = resp.fap.params[2]; in hidpp20_battery_get_level_status()
1143 dev->d_battery.nlevels = resp.fap.params[0]; in hidpp20_battery_get_capability()
1144 dev->d_battery.rechargeable = resp.fap.params[1] & in hidpp20_battery_get_capability()
1164 dev->d_battery.nlevels = nlevels(resp.fap.params[0]); in hidpp20_unified_battery_get_capabilities()
1165 dev->d_battery.unified_level_mask = resp.fap.params[0]; in hidpp20_unified_battery_get_capabilities()
1166 dev->d_battery.rechargeable = resp.fap.params[1] & in hidpp20_unified_battery_get_capabilities()
1187 percentage = resp.fap.params[0]; in hidpp20_unified_battery_get_status()
1188 level = resp.fap.params[1] & dev->d_battery.unified_level_mask; in hidpp20_unified_battery_get_status()
1189 status = resp.fap.params[2]; in hidpp20_unified_battery_get_status()
1263 uint8_t *params, int nparams, struct uhidpp_report *resp) in hidpp_send_fap_report() argument
1279 memcpy(req.fap.params, params, nparams); in hidpp_send_fap_report()
1286 uint8_t *params, int nparams, struct uhidpp_report *resp) in hidpp_send_rap_report() argument
1299 memcpy(req.rap.params, params, nparams); in hidpp_send_rap_report()
1358 error = resp->rap.params[1]; in hidpp_send_report()
1361 error = resp->fap.params[1]; in hidpp_send_report()