Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/clocksource/
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-v6.6/sound/soc/atmel/
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 …]
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-v6.6/drivers/mfd/
Datmel-smc.c27 * atmel_smc_cs_encode_ncycles - encode a number of MCK clk cycles in the
29 * @ncycles: number of MCK clk cycles
83 * @ncycles: value (expressed in MCK clk cycles) to assign to this Txx
125 * @ncycles: value (expressed in MCK clk cycles) to assign to this xx_SETUP
164 * @ncycles: value (expressed in MCK clk cycles) to assign to this xx_PULSE
203 * @ncycles: value (expressed in MCK clk cycles) to assign to this xx_CYCLE
/Linux-v6.6/Documentation/devicetree/bindings/media/
Datmel,isc.yaml44 const: isc-mck
102 clock-output-names = "isc-mck";
Dmicrochip,xisc.yaml44 const: isc-mck
118 clock-output-names = "isc-mck";
/Linux-v6.6/drivers/clk/at91/
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()
646 pr_debug("MCK: %s, best_rate = %ld, parent clk: %s @ %ld\n", in clk_sama7g5_master_determine_rate()
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dmediatek,mt7986-afe.yaml37 - description: audio i2s/pcm mck
119 - description: audio i2s/pcm mck
/Linux-v6.6/sound/soc/mediatek/mt8183/
Dmt8183-afe-common.h93 /* mck */
Dmt8183-afe-clk.c505 /* mck */
552 /* i2s5 mck not support */ in mt8183_mck_enable()
607 /* i2s5 mck not support */ in mt8183_mck_disable()
/Linux-v6.6/drivers/mmc/host/
Datmel-mci.c298 * @bus_hz: The rate of @mck in Hz. This forms the basis for MMC bus
301 * @mck: The peripheral bus clock hooked up to the MMC controller.
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()
[all …]
/Linux-v6.6/sound/soc/mediatek/mt8192/
Dmt8192-afe-common.h151 /* mck */
Dmt8192-afe-clk.c403 /* mck */
/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/sound/soc/mediatek/mt8186/
Dmt8186-afe-common.h171 /* mck */
/Linux-v6.6/Documentation/devicetree/bindings/memory-controllers/
Datmel,ebi.txt109 clocks = <&mck>;
/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()
2062 dev_err(dev, "Failed to retrieve MCK clk\n"); in atmel_nand_controller_init()
2063 ret = PTR_ERR(nc->mck); in atmel_nand_controller_init()
/Linux-v6.6/Documentation/devicetree/bindings/mtd/
Datmel-nand.txt95 clocks = <&mck>;
/Linux-v6.6/Documentation/devicetree/bindings/net/dsa/
Drealtek.yaml21 bit-banged GPIO that while it reuses the MDIO lines MCK and MDIO does
/Linux-v6.6/arch/powerpc/include/asm/
Dmpic.h369 /* Enable delivery of prio 15 interrupts as MCK instead of EE */
/Linux-v6.6/arch/powerpc/platforms/44x/
Dfsp2.c48 pr_err("MCK: 0x%08x\n", mfl2(L2MCK)); in l2regs()
/Linux-v6.6/arch/arm/mach-at91/
Dpm_suspend.S830 /* Write MCK ID to retrieve the settings. */
908 /* Write MCK ID to retrieve the settings. */
/Linux-v6.6/arch/powerpc/platforms/pasemi/
Dsetup.c293 /* The NMI/MCK source needs to be prio 15 */ in pas_init_IRQ()
/Linux-v6.6/drivers/staging/media/deprecated/atmel/
Datmel-sama7g5-isc.c451 /* sama7g5-isc : ISPCK does not exist, ISC is clocked by MCK */ in microchip_xisc_probe()
/Linux-v6.6/drivers/media/platform/microchip/
Dmicrochip-sama7g5-isc.c471 /* sama7g5-isc : ISPCK does not exist, ISC is clocked by MCK */ in microchip_xisc_probe()

12