Lines Matching refs:gclk
208 struct clk *gclk; member
305 if (!dev->gclk) { in atmel_i2s_get_gck_param()
445 clk_disable_unprepare(dev->gclk); in atmel_i2s_switch_mck_generator()
455 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()
459 ret = clk_prepare_enable(dev->gclk); in atmel_i2s_switch_mck_generator()
568 if (!dev->gclk) in atmel_i2s_sama5d2_mck_init()
582 return clk_set_parent(muxclk, dev->gclk); in atmel_i2s_sama5d2_mck_init()
654 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in atmel_i2s_probe()
655 if (IS_ERR(dev->gclk)) { in atmel_i2s_probe()
656 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in atmel_i2s_probe()
659 dev->gclk = NULL; in atmel_i2s_probe()