Lines Matching refs:ptr
223 struct mux_chip **ptr, *mux_chip;
225 ptr = devres_alloc(devm_mux_chip_release, sizeof(*ptr), GFP_KERNEL);
226 if (!ptr)
231 devres_free(ptr);
235 *ptr = mux_chip;
236 devres_add(dev, ptr);
261 struct mux_chip **ptr;
264 ptr = devres_alloc(devm_mux_chip_reg_release, sizeof(*ptr), GFP_KERNEL);
265 if (!ptr)
270 devres_free(ptr);
274 *ptr = mux_chip;
275 devres_add(dev, ptr);
511 struct mux_control **ptr, *mux;
513 ptr = devres_alloc(devm_mux_control_release, sizeof(*ptr), GFP_KERNEL);
514 if (!ptr)
519 devres_free(ptr);
523 *ptr = mux;
524 devres_add(dev, ptr);