Lines Matching defs:setup
575 * chipselect **BEFORE** we call setup(), else we'll trash
600 /* Drivers may modify this initial i/o setup, but will
601 * normally rely on the device being setup. Devices
606 dev_err(dev, "can't setup %s, status %d\n",
3317 * spi_setup - setup SPI mode and clock rate
3346 "setup: can not select dual and quad at the same time\n");
3371 "setup: ignoring unsupported mode bits %x\n",
3377 dev_err(&spi->dev, "setup: unsupported mode bits %x\n",
3395 if (spi->controller->setup)
3396 status = spi->controller->setup(spi);
3430 dev_dbg(&spi->dev, "setup mode %d, %s%s%s%s%u bits/w, %u Hz max --> %d\n",
3444 * spi_set_cs_timing - configure CS setup, hold, and inactive delays
3446 * @setup: CS setup time specified via @spi_delay
3452 int spi_set_cs_timing(struct spi_device *spi, struct spi_delay *setup,
3458 return spi->controller->set_cs_timing(spi, setup, hold,
3461 if ((setup && setup->unit == SPI_DELAY_UNIT_SCK) ||
3472 if (setup)
3473 memcpy(&spi->controller->cs_setup, setup, len);