Home
last modified time | relevance | path

Searched full:mck (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/clocksource/
H A Dtimer-atmel-pit.c46 struct clk *mck; member
70 * Clocksource: just a monotonic counter of MCK/16 cycles.
100 * Clockevent device: interrupts every 1/HZ (== pit_cycles * MCK/16)
184 data->mck = of_clk_get(node, 0); in at91sam926x_pit_dt_init()
185 if (IS_ERR(data->mck)) { in at91sam926x_pit_dt_init()
186 pr_err("Unable to get mck clk\n"); 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()
193 pr_err("Unable to enable mck\n"); in at91sam926x_pit_dt_init()
206 * Use our actual MCK to figure out how many MCK/16 ticks per in at91sam926x_pit_dt_init()
[all …]
/linux/sound/soc/atmel/
H A Datmel-i2s.c159 unsigned long mck; member
168 /* mck = (32 * (imckfs+1) / (imckdiv+1)) * fs */
170 /* mck = 6.144Mhz */
171 { 8000, I2S_MCK_6M144, 1, 47}, /* mck = 768 fs */
173 /* mck = 12.288MHz */
174 { 16000, I2S_MCK_12M288, 1, 47}, /* mck = 768 fs */
175 { 24000, I2S_MCK_12M288, 3, 63}, /* mck = 512 fs */
176 { 32000, I2S_MCK_12M288, 3, 47}, /* mck = 384 fs */
177 { 48000, I2S_MCK_12M288, 7, 63}, /* mck = 256 fs */
178 { 64000, I2S_MCK_12M288, 7, 47}, /* mck = 192 fs */
[all …]
H A Datmel_ssc_dai.h26 #define ATMEL_SYSCLK_MCK 0 /* SSC uses AT91 MCK as system clock */
29 #define ATMEL_SSC_CMR_DIV 0 /* MCK divider for BCLK */
/linux/Documentation/devicetree/bindings/sound/
H A Dmediatek,mt8365-afe.yaml26 - description: audio i2s0 mck
27 - description: audio i2s1 mck
28 - description: audio i2s2 mck
29 - description: audio i2s3 mck
H A Dmediatek,mt7986-afe.yaml37 - description: audio i2s/pcm mck
119 - description: audio i2s/pcm mck
/linux/Documentation/devicetree/bindings/media/
H A Datmel,isc.yaml44 const: isc-mck
102 clock-output-names = "isc-mck";
H A Dmicrochip,xisc.yaml44 const: isc-mck
118 clock-output-names = "isc-mck";
/linux/drivers/clk/at91/
H A Dclk-master.c43 /* MCK div reference to be used by notifier. */
237 pr_warn("Failed to restore MCK DIV clock\n"); in clk_master_div_restore_context_chg()
264 * We want to avoid any overclocking of MCK DIV domain. To do in clk_master_div_notifier_fn()
269 * FRAC PLL -> DIV PLL -> MCK DIV in clk_master_div_notifier_fn()
292 * At this point we want to restore MCK DIV domain to its maximum in clk_master_div_notifier_fn()
331 /* Update the div to preserve MCK DIV clock rate. */ in clk_master_div_notifier_fn()
649 pr_debug("MCK: %s, best_rate = %ld, parent clk: %s @ %ld\n", in clk_sama7g5_master_determine_rate()
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-common.h93 /* mck */
H A Dmt8183-afe-clk.c505 /* mck */
552 /* i2s5 mck not support */ in mt8183_mck_enable()
607 /* i2s5 mck not support */ in mt8183_mck_disable()
/linux/drivers/i2c/busses/
H A 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/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-common.h151 /* mck */
H A Dmt8192-afe-clk.c403 /* mck */
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-common.h171 /* mck */
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Datmel,ebi.txt109 clocks = <&mck>;
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c226 struct clk *mck; member
1262 mckperiodps = NSEC_PER_SEC / clk_get_rate(nc->mck); in atmel_smc_nand_prepare_smcconf()
1580 if (!nc->mck || !nc->caps->ops->setup_interface) in atmel_nand_init()
1920 clk_put(nc->mck); in atmel_nand_controller_cleanup()
2078 nc->mck = of_clk_get(dev->parent->of_node, 0); in atmel_nand_controller_init()
2079 if (IS_ERR(nc->mck)) { in atmel_nand_controller_init()
2080 dev_err(dev, "Failed to retrieve MCK clk\n"); in atmel_nand_controller_init()
2081 ret = PTR_ERR(nc->mck); in atmel_nand_controller_init()
/linux/arch/arm/mach-at91/
H A Dpm_suspend.S798 * at91_mckx_ps_enable: save MCK settings and switch it to main clock
813 /* Write MCK ID to retrieve the settings. */
953 /* Write MCK ID to retrieve the settings. */
/linux/Documentation/devicetree/bindings/mtd/
H A Datmel-nand.txt87 clocks = <&mck>;
/linux/arch/powerpc/include/asm/
H A Dmpic.h369 /* Enable delivery of prio 15 interrupts as MCK instead of EE */
/linux/arch/powerpc/platforms/44x/
H A Dfsp2.c48 pr_err("MCK: 0x%08x\n", mfl2(L2MCK)); in l2regs()
/linux/arch/powerpc/platforms/pasemi/
H A Dsetup.c293 /* The NMI/MCK source needs to be prio 15 */ in pas_init_IRQ()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-sama7g5-isc.c466 /* sama7g5-isc : ISPCK does not exist, ISC is clocked by MCK */ in microchip_xisc_probe()
/linux/arch/arm/boot/dts/microchip/
H A Dsama7g5.dtsi569 clock-output-names = "isc-mck";
H A Dsama5d2.dtsi260 clock-output-names = "isc-mck";
/linux/drivers/tty/serial/
H A Datmel_serial.c398 /* select mck clock, and output */ in atmel_config_iso7816()
2211 /* select mck clock, and output */ in atmel_set_termios()

12