Lines Matching refs:usecount
955 if (!clkdm->usecount && (clkdm->flags & CLKDM_CAN_FORCE_SLEEP))
1115 * Increment the usecount of the clockdomain @clkdm and ensure that it
1136 clkdm->usecount++;
1137 if (clkdm->usecount > 1 && autodeps) {
1156 * Decrement the usecount of this clockdomain @clkdm when @clk is
1158 * clockdomain usecount goes to 0, put the clockdomain to sleep
1161 * pointers; -ERANGE if the @clkdm usecount underflows; or returns 0
1172 if (clk && (__clk_get_enable_count(clk) == 0) && clkdm->usecount == 0)
1175 if (clkdm->usecount == 0) {
1181 clkdm->usecount--;
1182 if (clkdm->usecount > 0) {
1203 * Increment the usecount of the clockdomain @clkdm and ensure that it
1235 * Decrement the usecount of this clockdomain @clkdm when @oh is
1237 * If the clockdomain usecount goes to 0, put the clockdomain to sleep
1240 * Returns -EINVAL if passed null pointers; -ERANGE if the @clkdm usecount