Lines Matching full:sai_ck
75 * @sai_ck: kernel clock feeding the SAI clock generator
107 struct clk *sai_ck; member
364 ret = clk_set_parent(sai->sai_ck, parent_clk); in stm32_sai_set_parent_clock()
366 dev_err(&pdev->dev, " Error %d setting sai_ck parent clock. %s", in stm32_sai_set_parent_clock()
451 const char *pname = __clk_get_name(sai->sai_ck); in stm32_sai_add_mclk_provider()
775 ret = clk_prepare_enable(sai->sai_ck); in stm32_sai_startup()
1000 sai_clk_rate = clk_get_rate(sai->sai_ck); in stm32_sai_configure_clock()
1005 * MCKDIV = 0 if sai_ck < 3/2 * mclk_rate in stm32_sai_configure_clock()
1006 * MCKDIV = sai_ck / (2 * mclk_rate) otherwise in stm32_sai_configure_clock()
1008 * MCKDIV ignored. sck = sai_ck in stm32_sai_configure_clock()
1023 * MCKDIV = sai_ck / (ws x 256) (NOMCK=0. OSR=0) in stm32_sai_configure_clock()
1024 * MCKDIV = sai_ck / (ws x 512) (NOMCK=0. OSR=1) in stm32_sai_configure_clock()
1026 * MCKDIV = sai_ck / (frl x ws) (NOMCK=1) in stm32_sai_configure_clock()
1155 clk_disable_unprepare(sai->sai_ck); in stm32_sai_shutdown()
1480 sai->sai_ck = devm_clk_get(&pdev->dev, "sai_ck"); in stm32_sai_sub_parse_of()
1481 if (IS_ERR(sai->sai_ck)) in stm32_sai_sub_parse_of()
1482 return dev_err_probe(&pdev->dev, PTR_ERR(sai->sai_ck), in stm32_sai_sub_parse_of()
1483 "Missing kernel clock sai_ck\n"); in stm32_sai_sub_parse_of()