Lines Matching refs:dev_clkp

66 	struct ti_dev_clk *dev_clkp = ti_get_dev_clk(dev, clk_idx);  in ti_device_clk_set_gated()  local
73 if ((dev_clkp == NULL) || (devgrp == NULL)) { in ti_device_clk_set_gated()
76 is_gated = ((((uint32_t) (dev_clkp->flags) & TI_DEV_CLK_FLAG_DISABLE) > 0U) ? in ti_device_clk_set_gated()
93 dev_clkp->flags |= TI_DEV_CLK_FLAG_DISABLE; in ti_device_clk_set_gated()
98 dev_clkp->flags &= (uint8_t) ~TI_DEV_CLK_FLAG_DISABLE; in ti_device_clk_set_gated()
115 struct ti_dev_clk *dev_clkp = ti_get_dev_clk(dev, clk_idx); in ti_device_clk_get_sw_gated() local
117 return (dev_clkp != NULL) && ((dev_clkp->flags & TI_DEV_CLK_FLAG_DISABLE) != 0U); in ti_device_clk_get_sw_gated()
407 struct ti_dev_clk *dev_clkp; in ti_device_clk_enable() local
410 dev_clkp = ti_get_dev_clk(dev, clk_idx); in ti_device_clk_enable()
411 if ((dev_clkp != NULL) && (0U == (dev_clkp->flags & TI_DEV_CLK_FLAG_DISABLE))) { in ti_device_clk_enable()
422 struct ti_dev_clk *dev_clkp; in ti_device_clk_disable() local
425 dev_clkp = ti_get_dev_clk(dev, clk_idx); in ti_device_clk_disable()
426 if ((dev_clkp != NULL) && (0U == (dev_clkp->flags & TI_DEV_CLK_FLAG_DISABLE))) { in ti_device_clk_disable()
438 struct ti_dev_clk *dev_clkp; in ti_device_clk_init() local
441 dev_clkp = ti_get_dev_clk(dev, clk_idx); in ti_device_clk_init()
445 if ((dev_clk_datap != NULL) && (dev_clkp != NULL)) { in ti_device_clk_init()
447 dev_clkp->flags |= TI_DEV_CLK_FLAG_DISABLE; in ti_device_clk_init()
451 if ((dev_clk_datap != NULL) && (dev_clkp != NULL)) { in ti_device_clk_init()
457 dev_clkp->flags |= TI_DEV_CLK_FLAG_DISABLE; in ti_device_clk_init()