Lines Matching refs:devres
1814 struct input_devres *devres = res; in devm_input_device_match() local
1816 return devres->input == data; in devm_input_device_match()
1821 struct input_devres *devres = res; in devm_input_device_release() local
1822 struct input_dev *input = devres->input; in devm_input_device_release()
1850 struct input_devres *devres; in devm_input_allocate_device() local
1852 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1854 if (!devres) in devm_input_allocate_device()
1859 devres_free(devres); in devm_input_allocate_device()
1866 devres->input = input; in devm_input_allocate_device()
1867 devres_add(dev, devres); in devm_input_allocate_device()
2049 struct input_devres *devres = res; in devm_input_device_unregister() local
2050 struct input_dev *input = devres->input; in devm_input_device_unregister()
2082 struct input_devres *devres = NULL; in input_register_device() local
2089 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2091 if (!devres) in input_register_device()
2094 devres->input = dev; in input_register_device()
2160 devres_add(dev->dev.parent, devres); in input_register_device()
2170 devres_free(devres); in input_register_device()