Lines Matching refs:devres
1951 struct input_devres *devres = res; in devm_input_device_match() local
1953 return devres->input == data; in devm_input_device_match()
1958 struct input_devres *devres = res; in devm_input_device_release() local
1959 struct input_dev *input = devres->input; in devm_input_device_release()
1987 struct input_devres *devres; in devm_input_allocate_device() local
1989 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1990 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
1991 if (!devres) in devm_input_allocate_device()
1996 devres_free(devres); in devm_input_allocate_device()
2003 devres->input = input; in devm_input_allocate_device()
2004 devres_add(dev, devres); in devm_input_allocate_device()
2223 struct input_devres *devres = res; in devm_input_device_unregister() local
2224 struct input_dev *input = devres->input; in devm_input_device_unregister()
2280 struct input_devres *devres = NULL; in input_register_device() local
2293 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2294 sizeof(*devres), GFP_KERNEL); in input_register_device()
2295 if (!devres) in input_register_device()
2298 devres->input = dev; in input_register_device()
2363 devres_add(dev->dev.parent, devres); in input_register_device()
2373 devres_free(devres); in input_register_device()