/Linux-v6.6/drivers/clocksource/ |
D | timer-atmel-pit.c | 46 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/ |
D | atmel-i2s.c | 159 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 …]
|
D | atmel_ssc_dai.h | 26 #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/ |
D | atmel-smc.c | 27 * 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/ |
D | atmel,isc.yaml | 44 const: isc-mck 102 clock-output-names = "isc-mck";
|
D | microchip,xisc.yaml | 44 const: isc-mck 118 clock-output-names = "isc-mck";
|
/Linux-v6.6/drivers/clk/at91/ |
D | clk-master.c | 43 /* 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/ |
D | mediatek,mt7986-afe.yaml | 37 - description: audio i2s/pcm mck 119 - description: audio i2s/pcm mck
|
/Linux-v6.6/sound/soc/mediatek/mt8183/ |
D | mt8183-afe-common.h | 93 /* mck */
|
D | mt8183-afe-clk.c | 505 /* 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/ |
D | atmel-mci.c | 298 * @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/ |
D | mt8192-afe-common.h | 151 /* mck */
|
D | mt8192-afe-clk.c | 403 /* mck */
|
/Linux-v6.6/drivers/i2c/busses/ |
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()
|
/Linux-v6.6/sound/soc/mediatek/mt8186/ |
D | mt8186-afe-common.h | 171 /* mck */
|
/Linux-v6.6/Documentation/devicetree/bindings/memory-controllers/ |
D | atmel,ebi.txt | 109 clocks = <&mck>;
|
/Linux-v6.6/drivers/mtd/nand/raw/atmel/ |
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() 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/ |
D | atmel-nand.txt | 95 clocks = <&mck>;
|
/Linux-v6.6/Documentation/devicetree/bindings/net/dsa/ |
D | realtek.yaml | 21 bit-banged GPIO that while it reuses the MDIO lines MCK and MDIO does
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | mpic.h | 369 /* Enable delivery of prio 15 interrupts as MCK instead of EE */
|
/Linux-v6.6/arch/powerpc/platforms/44x/ |
D | fsp2.c | 48 pr_err("MCK: 0x%08x\n", mfl2(L2MCK)); in l2regs()
|
/Linux-v6.6/arch/arm/mach-at91/ |
D | pm_suspend.S | 830 /* Write MCK ID to retrieve the settings. */ 908 /* Write MCK ID to retrieve the settings. */
|
/Linux-v6.6/arch/powerpc/platforms/pasemi/ |
D | setup.c | 293 /* The NMI/MCK source needs to be prio 15 */ in pas_init_IRQ()
|
/Linux-v6.6/drivers/staging/media/deprecated/atmel/ |
D | atmel-sama7g5-isc.c | 451 /* sama7g5-isc : ISPCK does not exist, ISC is clocked by MCK */ in microchip_xisc_probe()
|
/Linux-v6.6/drivers/media/platform/microchip/ |
D | microchip-sama7g5-isc.c | 471 /* sama7g5-isc : ISPCK does not exist, ISC is clocked by MCK */ in microchip_xisc_probe()
|