/drivers/hid/surface-hid/ |
D | surface_hid_core.c | 24 static int surface_hid_load_hid_descriptor(struct surface_hid_device *shid) in surface_hid_load_hid_descriptor() argument 28 status = shid->ops.get_descriptor(shid, SURFACE_HID_DESC_HID, in surface_hid_load_hid_descriptor() 29 (u8 *)&shid->hid_desc, sizeof(shid->hid_desc)); in surface_hid_load_hid_descriptor() 33 if (shid->hid_desc.desc_len != sizeof(shid->hid_desc)) { in surface_hid_load_hid_descriptor() 34 dev_err(shid->dev, "unexpected HID descriptor length: got %u, expected %zu\n", in surface_hid_load_hid_descriptor() 35 shid->hid_desc.desc_len, sizeof(shid->hid_desc)); in surface_hid_load_hid_descriptor() 39 if (shid->hid_desc.desc_type != HID_DT_HID) { in surface_hid_load_hid_descriptor() 40 dev_err(shid->dev, "unexpected HID descriptor type: got %#04x, expected %#04x\n", in surface_hid_load_hid_descriptor() 41 shid->hid_desc.desc_type, HID_DT_HID); in surface_hid_load_hid_descriptor() 45 if (shid->hid_desc.num_descriptors != 1) { in surface_hid_load_hid_descriptor() [all …]
|
D | surface_kbd.c | 34 static int ssam_kbd_get_descriptor(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len) in ssam_kbd_get_descriptor() argument 40 rqst.target_category = shid->uid.category; in ssam_kbd_get_descriptor() 41 rqst.target_id = shid->uid.target; in ssam_kbd_get_descriptor() 43 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_descriptor() 52 status = ssam_retry(ssam_request_sync_onstack, shid->ctrl, &rqst, &rsp, sizeof(entry)); in ssam_kbd_get_descriptor() 57 dev_err(shid->dev, "invalid descriptor length: got %zu, expected, %zu\n", in ssam_kbd_get_descriptor() 65 static int ssam_kbd_set_caps_led(struct surface_hid_device *shid, bool value) in ssam_kbd_set_caps_led() argument 70 rqst.target_category = shid->uid.category; in ssam_kbd_set_caps_led() 71 rqst.target_id = shid->uid.target; in ssam_kbd_set_caps_led() 73 rqst.instance_id = shid->uid.instance; in ssam_kbd_set_caps_led() [all …]
|
D | surface_hid.c | 42 static int ssam_hid_get_descriptor(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len) in ssam_hid_get_descriptor() argument 59 rqst.target_category = shid->uid.category; in ssam_hid_get_descriptor() 60 rqst.target_id = shid->uid.target; in ssam_hid_get_descriptor() 62 rqst.instance_id = shid->uid.instance; in ssam_hid_get_descriptor() 83 status = ssam_retry(ssam_request_sync_onstack, shid->ctrl, &rqst, &rsp, in ssam_hid_get_descriptor() 105 dev_err(shid->dev, "unexpected descriptor length: got %u, expected %zu\n", in ssam_hid_get_descriptor() 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 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() [all …]
|
D | surface_hid_core.h | 52 int (*get_descriptor)(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len); 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); 72 int surface_hid_device_add(struct surface_hid_device *shid); 73 void surface_hid_device_destroy(struct surface_hid_device *shid);
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_shader.c | 233 cmd->body.shid = res->id; in vmw_gb_shader_create() 265 cmd->body.shid = res->id; in vmw_gb_shader_bind() 293 cmd->body.shid = res->id; in vmw_gb_shader_unbind() 335 cmd->body.shid = res->id; in vmw_gb_shader_destroy() 404 cmd->body.shid = shader->id; in vmw_dx_shader_unscrub() 491 cmd->body.shid = res->id; in vmw_dx_shader_scrub()
|
D | vmwgfx_execbuf.c | 1939 cmd->body.shid, cmd + 1, cmd->body.type, in vmw_cmd_shader_define() 1976 ret = vmw_shader_remove(vmw_context_res_man(ctx), cmd->body.shid, in vmw_cmd_shader_destroy() 2021 if (cmd->body.shid != SVGA3D_INVALID_ID) { in vmw_cmd_set_shader() 2028 cmd->body.shid, cmd->body.type); in vmw_cmd_set_shader() 2038 &cmd->body.shid), in vmw_cmd_set_shader() 2048 user_shader_converter, &cmd->body.shid, in vmw_cmd_set_shader() 2110 user_shader_converter, &cmd->body.shid, in vmw_cmd_bind_gb_shader() 2731 res = vmw_shader_lookup(vmw_context_res_man(ctx), cmd->body.shid, 0); in vmw_cmd_dx_bind_shader()
|
D | vmwgfx_binding.c | 568 cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_shader()
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 753 uint32 shid; member 762 uint32 shid; member 782 uint32 shid; member 1339 uint32 shid; member 1347 uint32 shid; member 1355 uint32 shid; member
|
D | svga3d_dx.h | 1445 uint32 shid; member
|