Lines Matching refs:gpios
133 int *gpios;
277 if (!hw->master->num_chipselect || hw->gpios[cs] == -EEXIST)
284 gpio_set_value(hw->gpios[cs], cspol);
370 if (gpio_is_valid(hw->gpios[i]))
371 gpio_free(hw->gpios[i]);
373 kfree(hw->gpios);
374 hw->gpios = NULL;
407 * Note that of_gpio_count counts all gpios assigned to this spi master.
414 hw->gpios = kzalloc(sizeof(int) * num_gpios, GFP_KERNEL);
415 if (!hw->gpios) {
425 hw->gpios[i] = gpio;