Lines Matching refs:client_hdev

115 	struct hid_device *hdev, *client_hdev;  member
677 struct hid_device *client_hdev; in steam_create_client_hid() local
679 client_hdev = hid_allocate_device(); in steam_create_client_hid()
680 if (IS_ERR(client_hdev)) in steam_create_client_hid()
681 return client_hdev; in steam_create_client_hid()
683 client_hdev->ll_driver = &steam_client_ll_driver; in steam_create_client_hid()
684 client_hdev->dev.parent = hdev->dev.parent; in steam_create_client_hid()
685 client_hdev->bus = hdev->bus; in steam_create_client_hid()
686 client_hdev->vendor = hdev->vendor; in steam_create_client_hid()
687 client_hdev->product = hdev->product; in steam_create_client_hid()
688 client_hdev->version = hdev->version; in steam_create_client_hid()
689 client_hdev->type = hdev->type; in steam_create_client_hid()
690 client_hdev->country = hdev->country; in steam_create_client_hid()
691 strlcpy(client_hdev->name, hdev->name, in steam_create_client_hid()
692 sizeof(client_hdev->name)); in steam_create_client_hid()
693 strlcpy(client_hdev->phys, hdev->phys, in steam_create_client_hid()
694 sizeof(client_hdev->phys)); in steam_create_client_hid()
700 client_hdev->group = HID_GROUP_STEAM; in steam_create_client_hid()
701 return client_hdev; in steam_create_client_hid()
742 steam->client_hdev = steam_create_client_hid(hdev); in steam_probe()
743 if (IS_ERR(steam->client_hdev)) { in steam_probe()
744 ret = PTR_ERR(steam->client_hdev); in steam_probe()
747 steam->client_hdev->driver_data = steam; in steam_probe()
757 ret = hid_add_device(steam->client_hdev); in steam_probe()
789 hid_destroy_device(steam->client_hdev); in steam_probe()
807 hid_destroy_device(steam->client_hdev); in steam_remove()
1023 hid_input_report(steam->client_hdev, HID_FEATURE_REPORT, in steam_raw_event()