Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dtee-if.c67 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents()
68 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
69 input_report_key(dev->pmf_idev, event, 0); /* key release */ in amd_pmf_update_uevents()
70 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
417 dev->pmf_idev = devm_input_allocate_device(dev->dev); in amd_pmf_register_input_device()
418 if (!dev->pmf_idev) in amd_pmf_register_input_device()
421 dev->pmf_idev->name = "PMF-TA output events"; in amd_pmf_register_input_device()
422 dev->pmf_idev->phys = "amd-pmf/input0"; in amd_pmf_register_input_device()
424 input_set_capability(dev->pmf_idev, EV_KEY, KEY_SLEEP); in amd_pmf_register_input_device()
425 input_set_capability(dev->pmf_idev, EV_KEY, KEY_SCREENLOCK); in amd_pmf_register_input_device()
[all …]
Dpmf.h369 struct input_dev *pmf_idev; member