Searched refs:spifc (Results 1 – 5 of 5) sorted by relevance
250 spifc->curr_speed_hz = freq; in amlogic_spifc_a1_set_freq()257 struct amlogic_spifc_a1 *spifc = in amlogic_spifc_a1_exec_op() local330 struct amlogic_spifc_a1 *spifc; in amlogic_spifc_a1_probe() local340 spifc->dev = &pdev->dev; in amlogic_spifc_a1_probe()341 spifc->ctrl = ctrl; in amlogic_spifc_a1_probe()344 if (IS_ERR(spifc->base)) in amlogic_spifc_a1_probe()345 return PTR_ERR(spifc->base); in amlogic_spifc_a1_probe()347 spifc->clk = devm_clk_get_enabled(spifc->dev, NULL); in amlogic_spifc_a1_probe()348 if (IS_ERR(spifc->clk)) in amlogic_spifc_a1_probe()349 return dev_err_probe(spifc->dev, PTR_ERR(spifc->clk), in amlogic_spifc_a1_probe()[all …]
288 struct meson_spifc *spifc; in meson_spifc_probe() local300 spifc->dev = &pdev->dev; in meson_spifc_probe()308 spifc->regmap = devm_regmap_init_mmio(spifc->dev, base, in meson_spifc_probe()310 if (IS_ERR(spifc->regmap)) { in meson_spifc_probe()311 ret = PTR_ERR(spifc->regmap); in meson_spifc_probe()315 spifc->clk = devm_clk_get_enabled(spifc->dev, NULL); in meson_spifc_probe()316 if (IS_ERR(spifc->clk)) { in meson_spifc_probe()318 ret = PTR_ERR(spifc->clk); in meson_spifc_probe()332 meson_spifc_hw_init(spifc); in meson_spifc_probe()335 pm_runtime_enable(spifc->dev); in meson_spifc_probe()[all …]
22 obj-$(CONFIG_SPI_AMLOGIC_SPIFC_A1) += spi-amlogic-spifc-a1.o87 obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
1356 static struct clk_regmap spifc = { variable1986 [CLKID_SPIFC] = &spifc.hw,
820 static struct clk_regmap spifc = { variable2034 [CLKID_SPIFC] = &spifc.hw,
Completed in 19 milliseconds