Lines Matching refs:usecount
955 if (!clkdm->usecount && (clkdm->flags & CLKDM_CAN_FORCE_SLEEP))
1155 * Increment the usecount of the clockdomain @clkdm and ensure that it
1176 clkdm->usecount++;
1177 if (clkdm->usecount > 1 && autodeps) {
1196 * Decrement the usecount of this clockdomain @clkdm when @clk is
1198 * clockdomain usecount goes to 0, put the clockdomain to sleep
1201 * pointers; -ERANGE if the @clkdm usecount underflows; or returns 0
1212 if (clk && (__clk_get_enable_count(clk) == 0) && clkdm->usecount == 0)
1215 if (clkdm->usecount == 0) {
1221 clkdm->usecount--;
1222 if (clkdm->usecount > 0) {
1243 * Increment the usecount of the clockdomain @clkdm and ensure that it
1275 * Decrement the usecount of this clockdomain @clkdm when @oh is
1277 * If the clockdomain usecount goes to 0, put the clockdomain to sleep
1280 * Returns -EINVAL if passed null pointers; -ERANGE if the @clkdm usecount