Home
last modified time | relevance | path

Searched refs:loongson_spi (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-loongson-core.c34 struct loongson_spi *loongson_spi = spi_controller_get_devdata(spi->controller); in loongson_spi_set_cs() local
58 loongson_spi->hz = hz; in loongson_spi_set_clk()
61 static void loongson_spi_set_mode(struct loongson_spi *loongson_spi, in loongson_spi_set_mode() argument
77 static int loongson_spi_update_state(struct loongson_spi *loongson_spi, in loongson_spi_update_state() argument
91 struct loongson_spi *loongson_spi; in loongson_spi_setup() local
100 loongson_spi->hz = 0; in loongson_spi_setup()
118 loongson_spi->spsr, (loongson_spi->spsr & in loongson_spi_write_read_8bit()
149 struct loongson_spi *loongson_spi = spi_controller_get_devdata(ctlr); in loongson_spi_prepare_message() 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
[all …]
H A Dspi-loongson.h32 struct loongson_spi { struct