inv_clock          27 drivers/clk/rockchip/clk-inverter.c 	struct rockchip_inv_clock *inv_clock = to_inv_clock(hw);
inv_clock          30 drivers/clk/rockchip/clk-inverter.c 	val = readl(inv_clock->reg) >> inv_clock->shift;
inv_clock          37 drivers/clk/rockchip/clk-inverter.c 	struct rockchip_inv_clock *inv_clock = to_inv_clock(hw);
inv_clock          48 drivers/clk/rockchip/clk-inverter.c 	if (inv_clock->flags & ROCKCHIP_INVERTER_HIWORD_MASK) {
inv_clock          49 drivers/clk/rockchip/clk-inverter.c 		writel(HIWORD_UPDATE(val, INVERTER_MASK, inv_clock->shift),
inv_clock          50 drivers/clk/rockchip/clk-inverter.c 		       inv_clock->reg);
inv_clock          55 drivers/clk/rockchip/clk-inverter.c 		spin_lock_irqsave(inv_clock->lock, flags);
inv_clock          57 drivers/clk/rockchip/clk-inverter.c 		reg = readl(inv_clock->reg);
inv_clock          58 drivers/clk/rockchip/clk-inverter.c 		reg &= ~BIT(inv_clock->shift);
inv_clock          60 drivers/clk/rockchip/clk-inverter.c 		writel(reg, inv_clock->reg);
inv_clock          62 drivers/clk/rockchip/clk-inverter.c 		spin_unlock_irqrestore(inv_clock->lock, flags);
inv_clock          79 drivers/clk/rockchip/clk-inverter.c 	struct rockchip_inv_clock *inv_clock;
inv_clock          82 drivers/clk/rockchip/clk-inverter.c 	inv_clock = kmalloc(sizeof(*inv_clock), GFP_KERNEL);
inv_clock          83 drivers/clk/rockchip/clk-inverter.c 	if (!inv_clock)
inv_clock          92 drivers/clk/rockchip/clk-inverter.c 	inv_clock->hw.init = &init;
inv_clock          93 drivers/clk/rockchip/clk-inverter.c 	inv_clock->reg = reg;
inv_clock          94 drivers/clk/rockchip/clk-inverter.c 	inv_clock->shift = shift;
inv_clock          95 drivers/clk/rockchip/clk-inverter.c 	inv_clock->flags = flags;
inv_clock          96 drivers/clk/rockchip/clk-inverter.c 	inv_clock->lock = lock;
inv_clock          98 drivers/clk/rockchip/clk-inverter.c 	clk = clk_register(NULL, &inv_clock->hw);
inv_clock         100 drivers/clk/rockchip/clk-inverter.c 		kfree(inv_clock);