Lines Matching refs:devres
1936 struct input_devres *devres = res; in devm_input_device_match() local
1938 return devres->input == data; in devm_input_device_match()
1943 struct input_devres *devres = res; in devm_input_device_release() local
1944 struct input_dev *input = devres->input; in devm_input_device_release()
1972 struct input_devres *devres; in devm_input_allocate_device() local
1974 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1975 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1976 if (!devres) in devm_input_allocate_device()
1981 devres_free(devres); in devm_input_allocate_device()
1988 devres->input = input; in devm_input_allocate_device()
1989 devres_add(dev, devres); in devm_input_allocate_device()
2203 struct input_devres *devres = res; in devm_input_device_unregister() local
2204 struct input_dev *input = devres->input; in devm_input_device_unregister()
2314 struct input_devres *devres = NULL; in input_register_device() local
2326 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2327 sizeof(*devres), GFP_KERNEL); in input_register_device()
2328 if (!devres) in input_register_device()
2331 devres->input = dev; in input_register_device()
2386 devres_add(dev->dev.parent, devres); in input_register_device()
2393 devres_free(devres); in input_register_device()