Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/nxp/dw100/
H A Ddw100.c467 struct dw100_device *dw_dev = ctx->dw_dev; in dw100_buf_prepare() local
613 ctx->dw_dev = dw_dev; in dw100_open()
1428 struct dw100_device *dw_dev = ctx->dw_dev; in dw100_start() local
1522 debugfs_create_file("dump_regs", 0600, dw_dev->debugfs_root, dw_dev, in dw100_debugfs_init()
1537 dw_dev = devm_kzalloc(&pdev->dev, sizeof(*dw_dev), GFP_KERNEL); in dw100_probe()
1538 if (!dw_dev) in dw100_probe()
1540 dw_dev->pdev = pdev; in dw100_probe()
1589 strscpy(dw_dev->mdev.model, "dw100", sizeof(dw_dev->mdev.model)); in dw100_probe()
1591 dw_dev->v4l2_dev.mdev = &dw_dev->mdev; in dw100_probe()
1656 clk_bulk_disable_unprepare(dw_dev->num_clks, dw_dev->clks); in dw100_runtime_suspend()
[all …]
/openbmc/linux/sound/soc/dwc/
H A Ddwc-i2s.c484 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()