isc_clk           250 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           251 drivers/media/platform/atmel/atmel-isc-base.c 	struct regmap *regmap = isc_clk->regmap;
isc_clk           268 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           270 drivers/media/platform/atmel/atmel-isc-base.c 	if (isc_clk->id == ISC_ISPCK)
isc_clk           271 drivers/media/platform/atmel/atmel-isc-base.c 		pm_runtime_get_sync(isc_clk->dev);
isc_clk           278 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           282 drivers/media/platform/atmel/atmel-isc-base.c 	if (isc_clk->id == ISC_ISPCK)
isc_clk           283 drivers/media/platform/atmel/atmel-isc-base.c 		pm_runtime_put_sync(isc_clk->dev);
isc_clk           288 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           289 drivers/media/platform/atmel/atmel-isc-base.c 	u32 id = isc_clk->id;
isc_clk           290 drivers/media/platform/atmel/atmel-isc-base.c 	struct regmap *regmap = isc_clk->regmap;
isc_clk           294 drivers/media/platform/atmel/atmel-isc-base.c 	dev_dbg(isc_clk->dev, "ISC CLK: %s, div = %d, parent id = %d\n",
isc_clk           295 drivers/media/platform/atmel/atmel-isc-base.c 		__func__, isc_clk->div, isc_clk->parent_id);
isc_clk           297 drivers/media/platform/atmel/atmel-isc-base.c 	spin_lock_irqsave(&isc_clk->lock, flags);
isc_clk           300 drivers/media/platform/atmel/atmel-isc-base.c 			   (isc_clk->div << ISC_CLKCFG_DIV_SHIFT(id)) |
isc_clk           301 drivers/media/platform/atmel/atmel-isc-base.c 			   (isc_clk->parent_id << ISC_CLKCFG_SEL_SHIFT(id)));
isc_clk           304 drivers/media/platform/atmel/atmel-isc-base.c 	spin_unlock_irqrestore(&isc_clk->lock, flags);
isc_clk           315 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           316 drivers/media/platform/atmel/atmel-isc-base.c 	u32 id = isc_clk->id;
isc_clk           319 drivers/media/platform/atmel/atmel-isc-base.c 	spin_lock_irqsave(&isc_clk->lock, flags);
isc_clk           320 drivers/media/platform/atmel/atmel-isc-base.c 	regmap_write(isc_clk->regmap, ISC_CLKDIS, ISC_CLK(id));
isc_clk           321 drivers/media/platform/atmel/atmel-isc-base.c 	spin_unlock_irqrestore(&isc_clk->lock, flags);
isc_clk           326 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           329 drivers/media/platform/atmel/atmel-isc-base.c 	if (isc_clk->id == ISC_ISPCK)
isc_clk           330 drivers/media/platform/atmel/atmel-isc-base.c 		pm_runtime_get_sync(isc_clk->dev);
isc_clk           332 drivers/media/platform/atmel/atmel-isc-base.c 	regmap_read(isc_clk->regmap, ISC_CLKSR, &status);
isc_clk           334 drivers/media/platform/atmel/atmel-isc-base.c 	if (isc_clk->id == ISC_ISPCK)
isc_clk           335 drivers/media/platform/atmel/atmel-isc-base.c 		pm_runtime_put_sync(isc_clk->dev);
isc_clk           337 drivers/media/platform/atmel/atmel-isc-base.c 	return status & ISC_CLK(isc_clk->id) ? 1 : 0;
isc_clk           343 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           345 drivers/media/platform/atmel/atmel-isc-base.c 	return DIV_ROUND_CLOSEST(parent_rate, isc_clk->div + 1);
isc_clk           351 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           390 drivers/media/platform/atmel/atmel-isc-base.c 	dev_dbg(isc_clk->dev,
isc_clk           406 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           411 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->parent_id = index;
isc_clk           418 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           420 drivers/media/platform/atmel/atmel-isc-base.c 	return isc_clk->parent_id;
isc_clk           427 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk = to_isc_clk(hw);
isc_clk           437 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->div = div - 1;
isc_clk           459 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_clk *isc_clk;
isc_clk           485 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk = &isc->isc_clks[id];
isc_clk           486 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->hw.init	= &init;
isc_clk           487 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->regmap		= regmap;
isc_clk           488 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->id		= id;
isc_clk           489 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->dev		= isc->dev;
isc_clk           490 drivers/media/platform/atmel/atmel-isc-base.c 	spin_lock_init(&isc_clk->lock);
isc_clk           492 drivers/media/platform/atmel/atmel-isc-base.c 	isc_clk->clk = clk_register(isc->dev, &isc_clk->hw);
isc_clk           493 drivers/media/platform/atmel/atmel-isc-base.c 	if (IS_ERR(isc_clk->clk)) {
isc_clk           495 drivers/media/platform/atmel/atmel-isc-base.c 		return PTR_ERR(isc_clk->clk);
isc_clk           497 drivers/media/platform/atmel/atmel-isc-base.c 		of_clk_add_provider(np, of_clk_src_simple_get, isc_clk->clk);
isc_clk           526 drivers/media/platform/atmel/atmel-isc-base.c 		struct isc_clk *isc_clk = &isc->isc_clks[i];
isc_clk           528 drivers/media/platform/atmel/atmel-isc-base.c 		if (!IS_ERR(isc_clk->clk))
isc_clk           529 drivers/media/platform/atmel/atmel-isc-base.c 			clk_unregister(isc_clk->clk);
isc_clk            34 drivers/media/platform/atmel/atmel-isc.h #define to_isc_clk(v) container_of(v, struct isc_clk, hw)
isc_clk           194 drivers/media/platform/atmel/atmel-isc.h 	struct isc_clk		isc_clks[2];