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()
981 switch (hidpp_report->device_index) { in logi_hidpp_dev_conn_notif_27mhz()
1002 hidpp_report->device_index); in logi_hidpp_dev_conn_notif_27mhz()
1014 .device_index = hidpp_report->device_index, in logi_hidpp_recv_queue_notif()
1025 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1079 if (hidpp_report->device_index == 7) { in logi_hidpp_recv_queue_notif()
1088 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1094 hidpp_report->device_index); in logi_hidpp_recv_queue_notif()
1108 djdev = djrcv_dev->paired_dj_devices[dj_report->device_index]; in logi_dj_recv_forward_null_report()
1132 dj_device = djrcv_dev->paired_dj_devices[dj_report->device_index]; in logi_dj_recv_forward_dj()
1191 u8 *data = (u8 *)(&dj_report->device_index); in logi_dj_recv_send_report()
1251 dj_report->device_index = HIDPP_RECEIVER_INDEX; in logi_dj_recv_query_paired_devices()
1273 dj_report->device_index = HIDPP_RECEIVER_INDEX; in logi_dj_recv_switch_to_dj_mode()
1363 buf[4] = (buf[4] & 0xf0) | (djdev->device_index - 1); in logi_dj_ll_raw_request()
1365 buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1391 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1545 if ((dj_report->device_index < DJ_DEVICE_INDEX_MIN) || in logi_dj_dj_event()
1546 (dj_report->device_index > DJ_DEVICE_INDEX_MAX)) { in logi_dj_dj_event()
1552 if (dj_report->device_index != DJ_RECEIVER_INDEX) in logi_dj_dj_event()
1554 __func__, dj_report->device_index); in logi_dj_dj_event()
1560 if (!djrcv_dev->paired_dj_devices[dj_report->device_index]) { in logi_dj_dj_event()
1597 u8 device_index = hidpp_report->device_index; in logi_dj_hidpp_event() local
1599 if (device_index == HIDPP_RECEIVER_INDEX) { in logi_dj_hidpp_event()
1605 device_index = (data[4] & 0x0F) + 1; in logi_dj_hidpp_event()
1618 if ((device_index < DJ_DEVICE_INDEX_MIN) || in logi_dj_hidpp_event()
1619 (device_index > DJ_DEVICE_INDEX_MAX)) { in logi_dj_hidpp_event()
1626 hidpp_report->device_index); in logi_dj_hidpp_event()
1632 dj_dev = djrcv_dev->paired_dj_devices[device_index]; in logi_dj_hidpp_event()
1644 .device_index = hidpp_report->device_index, in logi_dj_hidpp_event()