Lines Matching refs:devres
2021 struct input_devres *devres = res; in devm_input_device_match() local
2023 return devres->input == data; in devm_input_device_match()
2028 struct input_devres *devres = res; in devm_input_device_release() local
2029 struct input_dev *input = devres->input; in devm_input_device_release()
2057 struct input_devres *devres; in devm_input_allocate_device() local
2059 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
2060 sizeof(*devres), GFP_KERNEL); in devm_input_allocate_device()
2061 if (!devres) in devm_input_allocate_device()
2066 devres_free(devres); in devm_input_allocate_device()
2073 devres->input = input; in devm_input_allocate_device()
2074 devres_add(dev, devres); in devm_input_allocate_device()
2290 struct input_devres *devres = res; in devm_input_device_unregister() local
2291 struct input_dev *input = devres->input; in devm_input_device_unregister()
2404 struct input_devres *devres = NULL; in input_register_device() local
2416 devres = devres_alloc(devm_input_device_unregister, in input_register_device()
2417 sizeof(*devres), GFP_KERNEL); in input_register_device()
2418 if (!devres) in input_register_device()
2421 devres->input = dev; in input_register_device()
2479 devres_add(dev->dev.parent, devres); in input_register_device()
2486 devres_free(devres); in input_register_device()