Lines Matching refs:devres
1970 struct input_devres *devres = res; in devm_input_device_match() local
1972 return devres->input == data; in devm_input_device_match()
1977 struct input_devres *devres = res; in devm_input_device_release() local
1978 struct input_dev *input = devres->input; in devm_input_device_release()
2006 struct input_devres *devres; in devm_input_allocate_device() local
2008 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
2009 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
2010 if (!devres) in devm_input_allocate_device()
2015 devres_free(devres); in devm_input_allocate_device()
2022 devres->input = input; in devm_input_allocate_device()
2023 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()
2348 struct input_devres *devres = NULL; in input_register_device() local
2360 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2361 sizeof(*devres), GFP_KERNEL); in input_register_device()
2362 if (!devres) in input_register_device()
2365 devres->input = dev; in input_register_device()
2420 devres_add(dev->dev.parent, devres); in input_register_device()
2427 devres_free(devres); in input_register_device()