Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-meson-spifc.c100 static int meson_spifc_wait_ready(struct meson_spifc *spifc) in meson_spifc_wait_ready() argument
106 regmap_read(spifc->regmap, REG_SLAVE, &data); in meson_spifc_wait_ready()
121 static void meson_spifc_drain_buffer(struct meson_spifc *spifc, u8 *buf, in meson_spifc_drain_buffer() argument
128 regmap_read(spifc->regmap, REG_C0 + i, &data); in meson_spifc_drain_buffer()
147 static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf, in meson_spifc_fill_buffer() argument
159 regmap_write(spifc->regmap, REG_C0 + i, data); in meson_spifc_fill_buffer()
171 static void meson_spifc_setup_speed(struct meson_spifc *spifc, u32 speed) in meson_spifc_setup_speed() argument
176 parent = clk_get_rate(spifc->clk); in meson_spifc_setup_speed()
179 dev_dbg(spifc->dev, "parent %lu, speed %u, n %d\n", parent, in meson_spifc_setup_speed()
187 regmap_write(spifc->regmap, REG_CLOCK, value); in meson_spifc_setup_speed()
[all …]
DMakefile48 obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-meson.txt10 - compatible: should be "amlogic,meson6-spifc"
17 compatible = "amlogic,meson6-spifc";
/linux-4.4.14/arch/arm/boot/dts/
Dmeson.dtsi155 spifc: spi@c1108c80 { label
156 compatible = "amlogic,meson6-spifc";
Dmeson8-minix-neo-x8.dts94 &spifc {