Home
last modified time | relevance | path

Searched refs:surface_hid_device (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/hid/surface-hid/
Dsurface_hid_core.h49 struct surface_hid_device;
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);
58 struct surface_hid_device { struct
72 int surface_hid_device_add(struct surface_hid_device *shid); argument
73 void surface_hid_device_destroy(struct surface_hid_device *shid);
Dsurface_hid_core.c24 static int surface_hid_load_hid_descriptor(struct surface_hid_device *shid) in surface_hid_load_hid_descriptor()
60 static int surface_hid_load_device_attributes(struct surface_hid_device *shid) in surface_hid_load_device_attributes()
83 struct surface_hid_device *shid = hid->driver_data; in surface_hid_start()
90 struct surface_hid_device *shid = hid->driver_data; in surface_hid_stop()
107 struct surface_hid_device *shid = hid->driver_data; in surface_hid_parse()
127 struct surface_hid_device *shid = hid->driver_data; in surface_hid_raw_request()
153 int surface_hid_device_add(struct surface_hid_device *shid) in surface_hid_device_add()
192 void surface_hid_device_destroy(struct surface_hid_device *shid) in surface_hid_device_destroy()
205 struct surface_hid_device *d = dev_get_drvdata(dev); in surface_hid_suspend()
212 struct surface_hid_device *d = dev_get_drvdata(dev); in surface_hid_resume()
[all …]
Dsurface_hid.c42 static int ssam_hid_get_descriptor(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len) 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()
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()
159 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_hid_event_fn()
171 static int shid_output_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t 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()
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()
200 struct surface_hid_device *shid; in surface_hid_probe()
Dsurface_kbd.c34 static int ssam_kbd_get_descriptor(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len) 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()
81 static int ssam_kbd_get_feature_report(struct surface_hid_device *shid, u8 *buf, size_t len) in ssam_kbd_get_feature_report()
126 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_kbd_event_fn()
184 static int skbd_output_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t 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()
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()
237 struct surface_hid_device *shid; in surface_kbd_probe()