Lines Matching defs:mxic_spi
169 struct mxic_spi {
177 static int mxic_spi_clk_enable(struct mxic_spi *mxic)
197 static void mxic_spi_clk_disable(struct mxic_spi *mxic)
203 static void mxic_spi_set_input_delay_dqs(struct mxic_spi *mxic, u8 idly_code)
217 static int mxic_spi_clk_setup(struct mxic_spi *mxic, unsigned long freq)
250 static int mxic_spi_set_freq(struct mxic_spi *mxic, unsigned long freq)
271 static void mxic_spi_hw_init(struct mxic_spi *mxic)
283 static int mxic_spi_data_xfer(struct mxic_spi *mxic, const void *txbuf,
351 struct mxic_spi *mxic = spi_master_get_devdata(mem->spi->master);
430 struct mxic_spi *mxic = spi_master_get_devdata(spi->master);
449 struct mxic_spi *mxic = spi_master_get_devdata(master);
493 struct mxic_spi *mxic = spi_master_get_devdata(master);
504 struct mxic_spi *mxic = spi_master_get_devdata(master);
525 struct mxic_spi *mxic;
528 master = devm_spi_alloc_master(&pdev->dev, sizeof(struct mxic_spi));