void disable_dpidle_by_bit(int id)
{
    int grp = id / 32;
    unsigned int mask = 1U << (id % 32);
    BUG_ON(INVALID_GRP_ID(grp));
    disable_dpidle_by_mask(grp, mask);
}
Exemple #2
0
void disable_dpidle_by_bit(enum mt65xx_clock_id id)
{
    int category = id / 32;
    int offset = id % 32;
    BUG_ON(INVALID_CATEGORY_ID(category));
    disable_dpidle_by_mask(category, 0x1 << offset);
}