Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-meson-spifc.c94 static int meson_spifc_wait_ready(struct meson_spifc *spifc) in meson_spifc_wait_ready() argument
100 regmap_read(spifc->regmap, REG_SLAVE, &data); in meson_spifc_wait_ready()
115 static void meson_spifc_drain_buffer(struct meson_spifc *spifc, u8 *buf, in meson_spifc_drain_buffer() argument
122 regmap_read(spifc->regmap, REG_C0 + i, &data); in meson_spifc_drain_buffer()
141 static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf, in meson_spifc_fill_buffer() argument
153 regmap_write(spifc->regmap, REG_C0 + i, data); in meson_spifc_fill_buffer()
165 static void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed) in meson_spifc_setup_speed() argument
170 parent = clk_get_rate(spifc->clk); in meson_spifc_setup_speed()
173 dev_dbg(spifc->dev, "parent %lu, speed %u, n %d\n", parent, in meson_spifc_setup_speed()
181 regmap_write(spifc->regmap, REG_CLOCK, value); in meson_spifc_setup_speed()
[all …]
DMakefile58 obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o