Lines Matching refs:gpios
362 unsigned int *gpios;
397 gpios = devm_kcalloc(dev,
401 if (!gpios) {
402 dev_err(dev, "could not allocate memory for gpios\n");
407 ret = of_get_named_gpio(np, "row-gpios", i);
410 gpios[i] = ret;
414 ret = of_get_named_gpio(np, "col-gpios", i);
417 gpios[nrow + i] = ret;
420 pdata->row_gpios = gpios;
421 pdata->col_gpios = &gpios[pdata->num_row_gpios];