Lines Matching refs:devres
1940 struct input_devres *devres = res; in devm_input_device_match() local
1942 return devres->input == data; in devm_input_device_match()
1947 struct input_devres *devres = res; in devm_input_device_release() local
1948 struct input_dev *input = devres->input; in devm_input_device_release()
1976 struct input_devres *devres; in devm_input_allocate_device() local
1978 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1979 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1980 if (!devres) in devm_input_allocate_device()
1985 devres_free(devres); in devm_input_allocate_device()
1992 devres->input = input; in devm_input_allocate_device()
1993 devres_add(dev, devres); in devm_input_allocate_device()
2204 struct input_devres *devres = res; in devm_input_device_unregister() local
2205 struct input_dev *input = devres->input; in devm_input_device_unregister()
2261 struct input_devres *devres = NULL; in input_register_device() local
2274 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2275 sizeof(*devres), GFP_KERNEL); in input_register_device()
2276 if (!devres) in input_register_device()
2279 devres->input = dev; in input_register_device()
2344 devres_add(dev->dev.parent, devres); in input_register_device()
2354 devres_free(devres); in input_register_device()