Home
last modified time | relevance | path

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

/linux/drivers/hid/surface-hid/
H A 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);
H A Dsurface_hid_core.c24 static bool surface_hid_is_hot_removed(struct surface_hid_device *shid) in surface_hid_is_hot_removed()
39 static int surface_hid_load_hid_descriptor(struct surface_hid_device *shid) in surface_hid_load_hid_descriptor()
78 static int surface_hid_load_device_attributes(struct surface_hid_device *shid) in surface_hid_load_device_attributes()
104 struct surface_hid_device *shid = hid->driver_data; in surface_hid_start()
111 struct surface_hid_device *shid = hid->driver_data; in surface_hid_stop()
137 struct surface_hid_device *shid = hid->driver_data; in surface_hid_parse()
160 struct surface_hid_device *shid = hid->driver_data; in surface_hid_raw_request()
189 int surface_hid_device_add(struct surface_hid_device *shid) in surface_hid_device_add()
228 void surface_hid_device_destroy(struct surface_hid_device *shid) in surface_hid_device_destroy()
241 struct surface_hid_device *d = dev_get_drvdata(dev); in surface_hid_suspend()
[all …]
H A 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()
H A 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()