Home
last modified time | relevance | path

Searched refs:hidpp (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/hid/
Dhid-logitech-hidpp.c181 static int hidpp_send_message_sync(struct hidpp_device *hidpp, in hidpp_send_message_sync() argument
187 mutex_lock(&hidpp->send_mutex); in hidpp_send_message_sync()
189 hidpp->send_receive_buf = response; in hidpp_send_message_sync()
190 hidpp->answer_available = false; in hidpp_send_message_sync()
198 ret = __hidpp_send_report(hidpp->hid_dev, message); in hidpp_send_message_sync()
206 if (!wait_event_timeout(hidpp->wait, hidpp->answer_available, in hidpp_send_message_sync()
228 mutex_unlock(&hidpp->send_mutex); in hidpp_send_message_sync()
233 static int hidpp_send_fap_command_sync(struct hidpp_device *hidpp, in hidpp_send_fap_command_sync() argument
251 ret = hidpp_send_message_sync(hidpp, message, response); in hidpp_send_fap_command_sync()
285 struct hidpp_device *hidpp = container_of(work, struct hidpp_device, in delayed_work_cb() local
[all …]
DMakefile56 obj-$(CONFIG_HID_LOGITECH_HIDPP) += hid-logitech-hidpp.o