Lines Matching refs:rqst
46 struct ssam_request rqst; in ssam_hid_get_descriptor() local
59 rqst.target_category = shid->uid.category; in ssam_hid_get_descriptor()
60 rqst.target_id = shid->uid.target; in ssam_hid_get_descriptor()
61 rqst.command_id = SURFACE_HID_CID_GET_DESCRIPTOR; in ssam_hid_get_descriptor()
62 rqst.instance_id = shid->uid.instance; in ssam_hid_get_descriptor()
63 rqst.flags = SSAM_REQUEST_HAS_RESPONSE; in ssam_hid_get_descriptor()
64 rqst.length = sizeof(struct surface_hid_buffer_slice); in ssam_hid_get_descriptor()
65 rqst.payload = buffer; in ssam_hid_get_descriptor()
83 status = ssam_retry(ssam_request_sync_onstack, shid->ctrl, &rqst, &rsp, in ssam_hid_get_descriptor()
116 struct ssam_request rqst; in ssam_hid_set_raw_report() local
124 rqst.target_category = shid->uid.category; in ssam_hid_set_raw_report()
125 rqst.target_id = shid->uid.target; in ssam_hid_set_raw_report()
126 rqst.instance_id = shid->uid.instance; in ssam_hid_set_raw_report()
127 rqst.command_id = cid; in ssam_hid_set_raw_report()
128 rqst.flags = 0; in ssam_hid_set_raw_report()
129 rqst.length = len; in ssam_hid_set_raw_report()
130 rqst.payload = buf; in ssam_hid_set_raw_report()
134 return ssam_retry(ssam_request_sync, shid->ctrl, &rqst, NULL); in ssam_hid_set_raw_report()
139 struct ssam_request rqst; in ssam_hid_get_raw_report() local
142 rqst.target_category = shid->uid.category; in ssam_hid_get_raw_report()
143 rqst.target_id = shid->uid.target; in ssam_hid_get_raw_report()
144 rqst.instance_id = shid->uid.instance; in ssam_hid_get_raw_report()
145 rqst.command_id = SURFACE_HID_CID_GET_FEATURE_REPORT; in ssam_hid_get_raw_report()
146 rqst.flags = SSAM_REQUEST_HAS_RESPONSE; in ssam_hid_get_raw_report()
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_sync_onstack, shid->ctrl, &rqst, &rsp, sizeof(rprt_id)); in ssam_hid_get_raw_report()