Lines Matching refs:names
170 /* Allocated names are no more needed (duplicated in ASoC internals) */
247 const char **names;
259 count = device_property_string_array_count(dev, "io-channel-names");
261 return dev_err_probe(dev, count, "failed to count io-channel-names\n");
270 names = kcalloc(iio_aux->num_chans, sizeof(*names), GFP_KERNEL);
271 if (!names)
280 ret = device_property_read_string_array(dev, "io-channel-names",
281 names, iio_aux->num_chans);
283 dev_err_probe(dev, ret, "failed to read io-channel-names\n");
304 iio_aux_chan->name = names[i];
323 kfree(names);