Searched refs:dw_dev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 88 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 …]
|
/openbmc/linux/sound/soc/dwc/ |
H A D | dwc-i2s.c | 484 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_suspend() local 486 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_suspend() 487 clk_disable(dw_dev->clk); in dw_i2s_runtime_suspend() 493 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_resume() local 496 if (dw_dev->capability & DW_I2S_MASTER) { in dw_i2s_runtime_resume() 497 ret = clk_enable(dw_dev->clk); in dw_i2s_runtime_resume()
|