Lines Matching refs:host
3 * Xilinx SPI controller driver (host mode only)
86 bool force_irq; /* force irq to setup host inhibit */
180 * put SPI controller into host mode, and enable it */
338 /* This driver supports single host mode only. Hence Tx FIFO Empty
396 struct spi_controller *host;
427 host = devm_spi_alloc_host(&pdev->dev, sizeof(struct xilinx_spi));
428 if (!host)
432 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP |
435 xspi = spi_controller_get_devdata(host);
437 xspi->bitbang.ctlr = host;
447 host->bus_num = pdev->id;
448 host->num_chipselect = num_cs;
449 host->dev.of_node = pdev->dev.of_node;
469 host->bits_per_word_mask = SPI_BPW_MASK(bits_per_word);
499 spi_new_device(host, pdata->devices + i);
502 platform_set_drvdata(pdev, host);
508 struct spi_controller *host = platform_get_drvdata(pdev);
509 struct xilinx_spi *xspi = spi_controller_get_devdata(host);