Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/hid/
Dhid-sensor-custom.c57 struct miscdevice custom_dev; member
655 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_read()
685 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_release()
697 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_open()
712 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_poll()
741 sensor_inst->custom_dev.minor = MISC_DYNAMIC_MINOR; in hid_sensor_custom_dev_if_add()
742 sensor_inst->custom_dev.name = dev_name(&sensor_inst->pdev->dev); in hid_sensor_custom_dev_if_add()
743 sensor_inst->custom_dev.fops = &hid_sensor_custom_fops, in hid_sensor_custom_dev_if_add()
744 ret = misc_register(&sensor_inst->custom_dev); in hid_sensor_custom_dev_if_add()
756 misc_deregister(&sensor_inst->custom_dev); in hid_sensor_custom_dev_if_remove()