Lines Matching refs:devres
1853 struct input_devres *devres = res; in devm_input_device_match() local
1855 return devres->input == data; in devm_input_device_match()
1860 struct input_devres *devres = res; in devm_input_device_release() local
1861 struct input_dev *input = devres->input; in devm_input_device_release()
1889 struct input_devres *devres; in devm_input_allocate_device() local
1891 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1892 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1893 if (!devres) in devm_input_allocate_device()
1898 devres_free(devres); in devm_input_allocate_device()
1905 devres->input = input; in devm_input_allocate_device()
1906 devres_add(dev, devres); in devm_input_allocate_device()
2125 struct input_devres *devres = res; in devm_input_device_unregister() local
2126 struct input_dev *input = devres->input; in devm_input_device_unregister()
2174 struct input_devres *devres = NULL; in input_register_device() local
2187 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2188 sizeof(*devres), GFP_KERNEL); in input_register_device()
2189 if (!devres) in input_register_device()
2192 devres->input = dev; in input_register_device()
2257 devres_add(dev->dev.parent, devres); in input_register_device()
2267 devres_free(devres); in input_register_device()