Home
last modified time | relevance | path

Searched refs:altera_spi (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-altera-core.c43 static int altr_spi_writel(struct altera_spi *hw, unsigned int reg, in altr_spi_writel()
56 static int altr_spi_readl(struct altera_spi *hw, unsigned int reg, in altr_spi_readl()
68 static inline struct altera_spi *altera_spi_to_hw(struct spi_device *sdev) in altera_spi_to_hw()
75 struct altera_spi *hw = altera_spi_to_hw(spi); in altera_spi_set_cs()
89 static void altera_spi_tx_word(struct altera_spi *hw) in altera_spi_tx_word()
115 static void altera_spi_rx_word(struct altera_spi *hw) in altera_spi_rx_word()
145 struct altera_spi *hw = spi_controller_get_devdata(host); in altera_spi_txrx()
186 struct altera_spi *hw = spi_controller_get_devdata(host); in altera_spi_irq()
206 struct altera_spi *hw = spi_controller_get_devdata(host); in altera_spi_init_host()
H A Dspi-altera-platform.c41 struct altera_spi *hw; in altera_spi_probe()
46 host = spi_alloc_host(&pdev->dev, sizeof(struct altera_spi)); in altera_spi_probe()
H A Dspi-altera-dfl.c129 struct altera_spi *hw; in dfl_spi_altera_probe()
133 host = devm_spi_alloc_host(dev, sizeof(struct altera_spi)); in dfl_spi_altera_probe()
/openbmc/linux/drivers/fpga/
H A Ddfl-n3000-nios.c161 struct platform_device *altera_spi; member
447 nn->altera_spi = platform_device_register_full(&pdevinfo); in create_altera_spi_controller()
448 return PTR_ERR_OR_ZERO(nn->altera_spi); in create_altera_spi_controller()
453 platform_device_unregister(nn->altera_spi); in destroy_altera_spi_controller()
/openbmc/linux/include/linux/spi/
H A Daltera.h32 struct altera_spi { struct
/openbmc/u-boot/drivers/spi/
H A DMakefile18 obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
H A Daltera_spi.c198 U_BOOT_DRIVER(altera_spi) = {