Searched refs:rprt_id (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/hid/surface-hid/ |
H A D | surface_hid.c | 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() [all …]
|
H A D | surface_kbd.c | 152 static int skbd_get_caps_led_value(struct hid_device *hid, u8 rprt_id, u8 *buf, size_t len) in skbd_get_caps_led_value() argument 167 if (rprt_id != field->report->id) in skbd_get_caps_led_value() 184 static int skbd_output_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in skbd_output_report() argument 189 caps_led = skbd_get_caps_led_value(shid->hid, rprt_id, buf, len); in skbd_output_report() 200 static int skbd_get_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in skbd_get_feature_report() argument 218 if (rprt_id != report[0]) in skbd_get_feature_report() 225 static int skbd_set_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len) in skbd_set_feature_report() argument
|
H A D | surface_hid_core.h | 53 int (*output_report)(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len); 54 int (*get_feature_report)(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len); 55 int (*set_feature_report)(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len);
|