Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/
Dhid-logitech-dj.c635 struct dj_device *dj_dev; in logi_dj_recv_destroy_djhid_device() local
639 dj_dev = djrcv_dev->paired_dj_devices[workitem->device_index]; in logi_dj_recv_destroy_djhid_device()
643 if (dj_dev != NULL) { in logi_dj_recv_destroy_djhid_device()
644 hid_destroy_device(dj_dev->hdev); in logi_dj_recv_destroy_djhid_device()
645 kfree(dj_dev); in logi_dj_recv_destroy_djhid_device()
658 struct dj_device *dj_dev; in logi_dj_recv_add_djhid_device() local
717 dj_dev = kzalloc(sizeof(struct dj_device), GFP_KERNEL); in logi_dj_recv_add_djhid_device()
719 if (!dj_dev) { in logi_dj_recv_add_djhid_device()
724 dj_dev->reports_supported = workitem->reports_supported; in logi_dj_recv_add_djhid_device()
725 dj_dev->hdev = dj_hiddev; in logi_dj_recv_add_djhid_device()
[all …]