Home
last modified time | relevance | path

Searched refs:i2s_ck (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/clk/at91/
Dclk-i2s-mux.c57 struct clk_i2s_mux *i2s_ck; in at91_clk_i2s_mux_register() local
60 i2s_ck = kzalloc(sizeof(*i2s_ck), GFP_KERNEL); in at91_clk_i2s_mux_register()
61 if (!i2s_ck) in at91_clk_i2s_mux_register()
69 i2s_ck->hw.init = &init; in at91_clk_i2s_mux_register()
70 i2s_ck->bus_id = bus_id; in at91_clk_i2s_mux_register()
71 i2s_ck->regmap = regmap; in at91_clk_i2s_mux_register()
73 ret = clk_hw_register(NULL, &i2s_ck->hw); in at91_clk_i2s_mux_register()
75 kfree(i2s_ck); in at91_clk_i2s_mux_register()
79 return &i2s_ck->hw; in at91_clk_i2s_mux_register()
/linux-6.1.9/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.c41 struct clk *i2s_ck; in mt2701_init_clock() local
66 i2s_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()
67 if (IS_ERR(i2s_ck)) { in mt2701_init_clock()
69 return PTR_ERR(i2s_ck); in mt2701_init_clock()
71 i2s_path->hop_ck[SNDRV_PCM_STREAM_PLAYBACK] = i2s_ck; in mt2701_init_clock()
74 i2s_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()
75 if (IS_ERR(i2s_ck)) { in mt2701_init_clock()
77 return PTR_ERR(i2s_ck); in mt2701_init_clock()
79 i2s_path->hop_ck[SNDRV_PCM_STREAM_CAPTURE] = i2s_ck; in mt2701_init_clock()