Searched refs:ctl_shift (Results 1 – 1 of 1) sorted by relevance
196 int ctl_shift, ctl_mask; in dscr_set_devstate() local212 ctl_shift = ctl->shift + ctl->nbits * (id - ctl->start_id); in dscr_set_devstate()213 ctl_mask = ((1 << ctl->nbits) - 1) << ctl_shift; in dscr_set_devstate()217 ctl_val = ctl->enable << ctl_shift; in dscr_set_devstate()222 ctl_val = ctl->disable << ctl_shift; in dscr_set_devstate()241 ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); in dscr_set_devstate()250 val >>= ctl_shift; in dscr_set_devstate()