Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/amd/
Dhsmp.c88 struct miscdevice hsmp_device; member
854 plat_dev.hsmp_device.name = HSMP_CDEV_NAME; in hsmp_pltdrv_probe()
855 plat_dev.hsmp_device.minor = MISC_DYNAMIC_MINOR; in hsmp_pltdrv_probe()
856 plat_dev.hsmp_device.fops = &hsmp_fops; in hsmp_pltdrv_probe()
857 plat_dev.hsmp_device.parent = &pdev->dev; in hsmp_pltdrv_probe()
858 plat_dev.hsmp_device.nodename = HSMP_DEVNODE_NAME; in hsmp_pltdrv_probe()
859 plat_dev.hsmp_device.mode = 0644; in hsmp_pltdrv_probe()
861 ret = misc_register(&plat_dev.hsmp_device); in hsmp_pltdrv_probe()
879 misc_deregister(&plat_dev.hsmp_device); in hsmp_pltdrv_remove()