Lines Matching refs:gclk
197 struct clk *gclk; member
295 if (!dev->gclk) { in atmel_i2s_get_gck_param()
442 clk_disable_unprepare(dev->gclk); in atmel_i2s_switch_mck_generator()
452 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()
456 ret = clk_prepare_enable(dev->gclk); in atmel_i2s_switch_mck_generator()
577 if (!dev->gclk) in atmel_i2s_sama5d2_mck_init()
591 return clk_set_parent(muxclk, dev->gclk); in atmel_i2s_sama5d2_mck_init()
662 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in atmel_i2s_probe()
663 if (IS_ERR(dev->gclk)) { in atmel_i2s_probe()
664 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in atmel_i2s_probe()
667 dev->gclk = NULL; in atmel_i2s_probe()