Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hid/
Dhid-sensor-custom.c51 struct miscdevice custom_dev; member
647 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_read()
677 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_release()
689 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_open()
704 struct hid_sensor_custom, custom_dev); in hid_sensor_custom_poll()
733 sensor_inst->custom_dev.minor = MISC_DYNAMIC_MINOR; in hid_sensor_custom_dev_if_add()
734 sensor_inst->custom_dev.name = dev_name(&sensor_inst->pdev->dev); in hid_sensor_custom_dev_if_add()
735 sensor_inst->custom_dev.fops = &hid_sensor_custom_fops, in hid_sensor_custom_dev_if_add()
736 ret = misc_register(&sensor_inst->custom_dev); in hid_sensor_custom_dev_if_add()
748 misc_deregister(&sensor_inst->custom_dev); in hid_sensor_custom_dev_if_remove()