Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-mt65xx.c206 struct clk *clk_dma; /* DMA clock for i2c via DMA */ member
343 ret = clk_prepare_enable(i2c->clk_dma); in mtk_i2c_clock_enable()
371 clk_disable_unprepare(i2c->clk_dma); in mtk_i2c_clock_enable()
385 clk_disable_unprepare(i2c->clk_dma); in mtk_i2c_clock_disable()
966 i2c->clk_dma = devm_clk_get(&pdev->dev, "dma"); in mtk_i2c_probe()
967 if (IS_ERR(i2c->clk_dma)) { in mtk_i2c_probe()
969 return PTR_ERR(i2c->clk_dma); in mtk_i2c_probe()