• Home
  • Raw
  • Download

Lines Matching refs:dr

104 	struct gpio_desc **dr;  in devm_gpiod_get_index()  local
107 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
109 if (!dr) in devm_gpiod_get_index()
114 devres_free(dr); in devm_gpiod_get_index()
118 *dr = desc; in devm_gpiod_get_index()
119 devres_add(dev, dr); in devm_gpiod_get_index()
140 struct gpio_desc **dr; in devm_get_gpiod_from_child() local
144 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_get_gpiod_from_child()
146 if (!dr) in devm_get_gpiod_from_child()
162 devres_free(dr); in devm_get_gpiod_from_child()
166 *dr = desc; in devm_get_gpiod_from_child()
167 devres_add(dev, dr); in devm_get_gpiod_from_child()
216 struct gpio_descs **dr; in devm_gpiod_get_array() local
219 dr = devres_alloc(devm_gpiod_release_array, in devm_gpiod_get_array()
221 if (!dr) in devm_gpiod_get_array()
226 devres_free(dr); in devm_gpiod_get_array()
230 *dr = descs; in devm_gpiod_get_array()
231 devres_add(dev, dr); in devm_gpiod_get_array()
326 unsigned *dr; in devm_gpio_request() local
329 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request()
330 if (!dr) in devm_gpio_request()
335 devres_free(dr); in devm_gpio_request()
339 *dr = gpio; in devm_gpio_request()
340 devres_add(dev, dr); in devm_gpio_request()
356 unsigned *dr; in devm_gpio_request_one() local
359 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request_one()
360 if (!dr) in devm_gpio_request_one()
365 devres_free(dr); in devm_gpio_request_one()
369 *dr = gpio; in devm_gpio_request_one()
370 devres_add(dev, dr); in devm_gpio_request_one()