Searched refs:dw_dev (Results 1 – 2 of 2) sorted by relevance
467 struct dw100_device *dw_dev = ctx->dw_dev; in dw100_buf_prepare() local611 ctx->dw_dev = dw_dev; in dw100_open()1426 struct dw100_device *dw_dev = ctx->dw_dev; in dw100_start() local1520 debugfs_create_file("dump_regs", 0600, dw_dev->debugfs_root, dw_dev, in dw100_debugfs_init()1535 dw_dev = devm_kzalloc(&pdev->dev, sizeof(*dw_dev), GFP_KERNEL); in dw100_probe()1536 if (!dw_dev) in dw100_probe()1538 dw_dev->pdev = pdev; in dw100_probe()1587 strscpy(dw_dev->mdev.model, "dw100", sizeof(dw_dev->mdev.model)); in dw100_probe()1589 dw_dev->v4l2_dev.mdev = &dw_dev->mdev; in dw100_probe()1654 clk_bulk_disable_unprepare(dw_dev->num_clks, dw_dev->clks); in dw100_runtime_suspend()[all …]
482 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_suspend() local484 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_suspend()485 clk_disable(dw_dev->clk); in dw_i2s_runtime_suspend()491 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_resume() local494 if (dw_dev->capability & DW_I2S_MASTER) { in dw_i2s_runtime_resume()495 ret = clk_enable(dw_dev->clk); in dw_i2s_runtime_resume()