Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/platform/nxp/dw100/
Ddw100.c88 struct dw100_device *dw_dev; member
203 static inline u32 dw100_read(struct dw100_device *dw_dev, u32 reg) in dw100_read() argument
205 return readl(dw_dev->mmio + reg); in dw100_read()
208 static inline void dw100_write(struct dw100_device *dw_dev, u32 reg, u32 val) in dw100_write() argument
210 writel(val, dw_dev->mmio + reg); in dw100_write()
215 struct dw100_device *dw_dev = m->private; in dw100_dump_regs() local
262 dw100_read(dw_dev, dw100_regs[i].addr)); in dw100_dump_regs()
312 dma_free_coherent(&ctx->dw_dev->pdev->dev, ctx->map_size, in dw100_create_mapping()
315 ctx->map = dma_alloc_coherent(&ctx->dw_dev->pdev->dev, ctx->map_size, in dw100_create_mapping()
324 dev_dbg(&ctx->dw_dev->pdev->dev, in dw100_create_mapping()
[all …]
/Linux-v6.1/sound/soc/dwc/
Ddwc-i2s.c396 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_suspend() local
398 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_suspend()
399 clk_disable(dw_dev->clk); in dw_i2s_runtime_suspend()
405 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_resume() local
408 if (dw_dev->capability & DW_I2S_MASTER) { in dw_i2s_runtime_resume()
409 ret = clk_enable(dw_dev->clk); in dw_i2s_runtime_resume()