Home
last modified time | relevance | path

Searched refs:mck (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/clocksource/
Dtimer-atmel-pit.c46 struct clk *mck; member
184 data->mck = of_clk_get(node, 0); in at91sam926x_pit_dt_init()
185 if (IS_ERR(data->mck)) { in at91sam926x_pit_dt_init()
187 ret = PTR_ERR(data->mck); in at91sam926x_pit_dt_init()
191 ret = clk_prepare_enable(data->mck); in at91sam926x_pit_dt_init()
209 pit_rate = clk_get_rate(data->mck) / 16; in at91sam926x_pit_dt_init()
/Linux-v6.6/drivers/i2c/busses/
Di2c-sh7760.c395 unsigned long mck, m1, dff, odff, iclk; in calc_CCR() local
403 mck = mclk->rate; in calc_CCR()
410 iclk = mck / (1 + cdf); in calc_CCR()
/Linux-v6.6/drivers/mmc/host/
Datmel-mci.c378 struct clk *mck; member
2511 host->mck = devm_clk_get(&pdev->dev, "mci_clk"); in atmci_probe()
2512 if (IS_ERR(host->mck)) in atmci_probe()
2513 return PTR_ERR(host->mck); in atmci_probe()
2519 ret = clk_prepare_enable(host->mck); in atmci_probe()
2524 host->bus_hz = clk_get_rate(host->mck); in atmci_probe()
2532 clk_disable_unprepare(host->mck); in atmci_probe()
2620 clk_disable_unprepare(host->mck); in atmci_probe()
2659 clk_disable_unprepare(host->mck); in atmci_remove()
2670 clk_disable_unprepare(host->mck); in atmci_runtime_suspend()
[all …]
/Linux-v6.6/sound/soc/atmel/
Datmel-i2s.c159 unsigned long mck; member
453 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
/Linux-v6.6/drivers/mtd/nand/raw/atmel/
Dnand-controller.c226 struct clk *mck; member
1262 mckperiodps = NSEC_PER_SEC / clk_get_rate(nc->mck); in atmel_smc_nand_prepare_smcconf()
1565 if (!nc->mck || !nc->caps->ops->setup_interface) in atmel_nand_init()
1905 clk_put(nc->mck); in atmel_nand_controller_cleanup()
2060 nc->mck = of_clk_get(dev->parent->of_node, 0); in atmel_nand_controller_init()
2061 if (IS_ERR(nc->mck)) { in atmel_nand_controller_init()
2063 ret = PTR_ERR(nc->mck); in atmel_nand_controller_init()
/Linux-v6.6/Documentation/devicetree/bindings/memory-controllers/
Datmel,ebi.txt109 clocks = <&mck>;
/Linux-v6.6/Documentation/devicetree/bindings/mtd/
Datmel-nand.txt95 clocks = <&mck>;
/Linux-v6.6/arch/arm/boot/dts/microchip/
Dsama5d2.dtsi257 clock-output-names = "isc-mck";
Dsama7g5.dtsi556 clock-output-names = "isc-mck";