Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/ti/pd/
H A Dti_device_clk.c66 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()
[all …]
/rk3399_ARM-atf/drivers/ti/clk/
H A Dti_clk_dev.c48 struct ti_dev_clk *dev_clkp; in ti_clk_from_device_get_state() local
71 dev_clkp = ti_get_dev_clk(dev, from_device->clk_idx); in ti_clk_from_device_get_state()
72 if ((dev_clkp == NULL) || ((dev_clkp->flags & TI_DEV_CLK_FLAG_DISABLE) != 0U)) { in ti_clk_from_device_get_state()