Lines Matching refs:rprt_id
113 static int ssam_hid_set_raw_report(struct surface_hid_device *shid, u8 rprt_id, bool feature, in ssam_hid_set_raw_report() argument
132 buf[0] = rprt_id; in ssam_hid_set_raw_report()
137 static int ssam_hid_get_raw_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in ssam_hid_get_raw_report() argument
147 rqst.length = sizeof(rprt_id); in ssam_hid_get_raw_report()
148 rqst.payload = &rprt_id; in ssam_hid_get_raw_report()
154 return ssam_retry(ssam_request_do_sync_onstack, shid->ctrl, &rqst, &rsp, sizeof(rprt_id)); in ssam_hid_get_raw_report()
171 static int shid_output_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in shid_output_report() argument
175 status = ssam_hid_set_raw_report(shid, rprt_id, false, buf, len); in shid_output_report()
179 static int shid_get_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in shid_get_feature_report() argument
183 status = ssam_hid_get_raw_report(shid, rprt_id, buf, len); in shid_get_feature_report()
187 static int shid_set_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in shid_set_feature_report() argument
191 status = ssam_hid_set_raw_report(shid, rprt_id, true, buf, len); in shid_set_feature_report()