Lines Matching refs:device_index
127 u8 device_index; member
134 u8 device_index; member
160 u8 device_index; member
170 u8 device_index; member
689 dj_dev = djrcv_dev->paired_dj_devices[workitem->device_index]; in logi_dj_recv_destroy_djhid_device()
690 djrcv_dev->paired_dj_devices[workitem->device_index] = NULL; in logi_dj_recv_destroy_djhid_device()
709 u8 device_index = workitem->device_index; in logi_dj_recv_add_djhid_device() local
718 if (djrcv_dev->paired_dj_devices[device_index]) { in logi_dj_recv_add_djhid_device()
764 snprintf(tmpstr, sizeof(tmpstr), ":%d", device_index); in logi_dj_recv_add_djhid_device()
777 dj_dev->device_index = device_index; in logi_dj_recv_add_djhid_device()
781 djrcv_dev->paired_dj_devices[device_index] = dj_dev; in logi_dj_recv_add_djhid_device()
793 djrcv_dev->paired_dj_devices[device_index] = NULL; in logi_dj_recv_add_djhid_device()
886 .device_index = dj_report->device_index, in logi_dj_recv_queue_notification()
979 switch (hidpp_report->device_index) { in logi_hidpp_dev_conn_notif_27mhz()
1000 hidpp_report->device_index); in logi_hidpp_dev_conn_notif_27mhz()
1012 .device_index = hidpp_report->device_index, in logi_hidpp_recv_queue_notif()
1023 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1077 if (hidpp_report->device_index == 7) { in logi_hidpp_recv_queue_notif()
1086 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1092 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1106 djdev = djrcv_dev->paired_dj_devices[dj_report->device_index]; in logi_dj_recv_forward_null_report()
1130 dj_device = djrcv_dev->paired_dj_devices[dj_report->device_index]; in logi_dj_recv_forward_dj()
1189 u8 *data = (u8 *)(&dj_report->device_index); in logi_dj_recv_send_report()
1249 dj_report->device_index = HIDPP_RECEIVER_INDEX; in logi_dj_recv_query_paired_devices()
1271 dj_report->device_index = HIDPP_RECEIVER_INDEX; in logi_dj_recv_switch_to_dj_mode()
1366 buf[4] = (buf[4] & 0xf0) | (djdev->device_index - 1); in logi_dj_ll_raw_request()
1368 buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1394 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1548 if ((dj_report->device_index < DJ_DEVICE_INDEX_MIN) || in logi_dj_dj_event()
1549 (dj_report->device_index > DJ_DEVICE_INDEX_MAX)) { in logi_dj_dj_event()
1555 if (dj_report->device_index != DJ_RECEIVER_INDEX) in logi_dj_dj_event()
1557 __func__, dj_report->device_index); in logi_dj_dj_event()
1563 if (!djrcv_dev->paired_dj_devices[dj_report->device_index]) { in logi_dj_dj_event()
1600 u8 device_index = hidpp_report->device_index; in logi_dj_hidpp_event() local
1602 if (device_index == HIDPP_RECEIVER_INDEX) { in logi_dj_hidpp_event()
1608 device_index = (data[4] & 0x0F) + 1; in logi_dj_hidpp_event()
1621 if ((device_index < DJ_DEVICE_INDEX_MIN) || in logi_dj_hidpp_event()
1622 (device_index > DJ_DEVICE_INDEX_MAX)) { in logi_dj_hidpp_event()
1629 hidpp_report->device_index); in logi_dj_hidpp_event()
1635 dj_dev = djrcv_dev->paired_dj_devices[device_index]; in logi_dj_hidpp_event()
1647 .device_index = hidpp_report->device_index, in logi_dj_hidpp_event()