/openbmc/linux/drivers/clocksource/ |
H A D | timer-atmel-pit.c | 46 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()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sama5d2.dtsi | 136 mck: masterck { label 148 clocks = <&mck>; 163 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>; 189 clocks = <&mck>; 195 clocks = <&mck>; 231 clocks = <&mck>; 454 clocks = <&mck>; 532 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
|
H A D | at91sam9261.dtsi | 284 clocks = <&mck>; 624 mck: masterck { label 717 clocks = <&mck>; 723 clocks = <&mck>; 731 clocks = <&mck>; 850 clocks = <&mck>;
|
H A D | at91sam9n12.dtsi | 166 mck: masterck { label 188 clocks = <&clk32k>, <&main>, <&plladiv>, <&pllb>, <&mck>; 211 clocks = <&mck>; 217 clocks = <&mck>; 249 clocks = <&mck>; 391 clocks = <&mck>; 854 clocks = <&mck>;
|
H A D | at91sam9g20.dtsi | 61 mck: masterck { label
|
H A D | at91sam9rl.dtsi | 379 clocks = <&mck>; 858 mck: masterck { label 873 clocks = <&clk32k>, <&main>, <&plla>, <&utmi>, <&mck>; 911 clocks = <&mck>; 1046 clocks = <&mck>;
|
H A D | at91sam9x5.dtsi | 171 mck: masterck { label 194 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; 223 clocks = <&mck>; 261 clocks = <&mck>; 398 clocks = <&mck>; 933 clocks = <&mck>;
|
H A D | at91sam9g45.dtsi | 169 mck: masterck { label 190 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; 213 clocks = <&mck>; 239 clocks = <&mck>; 398 clocks = <&mck>; 920 clocks = <&mck>;
|
H A D | at91sam9260.dtsi | 161 mck: masterck { label 232 clocks = <&mck>; 381 clocks = <&mck>; 778 clocks = <&mck>;
|
H A D | at91sam9263.dtsi | 142 mck: masterck { label 237 clocks = <&mck>; 379 clocks = <&mck>; 790 clocks = <&mck>;
|
H A D | at91sam9x5_lcd.dtsi | 140 clocks = <&mck>;
|
H A D | sama5d4.dtsi | 434 mck: masterck { label 447 clocks = <&mck>; 462 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; 498 clocks = <&mck>; 504 clocks = <&mck>; 784 clocks = <&mck>;
|
H A D | sama5d3.dtsi | 1001 mck: masterck { label 1023 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; 1058 clocks = <&mck>; 1102 clocks = <&mck>; 1322 clocks = <&mck>;
|
H A D | sama5d3_lcd.dtsi | 190 clocks = <&mck>;
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sh7760.c | 395 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | atmel-mci.c | 378 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 …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel-i2s.c | 159 unsigned long mck; member 453 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
|
/openbmc/linux/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 226 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()
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | atmel,ebi.txt | 109 clocks = <&mck>;
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | atmel-nand.txt | 95 clocks = <&mck>;
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | sama5d2.dtsi | 257 clock-output-names = "isc-mck";
|
H A D | sama7g5.dtsi | 556 clock-output-names = "isc-mck";
|