Lines Matching refs:devres
1968 struct input_devres *devres = res; in devm_input_device_match() local
1970 return devres->input == data; in devm_input_device_match()
1975 struct input_devres *devres = res; in devm_input_device_release() local
1976 struct input_dev *input = devres->input; in devm_input_device_release()
2004 struct input_devres *devres; in devm_input_allocate_device() local
2006 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
2007 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
2008 if (!devres) in devm_input_allocate_device()
2013 devres_free(devres); in devm_input_allocate_device()
2020 devres->input = input; in devm_input_allocate_device()
2021 devres_add(dev, devres); in devm_input_allocate_device()
2237 struct input_devres *devres = res; in devm_input_device_unregister() local
2238 struct input_dev *input = devres->input; in devm_input_device_unregister()
2322 struct input_devres *devres = NULL; in input_register_device() local
2335 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2336 sizeof(*devres), GFP_KERNEL); in input_register_device()
2337 if (!devres) in input_register_device()
2340 devres->input = dev; in input_register_device()
2405 devres_add(dev->dev.parent, devres); in input_register_device()
2415 devres_free(devres); in input_register_device()