Lines Matching refs:devres
1815 struct input_devres *devres = res; in devm_input_device_match() local
1817 return devres->input == data; in devm_input_device_match()
1822 struct input_devres *devres = res; in devm_input_device_release() local
1823 struct input_dev *input = devres->input; in devm_input_device_release()
1851 struct input_devres *devres; in devm_input_allocate_device() local
1853 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1854 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1855 if (!devres) in devm_input_allocate_device()
1860 devres_free(devres); in devm_input_allocate_device()
1867 devres->input = input; in devm_input_allocate_device()
1868 devres_add(dev, devres); in devm_input_allocate_device()
2039 struct input_devres *devres = res; in devm_input_device_unregister() local
2040 struct input_dev *input = devres->input; in devm_input_device_unregister()
2088 struct input_devres *devres = NULL; in input_register_device() local
2101 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2102 sizeof(*devres), GFP_KERNEL); in input_register_device()
2103 if (!devres) in input_register_device()
2106 devres->input = dev; in input_register_device()
2168 devres_add(dev->dev.parent, devres); in input_register_device()
2178 devres_free(devres); in input_register_device()