Lines Matching defs:loongson_spi
34 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_set_cs() local
40 static void loongson_spi_set_clk(struct loongson_spi *loongson_spi, unsigned int hz) in loongson_spi_set_clk()
61 static void loongson_spi_set_mode(struct loongson_spi *loongson_spi, in loongson_spi_set_mode()
77 static int loongson_spi_update_state(struct loongson_spi *loongson_spi, in loongson_spi_update_state()
91 struct loongson_spi *loongson_spi; in loongson_spi_setup() local
110 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_write_read_8bit() local
149 struct loongson_spi *loongson_spi = spi_controller_get_devdata(ctlr); in loongson_spi_prepare_message() local
161 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_transfer_one() local
172 struct loongson_spi *loongson_spi = spi_controller_get_devdata(ctrl); in loongson_spi_unprepare_message() local
234 struct loongson_spi *loongson_spi; in loongson_spi_suspend() local
254 struct loongson_spi *loongson_spi; in loongson_spi_resume() local