Searched refs:altera_spi (Results 1 – 5 of 5) sorted by relevance
43 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_master_get_devdata(master); in altera_spi_txrx()186 struct altera_spi *hw = spi_master_get_devdata(master); in altera_spi_irq()206 struct altera_spi *hw = spi_master_get_devdata(master); in altera_spi_init_master()
41 struct altera_spi *hw; in altera_spi_probe()46 master = spi_alloc_master(&pdev->dev, sizeof(struct altera_spi)); in altera_spi_probe()
129 struct altera_spi *hw; in dfl_spi_altera_probe()133 master = devm_spi_alloc_master(dev, sizeof(struct altera_spi)); in dfl_spi_altera_probe()
161 struct platform_device *altera_spi; member447 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()
32 struct altera_spi { struct