Lines Matching refs:devres
1842 struct input_devres *devres = res; in devm_input_device_match() local
1844 return devres->input == data; in devm_input_device_match()
1849 struct input_devres *devres = res; in devm_input_device_release() local
1850 struct input_dev *input = devres->input; in devm_input_device_release()
1878 struct input_devres *devres; in devm_input_allocate_device() local
1880 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1881 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1882 if (!devres) in devm_input_allocate_device()
1887 devres_free(devres); in devm_input_allocate_device()
1894 devres->input = input; in devm_input_allocate_device()
1895 devres_add(dev, devres); in devm_input_allocate_device()
2106 struct input_devres *devres = res; in devm_input_device_unregister() local
2107 struct input_dev *input = devres->input; in devm_input_device_unregister()
2155 struct input_devres *devres = NULL; in input_register_device() local
2168 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2169 sizeof(*devres), GFP_KERNEL); in input_register_device()
2170 if (!devres) in input_register_device()
2173 devres->input = dev; in input_register_device()
2238 devres_add(dev->dev.parent, devres); in input_register_device()
2248 devres_free(devres); in input_register_device()